Created
November 6, 2011 12:25
-
-
Save jonleighton/1342809 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 /usr/local/bin/ruby | |
| GNU gdb (GDB) Fedora (7.3.1-45.fc15) | |
| Copyright (C) 2011 Free Software Foundation, Inc. | |
| License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> | |
| This is free software: you are free to change and redistribute it. | |
| There is NO WARRANTY, to the extent permitted by law. Type "show copying" | |
| and "show warranty" for details. | |
| This GDB was configured as "x86_64-redhat-linux-gnu". | |
| For bug reporting instructions, please see: | |
| <http://www.gnu.org/software/gdb/bugs/>... | |
| Reading symbols from /usr/local/bin/ruby...done. | |
| (gdb) break transcode.c:2047 | |
| Breakpoint 1 at 0x4e8491: file transcode.c, line 2047. | |
| (gdb) run -Itest test/template/template_test.rb -n test_default_external_works | |
| Starting program: /usr/local/bin/ruby -Itest test/template/template_test.rb -n test_default_external_works | |
| [Thread debugging using libthread_db enabled] | |
| [New Thread 0x7ffff1ab2700 (LWP 19914)] | |
| [Thread 0x7ffff1ab2700 (LWP 19914) exited] | |
| Detaching after fork from child process 19916. | |
| [New Thread 0x7ffff1ab2700 (LWP 19917)] | |
| Run options: -n test_default_external_works | |
| # Running tests: | |
| Breakpoint 1, rb_econv_open_exc (sname=0x7ffff022cce0 "ISO-8859-1", dname=0x83ad40 "UTF-8", ecflags=34) at transcode.c:2047 | |
| 2047 mesg = rb_str_new_cstr("code converter not found ("); | |
| Missing separate debuginfos, use: debuginfo-install libyaml-0.1.3-3.fc15.x86_64 | |
| (gdb) bt | |
| #0 rb_econv_open_exc (sname=0x7ffff022cce0 "ISO-8859-1", dname=0x83ad40 "UTF-8", ecflags=34) at transcode.c:2047 | |
| #1 0x00000000004e9b5d in transcode_loop (ecopts=4, ecflags=34, dst_encoding=0x83ad40 "UTF-8", src_encoding=0x7ffff022cce0 "ISO-8859-1", destination=37129160, out_stop=0x28522c9 "", in_stop=0x2368c33 "", out_pos=0x7fffffffc820, | |
| in_pos=0x7fffffffc830, resize_destination=<optimized out>) at transcode.c:2295 | |
| #2 str_transcode0 (argc=<optimized out>, argv=<optimized out>, self=0x7fffffffc898, ecflags=34, ecopts=4) at transcode.c:2732 | |
| #3 0x00000000004e9be8 in str_transcode (self=0x7fffffffc898, argv=0x7ffff1ab3588, argc=0) at transcode.c:2760 | |
| #4 str_encode_bang (argc=<optimized out>, argv=0x7ffff1ab3588, str=37129240) at transcode.c:2804 | |
| #5 0x000000000051af01 in vm_call_cfunc (me=0x909c00, blockptr=0x0, recv=<optimized out>, num=0, reg_cfp=0x7ffff1bb2300, th=<optimized out>) at vm_insnhelper.c:404 | |
| #6 vm_call_method (th=<optimized out>, cfp=0x7ffff1bb2300, num=<optimized out>, blockptr=0x0, flag=<optimized out>, id=<optimized out>, me=0x909c00, recv=37129240) at vm_insnhelper.c:534 | |
| #7 0x000000000050e8ab in vm_exec_core (th=<optimized out>, initial=<optimized out>) at insns.def:1015 | |
| #8 0x0000000000515213 in vm_exec (th=0x838520) at vm.c:1220 | |
| #9 0x0000000000515fbe in invoke_block_from_c (th=0x838520, block=<optimized out>, self=25136880, argc=0, argv=<optimized out>, blockptr=<optimized out>, cref=0x0) at vm.c:609 | |
| #10 0x000000000051bf67 in vm_yield (th=<optimized out>, argv=0x7fffffffccc8, argc=1) at vm.c:639 | |
| #11 rb_yield_0 (argv=0x7fffffffccc8, argc=1) at vm_eval.c:778 | |
| #12 rb_yield (val=25776040) at vm_eval.c:788 | |
| #13 0x00000000005384c6 in rb_ary_collect (ary=25775520) at array.c:2258 | |
| #14 0x000000000051af01 in vm_call_cfunc (me=0x8fb180, blockptr=0x7ffff1bb29b0, recv=<optimized out>, num=0, reg_cfp=0x7ffff1bb2988, th=<optimized out>) at vm_insnhelper.c:404 | |
| #15 vm_call_method (th=<optimized out>, cfp=0x7ffff1bb2988, num=<optimized out>, blockptr=0x7ffff1bb29b0, flag=<optimized out>, id=<optimized out>, me=0x8fb180, recv=25775520) at vm_insnhelper.c:534 | |
| #16 0x000000000050e8ab in vm_exec_core (th=<optimized out>, initial=<optimized out>) at insns.def:1015 | |
| #17 0x0000000000515213 in vm_exec (th=0x838520) at vm.c:1220 | |
| #18 0x0000000000515fbe in invoke_block_from_c (th=0x838520, block=<optimized out>, self=25136880, argc=0, argv=<optimized out>, blockptr=<optimized out>, cref=0x0) at vm.c:609 | |
| #19 0x000000000051bf67 in vm_yield (th=<optimized out>, argv=0x7fffffffd0f8, argc=1) at vm.c:639 | |
| #20 rb_yield_0 (argv=0x7fffffffd0f8, argc=1) at vm_eval.c:778 | |
| #21 rb_yield (val=25142720) at vm_eval.c:788 | |
| #22 0x0000000000531bd2 in rb_ary_each (array=25546520) at array.c:1516 | |
| #23 0x000000000051af01 in vm_call_cfunc (me=0x8fa250, blockptr=0x7ffff1bb2b10, recv=<optimized out>, num=0, reg_cfp=0x7ffff1bb2ae8, th=<optimized out>) at vm_insnhelper.c:404 | |
| #24 vm_call_method (th=<optimized out>, cfp=0x7ffff1bb2ae8, num=<optimized out>, blockptr=0x7ffff1bb2b10, flag=<optimized out>, id=<optimized out>, me=0x8fa250, recv=25546520) at vm_insnhelper.c:534 | |
| #25 0x000000000050e8ab in vm_exec_core (th=<optimized out>, initial=<optimized out>) at insns.def:1015 | |
| #26 0x0000000000515213 in vm_exec (th=0x838520) at vm.c:1220 | |
| #27 0x0000000000515fbe in invoke_block_from_c (th=0x838520, block=<optimized out>, self=25136880, argc=0, argv=<optimized out>, blockptr=<optimized out>, cref=0x0) at vm.c:609 | |
| #28 0x000000000051bf67 in vm_yield (th=<optimized out>, argv=0x7fffffffd518, argc=1) at vm.c:639 | |
| #29 rb_yield_0 (argv=0x7fffffffd518, argc=1) at vm_eval.c:778 | |
| #30 rb_yield (val=25549760) at vm_eval.c:788 | |
| #31 0x0000000000531bd2 in rb_ary_each (array=25546920) at array.c:1516 | |
| #32 0x000000000051af01 in vm_call_cfunc (me=0x8fa250, blockptr=0x7ffff1bb2d20, recv=<optimized out>, num=0, reg_cfp=0x7ffff1bb2cf8, th=<optimized out>) at vm_insnhelper.c:404 | |
| #33 vm_call_method (th=<optimized out>, cfp=0x7ffff1bb2cf8, num=<optimized out>, blockptr=0x7ffff1bb2d20, flag=<optimized out>, id=<optimized out>, me=0x8fa250, recv=25546920) at vm_insnhelper.c:534 | |
| #34 0x000000000050e8ab in vm_exec_core (th=<optimized out>, initial=<optimized out>) at insns.def:1015 | |
| #35 0x0000000000515213 in vm_exec (th=0x838520) at vm.c:1220 | |
| #36 0x0000000000515fbe in invoke_block_from_c (th=0x838520, block=<optimized out>, self=23188880, argc=0, argv=<optimized out>, blockptr=<optimized out>, cref=0x0) at vm.c:609 | |
| #37 0x0000000000516791 in rb_vm_invoke_proc (th=0x838520, proc=0x162d7c0, self=23188880, argc=0, argv=0x17f96a8, blockptr=0x0) at vm.c:655 | |
| #38 0x0000000000417f31 in rb_exec_end_proc () at eval_jump.c:126 | |
| #39 0x0000000000417fd7 in ruby_finalize_0 () at eval.c:92 | |
| #40 0x000000000041835f in ruby_cleanup (ex=0) at eval.c:133 | |
| #41 0x000000000041869d in ruby_run_node (n=<optimized out>) at eval.c:244 | |
| #42 0x0000000000415909 in main (argc=5, argv=0x7fffffffdec8) at main.c:38 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment