Re: Darwin: make check fails with "child process exited with exit code 134"

Поиск
Список
Период
Сортировка
От Matthias Schmitt
Тема Re: Darwin: make check fails with "child process exited with exit code 134"
Дата
Msg-id 934199A3-FF2F-4E5E-A8FF-E6F621B6F64D@mmp.lu
обсуждение исходный текст
Ответ на Re: Darwin: make check fails with "child process exited with exit code 134"  (Andres Freund <andres@2ndquadrant.com>)
Ответы Re: Darwin: make check fails with "child process exited with exit code 134"  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-bugs
Hello Andres,

On 28.10.2013, at 16:37, Andres Freund <andres@2ndquadrant.com> wrote:

> In that case, could you enable coredumps and get a backtrace from that
> coredump? I unfortunately have zero clue about OSX, so I can't really
> help you with that.

Yes, you are right. I totally forgot about the crash logs in OS X. Here =
it is:

Process:         postgres [68949]
Path:            /Users/*/postgres
Identifier:      postgres
Version:         0
Code Type:       X86-64 (Native)
Parent Process:  sh [68948]
Responsible:     Terminal [411]
User ID:         502

Date/Time:       2013-10-28 16:46:28.188 +0100
OS Version:      Mac OS X 10.9 (13A603)
Report Version:  11
Anonymous UUID:  26964FA1-0D3B-C18F-E2E5-3A77BE0EC789


Crashed Thread:  0  Dispatch queue: com.apple.main-thread

Exception Type:  EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000

Application Specific Information:
detected source and destination buffer overlap

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   libsystem_kernel.dylib            0x00007fff93e00866 =
__pthread_kill + 10
1   libsystem_pthread.dylib           0x00007fff92c7335c pthread_kill =
+ 92
2   libsystem_c.dylib                 0x00007fff8c5a5bba abort + 125
3   libsystem_c.dylib                 0x00007fff8c5a5d31 =
abort_report_np + 181
4   libsystem_c.dylib                 0x00007fff8c5c98c5 __chk_fail + =
48
5   libsystem_c.dylib                 0x00007fff8c5c98d5 =
__chk_fail_overlap + 16
6   libsystem_c.dylib                 0x00007fff8c5c9906 __chk_overlap =
+ 49
7   libsystem_c.dylib                 0x00007fff8c5c9a59 __strncpy_chk =
+ 78
8   postgres                          0x000000010b4c9045 namestrcpy + =
86
9   postgres                          0x000000010b1901f2 =
TupleDescInitEntry + 99
10  postgres                          0x000000010b57f53e =
resolve_polymorphic_tupdesc + 933
11  postgres                          0x000000010b57efc2 =
internal_get_result_type + 227
12  postgres                          0x000000010b57ee03 =
get_expr_result_type + 72
13  postgres                          0x000000010b2a205b =
expandRecordVariable + 1552
14  postgres                          0x000000010b29734b =
ParseComplexProjection + 154
15  postgres                          0x000000010b295025 =
ParseFuncOrColumn + 1055
16  postgres                          0x000000010b2906f1 =
transformIndirection + 404
17  postgres                          0x000000010b28fef1 =
transformExprRecurse + 617
18  postgres                          0x000000010b28fc74 transformExpr =
+ 52
19  postgres                          0x000000010b29fa08 =
transformTargetEntry + 56
20  postgres                          0x000000010b29fb6e =
transformTargetList + 288
21  postgres                          0x000000010b2543a6 =
transformSelectStmt + 351
22  postgres                          0x000000010b25318d transformStmt =
+ 476
23  postgres                          0x000000010b252faf =
transformTopLevelStmt + 211
24  postgres                          0x000000010b45530a =
pg_analyze_and_rewrite_params + 96
25  postgres                          0x000000010b24d1bc =
fmgr_sql_validator + 998
26  postgres                          0x000000010b57d120 =
OidFunctionCall1Coll + 165
27  postgres                          0x000000010b24ca77 =
ProcedureCreate + 7163
28  postgres                          0x000000010b2dbc88 =
CreateFunction + 1843
29  postgres                          0x000000010b45f422 =
ProcessUtilitySlow + 2625
30  postgres                          0x000000010b45e9ac =
standard_ProcessUtility + 3692
31  postgres                          0x000000010b45db3e =
ProcessUtility + 134
32  postgres                          0x000000010b45ca5e =
PortalRunUtility + 287
33  postgres                          0x000000010b45cc03 =
PortalRunMulti + 386
34  postgres                          0x000000010b45c1f2 PortalRun + =
854
35  postgres                          0x000000010b4559e8 =
exec_simple_query + 1109
36  postgres                          0x000000010b45a403 PostgresMain =
+ 2383
37  postgres                          0x000000010b36c49b main + 535
38  libdyld.dylib                     0x00007fff976735fd start + 1

Thread 0 crashed with X86 Thread State (64-bit):
  rax: 0x0000000000000000  rbx: 0x00007fff7ca45310  rcx: =
0x00007fff54a77998  rdx: 0x0000000000000000
  rdi: 0x0000000000000507  rsi: 0x0000000000000006  rbp: =
0x00007fff54a779c0  rsp: 0x00007fff54a77998
   r8: 0x00000000ffffffc0   r9: 0x00007fff54a77900  r10: =
0x0000000008000000  r11: 0x0000000000000206
  r12: 0x0000000042c80000  r13: 0x0000000000000000  r14: =
0x0000000000000006  r15: 0x00007fb5948bf0cc
  rip: 0x00007fff93e00866  rfl: 0x0000000000000206  cr2: =
0x000000011488a000
 =20
Logical CPU:     0
Error Code:      0x02000148
Trap Number:     133


Binary Images:
       0x10b186000 -        0x10b751fe7 +postgres (0) =
<A95DF512-D8FE-3C20-83FE-EF948757A323> /Users/*/postgres
    0x7fff60a5a000 -     0x7fff60a8d817  dyld (239.3) =
