Ethereal-dev: [ethereal-dev] Big tcpdump file makes Ethereal core dump

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

From: Kent Berggren <root@xxxxxxxxxxxx>
Date: Fri, 26 Nov 1999 16:03:29 +0000 (GMT)
Hi
Is this Okay?
Have a nice day
Kenta



On Thu, Nov 25, 1999 at 10:32:42AM +0000, Kent Berggren wrote:
> Hi
> I am using Ethereal and found that I have a problem in 
> vers 0.7.8 that I did not have in vers 0.7.6
> I have a tcpdump file very big. 56600 packet.
> The vers 0.7.6 can look at it, but vers 0.7.8 core dump when I read the
> file?
> I am using a linux redhat 6.0 have more the 64 mbyt i mem.
> What shall I do?

The Ethereal README file contains a short explanation of how
to produce a stack trace with the ethereal binary, the core file, and
gdb. Can you do that and send the stack trace to
ethereal-dev@xxxxxxxx. We've had a report of another core dump caused
while processing SMB traces... this might be the same.

--gilbert


--------------------------------

GNU gdb 4.17.0.11 with Linux support
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'.
Program terminated with signal 11, Segmenteringsfel.
Reading symbols from /usr/lib/libsnmp.so.0...done.
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.
Reading symbols from /lib/libnss_nisplus.so.2...done.
Reading symbols from /lib/libnsl.so.1...done.
Reading symbols from /lib/libnss_nis.so.2...done.
Reading symbols from /lib/libnss_dns.so.2...done.
Reading symbols from /lib/libresolv.so.2...done.
#0  0x402d5223 in strchr ()
(gdb) backtrace
#0  0x402d5223 in strchr ()
#1  0x81c4735 in ?? ()
#2  0x80a51fd in dissect_transact_smb (pd=0x81c46b8 "\003", offset=126, 
    fd=0x831f408, parent=0x0, tree=0x0, si={tid = 0, uid = 7238, mid = 8, 
      pid = 57344, conversation = 0x8321520, request_val = 0x8322530}, 
    max_data=7, SMB_offset=61, errcode=0, dirn=1) at packet-smb.c:9445
#3  0x80a75f4 in dissect_smb (pd=0x81c46b8 "\003", offset=93, fd=0x831f408, 
    tree=0x0, max_data=7) at packet-smb.c:11174
#4  0x808ab28 in dissect_netbios (pd=0x81c46b8 "\003", offset=17, 
    fd=0x831f408, tree=0x0) at packet-netbios.c:1056
#5  0x8085d19 in dissect_llc (pd=0x81c46b8 "\003", offset=14, fd=0x831f408, 
    tree=0x0) at packet-llc.c:317
#6  0x8079952 in dissect_eth (pd=0x81c46b8 "\003", offset=0, fd=0x831f408, 
    tree=0x0) at packet-eth.c:199
#7  0x8066a5f in dissect_packet (pd=0x81c46b8 "\003", fd=0x831f408, tree=0x0)
    at packet.c:815
#8  0x806413e in add_packet_to_packet_list (fdata=0x831f408, cf=0x81312a0, 
    buf=0x81c46b8 "\003") at file.c:885
#9  0x8064403 in wtap_dispatch_cb (user=0x81312a0 "\b!\035\b\006", 
    phdr=0x81d204c, offset=181950, buf=0x81c46b8 "\003") at file.c:1009
#10 0x80b4357 in wtap_loop (wth=0x81d2038, count=0, 
    callback=0x80642b8 <wtap_dispatch_cb>, user=0x81312a0 "\b!\035\b\006", 
    err=0xbfffe3bc) at wtap.c:222
#11 0x806329a in read_cap_file (cf=0x81312a0) at file.c:257
#12 0x80cbaee in file_open_ok_cb (w=0x81be8d8, fs=0x81b9810) at file_dlg.c:152
#13 0x40133abb in gtk_marshal_NONE__NONE ()
#14 0x400fb037 in gtk_handlers_run ()
#15 0x400fa52f in gtk_signal_real_emit ()
#16 0x400f8800 in gtk_signal_emit ()
#17 0x40074528 in gtk_button_clicked ()
#18 0x400ad748 in gtk_file_selection_file_button ()
#19 0x40133a9b in gtk_marshal_NONE__INT_INT_POINTER ()
#20 0x400fb037 in gtk_handlers_run ()
#21 0x400fa52f in gtk_signal_real_emit ()
#22 0x400f8800 in gtk_signal_emit ()
#23 0x80beece in gtk_clist_button_press (widget=0x81bf678, event=0x81b549c)
    at gtkclist.c:5018
#24 0x4013379d in gtk_marshal_BOOL__POINTER ()
#25 0x400fa568 in gtk_signal_real_emit ()
#26 0x400f8800 in gtk_signal_emit ()
#27 0x4012b5b8 in gtk_widget_event ()
#28 0x400d01a2 in gtk_propagate_event ()
#29 0x400cf4da in gtk_main_do_event ()
#30 0x40172ab2 in gdk_event_dispatch ()
#31 0x401a02c6 in g_main_dispatch ()
#32 0x401a0801 in g_main_iterate ()
#33 0x401a0979 in g_main_run ()
#34 0x400cef3a in gtk_main ()
#35 0x80c6ecd in main (argc=1, argv=0xbffffc14) at main.c:1294
#36 0x40290cb3 in __libc_start_main (main=0x80c5cfc <main>, argc=1, 
    argv=0xbffffc14, init=0x8058bd0 <_init>, fini=0x80d52ac <_fini>, 
    rtld_fini=0x4000a350 <_dl_fini>, stack_end=0xbffffc0c)
    at ../sysdeps/generic/libc-start.c:78
(gdb) quit