Ethereal-dev: [ethereal-dev] Re: [ethereal-users] core dump again...

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: Wed, 23 Feb 2000 07:27:28 -0600
On Wed, Feb 23, 2000 at 05:54:21AM -0600, Lars Knudsen wrote:
> 
> 
> New sniff. print again.. core dump once again..
> 
> made a gdb ethereal core with backtrace..
> 
> #0  0x401bcb32 in g_node_insert_before () from /usr/lib/libglib-1.2.so.0
> (gdb)
> (gdb) backtrace
> #0  0x401bcb32 in g_node_insert_before () from /usr/lib/libglib-1.2.so.0
> #1  0x80bf677 in proto_tree_add_item_value ()
> #2  0x80bf402 in proto_tree_add_item_hidden ()
> #3  0x8070aad in is_http_request_or_reply ()
> #4  0x8070802 in dissect_http ()

Thanks. I'm moving this discussion over to ethereal-dev@xxxxxxxx.

Developers:
It appears that is_http_request_or_reply(), which add items to the proto_tree,
is called (packet-http.c, line 77) before the static variable http_tree
is set in line 85 of that same file.

--gilbert