Skip to content

Instantly share code, notes, and snippets.

@raphael
Created March 25, 2009 01:02
Show Gist options
  • Save raphael/84474 to your computer and use it in GitHub Desktop.
Save raphael/84474 to your computer and use it in GitHub Desktop.
Program received signal SIGPIPE, Broken pipe.
0x95f831da in write$NOCANCEL$UNIX2003 ()
(gdb) backtrace
#0 0x95f831da in write$NOCANCEL$UNIX2003 ()
#1 0x95f83132 in _swrite ()
#2 0x95f52f41 in __sfvwrite ()
#3 0x95fa9844 in fwrite$UNIX2003 ()
#4 0x96ecbef1 in __gnu_cxx::__verbose_terminate_handler ()
#5 0x96eca10c in __gxx_personality_v0 ()
#6 0x96eca14b in std::terminate ()
#7 0x96eca261 in __cxa_throw ()
#8 0x003927f8 in EventMachine_t::AttachFD (this=0x496050, fd=1606688, notify_readable=false, notify_writable=false) at em.cpp:1253
#9 0x003869da in evma_attach_fd (file_descriptor=32, notify_readable=0, notify_writable=0) at cmain.cpp:125
#10 0x00397c95 in t_attach_fd (self=5565000, file_descriptor=461, read_mode=0, write_mode=0) at rubymain.cpp:441
#11 0x000166b5 in call_cfunc (func=0x397c50 <t_attach_fd>, recv=5565000, len=<value temporarily unavailable, due to optimizations>, argc=0, argv=0x0) at eval.c:5727
#12 0x0001fdf2 in rb_call0 (klass=5564680, recv=5565000, id=20305, oid=20305, argc=0, argv=0xbfffc6a0, body=0x54e3f4, flags=<value temporarily unavailable, due to optimizations>) at eval.c:5870
#13 0x000209fc in rb_call (klass=5564680, recv=5565000, mid=20305, argc=3, argv=0xbfffc6a0, scope=1, self=5565000) at eval.c:6117
#14 0x0001d381 in rb_eval (self=<value temporarily unavailable, due to optimizations>, n=<value temporarily unavailable, due to optimizations>) at eval.c:3505
#15 0x0001e07a in rb_eval (self=5565000, n=<value temporarily unavailable, due to optimizations>) at eval.c:3675
#16 0x00020690 in rb_call0 (klass=5564680, recv=5565000, id=20265, oid=20265, argc=2, argv=0xbfffcdd8, body=0x559e48, flags=<value temporarily unavailable, due to optimizations>) at eval.c:6021
#17 0x000209fc in rb_call (klass=5564680, recv=5565000, mid=20265, argc=4, argv=0xbfffcdd0, scope=0, self=5471380) at eval.c:6117
#18 0x0001e367 in rb_eval (self=5471380, n=<value temporarily unavailable, due to optimizations>) at eval.c:3490
#19 0x00020690 in rb_call0 (klass=5471200, recv=5471380, id=10225, oid=10225, argc=0, argv=0xbfffd294, body=0x5383c4, flags=<value temporarily unavailable, due to optimizations>) at eval.c:6021
#20 0x000209fc in rb_call (klass=5471200, recv=5471380, mid=10225, argc=5, argv=0xbfffd280, scope=0, self=5470540) at eval.c:6117
#21 0x0001e367 in rb_eval (self=5470540, n=<value temporarily unavailable, due to optimizations>) at eval.c:3490
#22 0x00020690 in rb_call0 (klass=5477160, recv=5470540, id=8081, oid=8081, argc=0, argv=0x0, body=0x220060, flags=<value temporarily unavailable, due to optimizations>) at eval.c:6021
#23 0x000209fc in rb_call (klass=5477160, recv=5470540, mid=8081, argc=0, argv=0x0, scope=2, self=5470540) at eval.c:6117
#24 0x0001e518 in rb_eval (self=<value temporarily unavailable, due to optimizations>, n=<value temporarily unavailable, due to optimizations>) at eval.c:3511
#25 0x00024561 in rb_yield_0 (val=<value temporarily unavailable, due to optimizations>, self=5470540, klass=0, flags=0, avalue=2) at eval.c:5052
#26 0x00024ce8 in proc_invoke (proc=2110640, args=2110380, self=6, klass=0) at eval.c:8642
#27 0x0001fdf2 in rb_call0 (klass=2235200, recv=2110640, id=5265, oid=5265, argc=3815912, argv=0x0, body=0x221a8c, flags=<value temporarily unavailable, due to optimizations>) at eval.c:5870
#28 0x000209fc in rb_call (klass=2235200, recv=2110640, mid=5265, argc=0, argv=0x0, scope=1, self=6) at eval.c:6117
#29 0x0002175d in vafuncall (recv=2110640, mid=5265, n=0, ar=0xbfffde2c) at eval.c:6194
#30 0x000218b1 in rb_funcall (recv=32, mid=2516070874, n=-1073757652) at eval.c:6211
#31 0x00397239 in event_callback (e=0x20) at rubymain.cpp:98
#32 0x0039752c in event_callback_wrapper (a1=0x20 <Address 0x20 out of bounds>, a2=32, a3=0x20 <Address 0x20 out of bounds>, a4=32) at rubymain.cpp:134
#33 0x0038ef0b in std::_Rb_tree<long long, std::pair<long long const, EventMachine_t::Timer_t>, std::_Select1st<std::pair<long long const, EventMachine_t::Timer_t> >, std::less<long long>, std::allocator<std::pair<long long const, EventMachine_t::Timer_t> > >::erase () at em.cpp:909
#34 0x0038ef0b in std::multimap<long long, EventMachine_t::Timer_t, std::less<long long>, std::allocator<std::pair<long long const, EventMachine_t::Timer_t> > >::erase () at stl_tree.h:399
#35 0x0038ef0b in EventMachine_t::_RunTimers (this=0x496050) at em.cpp:910
#36 0x0039355a in EventMachine_t::Run (this=0x537a50) at em.cpp:398
#37 0x003868c9 in evma_run_machine () at cmain.cpp:83
#38 0x003975ab in t_run_machine_without_threads (self=5565000) at rubymain.cpp:157
#39 0x0001fdf2 in rb_call0 (klass=5564680, recv=5565000, id=20033, oid=20033, argc=-1073749816, argv=0x0, body=0x54e8a4, flags=<value temporarily unavailable, due to optimizations>) at eval.c:5870
#40 0x000209fc in rb_call (klass=5564680, recv=5565000, mid=20033, argc=0, argv=0x0, scope=2, self=5565000) at eval.c:6117
#41 0x0001e518 in rb_eval (self=<value temporarily unavailable, due to optimizations>, n=<value temporarily unavailable, due to optimizations>) at eval.c:3511
#42 0x0001f3ec in rb_eval (self=5565000, n=<value temporarily unavailable, due to optimizations>) at eval.c:3354
#43 0x00020690 in rb_call0 (klass=5564680, recv=5565000, id=5137, oid=5137, argc=0, argv=0x0, body=0x560a2c, flags=<value temporarily unavailable, due to optimizations>) at eval.c:6021
#44 0x000209fc in rb_call (klass=5564680, recv=5565000, mid=5137, argc=0, argv=0x0, scope=0, self=2292120) at eval.c:6117
#45 0x0001e367 in rb_eval (self=2292120, n=<value temporarily unavailable, due to optimizations>) at eval.c:3490
#46 0x0001ef31 in rb_eval (self=2292120, n=<value temporarily unavailable, due to optimizations>) at eval.c:3306
#47 0x0002e317 in ruby_exec_internal () at eval.c:1642
#48 0x0002e356 in ruby_exec () at eval.c:1662
#49 0x0002e38a in ruby_run () at eval.c:1672
#50 0x0000199d in main (argc=32, argv=0x20, envp=0xbfffef94) at main.c:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment