Ethereal-dev: [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: Gilbert Ramirez <gram@xxxxxxxxxx>
Date: Mon, 24 Jan 2000 18:06:38 -0600
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