Ethereal-dev: Re: [Ethereal-dev] Improved iSCSI dissector

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

From: Mark Burton <markb@xxxxxxxxxx>
Date: Tue, 23 Oct 2001 20:55:26 +0100 (BST)
From: Guy Harris <guy@xxxxxxxxxx>
Subject: Re: [Ethereal-dev] Improved iSCSI dissector
Date: Tue, 23 Oct 2001 12:19:04 -0700 (PDT)

> > Try loading the included pcap file and then turn iSCSI header digests
> > on. It blows up every time for me.
> 
> I tried turning all digests on, turning them all off, turning header
> digests on, turning header digests off, and turning TCP reassembly on
> and off, and saw no crashes with that file.

Well, thanks for trying. I shall try and track down the problem when I
get a moment. In the meantime, here's some gdb output to ponder:

(gdb) where 
#0  __libc_free (mem=0x30) at malloc.c:3130
#1  0x4019ba5b in g_free (mem=0x30) at gmem.c:411
#2  0x812bb6c in free_all_segments (key_arg=0x83dba38, value=0x83dba38, 
    user_data=0x0) at packet-tcp.c:183
#3  0x40197433 in g_hash_table_foreach_remove (hash_table=0x8387890, 
    func=0x812bb18 <free_all_segments>, user_data=0x0) at ghash.c:259
#4  0x812bc48 in tcp_desegment_init () at packet-tcp.c:224
#5  0x8198177 in call_init_routine (routine=0x812bc20, dummy=0x0)
    at packet.c:161
#6  0x401a401c in g_slist_foreach (list=0x82da8c8, 
    func=0x819816c <call_init_routine>, user_data=0x0) at gslist.c:487
#7  0x8198197 in init_all_protocols () at packet.c:167
#8  0x8156718 in rescan_packets (cf=0x82ca080, 
    action=0x8260ec7 "Reprocessing", refilter=1, redissect=1) at file.c:920
#9  0x81566e8 in redissect_packets (cf=0x82ca080) at file.c:872
#10 0x817b90a in prefs_main_apply_cb (apply_bt=0x8368150, parent_w=0x83b3200)
    at prefs_dlg.c:639
#11 0x400b825b in gtk_marshal_NONE__NONE (object=0x8368150, 
    func=0x817b6cc <prefs_main_apply_cb>, func_data=0x83b3200, args=0xbfffee8c)
    at gtkmarshal.c:312
#12 0x400e8f28 in gtk_handlers_run (handlers=0x8457d08, signal=0xbfffee38, 
    object=0x8368150, params=0xbfffee8c, after=0) at gtksignal.c:1917


Mark