Project

General

Profile

Bug #3194 ยป gdb-ZiK.txt

backtrace - vinc-mai (Vincent Carmona), 04/23/2010 06:04 PM

 
GNU gdb (GDB) 7.1-ubuntu
Copyright (C) 2010 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 "i486-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/bin/ruby1.9.1...Reading symbols from /usr/lib/debug/usr/bin/ruby1.9.1...done.
done.
(gdb) handle SIG33 pass nostop noprint
Signal Stop Print Pass to program Description
SIG33 No No Yes Real-time event 33
(gdb) set pagination 0
(gdb) run main.rb --disable-cd --disable-aradio --disable-module
Starting program: /usr/bin/ruby1.9.1 main.rb --disable-cd --disable-radio --disable-module
[Thread debugging using libthread_db enabled]
[New Thread 0xb7fd8b70 (LWP 9554)]
[New Thread 0xb7308b70 (LWP 9555)]
[New Thread 0xb6620b70 (LWP 9556)]
[New Thread 0xb4e8bb70 (LWP 9557)]
[New Thread 0xb4d45b70 (LWP 9558)]
[New Thread 0xb4435b70 (LWP 9559)]
[New Thread 0xb397db70 (LWP 9560)]
[New Thread 0xaf17bb70 (LWP 9561)]
[New Thread 0xae97ab70 (LWP 9563)]
[New Thread 0xae176b70 (LWP 9564)]
[Thread 0xb6620b70 (LWP 9556) exited]
[Thread 0xae97ab70 (LWP 9563) exited]
[New Thread 0xae97ab70 (LWP 9565)]
[Thread 0xb7308b70 (LWP 9555) exited]
[Thread 0xb7fd8b70 (LWP 9554) exited]
[Thread 0xb4e8bb70 (LWP 9557) exited]
[Thread 0xb397db70 (LWP 9560) exited]

