Skip to content

Instantly share code, notes, and snippets.

@jaylevitt
Created October 4, 2011 02:32
Show Gist options
  • Save jaylevitt/1260777 to your computer and use it in GitHub Desktop.
Save jaylevitt/1260777 to your computer and use it in GitHub Desktop.
crash report
Process: postgres [97937]
Path: /usr/local/Cellar/postgresql/9.0.4/bin/postgres
Identifier: postgres
Version: ??? (???)
Code Type: X86-64 (Native)
Parent Process: postgres [97545]
Date/Time: 2011-10-03 22:30:49.183 -0400
OS Version: Mac OS X 10.6.8 (10K549)
Report Version: 6
Interval Since Last Report: 36408 sec
Crashes Since Last Report: 6
Per-App Crashes Since Last Report: 6
Anonymous UUID: 6209D3FC-6C5E-4978-A90F-C0F7BA19FC5B
Exception Type: EXC_BAD_ACCESS (SIGABRT)
Exception Codes: 0x000000000000000d, 0x0000000000000000
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Application Specific Information:
abort() called
Thread 0 Crashed: Dispatch queue: com.apple.main-thread
0 libSystem.B.dylib 0x00007fff88e1c0b6 __kill + 10
1 libSystem.B.dylib 0x00007fff88ebc9f6 abort + 83
2 libruby.dylib 0x00000001014f6371 rb_bug + 241
3 libruby.dylib 0x0000000101562f3f sigsegv + 31
4 libSystem.B.dylib 0x00007fff88e2e1ba _sigtramp + 26
5 postgres 0x00000001002f0fe9 rb_iterate + 25
6 plruby.bundle 0x000000010076bd08 plruby_return_value + 1400 (plpl.c:1508)
7 plruby.bundle 0x0000000100764a4d pl_protect + 557 (plruby.c:1150)
8 libruby.dylib 0x00000001014faf0d rb_protect + 269
9 plruby.bundle 0x0000000100761bb8 pl_real_handler + 328 (plruby.c:475)
10 plruby.bundle 0x0000000100761c89 pl_internal_call_handler + 201 (plruby.c:567)
11 plruby.bundle 0x0000000100761f13 plruby_call_handler + 35 (plruby.c:712)
12 postgres 0x0000000100123ea4 ExecMakeTableFunctionResult + 468
13 postgres 0x0000000100136ad1 FunctionNext + 113
14 postgres 0x00000001001260a6 ExecScan + 534
15 postgres 0x000000010011e6a2 ExecProcNode + 610
16 postgres 0x000000010011cb68 standard_ExecutorRun + 1000
17 postgres 0x00000001001fbf1c PortalRunSelect + 668
18 postgres 0x00000001001fd8d7 PortalRun + 759
19 postgres 0x00000001001f9e24 exec_simple_query + 1012
20 postgres 0x00000001001facc6 PostgresMain + 2198
21 postgres 0x00000001001b8fac ServerLoop + 2540
22 postgres 0x00000001001b9ff2 PostmasterMain + 2770
23 postgres 0x0000000100151ba5 main + 949
24 postgres 0x00000001000011e4 start + 52
Thread 0 crashed with X86 Thread State (64-bit):
rax: 0x0000000000000000 rbx: 0x000000000000000a rcx: 0x00007fff5fbfcd78 rdx: 0x0000000000000000
rdi: 0x0000000000017e91 rsi: 0x0000000000000006 rbp: 0x00007fff5fbfcd90 rsp: 0x00007fff5fbfcd78
r8: 0x00000000000000c9 r9: 0x0000000000000000 r10: 0x00007fff88e180fa r11: 0x0000000000000202
r12: 0x00007fff710e3250 r13: 0x00007fff5fbfcdc0 r14: 0x0000000101583f58 r15: 0x0000000000000000
rip: 0x00007fff88e1c0b6 rfl: 0x0000000000000202 cr2: 0x00000001014f2180
Binary Images:
0x100000000 - 0x10048efe7 +postgres ??? (???) <09DD12C2-5DAC-FC13-C884-2DF7A6AB8F4D> /usr/local/Cellar/postgresql/9.0.4/bin/postgres
0x1005fa000 - 0x1005fbff7 +plruby_basic.bundle ??? (???) <7D24342F-60FB-F280-7135-6306073C8B46> /Users/jay/.rvm/rubies/ruby-1.8.7-p302/lib/ruby/site_ruby/1.8/i686-darwin10.4.0/plruby/plruby_basic.bundle
0x100760000 - 0x100770fff +plruby.bundle ??? (???) <A8AABFA3-01EB-B72E-041A-FD8174114E64> /Users/jay/.rvm/gems/ruby-1.9.2-p290/bundler/gems/postgresql-plruby-5902376a8af1/src/plruby.bundle
0x10077a000 - 0x10079afe7 +libpq.5.3.dylib 5.3.0 (compatibility 5.0.0) <A28F6AED-8F74-4F46-0F6D-F2C7FD6B8447> /usr/local/lib/libpq.5.3.dylib
0x1007a3000 - 0x1007a6fff +plruby_bitstring.bundle ??? (???) <A137761C-EF93-9172-4F92-EA9EAB6AF6A6> /Users/jay/.rvm/rubies/ruby-1.8.7-p302/lib/ruby/site_ruby/1.8/i686-darwin10.4.0/plruby/plruby_bitstring.bundle
0x1014e0000 - 0x1015b4ff7 +libruby.dylib 1.8.7 (compatibility 1.8.0) <206B82FA-3581-C00F-F135-0DE59B5D92AD> /Users/jay/.rvm/rubies/ruby-1.8.7-p302/lib/libruby.dylib
0x7fff5fc00000 - 0x7fff5fc3bdef dyld 132.1 (???) <B536F2F1-9DF1-3B6C-1C2C-9075EA219A06> /usr/lib/dyld
0x7fff80453000 - 0x7fff80457ff7 libmathCommon.A.dylib 315.0.0 (compatibility 1.0.0) <95718673-FEEE-B6ED-B127-BCDBDB60D4E5> /usr/lib/system/libmathCommon.A.dylib
0x7fff806e8000 - 0x7fff80765fef libstdc++.6.dylib 7.9.0 (compatibility 7.0.0) <35ECA411-2C08-FD7D-11B1-1B7A04921A5C> /usr/lib/libstdc++.6.dylib
0x7fff80bb7000 - 0x7fff80ccefef libxml2.2.dylib 10.3.0 (compatibility 10.0.0) <1B27AFDD-DF87-2009-170E-C129E1572E8B> /usr/lib/libxml2.2.dylib
0x7fff81175000 - 0x7fff812ecfe7 com.apple.CoreFoundation 6.6.5 (550.43) <31A1C118-AD96-0A11-8BDF-BD55B9940EDC> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
0x7fff8135f000 - 0x7fff8140ffff edu.mit.Kerberos 6.5.11 (6.5.11) <085D80F5-C9DC-E252-C21B-03295E660C91> /System/Library/Frameworks/Kerberos.framework/Versions/A/Kerberos
0x7fff8442a000 - 0x7fff8442bff7 com.apple.TrustEvaluationAgent 1.1 (1) <74800EE8-C14C-18C9-C208-20BBDB982D40> /System/Library/PrivateFrameworks/TrustEvaluationAgent.framework/Versions/A/TrustEvaluationAgent
0x7fff844d4000 - 0x7fff8458dfff libsqlite3.dylib 9.6.0 (compatibility 9.0.0) <2C5ED312-E646-9ADE-73A9-6199A2A43150> /usr/lib/libsqlite3.dylib
0x7fff8458e000 - 0x7fff8459fff7 libz.1.dylib 1.2.3 (compatibility 1.0.0) <FB5EE53A-0534-0FFA-B2ED-486609433717> /usr/lib/libz.1.dylib
0x7fff84b32000 - 0x7fff84b53fff libresolv.9.dylib 41.0.0 (compatibility 1.0.0) <6993F348-428F-C97E-7A84-7BD2EDC46A62> /usr/lib/libresolv.9.dylib
0x7fff8513f000 - 0x7fff852fdfff libicucore.A.dylib 40.0.0 (compatibility 1.0.0) <4274FC73-A257-3A56-4293-5968F3428854> /usr/lib/libicucore.A.dylib
0x7fff853da000 - 0x7fff85417ff7 libssl.0.9.8.dylib 0.9.8 (compatibility 0.9.8) <F743389F-F25A-A77D-4FCA-D6B01AF2EE6D> /usr/lib/libssl.0.9.8.dylib
0x7fff85418000 - 0x7fff856a1ff7 com.apple.security 6.1.2 (55002) <4419AFFC-DAE7-873E-6A7D-5C9A5A4497A6> /System/Library/Frameworks/Security.framework/Versions/A/Security
0x7fff88b40000 - 0x7fff88c5ffe7 libcrypto.0.9.8.dylib 0.9.8 (compatibility 0.9.8) <14115D29-432B-CF02-6B24-A60CC533A09E> /usr/lib/libcrypto.0.9.8.dylib
0x7fff88dcd000 - 0x7fff88f8efef libSystem.B.dylib 125.2.11 (compatibility 1.0.0) <9AB4F1D1-89DC-0E8A-DC8E-A4FE4D69DB69> /usr/lib/libSystem.B.dylib
0x7fff892c4000 - 0x7fff89310fff libauto.dylib ??? (???) <F7221B46-DC4F-3153-CE61-7F52C8C293CF> /usr/lib/libauto.dylib
0x7fff89311000 - 0x7fff893c7ff7 libobjc.A.dylib 227.0.0 (compatibility 1.0.0) <03140531-3B2D-1EBA-DA7F-E12CC8F63969> /usr/lib/libobjc.A.dylib
0x7fffffe00000 - 0x7fffffe01fff libSystem.B.dylib ??? (???) <9AB4F1D1-89DC-0E8A-DC8E-A4FE4D69DB69> /usr/lib/libSystem.B.dylib
Model: MacBookPro6,1, BootROM MBP61.0057.B0C, 2 processors, Intel Core i7, 2.66 GHz, 8 GB, SMC 1.57f17
Graphics: NVIDIA GeForce GT 330M, NVIDIA GeForce GT 330M, PCIe, 512 MB
Graphics: Intel HD Graphics, Intel HD Graphics, Built-In, 288 MB
Memory Module: global_name
AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0x93), Broadcom BCM43xx 1.0 (5.10.131.42.4)
Bluetooth: Version 2.4.5f3, 2 service, 19 devices, 1 incoming serial ports
Network Service: AirPort, AirPort, en1
Serial ATA Device: OCZ-VERTEX2, 372.61 GB
Serial ATA Device: Hitachi HTS545050B9SA02, 465.76 GB
USB Device: Hub, 0x0424 (SMSC), 0x2514, 0xfa100000 / 2
USB Device: BRCM2070 Hub, 0x0a5c (Broadcom Corp.), 0x4500, 0xfa110000 / 4
USB Device: Bluetooth USB Host Controller, 0x05ac (Apple Inc.), 0x8218, 0xfa113000 / 6
USB Device: Apple Internal Keyboard / Trackpad, 0x05ac (Apple Inc.), 0x0236, 0xfa120000 / 3
USB Device: Hub, 0x0424 (SMSC), 0x2514, 0xfd100000 / 2
USB Device: IR Receiver, 0x05ac (Apple Inc.), 0x8242, 0xfd120000 / 4
USB Device: Built-in iSight, 0x05ac (Apple Inc.), 0x8507, 0xfd110000 / 3
have_header: checking for catalog/pg_proc.h... -------------------- yes
"gcc -E -I. -I/Users/jay/.rvm/rubies/ruby-1.8.7-p302/lib/ruby/1.8/i686-darwin10.4.0 -I. -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -I/opt/local/include -g -O2 -fno-common -pipe -fno-common -I/usr/local/Cellar/postgresql/9.0.4/include -I/usr/local/Cellar/postgresql/9.0.4/include/server --shared conftest.c -o conftest.i"
checked program was:
/* begin */
1: #include <catalog/pg_proc.h>
/* end */
--------------------
have_func: checking for rb_hash_delete() in ruby.h... -------------------- yes
"gcc -o conftest -I. -I/Users/jay/.rvm/rubies/ruby-1.8.7-p302/lib/ruby/1.8/i686-darwin10.4.0 -I. -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -I/opt/local/include -g -O2 -fno-common -pipe -fno-common -I/usr/local/Cellar/postgresql/9.0.4/include -I/usr/local/Cellar/postgresql/9.0.4/include/server --shared conftest.c -L. -L/Users/jay/.rvm/rubies/ruby-1.8.7-p302/lib -L. -L/opt/local/lib -lruby-static -ldl -lobjc "
ld: warning: directory '/opt/local/lib' following -L not found
checked program was:
/* begin */
1: #include <ruby.h>
2:
3: /*top*/
4: int main() { return 0; }
5: int t() { void ((*volatile p)()); p = (void ((*)()))rb_hash_delete; return 0; }
/* end */
--------------------
have_func: checking for rb_block_call()... -------------------- yes
"gcc -o conftest -I. -I/Users/jay/.rvm/rubies/ruby-1.8.7-p302/lib/ruby/1.8/i686-darwin10.4.0 -I. -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -I/opt/local/include -g -O2 -fno-common -pipe -fno-common -I/usr/local/Cellar/postgresql/9.0.4/include -I/usr/local/Cellar/postgresql/9.0.4/include/server --shared -DHAVE_RB_HASH_DELETE -DHAVE_RB_INITIALIZE_COPY conftest.c -L. -L/Users/jay/.rvm/rubies/ruby-1.8.7-p302/lib -L. -L/opt/local/lib -lruby-static -ldl -lobjc "
conftest.c: In function ‘t’:
conftest.c:3: error: ‘rb_block_call’ undeclared (first use in this function)
conftest.c:3: error: (Each undeclared identifier is reported only once
conftest.c:3: error: for each function it appears in.)
checked program was:
/* begin */
1: /*top*/
2: int main() { return 0; }
3: int t() { void ((*volatile p)()); p = (void ((*)()))rb_block_call; return 0; }
/* end */
"gcc -o conftest -I. -I/Users/jay/.rvm/rubies/ruby-1.8.7-p302/lib/ruby/1.8/i686-darwin10.4.0 -I. -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -I/opt/local/include -g -O2 -fno-common -pipe -fno-common -I/usr/local/Cellar/postgresql/9.0.4/include -I/usr/local/Cellar/postgresql/9.0.4/include/server --shared -DHAVE_RB_HASH_DELETE -DHAVE_RB_INITIALIZE_COPY conftest.c -L. -L/Users/jay/.rvm/rubies/ruby-1.8.7-p302/lib -L. -L/opt/local/lib -lruby-static -ldl -lobjc "
ld: warning: directory '/opt/local/lib' following -L not found
checked program was:
/* begin */
1: /*top*/
2: int main() { return 0; }
3: int t() { rb_block_call(); return 0; }
/* end */
--------------------
have_header: checking for ruby/st.h... -------------------- yes
"gcc -E -I. -I/Users/jay/.rvm/rubies/ruby-1.8.7-p302/lib/ruby/1.8/i686-darwin10.4.0 -I. -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -I/opt/local/include -g -O2 -fno-common -pipe -fno-common -I/usr/local/Cellar/postgresql/9.0.4/include -I/usr/local/Cellar/postgresql/9.0.4/include/server --shared -DHAVE_RB_HASH_DELETE -DHAVE_RB_INITIALIZE_COPY conftest.c -o conftest.i"
checked program was:
/* begin */
1: #include <ruby/st.h>
/* end */
--------------------
have_header: checking for st.h... -------------------- yes
"gcc -E -I. -I/Users/jay/.rvm/rubies/ruby-1.8.7-p302/lib/ruby/1.8/i686-darwin10.4.0 -I. -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -I/opt/local/include -g -O2 -fno-common -pipe -fno-common -I/usr/local/Cellar/postgresql/9.0.4/include -I/usr/local/Cellar/postgresql/9.0.4/include/server --shared -DHAVE_RB_HASH_DELETE -DHAVE_RB_INITIALIZE_COPY conftest.c -o conftest.i"
checked program was:
/* begin */
1: #include <st.h>
/* end */
--------------------
have_header: checking for server/utils/array.h... -------------------- yes
"gcc -E -I. -I/Users/jay/.rvm/rubies/ruby-1.8.7-p302/lib/ruby/1.8/i686-darwin10.4.0 -I. -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -I/opt/local/include -g -O2 -fno-common -pipe -fno-common -I/usr/local/Cellar/postgresql/9.0.4/include -I/usr/local/Cellar/postgresql/9.0.4/include/server --shared -DHAVE_RB_HASH_DELETE -DHAVE_RB_INITIALIZE_COPY conftest.c -o conftest.i"
checked program was:
/* begin */
1: #include <server/utils/array.h>
/* end */
--------------------
"gcc -I. -I/Users/jay/.rvm/rubies/ruby-1.8.7-p302/lib/ruby/1.8/i686-darwin10.4.0 -I. -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -I/opt/local/include -g -O2 -fno-common -pipe -fno-common -I/usr/local/Cellar/postgresql/9.0.4/include -I/usr/local/Cellar/postgresql/9.0.4/include/server --shared -DHAVE_RB_HASH_DELETE -DHAVE_RB_INITIALIZE_COPY -c conftest.c"
checked program was:
/* begin */
1: #include "c.h"
2: #include "utils/elog.h"
3: /*top*/
4: #ifndef PG_TRY
5: # error
6: >>>>>> PG_TRY undefined <<<<<<
7: #endif
/* end */
have_library: checking for PQconnectdb() in -lpq... -------------------- yes
"gcc -o conftest -I. -I/Users/jay/.rvm/rubies/ruby-1.8.7-p302/lib/ruby/1.8/i686-darwin10.4.0 -I. -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -I/opt/local/include -g -O2 -fno-common -pipe -fno-common -I/usr/local/Cellar/postgresql/9.0.4/include -I/usr/local/Cellar/postgresql/9.0.4/include/server --shared -DHAVE_RB_HASH_DELETE -DHAVE_RB_INITIALIZE_COPY -DPG_PL_TRYCATCH conftest.c -L. -L/Users/jay/.rvm/rubies/ruby-1.8.7-p302/lib -L. -L/opt/local/lib -lruby-static -lpq -ldl -lobjc "
conftest.c: In function ‘t’:
conftest.c:3: error: ‘PQconnectdb’ undeclared (first use in this function)
conftest.c:3: error: (Each undeclared identifier is reported only once
conftest.c:3: error: for each function it appears in.)
checked program was:
/* begin */
1: /*top*/
2: int main() { return 0; }
3: int t() { void ((*volatile p)()); p = (void ((*)()))PQconnectdb; return 0; }
/* end */
"gcc -o conftest -I. -I/Users/jay/.rvm/rubies/ruby-1.8.7-p302/lib/ruby/1.8/i686-darwin10.4.0 -I. -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -I/opt/local/include -g -O2 -fno-common -pipe -fno-common -I/usr/local/Cellar/postgresql/9.0.4/include -I/usr/local/Cellar/postgresql/9.0.4/include/server --shared -DHAVE_RB_HASH_DELETE -DHAVE_RB_INITIALIZE_COPY -DPG_PL_TRYCATCH conftest.c -L. -L/Users/jay/.rvm/rubies/ruby-1.8.7-p302/lib -L. -L/opt/local/lib -lruby-static -lpq -ldl -lobjc "
ld: warning: directory '/opt/local/lib' following -L not found
checked program was:
/* begin */
1: /*top*/
2: int main() { return 0; }
3: int t() { PQconnectdb(); return 0; }
/* end */
--------------------
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment