Guy Harris wrote:
>
> > Using RH6.1, patched libpcap (compiled from source tar.gz), ethereal
> > 0.7.9 and 0.8 (compiled from source tar.gz) work only a small percentage
> > of the time. When capturing and selecting the stop button the program
> > will core dump while loading the captured data.
>
> Can you get a stack trace with GDB?
This was produced with ethereal-0.7.9:
GNU gdb 4.18
Copyright 1998 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you
are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for
details.
This GDB was configured as "i386-redhat-linux"...
Core was generated by `./ethereal -i eth0'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /usr/lib/libz.so.1...done.
Reading symbols from /usr/lib/libgtk-1.2.so.0...done.
Reading symbols from /usr/lib/libgdk-1.2.so.0...done.
Reading symbols from /usr/lib/libgmodule-1.2.so.0...done.
Reading symbols from /usr/lib/libglib-1.2.so.0...done.
Reading symbols from /lib/libdl.so.2...done.
Reading symbols from /usr/X11R6/lib/libXext.so.6...done.
Reading symbols from /usr/X11R6/lib/libX11.so.6...done.
Reading symbols from /lib/libm.so.6...done.
Reading symbols from /lib/libc.so.6...done.
Reading symbols from /lib/ld-linux.so.2...done.
Reading symbols from /lib/libnss_files.so.2...done.
#0 0x80a79dd in dissect_transact_params (pd=0x81d2150 "", offset=114,
fd=0x81a7be0, parent=0x0, tree=0x0, si={tid = 22531, uid = 40961,
mid = 6275, pid = 6995, conversation = 0x81c04e0,
request_val = 0x81b7d20, unicode = 1}, max_data=64, SMB_offset=58,
errcode=0, dirn=0, DataOffset=64, DataCount=0, ParameterOffset=56,
ParameterCount=6, TransactName=0x0) at packet-smb.c:9068
9068 TransactNameCopy = g_malloc(strlen(TransactName) + 1);
(gdb)