Created
March 5, 2012 17:01
-
-
Save patshaughnessy/1979298 to your computer and use it in GitHub Desktop.
Ruby parse string backtrace
This file contains 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) bt | |
#0 str_new (klass=4303856320, ptr=0x100680500 "The Ruby core team is playing a joke on us!", len=43) at string.c:389 | |
#1 0x00000001001179f8 in rb_str_new [inlined] () at /Users/pat/.rvm/src/ruby-1.9.3-preview1/string.c:416 | |
#2 0x00000001001179f8 in rb_enc_str_new (ptr=<value temporarily unavailable, due to optimizations>, len=<value temporarily unavailable, due to optimizations>, enc=0x1004027e0) at string.c:430 | |
#3 0x000000010009f725 in parser_str_new (p=<value temporarily unavailable, due to optimizations>, n=<value temporarily unavailable, due to optimizations>, enc=0x1004027e0, func=2, enc0=0x1004027e0) at parse.y:5401 | |
#4 0x00000001000aa677 in parser_parse_string (parser=0x10060e000, quote=0x1010793e0) at parse.y:6033 | |
#5 0x00000001000ab285 in parser_yylex (parser=0x10060e000) at parse.y:6645 | |
#6 0x00000001000b4999 in ruby_yyparse (parser=<value temporarily unavailable, due to optimizations>) at parse.y:7922 | |
#7 0x00000001000c24bf in yycompile0 (arg=<value temporarily unavailable, due to optimizations>, tracing=<value temporarily unavailable, due to optimizations>) at parse.y:5215 | |
#8 0x000000010018bd53 in thread_suppress_tracing (th=0x100401b30, ev=<value temporarily unavailable, due to optimizations>, func=0x1000c2400 <yycompile0>, arg=4301316096, always=<value temporarily unavailable, due to optimizations>) at thread.c:4521 | |
#9 0x00000001000a0220 in rb_parser_compile_file (vparser=4303769200, f=0x100868350 "sunday.rb", file=4312241320, start=1) at parse.y:5241 | |
#10 0x0000000100105b8c in load_file_internal (arg=<value temporarily unavailable, due to optimizations>) at ruby.c:1630 | |
#11 0x000000010004324f in rb_ensure (b_proc=0x100105aa0 <load_file_internal>, data1=140734799801632, e_proc=0x100103690 <restore_lineno>, data2=1) at eval.c:736 | |
#12 0x0000000100106974 in load_file [inlined] () at /Users/pat/.rvm/src/ruby-1.9.3-preview1/ruby.c:1667 | |
#13 0x0000000100106974 in ruby_process_options (argc=2, argv=0x7fff5fbff2d0) at ruby.c:1404 | |
#14 0x0000000100045ca6 in ruby_options (argc=2, argv=0x7fff5fbff2d0) at eval.c:73 | |
#15 0x0000000100000ed7 in main (argc=2, argv=0x7fff5fbff2d0) at main.c:38 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment