{"issue":{"created_at":"2011-11-23T23:12:27Z","state":"open","updated_at":"2011-11-23T23:14:54Z","comments":1,"user":{"gravatar_id":"3ce3c45c1c6fea5a4cd7a2eb3711308e","id":59039,"url":"https://api.github.com/users/cactus","login":"cactus","avatar_url":"https://secure.gravatar.com/avatar/3ce3c45c1c6fea5a4cd7a2eb3711308e?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"body":"Mac OSX 10.7.2\r\n\r\nruby installed via homebrew\r\n\r\n~~~\r\n$ ruby -v\r\nruby 1.9.3p0 (2011-10-30 revision 33570) [x86_64-darwin11.2.0]\r\n~~~\r\n\r\n\r\nUsing EM from current HEAD (tried a few other versions. all similar behavior)\r\n\r\n~~~\r\n  * em-http-request (1.0.0 1a4123d)\r\n  * em-synchrony (1.0.0 f07b2a1)\r\n  * eventmachine (1.0.0.beta.4 69151c3)\r\n~~~\r\n\r\ntrace output after segfault (with paths pruned of local junk)\r\n\r\n~~~\r\n\r\n-- Control frame information -----------------------------------------------\r\nc:0007 p:---- s:0037 b:0037 l:000036 d:000036 CFUNC  :call\r\nc:0006 p:---- s:0035 b:0035 l:000034 d:000034 CFUNC  :run_machine\r\nc:0005 p:0325 s:0032 b:0032 l:000031 d:000031 METHOD vendor/bundle/ruby/1.9.1/bundler/gems/eventmachine-69151c3ebb3e/lib/eventmachine.rb\r\nc:0004 p:0056 s:0025 b:0025 l:0015c8 d:0015c8 METHOD vendor/bundle/ruby/1.9.1/bundler/gems/em-synchrony-f07b2a139ba0/lib/em-synchrony.rb\r\nc:0003 p:0633 s:0018 b:0018 l:000d88 d:001958 EVAL   bin/myscript:97\r\nc:0002 p:---- s:0004 b:0004 l:000003 d:000003 FINISH\r\nc:0001 p:0000 s:0002 b:0002 l:000d88 d:000d88 TOP   \r\n\r\n-- Ruby level backtrace information ----------------------------------------\r\nbin/myscript:97:in `<main>'\r\nvendor/bundle/ruby/1.9.1/bundler/gems/em-synchrony-f07b2a139ba0/lib/em-synchrony.rb:28:in `synchrony'\r\nvendor/bundle/ruby/1.9.1/bundler/gems/eventmachine-69151c3ebb3e/lib/eventmachine.rb:186:in `run'\r\nvendor/bundle/ruby/1.9.1/bundler/gems/eventmachine-69151c3ebb3e/lib/eventmachine.rb:186:in `run_machine'\r\nvendor/bundle/ruby/1.9.1/bundler/gems/eventmachine-69151c3ebb3e/lib/eventmachine.rb:186:in `call'\r\n\r\n-- C level backtrace information -------------------------------------------\r\n\r\n   See Crash Report log file under ~/Library/Logs/CrashReporter or\r\n   /Library/Logs/CrashReporter, for the more detail of.\r\n~~~\r\n\r\n\r\ncrash reporter output\r\n\r\n~~~\r\nProcess:         ruby [36104]\r\nPath:            /Users/USER/*/ruby\r\nIdentifier:      ruby\r\nVersion:         ??? (???)\r\nCode Type:       X86-64 (Native)\r\nParent Process:  bash [33973]\r\n\r\nDate/Time:       2011-11-23 14:48:53.555 -0800\r\nOS Version:      Mac OS X 10.7.2 (11C74)\r\nReport Version:  9\r\n\r\nCrashed Thread:  0  Dispatch queue: com.apple.main-thread\r\n\r\nException Type:  EXC_BAD_ACCESS (SIGABRT)\r\nException Codes: KERN_PROTECTION_FAILURE at 0x000000010da811aa\r\n\r\nVM Regions Near 0x10da811aa:\r\n    MALLOC metadata        000000010d934000-000000010d935000 [    4K] rw-/rwx SM=PRV  \r\n--> __TEXT                 000000010d935000-000000010db15000 [ 1920K] r-x/rwx SM=COW  /Users/USER/*/*.dylib\r\n    __DATA                 000000010db15000-000000010db34000 [  124K] rw-/rwx SM=PRV  /Users/USER/*/*.dylib\r\n\r\nApplication Specific Information:\r\nobjc[36104]: garbage collection is OFF\r\nabort() called\r\n\r\nThread 0 Crashed:: Dispatch queue: com.apple.main-thread\r\n0   libsystem_kernel.dylib        \t0x00007fff8a691ce2 __pthread_kill + 10\r\n1   libsystem_c.dylib             \t0x00007fff8d9917d2 pthread_kill + 95\r\n2   libsystem_c.dylib             \t0x00007fff8d982a7a abort + 143\r\n3   libruby.1.9.1.dylib           \t0x000000010d968ff9 rb_bug + 185\r\n4   libruby.1.9.1.dylib           \t0x000000010da0dae9 sigbus + 57\r\n5   libsystem_c.dylib             \t0x00007fff8d9e3cfa _sigtramp + 26\r\n6   libruby.1.9.1.dylib           \t0x000000010da719ff vm_exec + 111\r\n7   libruby.1.9.1.dylib           \t0x000000010da6a961 rb_vm_invoke_proc + 161\r\n8   libruby.1.9.1.dylib           \t0x000000010d96f1f0 proc_call + 112\r\n9   libruby.1.9.1.dylib           \t0x000000010da65d06 call_cfunc + 102\r\n10  libruby.1.9.1.dylib           \t0x000000010da73811 vm_call0 + 641\r\n11  libruby.1.9.1.dylib           \t0x000000010da690c7 rb_funcall + 231\r\n12  rubyeventmachine.bundle       \t0x000000010df0f5a8 _ZL22event_callback_wrappermiPKcm + 56\r\n13  rubyeventmachine.bundle       \t0x000000010df03d97 EventMachine_t::_RunTimers() + 103\r\n14  rubyeventmachine.bundle       \t0x000000010df074be EventMachine_t::Run() + 126\r\n15  rubyeventmachine.bundle       \t0x000000010defbb1d evma_run_machine + 45\r\n16  rubyeventmachine.bundle       \t0x000000010df0ea09 _ZL29t_run_machine_without_threadsm + 9\r\n17  libruby.1.9.1.dylib           \t0x000000010da65d10 call_cfunc + 112\r\n18  libruby.1.9.1.dylib           \t0x000000010da6a0af vm_call_method + 767\r\n19  libruby.1.9.1.dylib           \t0x000000010da6d86e vm_exec_core + 11966\r\n20  libruby.1.9.1.dylib           \t0x000000010da719ee vm_exec + 94\r\n21  libruby.1.9.1.dylib           \t0x000000010da72143 rb_iseq_eval_main + 275\r\n22  libruby.1.9.1.dylib           \t0x000000010d96b65f ruby_exec_internal + 111\r\n23  libruby.1.9.1.dylib           \t0x000000010d96c642 ruby_run_node + 82\r\n24  ruby                          \t0x000000010d930ecf main + 79\r\n25  ruby                          \t0x000000010d930e74 start + 52\r\n\r\nThread 1:\r\n0   libsystem_kernel.dylib        \t0x00007fff8a691df2 __select + 10\r\n1   libruby.1.9.1.dylib           \t0x000000010da78c21 thread_timer + 417\r\n2   libsystem_c.dylib             \t0x00007fff8d98f8bf _pthread_start + 335\r\n3   libsystem_c.dylib             \t0x00007fff8d992b75 thread_start + 13\r\n\r\nThread 0 crashed with X86 Thread State (64-bit):\r\n  rax: 0x0000000000000000  rbx: 0x0000000000000006  rcx: 0x000000010de3f938  rdx: 0x0000000000000000\r\n  rdi: 0x000000000000250b  rsi: 0x0000000000000006  rbp: 0x000000010de3f960  rsp: 0x000000010de3f938\r\n   r8: 0x00007fff7a08dfb8   r9: 0x000000010de3f4e8  r10: 0x00007fff8a691d0a  r11: 0xffffff80002d8220\r\n  r12: 0x000000010dc01b20  r13: 0x0000000000000000  r14: 0x00007fff7a090960  r15: 0x00007fb70d47dad0\r\n  rip: 0x00007fff8a691ce2  rfl: 0x0000000000000246  cr2: 0x000000010de3eb00\r\nLogical CPU: 0\r\n\r\nBinary Images:\r\n       0x10d930000 -        0x10d930ff7 +ruby (??? - ???) <2EE701C2-AAB5-328A-92CC-49EBAA952D18> /Users/USER/*/ruby\r\n       0x10d935000 -        0x10db14ff7 +libruby.1.9.1.dylib (1.9.1 - compatibility 1.9.1) <C266BA02-0316-324E-BB5A-38CAE3A3373A> /Users/USER/*/libruby.1.9.1.dylib\r\n       0x10dbe4000 -        0x10dbe5ff7 +encdb.bundle (??? - ???) <A223BC26-C135-3ACD-8797-E7CBF788DBF7> /Users/USER/*/encdb.bundle\r\n       0x10dbe8000 -        0x10dbe9fff +transdb.bundle (??? - ???) <B2926760-4009-3F09-878C-72993AA68382> /Users/USER/*/transdb.bundle\r\n       0x10dbec000 -        0x10dbf2ff7 +pathname.bundle (??? - ???) <400DEAA9-51A2-3CA5-ADFA-BD928BCC0842> /Users/USER/*/pathname.bundle\r\n       0x10dbf7000 -        0x10dbf8ff7 +etc.bundle (??? - ???) <200F0519-12A5-3CD4-B18C-4A032C1BC8E4> /Users/USER/*/etc.bundle\r\n       0x10dbfc000 -        0x10dbfcfff +sha1.bundle (??? - ???) <FC46093B-9A8B-392D-9775-D34163399538> /Users/USER/*/sha1.bundle\r\n       0x10de40000 -        0x10de43ff7 +psych.bundle (??? - ???) <00FDD2C6-5240-33D8-85C7-6394A1DD1934> /Users/USER/*/psych.bundle\r\n       0x10de47000 -        0x10de62fff +libyaml-0.2.dylib (3.2.0 - compatibility 3.0.0) <F0ABE621-EDC8-3DC7-AAAC-D8920C866F0F> /Users/USER/*/libyaml-0.2.dylib\r\n       0x10de67000 -        0x10de6bff7 +stringio.bundle (??? - ???) <B52EFBE0-1C8F-3178-82DE-2A116B4C3DB9> /Users/USER/*/stringio.bundle\r\n       0x10de6f000 -        0x10de72ff7 +strscan.bundle (??? - ???) <288A161A-00B1-3941-87D8-B31E93D18B2F> /Users/USER/*/strscan.bundle\r\n       0x10de76000 -        0x10dea3ff7 +date_core.bundle (??? - ???) <20DCFE8F-784A-390C-8490-C35D494FD047> /Users/USER/*/date_core.bundle\r\n       0x10deb2000 -        0x10deb3ff7 +digest.bundle (??? - ???) <DE8CB99F-9972-3575-8E04-431B6797AB3F> /Users/USER/*/digest.bundle\r\n       0x10dee7000 -        0x10dee7fef +iso_8859_1.bundle (??? - ???) <25650A08-FF7E-3039-B0D8-98DF75E20660> /Users/USER/*/iso_8859_1.bundle\r\n       0x10deea000 -        0x10def4fff +zlib.bundle (??? - ???) <AB0039A6-334C-3222-87EF-1257B8145715> /Users/USER/*/zlib.bundle\r\n       0x10defa000 -        0x10df1bff7 +rubyeventmachine.bundle (??? - ???) <4679BE7F-4A9F-35D6-8237-CCF20D5910AF> /Users/USER/*/rubyeventmachine.bundle\r\n       0x10df32000 -        0x10df51fff +socket.bundle (??? - ???) <0D932B50-C321-3312-A6F6-936CDC2FD8D0> /Users/USER/*/socket.bundle\r\n       0x10df5a000 -        0x10df5aff7 +fcntl.bundle (??? - ???) <4D89D3B6-12AA-3EC7-9D9A-3A3DA894F1FB> /Users/USER/*/fcntl.bundle\r\n       0x10df5d000 -        0x10df95ff7 +openssl.bundle (??? - ???) <EEDC9B91-60DB-32B0-8769-01762F467824> /Users/USER/*/openssl.bundle\r\n       0x10e2a4000 -        0x10e2a9fe7 +ruby_http_parser.bundle (??? - ???) <B3D0B889-D99D-3817-9C6F-0192651B356E> /Users/USER/*/ruby_http_parser.bundle\r\n       0x10e2ad000 -        0x10e2adfff +fiber.bundle (??? - ???) <D7A548DB-78DA-33D7-89FA-440FF7DAF60E> /Users/USER/*/fiber.bundle\r\n       0x10e2b0000 -        0x10e2c2fff +nokogiri.bundle (??? - ???) <75EAF5B3-32D2-3F17-8D11-ADB7B981EABC> /Users/USER/*/nokogiri.bundle\r\n       0x10e2d5000 -        0x10e2d7ff7 +cparse.bundle (??? - ???) <7046B825-BFCF-30A5-A623-4EECE3A3429A> /Users/USER/*/cparse.bundle\r\n       0x10e2da000 -        0x10e2dbfff +unmixer_mri.bundle (??? - ???) <19063943-17C0-367C-8498-D1B12BC969CE> /Users/USER/*/unmixer_mri.bundle\r\n       0x10e2de000 -        0x10e2fdff7 +libxml_ruby.bundle (??? - ???) <EFCE4A6C-0165-312B-9756-50789F8956C6> /Users/USER/*/libxml_ruby.bundle\r\n       0x10e30b000 -        0x10e331fef +nkf.bundle (??? - ???) <10F07590-1A95-3B2D-A359-86EF913FE3EF> /Users/USER/*/nkf.bundle\r\n       0x10e342000 -        0x10e343fff +euc_jp.bundle (??? - ???) <A9765369-E733-3C11-BFC2-3E4283C332A3> /Users/USER/*/euc_jp.bundle\r\n       0x10e346000 -        0x10e347fef +shift_jis.bundle (??? - ???) <84C67156-C87B-3ED0-B4DE-581AD62074BD> /Users/USER/*/shift_jis.bundle\r\n       0x10e34a000 -        0x10e34afff +utf_16be.bundle (??? - ???) <C6170411-2425-3ADB-AAC4-87473D4B9FC2> /Users/USER/*/utf_16be.bundle\r\n       0x10e34d000 -        0x10e34dfff +utf_32be.bundle (??? - ???) <41EB2719-A159-3BD8-B86B-A06227EE396E> /Users/USER/*/utf_32be.bundle\r\n       0x10e350000 -        0x10e351fe7 +utf_16_32.bundle (??? - ???) <FE566338-E734-3D04-821F-BDB274217D76> /Users/USER/*/utf_16_32.bundle\r\n    0x7fff6d530000 -     0x7fff6d564ac7  dyld (195.5 - ???) <4A6E2B28-C7A2-3528-ADB7-4076B9836041> /usr/lib/dyld\r\n    0x7fff89a17000 -     0x7fff89a1cfff  libcache.dylib (47.0.0 - compatibility 1.0.0) <B7757E2E-5A7D-362E-AB71-785FE79E1527> /usr/lib/system/libcache.dylib\r\n    0x7fff89a69000 -     0x7fff89a6afff  libsystem_sandbox.dylib (??? - ???) <8D14139B-B671-35F4-9E5A-023B4C523C38> /usr/lib/system/libsystem_sandbox.dylib\r\n    0x7fff89e65000 -     0x7fff89e6bfff  libmacho.dylib (800.0.0 - compatibility 1.0.0) <D86F63EC-D2BD-32E0-8955-08B5EAFAD2CC> /usr/lib/system/libmacho.dylib\r\n    0x7fff89f78000 -     0x7fff89f7cfff  libmathCommon.A.dylib (2026.0.0 - compatibility 1.0.0) <FF83AFF7-42B2-306E-90AF-D539C51A4542> /usr/lib/system/libmathCommon.A.dylib\r\n    0x7fff8a3e8000 -     0x7fff8a4ccdef  libobjc.A.dylib (228.0.0 - compatibility 1.0.0) <C5F2392D-B481-3A9D-91BE-3D039FFF4DEC> /usr/lib/libobjc.A.dylib\r\n    0x7fff8a4cd000 -     0x7fff8a5cfff7  libxml2.2.dylib (10.3.0 - compatibility 10.0.0) <D46F371D-6422-31B7-BCE0-D80713069E0E> /usr/lib/libxml2.2.dylib\r\n    0x7fff8a5d0000 -     0x7fff8a5d7fff  libcopyfile.dylib (85.1.0 - compatibility 1.0.0) <172B1985-F24A-34E9-8D8B-A2403C9A0399> /usr/lib/system/libcopyfile.dylib\r\n    0x7fff8a67b000 -     0x7fff8a69bfff  libsystem_kernel.dylib (1699.22.73 - compatibility 1.0.0) <69F2F501-72D8-3B3B-8357-F4418B3E1348> /usr/lib/system/libsystem_kernel.dylib\r\n    0x7fff8a716000 -     0x7fff8a717fff  libdnsinfo.dylib (395.6.0 - compatibility 1.0.0) <718A135F-6349-354A-85D5-430B128EFD57> /usr/lib/system/libdnsinfo.dylib\r\n    0x7fff8b579000 -     0x7fff8b5a6fe7  libSystem.B.dylib (159.1.0 - compatibility 1.0.0) <095FDD3C-3961-3865-A59B-A5B0A4B8B923> /usr/lib/libSystem.B.dylib\r\n    0x7fff8bbcf000 -     0x7fff8bbd0ff7  libsystem_blocks.dylib (53.0.0 - compatibility 1.0.0) <8BCA214A-8992-34B2-A8B9-B74DEACA1869> /usr/lib/system/libsystem_blocks.dylib\r\n    0x7fff8bdde000 -     0x7fff8be20ff7  libcommonCrypto.dylib (55010.0.0 - compatibility 1.0.0) <A5B9778E-11C3-3F61-B740-1F2114E967FB> /usr/lib/system/libcommonCrypto.dylib\r\n    0x7fff8c0bc000 -     0x7fff8c0f5fe7  libssl.0.9.8.dylib (44.0.0 - compatibility 0.9.8) <79AAEC98-1258-3DA4-B1C0-4120049D390B> /usr/lib/libssl.0.9.8.dylib\r\n    0x7fff8c801000 -     0x7fff8c803fff  com.apple.TrustEvaluationAgent (2.0 - 1) <1F31CAFF-C1C6-33D3-94E9-11B721761DDF> /System/Library/PrivateFrameworks/TrustEvaluationAgent.framework/Versions/A/TrustEvaluationAgent\r\n    0x7fff8d212000 -     0x7fff8d287ff7  libc++.1.dylib (19.0.0 - compatibility 1.0.0) <C0EFFF1B-0FEB-3F99-BE54-506B35B555A9> /usr/lib/libc++.1.dylib\r\n    0x7fff8d45a000 -     0x7fff8d477ff7  libxpc.dylib (77.17.0 - compatibility 1.0.0) <72A16104-2F23-3C22-B474-1953F06F9376> /usr/lib/system/libxpc.dylib\r\n    0x7fff8d5a1000 -     0x7fff8d6adfff  libcrypto.0.9.8.dylib (44.0.0 - compatibility 0.9.8) <3A8E1F89-5E26-3C8B-B538-81F5D61DBF8A> /usr/lib/libcrypto.0.9.8.dylib\r\n    0x7fff8d7df000 -     0x7fff8d7eaff7  libc++abi.dylib (14.0.0 - compatibility 1.0.0) <8FF3D766-D678-36F6-84AC-423C878E6D14> /usr/lib/libc++abi.dylib\r\n    0x7fff8d905000 -     0x7fff8d940ff7  libsystem_info.dylib (??? - ???) <9C8C2DCB-96DB-3471-9DCE-ADCC26BE2DD4> /usr/lib/system/libsystem_info.dylib\r\n    0x7fff8d941000 -     0x7fff8da1efef  libsystem_c.dylib (763.12.0 - compatibility 1.0.0) <FF69F06E-0904-3C08-A5EF-536FAFFFDC22> /usr/lib/system/libsystem_c.dylib\r\n    0x7fff8dafb000 -     0x7fff8db6efff  libstdc++.6.dylib (52.0.0 - compatibility 7.0.0) <6BDD43E4-A4B1-379E-9ED5-8C713653DFF2> /usr/lib/libstdc++.6.dylib\r\n    0x7fff8dd4a000 -     0x7fff8dd4afff  libkeymgr.dylib (23.0.0 - compatibility 1.0.0) <61EFED6A-A407-301E-B454-CD18314F0075> /usr/lib/system/libkeymgr.dylib\r\n    0x7fff8ea11000 -     0x7fff8eb06fff  libiconv.2.dylib (7.0.0 - compatibility 7.0.0) <5C40E880-0706-378F-B864-3C2BD922D926> /usr/lib/libiconv.2.dylib\r\n    0x7fff8ec94000 -     0x7fff8ec96fff  libquarantine.dylib (36.0.0 - compatibility 1.0.0) <4C3BFBC7-E592-3939-B376-1C2E2D7C5389> /usr/lib/system/libquarantine.dylib\r\n    0x7fff8ece8000 -     0x7fff8ecedfff  libcompiler_rt.dylib (6.0.0 - compatibility 1.0.0) <98ECD5F6-E85C-32A5-98CD-8911230CB66A> /usr/lib/system/libcompiler_rt.dylib\r\n    0x7fff8f81a000 -     0x7fff8f827fff  libexslt.0.dylib (9.13.0 - compatibility 9.0.0) <C3D01D74-EDC0-3EB4-B31C-0B44A0DE1AE1> /usr/lib/libexslt.0.dylib\r\n    0x7fff8fc63000 -     0x7fff8fc6cff7  libsystem_notify.dylib (80.1.0 - compatibility 1.0.0) <A4D651E3-D1C6-3934-AD49-7A104FD14596> /usr/lib/system/libsystem_notify.dylib\r\n    0x7fff910a9000 -     0x7fff910b1fff  libsystem_dnssd.dylib (??? - ???) <7749128E-D0C5-3832-861C-BC9913F774FA> /usr/lib/system/libsystem_dnssd.dylib\r\n    0x7fff910b2000 -     0x7fff912b4fff  libicucore.A.dylib (46.1.0 - compatibility 1.0.0) <38CD6ED3-C8E4-3CCD-89AC-9C3198803101> /usr/lib/libicucore.A.dylib\r\n    0x7fff9222f000 -     0x7fff9227dfff  libauto.dylib (??? - ???) <D8AC8458-DDD0-3939-8B96-B6CED81613EF> /usr/lib/libauto.dylib\r\n    0x7fff928e0000 -     0x7fff9290bff7  libxslt.1.dylib (3.24.0 - compatibility 3.0.0) <8051A3FC-7385-3EA9-9634-78FC616C3E94> /usr/lib/libxslt.1.dylib\r\n    0x7fff93953000 -     0x7fff93965ff7  libz.1.dylib (1.2.5 - compatibility 1.0.0) <30CBEF15-4978-3DED-8629-7109880A19D4> /usr/lib/libz.1.dylib\r\n    0x7fff94215000 -     0x7fff9421bff7  libunwind.dylib (30.0.0 - compatibility 1.0.0) <1E9C6C8C-CBE8-3F4B-A5B5-E03E3AB53231> /usr/lib/system/libunwind.dylib\r\n    0x7fff95ee9000 -     0x7fff95ef3ff7  liblaunch.dylib (392.18.0 - compatibility 1.0.0) <39EF04F2-7F0C-3435-B785-BF283727FFBD> /usr/lib/system/liblaunch.dylib\r\n    0x7fff96009000 -     0x7fff9600eff7  libsystem_network.dylib (??? - ???) <5DE7024E-1D2D-34A2-80F4-08326331A75B> /usr/lib/system/libsystem_network.dylib\r\n    0x7fff960c2000 -     0x7fff960c3fff  libunc.dylib (24.0.0 - compatibility 1.0.0) <C67B3B14-866C-314F-87FF-8025BEC2CAAC> /usr/lib/system/libunc.dylib\r\n    0x7fff96228000 -     0x7fff9622cfff  libdyld.dylib (195.5.0 - compatibility 1.0.0) <F1903B7A-D3FF-3390-909A-B24E09BAD1A5> /usr/lib/system/libdyld.dylib\r\n    0x7fff9648e000 -     0x7fff9648fff7  libremovefile.dylib (21.0.0 - compatibility 1.0.0) <C6C49FB7-1892-32E4-86B5-25AD165131AA> /usr/lib/system/libremovefile.dylib\r\n    0x7fff96490000 -     0x7fff9649efff  libdispatch.dylib (187.7.0 - compatibility 1.0.0) <712AAEAC-AD90-37F7-B71F-293FF8AE8723> /usr/lib/system/libdispatch.dylib\r\n\r\nExternal Modification Summary:\r\n  Calls made by other processes targeting this process:\r\n    task_for_pid: 0\r\n    thread_create: 0\r\n    thread_set_state: 0\r\n  Calls made by this process:\r\n    task_for_pid: 0\r\n    thread_create: 0\r\n    thread_set_state: 0\r\n  Calls made by all processes on this machine:\r\n    task_for_pid: 79758\r\n    thread_create: 0\r\n    thread_set_state: 0\r\n\r\nVM Region Summary:\r\nReadOnly portion of Libraries: Total=61.7M resident=37.0M(60%) swapped_out_or_unallocated=24.7M(40%)\r\nWritable regions: Total=54.3M written=21.2M(39%) resident=32.9M(61%) swapped_out=0K(0%) unallocated=21.5M(39%)\r\n \r\nREGION TYPE                      VIRTUAL\r\n===========                      =======\r\nMALLOC                             45.8M\r\nMALLOC guard page                    32K\r\nSTACK GUARD                           4K\r\nStack                              64.0M\r\nVM_ALLOCATE                           4K\r\n__DATA                             1216K\r\n__LINKEDIT                         48.3M\r\n__TEXT                             13.4M\r\nshared memory                        12K\r\n===========                      =======\r\nTOTAL                             172.7M\r\n~~~\r\n\r\n\r\nIf I run this, i get 'made it here 1' in the output before the segfault\r\n\r\n~~~\r\nEM.synchrony do\r\n    LOG.debug('made it here 1')\r\n    apps = EM::Synchrony::Iterator.new(apps, 2).map do |app, iter|\r\n        LOG.debug('made it here 2')\r\n    end\r\n    EM.stop\r\n    pbar.finish\r\nend\r\n~~~\r\n\r\nPossibly Relevant: [em::synchrony code for iterator that wraps EM](https://github.com/igrigorik/em-synchrony/blob/f07b2a139b/lib/em-synchrony/iterator.rb)\r\n\r\nIf this is an em::synchrony bug and not an actual EM bug, then I apologize. The segfault trace led me to believe it that EM was the root cause, but it may be that the iterator is simply being used improperly at some abstraction layer between my app and EM (eg. in em:synchrony).\r\n\r\nThanks.","assignee":null,"id":2335802,"number":281,"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"labels":[],"title":"Segmentation Fault for ruby 1.9.3 via bundler","closed_at":null,"html_url":"https://github.com/eventmachine/eventmachine/issues/281","milestone":null,"url":"https://api.github.com/repos/eventmachine/eventmachine/issues/281"},"action":"created","comment":{"created_at":"2011-11-23T23:14:54Z","updated_at":"2011-11-23T23:14:54Z","user":{"gravatar_id":"d47656e20ff5e42f125fc5ea0fd636c6","id":2567,"url":"https://api.github.com/users/tmm1","login":"tmm1","avatar_url":"https://secure.gravatar.com/avatar/d47656e20ff5e42f125fc5ea0fd636c6?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"body":"Can you repro this without em-synchrony?","id":2856302,"url":"https://api.github.com/repos/eventmachine/eventmachine/issues/comments/2856302"}}