<D1DFCF3F-0B0C-332A-BCC0-87A851B570FF> /usr/lib/dyld
    0x7fff8b291000 -     0x7fff8b2acff7  libsystem_malloc.dylib =
(23.1.10) <FFE5C472-B23A-318A-85BF-77CDE61900D1> =
/usr/lib/system/libsystem_malloc.dylib
    0x7fff8bca9000 -     0x7fff8bcafff7  libsystem_platform.dylib =
(24.1.4) <331BA4A5-55CE-3B95-99EB-44E0C89D7FB8> =
/usr/lib/system/libsystem_platform.dylib
    0x7fff8c045000 -     0x7fff8c047ff7  libquarantine.dylib (71) =
<7A1A2BCB-C03D-3A25-BFA4-3E569B2D2C38> =
/usr/lib/system/libquarantine.dylib
    0x7fff8c549000 -     0x7fff8c5d2ff7  libsystem_c.dylib (997.1.1) =
<61833FAA-7281-3FF9-937F-686B6F20427C> /usr/lib/system/libsystem_c.dylib
    0x7fff8c64c000 -     0x7fff8c64eff3  libsystem_configuration.dylib =
(596.12) <C4F633D9-94C8-35D9-BB2D-84C5122533C7> =
/usr/lib/system/libsystem_configuration.dylib
    0x7fff8c970000 -     0x7fff8c97afff  libcommonCrypto.dylib (60049) =
<8C4F0CA0-389C-3EDC-B155-E62DD2187E1D> =
/usr/lib/system/libcommonCrypto.dylib
    0x7fff8ca05000 -     0x7fff8ca09ff7  libcache.dylib (62) =
<BDC1E65B-72A1-3DA3-A57C-B23159CAAD0B> /usr/lib/system/libcache.dylib
    0x7fff8ca47000 -     0x7fff8ca50ff3  libsystem_notify.dylib (121) =
<52571EC3-6894-37E4-946E-064B021ED44E> =
/usr/lib/system/libsystem_notify.dylib
    0x7fff8cc09000 -     0x7fff8cc4bff7  libauto.dylib (185.5) =