Program received signal SIGSEGV, Segmentation fault.
rb_hash_tbl (hash=4) at hash.c:255
255 hash.c: Aucun fichier ou dossier de ce type.
in hash.c
(gdb) backtrace full
#0 rb_hash_tbl (hash=4) at hash.c:255
No locals.
#1 0xb7ea0036 in rb_hash_modify (hash=4) at hash.c:265
No locals.
#2 0xb7ea0237 in rb_hash_delete (hash=4, key=147094808) at hash.c:759
val = <value optimized out>
#3 0xb6d933e0 in remove_from_windows (window=0x8c314d0, obj=147094808) at rbgtk.c:31
klass = <value optimized out>
#4 0xb7857dcc in g_cclosure_marshal_VOID__VOID () from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
#5 0xb784a252 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
#6 0xb785ed90 in ?? () from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
#7 0xb785fdb4 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
#8 0xb7860256 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
#9 0xb6aba301 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#10 0xb6bc8084 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#11 0xb784c32b in g_object_unref () from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
#12 0xb786d588 in g_value_unset () from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
#13 0xb785fdde in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
#14 0xb7860256 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
#15 0xb6a02d11 in gtk_container_remove () from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#16 0xb6bc805d in ?? () from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#17 0xb784c32b in g_object_unref () from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
#18 0xb78a2a71 in weak_notify (data=0x8c497e8, where_the_object_was=0x8c314d0) at rbgobj_object.c:42
No locals.
#19 0xb78a2b1a in holder_free (holder=0x8c497e8) at rbgobj_object.c:60
No locals.
#20 0xb7e9983d in run_final (obj=147094808, objspace=<value optimized out>) at gc.c:2351
i = <value optimized out>
status = 148572144
args = {208, 3084653504, 3084648436}
table = <value optimized out>
objid = 147094809
#21 0xb7e999d4 in finalize_list (p=0x8c47cc4, objspace=<value optimized out>) at gc.c:1662
No locals.
#22 0xb7e99bcc in rb_gc_call_finalizer_at_exit () at gc.c:2466
p = 0x8df1f6c
pend = 0x8df1f6c
final_list = 0x8df1ea8
i = 216
#23 0xb7e8b3be in ruby_finalize_1 () at eval.c:117
No locals.
#24 0xb7e8c726 in ruby_cleanup (ex=0) at eval.c:157
_th = 0x804c740
_tag = {buf = {{__jmpbuf = {-1208250380, 134530880, 0, -1073745112, 1077989546, 1848203450}, __mask_was_saved = 0, __saved_mask = {__val = {3086882904, 0, 3221222184, 1077940394, 3085241464, 0, 3221222116, 0, 3087005944, 0, 1077956778, 1847871162, 134513725, 3083720502, 4294967295, 3085220412, 3086882904, 1, 4294967295, 3087003636, 3085241464, 5, 3221222160, 3086943926, 3086883344, 0, 1, 5, 0, 5, 3085232844, 1532184}}}}, tag = 0, retval = 3085220412, prev = 0x0}
state = <value optimized out>
errs = {4, 4}
th = 0x804c740
nerr = 0
#25 0xb7e8c8de in ruby_run_node (n=0x812723c) at eval.c:234
v = <value optimized out>
#26 0x080487c8 in main (argc=5, argv=0xbffff434) at main.c:35
variable_in_this_stack_frame = 3221222280
(gdb) info registers
eax 0x0 0
ecx 0xb7fb8ff4 -1208250380
edx 0x82dfb28 137231144
ebx 0xb7fb8ff4 -1208250380
esp 0xbfffeb00 0xbfffeb00
ebp 0xbfffeb18 0xbfffeb18
esi 0x4 4
edi 0x8c47d18 147094808
eip 0xb7e9ffda 0xb7e9ffda <rb_hash_tbl+26>
eflags 0x10282 [ SF IF RF ]
cs 0x73 115
ss 0x7b 123
ds 0x7b 123
es 0x7b 123
fs 0x0 0
gs 0x33 51
(gdb) x/16i $pc
=> 0xb7e9ffda <rb_hash_tbl+26>: mov 0x8(%esi),%eax
0xb7e9ffdd <rb_hash_tbl+29>: test %eax,%eax
0xb7e9ffdf <rb_hash_tbl+31>: je 0xb7e9fff0 <rb_hash_tbl+48>
0xb7e9ffe1 <rb_hash_tbl+33>: mov -0x8(%ebp),%ebx
0xb7e9ffe4 <rb_hash_tbl+36>: mov -0x4(%ebp),%esi
0xb7e9ffe7 <rb_hash_tbl+39>: mov %ebp,%esp
0xb7e9ffe9 <rb_hash_tbl+41>: pop %ebp
0xb7e9ffea <rb_hash_tbl+42>: ret
0xb7e9ffeb <rb_hash_tbl+43>: nop
0xb7e9ffec <rb_hash_tbl+44>: lea 0x0(%esi,%eiz,1),%esi
0xb7e9fff0 <rb_hash_tbl+48>: lea -0x1acc(%ebx),%eax
0xb7e9fff6 <rb_hash_tbl+54>: mov %eax,(%esp)
0xb7e9fff9 <rb_hash_tbl+57>: call 0xb7e5b574 <st_init_table@plt>
0xb7e9fffe <rb_hash_tbl+62>: mov %eax,0x8(%esi)
0xb7ea0001 <rb_hash_tbl+65>: mov -0x8(%ebp),%ebx
0xb7ea0004 <rb_hash_tbl+68>: mov -0x4(%ebp),%esi
(gdb) thread apply all backtrace

