Ethereal-dev: Re: [ethereal-dev] 0.8.2....

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

From: Jerry Talkington <jerryt@xxxxxxxxxx>
Date: Mon, 24 Jan 2000 16:19:58 -0800
I've gotten a similar crash a few times today.  It happens when I've been
looking at a file, then go to open a new one:

[gdb] bt
#0  0x402c74e1 in __kill () from /lib/libc.so.6
#1  0x402c7156 in raise (sig=6) at ../sysdeps/posix/raise.c:27
#2  0x402c8868 in abort () at ../sysdeps/generic/abort.c:88
#3  0x401ba2a3 in g_logv () from /usr/lib/libglib-1.2.so.0
#4  0x401ba366 in g_log () from /usr/lib/libglib-1.2.so.0
#5  0x80c1e87 in select_packet (cf=0x8158020, row=0) at file.c:1223
#6  0x80d98db in packet_list_select_cb (w=0x81a4388, row=0, col=1, evt=0x0)
    at main.c:841
#7  0x400e0c4d in gtk_marshal_NONE__INT_INT_POINTER ()
   from /usr/lib/libgtk-1.2.so.0
#8  0x4010e36d in gtk_handlers_run () from /usr/lib/libgtk-1.2.so.0
#9  0x4010d7b2 in gtk_signal_real_emit () from /usr/lib/libgtk-1.2.so.0
#10 0x4010bc29 in gtk_signal_emit_by_name () from /usr/lib/libgtk-1.2.so.0
#11 0x80c0908 in read_cap_file (cf=0x8158020) at file.c:330
#12 0x80e3086 in file_open_ok_cb (w=0x81ee968, fs=0x826d128) at
file_dlg.c:170
#13 0x400e0c7d in gtk_marshal_NONE__NONE () from /usr/lib/libgtk-1.2.so.0
#14 0x4010e36d in gtk_handlers_run () from /usr/lib/libgtk-1.2.so.0
#15 0x4010d7b2 in gtk_signal_real_emit () from /usr/lib/libgtk-1.2.so.0
#16 0x4010b905 in gtk_signal_emit () from /usr/lib/libgtk-1.2.so.0
#17 0x40080738 in gtk_button_clicked () from /usr/lib/libgtk-1.2.so.0
#18 0x40081d28 in gtk_real_button_released () from /usr/lib/libgtk-1.2.so.0
#19 0x400e0c7d in gtk_marshal_NONE__NONE () from /usr/lib/libgtk-1.2.so.0
#20 0x4010d66b in gtk_signal_real_emit () from /usr/lib/libgtk-1.2.so.0
#21 0x4010b905 in gtk_signal_emit () from /usr/lib/libgtk-1.2.so.0
#22 0x40080678 in gtk_button_released () from /usr/lib/libgtk-1.2.so.0
#23 0x400816e2 in gtk_button_button_release () from
/usr/lib/libgtk-1.2.so.0
#24 0x400e0849 in gtk_marshal_BOOL__POINTER () from
/usr/lib/libgtk-1.2.so.0
#25 0x4010d7eb in gtk_signal_real_emit () from /usr/lib/libgtk-1.2.so.0
#26 0x4010b905 in gtk_signal_emit () from /usr/lib/libgtk-1.2.so.0
#27 0x40140b9c in gtk_widget_event () from /usr/lib/libgtk-1.2.so.0
#28 0x400e07a2 in gtk_propagate_event () from /usr/lib/libgtk-1.2.so.0
#29 0x400df9fa in gtk_main_do_event () from /usr/lib/libgtk-1.2.so.0
#30 0x4018a00b in gdk_event_dispatch () from /usr/lib/libgdk-1.2.so.0
#31 0x401b7be6 in g_main_dispatch () from /usr/lib/libglib-1.2.so.0
#32 0x401b81a1 in g_main_iterate () from /usr/lib/libglib-1.2.so.0
#33 0x401b8341 in g_main_run () from /usr/lib/libglib-1.2.so.0
#34 0x400df339 in gtk_main () from /usr/lib/libgtk-1.2.so.0
#35 0x80da57d in main (argc=2, argv=0xbffffb84) at main.c:1454


* Gilbert Ramirez (gram@xxxxxxxxxx) done spit this rhetoric:
> I'll try to release Ethereal 0.8.2 tomorrow. But first I'm
> trying to track down a bug.
> 
> I just got an assert in file.c, line 1223.
> The row value passed to select_packet() was 0, so fd ended up NULL.
> 
> I'm trying to track down the code path to see why row was 0.
> I had been in the Ethereal session for a long time, having set
> and unset many display filters. I then started another
> capture, with the default options set.
> 
> This is the relevant part of the stack trace, BTW:
> 
> (And look at the garbage value for 'col' in frame 6 below)
> 
> #0  0x402af4e1 in __kill ()
> #1  0x402af156 in raise (sig=6) at ../sysdeps/posix/raise.c:27
> #2  0x402b0868 in abort () at ../sysdeps/generic/abort.c:88
> #3  0x401aa2a3 in g_logv ()
> #4  0x401aa366 in g_log ()
> #5  0x80cc564 in select_packet (cf=0x8168700, row=0) at file.c:1223
> #6  0x80e5eea in packet_list_select_cb (w=0x81b29e8, row=0, col=1074751374, evt=0x1) at main.c:841
> #7  0x400cb13a in gtk_marshal_NONE__INT_INT_POINTER (object=0x81b29e8, 
>     func=0x80e5ebc <packet_list_select_cb>, func_data=0x0, args=0xbfffdaa0) at gtkmarshal.c:300
> #8  0x400fb385 in gtk_handlers_run (handlers=0x81abd58, signal=0xbfffda30, object=0x81b29e8, 
>     params=0xbfffdaa0, after=0) at gtksignal.c:1909
> #9  0x400fa77d in gtk_signal_real_emit (object=0x81b29e8, signal_id=75, params=0xbfffdaa0)
>     at gtksignal.c:1469
> #10 0x400f8af8 in gtk_signal_emit_by_name (object=0x81b29e8, name=0x813ad9d "select_row")
>     at gtksignal.c:618
> #11 0x80cadb6 in read_cap_file (cf=0x8168700) at file.c:330
> #12 0x80c5eab in do_capture (capfile_name=0x0) at capture.c:297
> #13 0x80eefb3 in capture_prep_ok_cb (ok_bt=0x81f9e60, parent_w=0x8b2f078) at capture_dlg.c:367
> 
> --gilbert
> 
> 

-- 
Jerry Talkington
NetCache Escalation Engineer
Network Appliance, Inc.

"This rod will be your doom."
			-Kilik