<F45C36E8-B606-3886-B5B1-B6745E757CA8> /usr/lib/libauto.dylib
    0x7fff8e01b000 -     0x7fff8e042ffb  libsystem_info.dylib (449.1.3) =
<7D41A156-D285-3849-A2C3-C04ADE797D98> =
/usr/lib/system/libsystem_info.dylib
    0x7fff8e04c000 -     0x7fff8e050fff  libsystem_stats.dylib (93.1.26) =
<B9E26A9E-FBBC-3938-B8B7-6CF7CA8C99AD> =
/usr/lib/system/libsystem_stats.dylib
    0x7fff8fab8000 -     0x7fff8fad2fff  libdispatch.dylib (339.1.9) =
<46878A5B-4248-3057-962C-6D4A235EEF31> /usr/lib/system/libdispatch.dylib
    0x7fff8fc36000 -     0x7fff8fc3dff7  liblaunch.dylib (842.1.4) =
<FCBF0A02-0B06-3F97-9248-5062A9DEB32C> /usr/lib/system/liblaunch.dylib
    0x7fff8fc84000 -     0x7fff8fca8fff  libxpc.dylib (300.1.17) =
<4554927A-9467-365C-91F1-5A116989DD7F> /usr/lib/system/libxpc.dylib
    0x7fff90875000 -     0x7fff908c3fff  libcorecrypto.dylib (161.1) =
<F3973C28-14B6-3006-BB2B-00DD7F09ABC7> =
/usr/lib/system/libcorecrypto.dylib
    0x7fff9091d000 -     0x7fff90944ff7  libsystem_network.dylib (241.3) =
<8B1E1F1D-A5CC-3BAE-8B1E-ABC84337A364> =
/usr/lib/system/libsystem_network.dylib
    0x7fff90e9a000 -     0x7fff90e9bffb  libremovefile.dylib (33) =
<3543F917-928E-3DB2-A2F4-7AB73B4970EF> =
/usr/lib/system/libremovefile.dylib
    0x7fff90e9c000 -     0x7fff90e9dfff  libunc.dylib (28) =
<62682455-1862-36FE-8A04-7A6B91256438> /usr/lib/system/libunc.dylib
    0x7fff91875000 -     0x7fff9187dfff  libsystem_dnssd.dylib =
(522.1.11) <270DCF6C-502D-389A-AA9F-DE4624A36FF7> =
/usr/lib/system/libsystem_dnssd.dylib
    0x7fff9199c000 -     0x7fff91b49f27  libobjc.A.dylib (551.1) =
<AD7FD984-271E-30F4-A361-6B20319EC73B> /usr/lib/libobjc.A.dylib
    0x7fff92859000 -     0x7fff9285efff  libmacho.dylib (845) =
<1D2910DF-C036-3A82-A3FD-44FF73B5FF9B> /usr/lib/system/libmacho.dylib
    0x7fff92c71000 -     0x7fff92c78ff7  libsystem_pthread.dylib =
(53.1.4) <AB498556-B555-310E-9041-F67EC9E00E2C> =
/usr/lib/system/libsystem_pthread.dylib
    0x7fff92da6000 -     0x7fff92dd5fd2  libsystem_m.dylib (3047.16) =
<B7F0E2E4-2777-33FC-A787-D6430B630D54> /usr/lib/system/libsystem_m.dylib
    0x7fff92df7000 -     0x7fff92dfeff3  libcopyfile.dylib (103) =
<5A881779-D0D6-3029-B371-E3021C2DDA5E> /usr/lib/system/libcopyfile.dylib
    0x7fff9371d000 -     0x7fff9371eff7  =
libDiagnosticMessagesClient.dylib (100) =
<4CDB0F7B-C0AF-3424-BC39-495696F0DB1E> =
/usr/lib/libDiagnosticMessagesClient.dylib
    0x7fff9371f000 -     0x7fff93730ff7  libsystem_asl.dylib (217.1.4) =
