Ethereal-dev: Re: [Ethereal-dev] Segmentation fault, core dumped ethereal

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Tom Hutchison <thutchis@xxxxxxxxxxxxxxx>
Date: Mon, 22 Jan 2001 17:22:09 -0800
Ok,
Here is a hopefully "non-bogus" stack trace attached I got from running ethereal in gdb.

Tom
--------------
 
Guy Harris wrote:

Then we'll need, somehow, to get a non-bogus stack trace; a stack trace
reporting that a procedure call came from an array of structures is
definitely bogus.

Try running Ethereal from within GDB and, when it stops with a signal
when reading in the capture, try doing the stack trace then to see if it
gives a better stack trace.

-- 
------------------------------------------------------------------
The reasonable man adapts himself to the world; the unreasonable
one persists in trying to adapt the world to himself.  Therefore all
progress depends on the unreasonable man.
                                      - George Bernard Shaw-
-------------------------------------------------------------------
Tom Hutchison CNE                               541-966-3187 voice 
Network Analyst                                 541-276-4252 fax
Umatilla-Morrow ESD                             www.umesd.k12.or.us
------------------------------------------------------------------
 
(gdb) exec-file /usr/sbin/ethereal
(gdb) run
Starting program: /usr/sbin/ethereal ethereal
(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...

Gtk-CRITICAL **: file gtkwidget.c: line 3307 (gtk_widget_set_sensitive): assertion `GTK_IS_WIDGET (widget)' failed.

Gtk-CRITICAL **: file gtkwidget.c: line 3307 (gtk_widget_set_sensitive): assertion `GTK_IS_WIDGET (widget)' failed.

Gtk-CRITICAL **: file gtkwidget.c: line 3307 (gtk_widget_set_sensitive): assertion `GTK_IS_WIDGET (widget)' failed.
Kernel filter, protocol ALL, raw packet socket
(no debugging symbols found)...
Program received signal SIGSEGV, Segmentation fault.
0x814df8b in ?? ()
(gdb) backtrace
#0  0x814df8b in ?? ()
#1  0x814d30e in ?? ()
#2  0x400f68b3 in gtk_marshal_NONE__NONE () from /usr/lib/libgtk-1.2.so.0
#3  0x40128c0a in gtk_handlers_run () from /usr/lib/libgtk-1.2.so.0
#4  0x40127f4d in gtk_signal_real_emit () from /usr/lib/libgtk-1.2.so.0
#5  0x40125cf5 in gtk_signal_emit () from /usr/lib/libgtk-1.2.so.0
#6  0x4008e9fd in gtk_button_clicked () from /usr/lib/libgtk-1.2.so.0
#7  0x4009025d in gtk_real_button_released () from /usr/lib/libgtk-1.2.so.0
#8  0x400f68b3 in gtk_marshal_NONE__NONE () from /usr/lib/libgtk-1.2.so.0
#9  0x40127dd8 in gtk_signal_real_emit () from /usr/lib/libgtk-1.2.so.0
#10 0x40125cf5 in gtk_signal_emit () from /usr/lib/libgtk-1.2.so.0
#11 0x4008e92d in gtk_button_released () from /usr/lib/libgtk-1.2.so.0
#12 0x4008fb47 in gtk_button_button_release () from /usr/lib/libgtk-1.2.so.0
#13 0x400f657e in gtk_marshal_BOOL__POINTER () from /usr/lib/libgtk-1.2.so.0
#14 0x40127f8c in gtk_signal_real_emit () from /usr/lib/libgtk-1.2.so.0
#15 0x40125cf5 in gtk_signal_emit () from /usr/lib/libgtk-1.2.so.0
#16 0x4015fc39 in gtk_widget_event () from /usr/lib/libgtk-1.2.so.0
#17 0x400f64f5 in gtk_propagate_event () from /usr/lib/libgtk-1.2.so.0
#18 0x400f55bf in gtk_main_do_event () from /usr/lib/libgtk-1.2.so.0
#19 0x401aac21 in gdk_event_dispatch () from /usr/lib/libgdk-1.2.so.0
#20 0x401dd987 in g_main_dispatch () from /usr/lib/libglib-1.2.so.0
#21 0x401de001 in g_main_iterate () from /usr/lib/libglib-1.2.so.0
#22 0x401de1cc in g_main_run () from /usr/lib/libglib-1.2.so.0
#23 0x400f4e57 in gtk_main () from /usr/lib/libgtk-1.2.so.0
#24 0x813a852 in ?? ()
#25 0x40322f31 in __libc_start_main (main=0x8139d60, argc=2, ubp_av=0xbffffa74, init=0x80614d8, fini=0x816d9cc, rtld_fini=0x4000e274 <_dl_fini>, 
    stack_end=0xbffffa6c) at ../sysdeps/generic/libc-start.c:129
(gdb)