Thread 12 (Thread 0xae97ab70 (LWP 9565)):
#0 0xb7fe2422 in __kernel_vsyscall ()
#1 0xb7e34342 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2 0xb783b0ce in ?? () from /usr/lib/libgthread-2.0.so.0
#3 0xb7784bbc in ?? () from /lib/libglib-2.0.so.0
#4 0xb77d6d33 in ?? () from /lib/libglib-2.0.so.0
#5 0xb77d4dcf in ?? () from /lib/libglib-2.0.so.0
#6 0xb7e2f96e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#7 0xb7d37a0e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 11 (Thread 0xae176b70 (LWP 9564)):
#0 0xb7fe2422 in __kernel_vsyscall ()
#1 0xb7e34342 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2 0xb783b0ce in ?? () from /usr/lib/libgthread-2.0.so.0
#3 0xb7784bbc in ?? () from /lib/libglib-2.0.so.0
#4 0xb77d6d33 in ?? () from /lib/libglib-2.0.so.0
#5 0xb77d4dcf in ?? () from /lib/libglib-2.0.so.0
#6 0xb7e2f96e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#7 0xb7d37a0e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 9 (Thread 0xaf17bb70 (LWP 9561)):
#0 0xb7fe2422 in __kernel_vsyscall ()
#1 0xb7e34342 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2 0xb783b0ce in ?? () from /usr/lib/libgthread-2.0.so.0
#3 0xb7784bbc in ?? () from /lib/libglib-2.0.so.0
#4 0xb77d6d33 in ?? () from /lib/libglib-2.0.so.0
#5 0xb77d4dcf in ?? () from /lib/libglib-2.0.so.0
#6 0xb7e2f96e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#7 0xb7d37a0e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 7 (Thread 0xb4435b70 (LWP 9559)):
#0 0xb7fe2422 in __kernel_vsyscall ()
#1 0xb7e34342 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2 0xb783b0ce in ?? () from /usr/lib/libgthread-2.0.so.0
#3 0xb7784bbc in ?? () from /lib/libglib-2.0.so.0
#4 0xb77d6d33 in ?? () from /lib/libglib-2.0.so.0
#5 0xb77d4dcf in ?? () from /lib/libglib-2.0.so.0
#6 0xb7e2f96e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#7 0xb7d37a0e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 6 (Thread 0xb4d45b70 (LWP 9558)):
#0 0xb7fe2422 in __kernel_vsyscall ()
#1 0xb7e34342 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2 0xb783b0ce in ?? () from /usr/lib/libgthread-2.0.so.0
#3 0xb7784bbc in ?? () from /lib/libglib-2.0.so.0
#4 0xb77d6d33 in ?? () from /lib/libglib-2.0.so.0
#5 0xb77d4dcf in ?? () from /lib/libglib-2.0.so.0
#6 0xb7e2f96e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#7 0xb7d37a0e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 1 (Thread 0xb7c686c0 (LWP 9551)):
#0 rb_hash_tbl (hash=4) at hash.c:255
#1 0xb7ea0036 in rb_hash_modify (hash=4) at hash.c:265
#2 0xb7ea0237 in rb_hash_delete (hash=4, key=147094808) at hash.c:759
#3 0xb6d933e0 in remove_from_windows (window=0x8c314d0, obj=147094808) at rbgtk.c:31
#4 0xb7857dcc in g_cclosure_marshal_VOID__VOID () from /usr/lib/libgobject-2.0.so.0
#5 0xb784a252 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#6 0xb785ed90 in ?? () from /usr/lib/libgobject-2.0.so.0
#7 0xb785fdb4 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#8 0xb7860256 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#9 0xb6aba301 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#10 0xb6bc8084 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#11 0xb784c32b in g_object_unref () from /usr/lib/libgobject-2.0.so.0
#12 0xb786d588 in g_value_unset () from /usr/lib/libgobject-2.0.so.0
#13 0xb785fdde in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#14 0xb7860256 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#15 0xb6a02d11 in gtk_container_remove () from /usr/lib/libgtk-x11-2.0.so.0
#16 0xb6bc805d in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#17 0xb784c32b in g_object_unref () from /usr/lib/libgobject-2.0.so.0
#18 0xb78a2a71 in weak_notify (data=0x8c497e8, where_the_object_was=0x8c314d0) at rbgobj_object.c:42
#19 0xb78a2b1a in holder_free (holder=0x8c497e8) at rbgobj_object.c:60
#20 0xb7e9983d in run_final (obj=147094808, objspace=<value optimized out>) at gc.c:2351
#21 0xb7e999d4 in finalize_list (p=0x8c47cc4, objspace=<value optimized out>) at gc.c:1662
#22 0xb7e99bcc in rb_gc_call_finalizer_at_exit () at gc.c:2466
#23 0xb7e8b3be in ruby_finalize_1 () at eval.c:117
#24 0xb7e8c726 in ruby_cleanup (ex=0) at eval.c:157
#25 0xb7e8c8de in ruby_run_node (n=0x812723c) at eval.c:234
#26 0x080487c8 in main (argc=5, argv=0xbffff434) at main.c:35
(gdb) quit
A debugging session is active.

Inferior 1 [process 9551] will be killed.

Quit anyway? (y or n)
    (1-1/1)