On Fri, Nov 05, 1999 at 03:36:19AM -0600, Fabrizio Ammollo wrote:
>
>
> Hello,
>
> Ethereal dies with a signal 11 when I click on any of the rows related to
> the LPD (printer) protocol.
>
> I'm using Linux i386 2.2.13 on a i686 (Celeron 300), the distribution is a
> RedHat Linux 6.0.
> The GTK+ version is 1.2.5
> I invoked Ethereal with no particular parameter.
> Attached to this message there is the trace file that causes the core dump.
>
> The output from gdb is this one:
>
>
> (gdb) backtrace
> #0 _IO_vfprintf (s=0xbffff0a4, format=0x8 "", ap=0xbffff1f0)
> at printf-parse.h:95
> #1 0x402c1d16 in _IO_vsnprintf (string=0x81a4430 "", maxlen=240,
> format=0x8 "", args=0xbffff1f0) at vsnprintf.c:129
> #2 0x80657d7 in proto_tree_add_item_value (tree=0x8184608, hfindex=620,
> start=331, length=54, include_format=1, visible=1, ap=0xbffff1ec)
> at proto.c:386
> #3 0x80655f7 in proto_tree_add_text (tree=0x8184608, start=331, length=54)
> at proto.c:262
> #4 0x807eaef in dissect_lpd (pd=0x8107f30 "", offset=54, fd=0x817a860,
> tree=0x8184608) at packet-lpd.c:99
Thanks. Change line 99 of packet-lpd.c from
ti = proto_tree_add_text(tree, proto_lpd, offset,
to
ti = proto_tree_add_item(tree, proto_lpd, offset,
and see if that fixes it.
--gilbert