- 52 名前:デフォルトの名無しさん mailto:sage [2008/01/18(金) 02:38:48 ]
- (gdb) run -ve 'abort'
Starting program: /home/fugafuga/ruby/miniruby -ve 'abort' [Thread debugging using libthread_db enabled][New Thread 47622444985680 (LWP 1553)][New Thread 1073756496 (LWP 1556)] ruby 1.9.0 (2008-01-18 revision 0) [x86_64-linux] [Thread 1073756496 (LWP 1556) exited] Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 47622444985680 (LWP 1553)] 0x000000000078e860 in ?? () (gdb) bt #0 0x000000000078e860 in ?? () #1 0x00000000004173a4 in rb_enc_precise_mbclen (p=0x2b4ff604ef50 "status", e=0x2b4ff604ef56 "", enc=0x785a40) at encoding.c:755 #2 0x00000000004a6037 in coderange_scan (p=0x2b4ff604ef50 "status", len=<value optimized out>, enc=0x785a40) at string.c:137 #3 0x00000000004a60a7 in rb_enc_str_coderange (str=<value optimized out>) at string.c:161 #4 0x0000000000418414 in rb_enc_compatible (str1=<value optimized out>, str2=<value optimized out>) at encoding.c:657 #5 0x00000000004a5da3 in rb_str_cmp (str1=47622429929296, str2=47622429929302) at string.c:1427 #6 0x00000000004a2055 in st_lookup (table=0x77c710, key=140736226213792, value=0x7fffb4c53f98) at st.c:294 #7 0x0000000000464390 in rb_intern3 (name=0x4f862d "status", len=6, enc=0x785a40) at parse.y:8910 #8 0x00000000004bd80c in rb_iv_get (obj=47622429695480, name=0x2b4ff604ef56 "") at variable.c:1925 #9 0x000000000043113e in sysexit_status (err=47622429929296) at eval_error.c:229 #10 0x00000000004361ea in ruby_cleanup (ex=1) at eval.c:191 #11 0x0000000000436242 in ruby_run_node (n=0x2b4ff6016000) at eval.c:258 #12 0x0000000000416cfd in main (argc=3, argv=0x7fffb4c54298, envp=<value optimized out>) at main.c:35
|

|