Ethereal-dev: [ethereal-dev] assertion failed: file.c line 1203

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

From: "Eichert, Diana" <deicher@xxxxxxxxxx>
Date: Mon, 3 Jan 2000 13:49:21 -0700
I just CVS'd to current 15 minutes ago, same error.

While matching a packet I get the following:

Starting program: /usr/local/src/ethereal/./ethereal

** ERROR **: file file.c: line 1203 (select_packet): assertion failed: (i ==
1
aborting...

Program received signal SIGABRT, Aborted.
0x403b12bb in kill ()
(gdb) bt
#0  0x403b12bb in kill ()
#1  0x403b0c50 in abort ()
#2  0x40282148 in g_logv ()
#3  0x402821f5 in g_log ()
#4  0x11a0a in select_packet (cf=0x11b28c, row=0) at file.c:1203
#5  0xc3665 in packet_list_select_cb (w=0x166100, row=0, col=-1, evt=0x0)
    at main.c:722
#6  0x401a2fa9 in gtk_marshal_NONE__INT_INT_POINTER ()
#7  0x401d7fa0 in gtk_handlers_run ()
#8  0x401d71a5 in gtk_signal_real_emit ()
#9  0x401d469b in gtk_signal_emit ()
#10 0xb7d24 in gtk_clist_select_row (clist=0x166100, row=0, column=-1)
    at gtkclist.c:3428
#11 0xb6062 in real_insert_row (clist=0x166100, row=0, text=0x147680)
    at gtkclist.c:2704
#12 0xb5c5c in gtk_clist_append (clist=0x166100, text=0x147680)
    at gtkclist.c:2583
#13 0x10925 in add_packet_to_packet_list (fdata=0x207a00, cf=0x11b28c,
    buf=0x11b308 "") at file.c:579
#14 0x10e9d in colorize_packets (cf=0x11b28c) at file.c:795
#15 0x10c24 in filter_packets (cf=0x11b28c,
    dftext=0x315160 "ip.src == 134.253.154.225") at file.c:715
#16 0xc326d in match_selected_cb (w=0x15dcc0, data=0x0) at main.c:599
---Type <return> to continue, or q <return> to quit---
#17 0x40191467 in gtk_item_factory_callback_marshal ()
#18 0x401a2fd1 in gtk_marshal_NONE__NONE ()
#19 0x401d7fa0 in gtk_handlers_run ()
#20 0x401d71a5 in gtk_signal_real_emit ()
#21 0x401d469b in gtk_signal_emit ()
#22 0x40216540 in gtk_widget_activate ()
#23 0x401abab0 in gtk_menu_shell_activate_item ()
#24 0x401aabf2 in gtk_menu_shell_button_release ()
#25 0x401a2c5b in gtk_marshal_BOOL__POINTER ()
#26 0x401d71e3 in gtk_signal_real_emit ()
#27 0x401d469b in gtk_signal_emit ()
#28 0x402163e4 in L1200 ()
#29 0x401a2bc5 in gtk_propagate_event ()
#30 0x401a1c9a in L251 ()
#31 0x40252dc2 in gdk_event_dispatch ()
#32 0x4027fb26 in g_main_dispatch ()
#33 0x4027fe5d in g_main_iterate ()
#34 0x40280100 in g_main_run ()
#35 0x401a165a in gtk_main ()
#36 0xc5782 in main (argc=1, argv=0xdfbfd7f0) at main.c:1500
(gdb)

-----Original Message-----
From: Florian Lohoff [mailto:flo@xxxxxxxxxx]
Sent: January 03, 2000 10:40 AM
To: ethereal-dev@xxxxxxxx
Subject: [ethereal-dev] assertion failed: file.c line 1023



Hi,

This seems to occur to me randomly when setting a new
filter - This is currently CVS (10 Minutes old)

(gdb) r
The program being debugged has been started already.
Start it from the beginning? (y or n) y
Starting program: /var/tmp/ethereal/ethereal/./ethereal 

** ERROR **: file file.c: line 1203 (select_packet): assertion failed: (i ==
1)
aborting...

Program received signal SIGABRT, Aborted.
0x403ed601 in kill ()
(gdb) bt
#0  0x403ed601 in kill ()
#1  0x403ed42f in gsignal ()
#2  0x403ee64f in abort ()
#3  0x402f26bb in g_logv ()
#4  0x402f2776 in g_log ()
#5  0x806e4de in select_packet (cf=0x818dd80, row=0) at file.c:1203
#6  0x811e133 in packet_list_select_cb (w=0x81d5a48, row=0, col=-1, evt=0x0)
at main.c:722
#7  0x4028357d in   ()
#8  0x40244e25 in gtk_signal_remove_emission_hook ()
#9  0x4024418e in gtk_signal_set_funcs ()
#10 0x4024214f in gtk_signal_emit ()
#11 0x810bfd9 in gtk_clist_select_row (clist=0x81d5a48, row=0, column=-1) at
gtkclist.c:3428
#12 0x81094bb in real_insert_row (clist=0x81d5a48, row=0, text=0x81bdea8) at
gtkclist.c:2704
#13 0x8108e7f in gtk_clist_append (clist=0x81d5a48, text=0x81bdea8) at
gtkclist.c:2583
#14 0x806c99c in add_packet_to_packet_list (fdata=0x8207a48, cf=0x818dd80,
buf=0x818ddfc "") at file.c:579
#15 0x806d143 in colorize_packets (cf=0x818dd80) at file.c:795
#16 0x806cde4 in filter_packets (cf=0x818dd80, dftext=0x81e8178 "tcp.srcport
== 22") at file.c:715
#17 0x811df2a in filter_activate_cb (w=0x81e44c8, data=0x0) at main.c:675
[...]

Flo
-- 
Florian Lohoff		flo@xxxxxxxxxx		      	+49-5241-470566
  ...  The failure can be random; however, when it does occur, it is
  catastrophic and is repeatable  ...             Cisco Field Notice