<655FB343-52CF-3E2F-B14D-BEBF5AAEF94D> =
/usr/lib/system/libsystem_asl.dylib
    0x7fff93deb000 -     0x7fff93e07ff7  libsystem_kernel.dylib =
(2422.1.72) <D14913DB-47F1-3591-8DAF-D4B4EF5F8818> =
/usr/lib/system/libsystem_kernel.dylib
    0x7fff941f6000 -     0x7fff941fbff7  libunwind.dylib (35.3) =
<78DCC358-2FC1-302E-B395-0155B47CB547> /usr/lib/system/libunwind.dylib
    0x7fff94323000 -     0x7fff94324ff7  libSystem.B.dylib (1197.1.1) =
<BFC0DC97-46C6-3BE0-9983-54A98734897A> /usr/lib/libSystem.B.dylib
    0x7fff9485f000 -     0x7fff94888ff7  libc++abi.dylib (48) =
<8C16158F-CBF8-3BD7-BEF4-022704B2A326> /usr/lib/libc++abi.dylib
    0x7fff95075000 -     0x7fff950c7fff  libc++.1.dylib (120) =
<4F68DFC5-2077-39A8-A449-CAC5FDEE7BDE> /usr/lib/libc++.1.dylib
    0x7fff974d1000 -     0x7fff974d8fff  libcompiler_rt.dylib (35) =
<4CD916B2-1B17-362A-B403-EF24A1DAC141> =
/usr/lib/system/libcompiler_rt.dylib
    0x7fff97670000 -     0x7fff97673ff7  libdyld.dylib (239.3) =
<62F4D752-4089-31A8-8B73-B95A68893B3C> /usr/lib/system/libdyld.dylib
    0x7fff978b7000 -     0x7fff978b8ff7  libsystem_blocks.dylib (63) =
<FB856CD1-2AEA-3907-8E9B-1E54B6827F82> =
/usr/lib/system/libsystem_blocks.dylib
    0x7fff981b7000 -     0x7fff981b8ff7  libsystem_sandbox.dylib =
(278.10) <A47E7E11-3C76-318E-B67D-98972B86F094> =
/usr/lib/system/libsystem_sandbox.dylib
    0x7fff98246000 -     0x7fff98246ff7  libkeymgr.dylib (28) =
<3AA8D85D-CF00-3BD3-A5A0-E28E1A32A6D8> /usr/lib/system/libkeymgr.dylib

External Modification Summary:
  Calls made by other processes targeting this process:
    task_for_pid: 0
    thread_create: 0
    thread_set_state: 0
  Calls made by this process:
    task_for_pid: 0
    thread_create: 0
    thread_set_state: 0
  Calls made by all processes on this machine:
    task_for_pid: 2827
    thread_create: 0
    thread_set_state: 0

VM Region Summary:
ReadOnly portion of Libraries: Total=3D76.8M resident=3D29.3M(38%) =
swapped_out_or_unallocated=3D47.5M(62%)
Writable regions: Total=3D244.8M written=3D14.2M(6%) resident=3D14.3M(6%) =
swapped_out=3D0K(0%) unallocated=3D230.5M(94%)
=20
REGION TYPE                      VIRTUAL
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D                      =3D=3D=3D=3D=3D=3D=3D=

Kernel Alloc Once                     4K
MALLOC                             39.1M
MALLOC (admin)                       16K
STACK GUARD                           4K
Stack                              64.0M
VM_ALLOCATE                       140.9M
__DATA                             1132K
__LINKEDIT                         66.1M
__TEXT                             10.8M
shared memory                         4K
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D                      =3D=3D=3D=3D=3D=3D=3D=

TOTAL                             322.0M

I guess the developers can recognise some of their function calls in the =
thread listing.

Best regards,

Matthias Schmitt

В списке pgsql-bugs по дате отправления:

Предыдущее
От: Andres Freund
Дата:
Сообщение: Re: Darwin: make check fails with "child process exited with exit code 134"
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Darwin: make check fails with "child process exited with exit code 134"