Skip to content

Instantly share code, notes, and snippets.

@Ptico
Created December 29, 2011 00:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Ptico/1530631 to your computer and use it in GitHub Desktop.
Save Ptico/1530631 to your computer and use it in GitHub Desktop.
[BUG] Segmentation fault
ruby 1.9.3p0 (2011-10-30 revision 33570) [x86_64-darwin11.2.0]
-- Control frame information -----------------------------------------------
c:0007 p:---- s:0021 b:0021 l:000020 d:000020 CFUNC :next!
c:0006 p:0049 s:0018 b:0018 l:000017 d:000017 METHOD /Users/ptico/.rvm/gems/ruby-1.9.3-p0/gems/data_objects-0.10.7/lib/data_objects/reader.rb:35
c:0005 p:---- s:0014 b:0014 l:000013 d:000013 FINISH
c:0004 p:---- s:0012 b:0012 l:000011 d:000011 CFUNC :to_a
c:0003 p:0087 s:0009 b:0008 l:001638 d:002478 EVAL do.rb:8
c:0002 p:---- s:0004 b:0004 l:000003 d:000003 FINISH
c:0001 p:0000 s:0002 b:0002 l:001638 d:001638 TOP
-- Ruby level backtrace information ----------------------------------------
do.rb:8:in `<main>'
do.rb:8:in `to_a'
/Users/ptico/.rvm/gems/ruby-1.9.3-p0/gems/data_objects-0.10.7/lib/data_objects/reader.rb:35:in `each'
/Users/ptico/.rvm/gems/ruby-1.9.3-p0/gems/data_objects-0.10.7/lib/data_objects/reader.rb:35:in `next!'
-- C level backtrace information -------------------------------------------
See Crash Report log file under ~/Library/Logs/CrashReporter or
/Library/Logs/CrashReporter, for the more detail of.
-- Other runtime information -----------------------------------------------
* Loaded script: do.rb
* Loaded features:
0 enumerator.so
1 /Users/ptico/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/x86_64-darwin11.2.0/enc/encdb.bundle
2 /Users/ptico/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/x86_64-darwin11.2.0/enc/trans/transdb.bundle
3 /Users/ptico/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/site_ruby/1.9.1/rubygems/defaults.rb
4 /Users/ptico/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/x86_64-darwin11.2.0/rbconfig.rb
5 /Users/ptico/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/site_ruby/1.9.1/rubygems/deprecate.rb
6 /Users/ptico/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/site_ruby/1.9.1/rubygems/exceptions.rb
7 /Users/ptico/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb
8 /Users/ptico/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/site_ruby/1.9.1/rubygems.rb
9 /Users/ptico/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/site_ruby/1.9.1/rubygems/version.rb
10 /Users/ptico/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/site_ruby/1.9.1/rubygems/requirement.rb
11 /Users/ptico/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/site_ruby/1.9.1/rubygems/platform.rb
12 /Users/ptico/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/site_ruby/1.9.1/rubygems/specification.rb
13 /Users/ptico/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/site_ruby/1.9.1/rubygems/path_support.rb
14 /Users/ptico/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/site_ruby/1.9.1/rubygems/dependency.rb
15 /Users/ptico/.rvm/gems/ruby-1.9.3-p0/gems/data_objects-0.10.7/lib/data_objects/version.rb
16 /Users/ptico/.rvm/gems/ruby-1.9.3-p0/gems/data_objects-0.10.7/lib/data_objects/utilities.rb
17 /Users/ptico/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/x86_64-darwin11.2.0/date_core.bundle
18 /Users/ptico/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/date/format.rb
19 /Users/ptico/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/date.rb
20 /Users/ptico/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/time.rb
21 /Users/ptico/.rvm/gems/ruby-1.9.3-p0/gems/data_objects-0.10.7/lib/data_objects/logger.rb
22 /Users/ptico/.rvm/gems/ruby-1.9.3-p0/gems/data_objects-0.10.7/lib/data_objects/byte_array.rb
23 /Users/ptico/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/set.rb
24 /Users/ptico/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/thread.rb
25 /Users/ptico/.rvm/gems/ruby-1.9.3-p0/gems/data_objects-0.10.7/lib/data_objects/pooling.rb
26 /Users/ptico/.rvm/gems/ruby-1.9.3-p0/gems/data_objects-0.10.7/lib/data_objects/connection.rb
27 /Users/ptico/.rvm/gems/ruby-1.9.3-p0/gems/addressable-2.2.6/lib/addressable/version.rb
28 /Users/ptico/.rvm/gems/ruby-1.9.3-p0/gems/addressable-2.2.6/lib/addressable/idna/pure.rb
29 /Users/ptico/.rvm/gems/ruby-1.9.3-p0/gems/addressable-2.2.6/lib/addressable/idna.rb
30 /Users/ptico/.rvm/gems/ruby-1.9.3-p0/gems/addressable-2.2.6/lib/addressable/uri.rb
31 /Users/ptico/.rvm/gems/ruby-1.9.3-p0/gems/data_objects-0.10.7/lib/data_objects/uri.rb
32 /Users/ptico/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/x86_64-darwin11.2.0/socket.bundle
33 /Users/ptico/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/socket.rb
34 /Users/ptico/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/x86_64-darwin11.2.0/digest.bundle
35 /Users/ptico/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/digest.rb
36 /Users/ptico/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/x86_64-darwin11.2.0/digest/sha2.bundle
37 /Users/ptico/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/digest/sha2.rb
38 /Users/ptico/.rvm/gems/ruby-1.9.3-p0/gems/data_objects-0.10.7/lib/data_objects/transaction.rb
39 /Users/ptico/.rvm/gems/ruby-1.9.3-p0/gems/data_objects-0.10.7/lib/data_objects/command.rb
40 /Users/ptico/.rvm/gems/ruby-1.9.3-p0/gems/data_objects-0.10.7/lib/data_objects/result.rb
41 /Users/ptico/.rvm/gems/ruby-1.9.3-p0/gems/data_objects-0.10.7/lib/data_objects/reader.rb
42 /Users/ptico/.rvm/gems/ruby-1.9.3-p0/gems/data_objects-0.10.7/lib/data_objects/quoting.rb
43 /Users/ptico/.rvm/gems/ruby-1.9.3-p0/gems/data_objects-0.10.7/lib/data_objects/extension.rb
44 /Users/ptico/.rvm/gems/ruby-1.9.3-p0/gems/data_objects-0.10.7/lib/data_objects/error.rb
45 /Users/ptico/.rvm/gems/ruby-1.9.3-p0/gems/data_objects-0.10.7/lib/data_objects/error/sql_error.rb
46 /Users/ptico/.rvm/gems/ruby-1.9.3-p0/gems/data_objects-0.10.7/lib/data_objects/error/connection_error.rb
47 /Users/ptico/.rvm/gems/ruby-1.9.3-p0/gems/data_objects-0.10.7/lib/data_objects/error/data_error.rb
48 /Users/ptico/.rvm/gems/ruby-1.9.3-p0/gems/data_objects-0.10.7/lib/data_objects/error/integrity_error.rb
49 /Users/ptico/.rvm/gems/ruby-1.9.3-p0/gems/data_objects-0.10.7/lib/data_objects/error/syntax_error.rb
50 /Users/ptico/.rvm/gems/ruby-1.9.3-p0/gems/data_objects-0.10.7/lib/data_objects/error/transaction_error.rb
51 /Users/ptico/.rvm/gems/ruby-1.9.3-p0/gems/data_objects-0.10.7/lib/data_objects.rb
52 /Users/ptico/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/x86_64-darwin11.2.0/bigdecimal.bundle
53 /Users/ptico/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/rational.rb
54 /Users/ptico/.rvm/gems/ruby-1.9.3-p0/gems/do_postgres-0.10.7/lib/do_postgres/do_postgres.bundle
55 /Users/ptico/.rvm/gems/ruby-1.9.3-p0/gems/do_postgres-0.10.7/lib/do_postgres/version.rb
56 /Users/ptico/.rvm/gems/ruby-1.9.3-p0/gems/do_postgres-0.10.7/lib/do_postgres/transaction.rb
57 /Users/ptico/.rvm/gems/ruby-1.9.3-p0/gems/do_postgres-0.10.7/lib/do_postgres/encoding.rb
58 /Users/ptico/.rvm/gems/ruby-1.9.3-p0/gems/do_postgres-0.10.7/lib/do_postgres.rb
[NOTE]
You may have encountered a bug in the Ruby interpreter or extension libraries.
Bug reports are welcome.
For details: http://www.ruby-lang.org/bugreport.html
Process: ruby [81201]
Path: /Users/USER/*/ruby
Identifier: ruby
Version: ??? (???)
Code Type: X86-64 (Native)
Parent Process: zsh [79932]
Date/Time: 2011-12-29 02:06:08.387 +0200
OS Version: Mac OS X 10.7.2 (11C74)
Report Version: 9
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_BAD_ACCESS (SIGABRT)
Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000024
VM Regions Near 0x24:
-->
__TEXT 00000001050fd000-00000001050fe000 [ 4K] r-x/rwx SM=COW /Users/USER/*
Application Specific Information:
objc[81201]: garbage collection is OFF
abort() called
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 libsystem_kernel.dylib 0x00007fff8d69dce2 __pthread_kill + 10
1 libsystem_c.dylib 0x00007fff902507d2 pthread_kill + 95
2 libsystem_c.dylib 0x00007fff90241a7a abort + 143
3 libruby.1.9.1.dylib 0x000000010513de84 rb_bug + 212
4 libruby.1.9.1.dylib 0x000000010520640f sigsegv + 127
5 libsystem_c.dylib 0x00007fff902a2cfa _sigtramp + 26
6 do_postgres.bundle 0x00000001054ee921 do_postgres_cReader_next + 33 (do_postgres.c:613)
7 libruby.1.9.1.dylib 0x0000000105285617 vm_call_method + 983 (vm_insnhelper.c:404)
8 libruby.1.9.1.dylib 0x0000000105272b7e vm_exec_core + 20318 (insns.def:1015)
9 libruby.1.9.1.dylib 0x00000001052780e3 vm_exec + 1459 (vm.c:1220)
10 libruby.1.9.1.dylib 0x0000000105279b8a vm_call0 + 1370 (vm_eval.c:66)
11 libruby.1.9.1.dylib 0x000000010527c72e iterate_method + 366 (vm_eval.c:930)
12 libruby.1.9.1.dylib 0x000000010526a2da rb_iterate + 234 (vm_eval.c:862)
13 libruby.1.9.1.dylib 0x000000010526a49d rb_block_call + 45 (vm_eval.c:943)
14 libruby.1.9.1.dylib 0x0000000105136666 enum_to_a + 70 (enum.c:481)
15 libruby.1.9.1.dylib 0x0000000105285617 vm_call_method + 983 (vm_insnhelper.c:404)
16 libruby.1.9.1.dylib 0x0000000105272b7e vm_exec_core + 20318 (insns.def:1015)
17 libruby.1.9.1.dylib 0x00000001052780e3 vm_exec + 1459 (vm.c:1220)
18 libruby.1.9.1.dylib 0x00000001052783db rb_iseq_eval_main + 507 (vm.c:1462)
19 libruby.1.9.1.dylib 0x00000001051426d2 ruby_exec_internal + 178 (eval.c:204)
20 libruby.1.9.1.dylib 0x00000001051451cc ruby_run_node + 60 (eval.c:251)
21 ruby 0x00000001050fdedf main + 79 (main.c:40)
22 ruby 0x00000001050fde84 start + 52
Thread 1:
0 libsystem_kernel.dylib 0x00007fff8d69ddf2 __select + 10
1 libruby.1.9.1.dylib 0x000000010528eb5a thread_timer + 314 (thread_pthread.c:1154)
2 libsystem_c.dylib 0x00007fff9024e8bf _pthread_start + 335
3 libsystem_c.dylib 0x00007fff90251b75 thread_start + 13
Thread 2:
0 libsystem_kernel.dylib 0x00007fff8d69dbca __psynch_cvwait + 10
1 libsystem_c.dylib 0x00007fff90252274 _pthread_cond_wait + 840
2 libruby.1.9.1.dylib 0x000000010528e2be native_sleep + 270 (thread_pthread.c:326)
3 libruby.1.9.1.dylib 0x000000010528f4da sleep_timeval + 170 (thread.c:896)
4 libruby.1.9.1.dylib 0x00000001051c3250 rb_f_sleep + 80 (process.c:3441)
5 libruby.1.9.1.dylib 0x0000000105285617 vm_call_method + 983 (vm_insnhelper.c:404)
6 libruby.1.9.1.dylib 0x0000000105272b7e vm_exec_core + 20318 (insns.def:1015)
7 libruby.1.9.1.dylib 0x00000001052780e3 vm_exec + 1459 (vm.c:1220)
8 libruby.1.9.1.dylib 0x000000010527944d rb_vm_invoke_proc + 877 (vm.c:624)
9 libruby.1.9.1.dylib 0x00000001052907b9 thread_start_func_2 + 1641 (thread.c:453)
10 libruby.1.9.1.dylib 0x00000001052908e6 thread_start_func_1 + 150 (thread_pthread.c:673)
11 libsystem_c.dylib 0x00007fff9024e8bf _pthread_start + 335
12 libsystem_c.dylib 0x00007fff90251b75 thread_start + 13
Thread 0 crashed with X86 Thread State (64-bit):
rax: 0x0000000000000000 rbx: 0x0000000000000006 rcx: 0x0000000105483938 rdx: 0x0000000000000000
rdi: 0x000000000000060b rsi: 0x0000000000000006 rbp: 0x0000000105483960 rsp: 0x0000000105483938
r8: 0x00007fff76a45fb8 r9: 0x00000001054834c8 r10: 0x00007fff8d69dd0a r11: 0xffffff80002d8220
r12: 0x00007f95cb10eba0 r13: 0x00007f95c9826818 r14: 0x00007fff76a48960 r15: 0x00000001056ffdf0
rip: 0x00007fff8d69dce2 rfl: 0x0000000000000246 cr2: 0x0000000105482a50
Logical CPU: 0
Binary Images:
0x1050fd000 - 0x1050fdfff +ruby (??? - ???) <188F1CF2-8B42-375A-A7BD-FC576B5FB6EF> /Users/USER/*/ruby
0x105102000 - 0x105326fe7 +libruby.1.9.1.dylib (1.9.1 - compatibility 1.9.1) <4F48E0E8-E427-3E6F-8613-E81AF57E401C> /Users/USER/*/libruby.1.9.1.dylib
0x10548a000 - 0x10548bfff +encdb.bundle (??? - ???) <E4E29999-55A8-38D5-BAFC-AB86D0349717> /Users/USER/*/encdb.bundle
0x10548e000 - 0x10548fff7 +transdb.bundle (??? - ???) <974D7835-7E67-390D-AD0C-4FB988A44284> /Users/USER/*/transdb.bundle
0x105493000 - 0x1054c8fff +date_core.bundle (??? - ???) <886E22AB-BB76-35B1-A1C4-4E488D53CE20> /Users/USER/*/date_core.bundle
0x1054e2000 - 0x1054e4ff7 +digest.bundle (??? - ???) <DB0BF0E6-1FF9-3DB4-974B-05B53B6A5B5E> /Users/USER/*/digest.bundle
0x1054e8000 - 0x1054e8ff7 +sha2.bundle (??? - ???) <DE204917-C77B-3EC5-848E-6A03EAF3B5BF> /Users/USER/*/sha2.bundle
0x1054eb000 - 0x1054f0ff7 +do_postgres.bundle (??? - ???) <8AD4AB5F-89C7-3674-91C5-886008EDF882> /Users/USER/*/do_postgres.bundle
0x1059f2000 - 0x105a12fff +socket.bundle (??? - ???) <234D7ECB-7624-34FF-98E0-4F37D281948A> /Users/USER/*/socket.bundle
0x105a21000 - 0x105a3ffff +libpq.5.3.dylib (5.3.0 - compatibility 5.0.0) <77E0F953-4E5D-3877-83E5-D64F890F867D> /usr/local/lib/libpq.5.3.dylib
0x105a48000 - 0x105a58fff +bigdecimal.bundle (??? - ???) <9604971C-6061-3068-91C6-C23D872656FA> /Users/USER/*/bigdecimal.bundle
0x7fff64cfd000 - 0x7fff64d31ac7 dyld (195.5 - ???) <4A6E2B28-C7A2-3528-ADB7-4076B9836041> /usr/lib/dyld
0x7fff85395000 - 0x7fff8539afff libcompiler_rt.dylib (6.0.0 - compatibility 1.0.0) <98ECD5F6-E85C-32A5-98CD-8911230CB66A> /usr/lib/system/libcompiler_rt.dylib
0x7fff8569b000 - 0x7fff8570bfff com.apple.datadetectorscore (3.0 - 179.4) <2A822A13-94B3-3A43-8724-98FDF698BB12> /System/Library/PrivateFrameworks/DataDetectorsCore.framework/Versions/A/DataDetectorsCore
0x7fff85711000 - 0x7fff85877fff com.apple.CFNetwork (520.2.5 - 520.2.5) <406712D9-3F0C-3763-B4EB-868D01F1F042> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CFNetwork.framework/Versions/A/CFNetwork
0x7fff85d2e000 - 0x7fff85d35fff com.apple.NetFS (4.0 - 4.0) <B9F41443-679A-31AD-B0EB-36557DAF782B> /System/Library/Frameworks/NetFS.framework/Versions/A/NetFS
0x7fff85d4c000 - 0x7fff85d7fff7 com.apple.GSS (2.1 - 2.0) <9A2C9736-DA10-367A-B376-2C7A584E6C7A> /System/Library/Frameworks/GSS.framework/Versions/A/GSS
0x7fff85f71000 - 0x7fff85f77ff7 libunwind.dylib (30.0.0 - compatibility 1.0.0) <1E9C6C8C-CBE8-3F4B-A5B5-E03E3AB53231> /usr/lib/system/libunwind.dylib
0x7fff85ff8000 - 0x7fff86092ff7 com.apple.SearchKit (1.4.0 - 1.4.0) <4E70C394-773E-3A4B-A93C-59A88ABA9509> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/SearchKit.framework/Versions/A/SearchKit
0x7fff861a9000 - 0x7fff8621eff7 libc++.1.dylib (19.0.0 - compatibility 1.0.0) <C0EFFF1B-0FEB-3F99-BE54-506B35B555A9> /usr/lib/libc++.1.dylib
0x7fff863cc000 - 0x7fff86407ff7 libsystem_info.dylib (??? - ???) <9C8C2DCB-96DB-3471-9DCE-ADCC26BE2DD4> /usr/lib/system/libsystem_info.dylib
0x7fff86434000 - 0x7fff86608fff com.apple.CoreFoundation (6.7.1 - 635.15) <FE4A86C2-3599-3CF8-AD1A-822F1FEA820F> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
0x7fff86722000 - 0x7fff86723ff7 libsystem_blocks.dylib (53.0.0 - compatibility 1.0.0) <8BCA214A-8992-34B2-A8B9-B74DEACA1869> /usr/lib/system/libsystem_blocks.dylib
0x7fff86724000 - 0x7fff86827fff libsqlite3.dylib (9.6.0 - compatibility 9.0.0) <7F60B0FF-4946-3639-89AB-B540D318B249> /usr/lib/libsqlite3.dylib
0x7fff86c5b000 - 0x7fff86c8bff7 com.apple.DictionaryServices (1.2.1 - 158.2) <3FC86118-7553-38F7-8916-B329D2E94476> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/DictionaryServices.framework/Versions/A/DictionaryServices
0x7fff86f1b000 - 0x7fff86f1cfff libdnsinfo.dylib (395.6.0 - compatibility 1.0.0) <718A135F-6349-354A-85D5-430B128EFD57> /usr/lib/system/libdnsinfo.dylib
0x7fff87943000 - 0x7fff8794efff com.apple.CommonAuth (2.1 - 2.0) <BFDD0A8D-4BEA-39EC-98B3-2E083D7B1ABD> /System/Library/PrivateFrameworks/CommonAuth.framework/Versions/A/CommonAuth
0x7fff89017000 - 0x7fff89019fff libquarantine.dylib (36.0.0 - compatibility 1.0.0) <4C3BFBC7-E592-3939-B376-1C2E2D7C5389> /usr/lib/system/libquarantine.dylib
0x7fff8901a000 - 0x7fff8901bfff libsystem_sandbox.dylib (??? - ???) <8D14139B-B671-35F4-9E5A-023B4C523C38> /usr/lib/system/libsystem_sandbox.dylib
0x7fff891c7000 - 0x7fff891cdfff libmacho.dylib (800.0.0 - compatibility 1.0.0) <D86F63EC-D2BD-32E0-8955-08B5EAFAD2CC> /usr/lib/system/libmacho.dylib
0x7fff8a742000 - 0x7fff8a84efff libcrypto.0.9.8.dylib (44.0.0 - compatibility 0.9.8) <3A8E1F89-5E26-3C8B-B538-81F5D61DBF8A> /usr/lib/libcrypto.0.9.8.dylib
0x7fff8a88b000 - 0x7fff8a890ff7 libsystem_network.dylib (??? - ???) <5DE7024E-1D2D-34A2-80F4-08326331A75B> /usr/lib/system/libsystem_network.dylib
0x7fff8b615000 - 0x7fff8b616fff liblangid.dylib (??? - ???) <CACBE3C3-2F7B-3EED-B50E-EDB73F473B77> /usr/lib/liblangid.dylib
0x7fff8b617000 - 0x7fff8b69afef com.apple.Metadata (10.7.0 - 627.20) <E00156B0-663A-35EF-A307-A2CEB00F1845> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Metadata.framework/Versions/A/Metadata
0x7fff8b69c000 - 0x7fff8b69efff com.apple.TrustEvaluationAgent (2.0 - 1) <1F31CAFF-C1C6-33D3-94E9-11B721761DDF> /System/Library/PrivateFrameworks/TrustEvaluationAgent.framework/Versions/A/TrustEvaluationAgent
0x7fff8b69f000 - 0x7fff8b783def libobjc.A.dylib (228.0.0 - compatibility 1.0.0) <C5F2392D-B481-3A9D-91BE-3D039FFF4DEC> /usr/lib/libobjc.A.dylib
0x7fff8b784000 - 0x7fff8b78fff7 libc++abi.dylib (14.0.0 - compatibility 1.0.0) <8FF3D766-D678-36F6-84AC-423C878E6D14> /usr/lib/libc++abi.dylib
0x7fff8b79d000 - 0x7fff8b7a6ff7 libsystem_notify.dylib (80.1.0 - compatibility 1.0.0) <A4D651E3-D1C6-3934-AD49-7A104FD14596> /usr/lib/system/libsystem_notify.dylib
0x7fff8b81b000 - 0x7fff8b820fff libcache.dylib (47.0.0 - compatibility 1.0.0) <B7757E2E-5A7D-362E-AB71-785FE79E1527> /usr/lib/system/libcache.dylib
0x7fff8ba24000 - 0x7fff8bd40ff7 com.apple.CoreServices.CarbonCore (960.18 - 960.18) <6020C3FB-6125-3EAE-A55D-1E77E38BEDEA> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework/Versions/A/CarbonCore
0x7fff8be3f000 - 0x7fff8be5efff libresolv.9.dylib (46.0.0 - compatibility 1.0.0) <33263568-E6F3-359C-A4FA-66AD1300F7D4> /usr/lib/libresolv.9.dylib
0x7fff8bf17000 - 0x7fff8bf1dfff com.apple.DiskArbitration (2.4.1 - 2.4.1) <CEA34337-63DE-302E-81AA-10D717E1F699> /System/Library/Frameworks/DiskArbitration.framework/Versions/A/DiskArbitration
0x7fff8c510000 - 0x7fff8c522ff7 libbsm.0.dylib (??? - ???) <349BB16F-75FA-363F-8D98-7A9C3FA90A0D> /usr/lib/libbsm.0.dylib
0x7fff8c965000 - 0x7fff8c9a4fff com.apple.AE (527.7 - 527.7) <B82F7ABC-AC8B-3507-B029-969DD5CA813D> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/AE.framework/Versions/A/AE
0x7fff8c9ad000 - 0x7fff8ccc6ff7 com.apple.Foundation (6.7.1 - 833.20) <D922F590-FDA6-3D89-A271-FD35E2290624> /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation
0x7fff8ccf5000 - 0x7fff8cd7aff7 com.apple.Heimdal (2.1 - 2.0) <C92E327E-CB5F-3C9B-92B0-F1680095C8A3> /System/Library/PrivateFrameworks/Heimdal.framework/Versions/A/Heimdal
0x7fff8cfef000 - 0x7fff8cff9ff7 liblaunch.dylib (392.18.0 - compatibility 1.0.0) <39EF04F2-7F0C-3435-B785-BF283727FFBD> /usr/lib/system/liblaunch.dylib
0x7fff8d03e000 - 0x7fff8d089ff7 com.apple.SystemConfiguration (1.11.1 - 1.11) <F832FE21-5509-37C6-B1F1-48928F31BE45> /System/Library/Frameworks/SystemConfiguration.framework/Versions/A/SystemConfiguration
0x7fff8d0ad000 - 0x7fff8d0c4fff com.apple.CFOpenDirectory (10.7 - 144) <9709423E-8484-3B26-AAE8-EF58D1B8FB3F> /System/Library/Frameworks/OpenDirectory.framework/Versions/A/Frameworks/CFOpenDirectory.framework/Versions/A/CFOpenDirectory
0x7fff8d0c5000 - 0x7fff8d0f0ff7 libxslt.1.dylib (3.24.0 - compatibility 3.0.0) <8051A3FC-7385-3EA9-9634-78FC616C3E94> /usr/lib/libxslt.1.dylib
0x7fff8d0f1000 - 0x7fff8d133ff7 libcommonCrypto.dylib (55010.0.0 - compatibility 1.0.0) <A5B9778E-11C3-3F61-B740-1F2114E967FB> /usr/lib/system/libcommonCrypto.dylib
0x7fff8d134000 - 0x7fff8d147ff7 libCRFSuite.dylib (??? - ???) <034D4DAA-63F0-35E4-BCEF-338DD7A453DD> /usr/lib/libCRFSuite.dylib
0x7fff8d5de000 - 0x7fff8d5defff libkeymgr.dylib (23.0.0 - compatibility 1.0.0) <61EFED6A-A407-301E-B454-CD18314F0075> /usr/lib/system/libkeymgr.dylib
0x7fff8d659000 - 0x7fff8d686fe7 libSystem.B.dylib (159.1.0 - compatibility 1.0.0) <095FDD3C-3961-3865-A59B-A5B0A4B8B923> /usr/lib/libSystem.B.dylib
0x7fff8d687000 - 0x7fff8d6a7fff libsystem_kernel.dylib (1699.22.73 - compatibility 1.0.0) <69F2F501-72D8-3B3B-8357-F4418B3E1348> /usr/lib/system/libsystem_kernel.dylib
0x7fff8d6a8000 - 0x7fff8d71bfff libstdc++.6.dylib (52.0.0 - compatibility 7.0.0) <6BDD43E4-A4B1-379E-9ED5-8C713653DFF2> /usr/lib/libstdc++.6.dylib
0x7fff8e08c000 - 0x7fff8e0a8ff7 com.apple.GenerationalStorage (1.0 - 125) <31F60175-E38D-3C63-8D95-32CFE7062BCB> /System/Library/PrivateFrameworks/GenerationalStorage.framework/Versions/A/GenerationalStorage
0x7fff8e4c1000 - 0x7fff8e4cffff com.apple.NetAuth (1.0 - 3.0) <F384FFFD-70F6-3B1C-A886-F5B446E456E7> /System/Library/PrivateFrameworks/NetAuth.framework/Versions/A/NetAuth
0x7fff8e4d0000 - 0x7fff8e53afff com.apple.framework.IOKit (2.0 - ???) <87D55F1D-CDB5-3D13-A5F9-98EA4E22F8EE> /System/Library/Frameworks/IOKit.framework/Versions/A/IOKit
0x7fff8e563000 - 0x7fff8e571ff7 libkxld.dylib (??? - ???) <65BE345D-6618-3D1A-9E2B-255E629646AA> /usr/lib/system/libkxld.dylib
0x7fff8e572000 - 0x7fff8e596fff com.apple.Kerberos (1.0 - 1) <1F826BCE-DA8F-381D-9C4C-A36AA0EA1CB9> /System/Library/Frameworks/Kerberos.framework/Versions/A/Kerberos
0x7fff8e610000 - 0x7fff8e61efff libdispatch.dylib (187.7.0 - compatibility 1.0.0) <712AAEAC-AD90-37F7-B71F-293FF8AE8723> /usr/lib/system/libdispatch.dylib
0x7fff8eb38000 - 0x7fff8eb4aff7 libz.1.dylib (1.2.5 - compatibility 1.0.0) <30CBEF15-4978-3DED-8629-7109880A19D4> /usr/lib/libz.1.dylib
0x7fff8eb4b000 - 0x7fff8eb4cfff libunc.dylib (24.0.0 - compatibility 1.0.0) <C67B3B14-866C-314F-87FF-8025BEC2CAAC> /usr/lib/system/libunc.dylib
0x7fff8f080000 - 0x7fff8f088fff libsystem_dnssd.dylib (??? - ???) <7749128E-D0C5-3832-861C-BC9913F774FA> /usr/lib/system/libsystem_dnssd.dylib
0x7fff8f7aa000 - 0x7fff8f8acff7 libxml2.2.dylib (10.3.0 - compatibility 10.0.0) <D46F371D-6422-31B7-BCE0-D80713069E0E> /usr/lib/libxml2.2.dylib
0x7fff8f8ad000 - 0x7fff8f8adfff com.apple.CoreServices (53 - 53) <043C8026-8EDD-3241-B090-F589E24062EF> /System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices
0x7fff8f8d5000 - 0x7fff8f8d6ff7 libremovefile.dylib (21.0.0 - compatibility 1.0.0) <C6C49FB7-1892-32E4-86B5-25AD165131AA> /usr/lib/system/libremovefile.dylib
0x7fff8f918000 - 0x7fff8f91cfff libmathCommon.A.dylib (2026.0.0 - compatibility 1.0.0) <FF83AFF7-42B2-306E-90AF-D539C51A4542> /usr/lib/system/libmathCommon.A.dylib
0x7fff8f91d000 - 0x7fff8f93aff7 libxpc.dylib (77.17.0 - compatibility 1.0.0) <72A16104-2F23-3C22-B474-1953F06F9376> /usr/lib/system/libxpc.dylib
0x7fff8ff74000 - 0x7fff8ff75fff libDiagnosticMessagesClient.dylib (??? - ???) <3DCF577B-F126-302B-BCE2-4DB9A95B8598> /usr/lib/libDiagnosticMessagesClient.dylib
0x7fff8ffae000 - 0x7fff8fffcfff libauto.dylib (??? - ???) <D8AC8458-DDD0-3939-8B96-B6CED81613EF> /usr/lib/libauto.dylib
0x7fff8fffd000 - 0x7fff901fffff libicucore.A.dylib (46.1.0 - compatibility 1.0.0) <38CD6ED3-C8E4-3CCD-89AC-9C3198803101> /usr/lib/libicucore.A.dylib
0x7fff90200000 - 0x7fff902ddfef libsystem_c.dylib (763.12.0 - compatibility 1.0.0) <FF69F06E-0904-3C08-A5EF-536FAFFFDC22> /usr/lib/system/libsystem_c.dylib
0x7fff9032d000 - 0x7fff90332fff com.apple.OpenDirectory (10.7 - 146) <91A87249-6A2F-3F89-A8DE-0E95C0B54A3A> /System/Library/Frameworks/OpenDirectory.framework/Versions/A/OpenDirectory
0x7fff90bd0000 - 0x7fff90c09fe7 libssl.0.9.8.dylib (44.0.0 - compatibility 0.9.8) <79AAEC98-1258-3DA4-B1C0-4120049D390B> /usr/lib/libssl.0.9.8.dylib
0x7fff90d05000 - 0x7fff90da4fff com.apple.LaunchServices (480.21 - 480.21) <6BFADEA9-5BC1-3B53-A013-488EB7F1AB57> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/LaunchServices
0x7fff90fb2000 - 0x7fff9128aff7 com.apple.security (7.0 - 55010) <93713FF4-FE86-3B4C-8150-5FCC7F3320C8> /System/Library/Frameworks/Security.framework/Versions/A/Security
0x7fff9128b000 - 0x7fff91290fff libpam.2.dylib (3.0.0 - compatibility 3.0.0) <D952F17B-200A-3A23-B9B2-7C1F7AC19189> /usr/lib/libpam.2.dylib
0x7fff9143d000 - 0x7fff9151efff com.apple.CoreServices.OSServices (478.29 - 478.29) <B487110E-C942-33A8-A494-3BDEDB88B1CD> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/OSServices.framework/Versions/A/OSServices
0x7fff916bc000 - 0x7fff916c0fff libdyld.dylib (195.5.0 - compatibility 1.0.0) <F1903B7A-D3FF-3390-909A-B24E09BAD1A5> /usr/lib/system/libdyld.dylib
0x7fff91dd8000 - 0x7fff91ddffff libcopyfile.dylib (85.1.0 - compatibility 1.0.0) <172B1985-F24A-34E9-8D8B-A2403C9A0399> /usr/lib/system/libcopyfile.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: 19173
thread_create: 2
thread_set_state: 0
VM Region Summary:
ReadOnly portion of Libraries: Total=79.2M resident=41.0M(52%) swapped_out_or_unallocated=38.2M(48%)
Writable regions: Total=51.6M written=14.0M(27%) resident=16.3M(32%) swapped_out=0K(0%) unallocated=35.3M(68%)
REGION TYPE VIRTUAL
=========== =======
MALLOC 42.6M
MALLOC guard page 16K
STACK GUARD 8K
Stack 64.5M
VM_ALLOCATE 4K
__DATA 3328K
__LINKEDIT 48.2M
__TEXT 31.1M
__UNICODE 544K
shared memory 12K
=========== =======
TOTAL 190.2M
require 'do_postgres'
connection = DataObjects::Connection.new("postgres://localhost/ids_development")
reader = connection.create_command("SELECT * FROM users").execute_reader # Standart devise table
puts reader.to_a # Executes normally
puts reader.to_a # Segfault
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment