Created
January 25, 2009 22:05
-
-
Save methodmissing/52564 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| (gdb) run -e 'Thread.new{ Fiber.new{} }.join' | |
| The program being debugged has been started already. | |
| Start it from the beginning? (y or n) y | |
| Starting program: /Users/lourens/projects/ruby187/miniruby -e 'Thread.new{ Fiber.new{} }.join' | |
| miniruby(29493) malloc: *** error for object 0x803e00: double free | |
| *** set a breakpoint in malloc_error_break to debug | |
| Breakpoint 1, 0x9452b4a9 in malloc_error_break () | |
| (gdb) bt | |
| #0 0x9452b4a9 in malloc_error_break () | |
| #1 0x94526497 in szone_error () | |
| #2 0x94450463 in szone_free () | |
| #3 0x944502cd in free () | |
| #4 0x000337aa in rb_thread_die (th=0x802400) at eval.c:10790 | |
| #5 0x000337e0 in rb_thread_remove (th=0x802400) at eval.c:10801 | |
| #6 0x000363c6 in rb_thread_start_0 (fn=0x3659a <rb_thread_yield>, arg=0x1464c8, th=0x802400) at eval.c:12262 | |
| #7 0x000367e7 in rb_thread_initialize (thread=1336540, args=1336520) at eval.c:12409 | |
| #8 0x00028f65 in call_cfunc (func=0x3671e <rb_thread_initialize>, recv=1336540, len=-2, argc=0, argv=0x0) at eval.c:5746 | |
| #9 0x00028390 in rb_call0 (klass=1391140, recv=1336540, id=2961, oid=2961, argc=0, argv=0x0, body=0x1539c0, flags=2) at eval.c:5904 | |
| #10 0x00029b63 in rb_call (klass=1391140, recv=1336540, mid=2961, argc=0, argv=0x0, scope=1, self=6) at eval.c:6151 | |
| #11 0x00029f42 in rb_funcall2 (recv=1336540, mid=2961, argc=0, argv=0x0) at eval.c:6287 | |
| #12 0x0002d2f5 in rb_obj_call_init (obj=1336540, argc=0, argv=0x0) at eval.c:7770 | |
| #13 0x000366da in rb_thread_s_new (argc=0, argv=0x0, klass=1391140) at eval.c:12363 | |
| #14 0x00028f89 in call_cfunc (func=0x36697 <rb_thread_s_new>, recv=1391140, len=-1, argc=0, argv=0x0) at eval.c:5749 | |
| #15 0x00028390 in rb_call0 (klass=1391120, recv=1391140, id=3361, oid=3361, argc=0, argv=0x0, body=0x1539e8, flags=0) at eval.c:5904 | |
| #16 0x00029b63 in rb_call (klass=1391120, recv=1391140, mid=3361, argc=0, argv=0x0, scope=0, self=1403220) at eval.c:6151 | |
| #17 0x00021aeb in rb_eval (self=1403220, n=0x1465a4) at eval.c:3492 | |
| #18 0x000207df in rb_eval (self=1403220, n=0x146518) at eval.c:3222 | |
| #19 0x0002187f in rb_eval (self=1403220, n=0x1464f0) at eval.c:3486 | |
| #20 0x0001c2e6 in eval_node (self=1403220, node=0x1464f0) at eval.c:1436 | |
| #21 0x0001ca0b in ruby_exec_internal () at eval.c:1641 | |
| #22 0x0001ca5c in ruby_exec () at eval.c:1661 | |
| #23 0x0001ca8a in ruby_run () at eval.c:1671 | |
| #24 0x00001a0c in main (argc=3, argv=0xbffff7ec, envp=0xbffff7fc) at main.c:48 | |
| (gdb) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment