Ethereal-dev: [Ethereal-dev] segfault question

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

From: Frank Singleton <frank.singleton@xxxxxxxxxxxx>
Date: Thu, 12 Jul 2001 09:28:44 -0500
Hi,

Messing with GIOP logfiles for testing and got a seg fault.
Any Ideas. It did not appear to happen when I disabled GIOP.

I occurs whn I play back a logfile with GIOP traffic, or a realtime
capture of some GIOP traffic.

/Frank..


[frank@cray ethereal-2001-07-09.patched]$ gdb ethereal core 
GNU gdb 5.0rh-5 Red Hat Linux 7.1
Copyright 2001 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, Segmentation fault.
Reading symbols from /usr/lib/libsnmp-0.4.2.so...done.
Loaded symbols for /usr/lib/libsnmp-0.4.2.so
Reading symbols from /usr/lib/libcrypto.so.1...done.
Loaded symbols for /usr/lib/libcrypto.so.1
Reading symbols from /usr/lib/libgtk-1.2.so.0...done.
Loaded symbols for /usr/lib/libgtk-1.2.so.0
Reading symbols from /usr/lib/libgdk-1.2.so.0...done.
Loaded symbols for /usr/lib/libgdk-1.2.so.0
Reading symbols from /usr/lib/libgmodule-1.2.so.0...done.
Loaded symbols for /usr/lib/libgmodule-1.2.so.0
Reading symbols from /usr/lib/libglib-1.2.so.0...done.
Loaded symbols for /usr/lib/libglib-1.2.so.0
Reading symbols from /lib/libdl.so.2...done.
Loaded symbols for /lib/libdl.so.2
Reading symbols from /usr/X11R6/lib/libXi.so.6...done.
Loaded symbols for /usr/X11R6/lib/libXi.so.6
Reading symbols from /usr/X11R6/lib/libXext.so.6...done.
Loaded symbols for /usr/X11R6/lib/libXext.so.6
Reading symbols from /usr/X11R6/lib/libX11.so.6...done.
Loaded symbols for /usr/X11R6/lib/libX11.so.6
Reading symbols from /lib/i686/libm.so.6...done.
Loaded symbols for /lib/i686/libm.so.6
Reading symbols from /usr/lib/libz.so.1...done.
Loaded symbols for /usr/lib/libz.so.1
Reading symbols from /lib/i686/libc.so.6...done.
Loaded symbols for /lib/i686/libc.so.6
Reading symbols from /lib/ld-linux.so.2...done.
Loaded symbols for /lib/ld-linux.so.2
Reading symbols from /usr/lib/gconv/ISO8859-1.so...done.
Loaded symbols for /usr/lib/gconv/ISO8859-1.so
Reading symbols from /lib/libnss_files.so.2...done.
Loaded symbols for /lib/libnss_files.so.2
Reading symbols from /lib/libnss_nisplus.so.2...done.
Loaded symbols for /lib/libnss_nisplus.so.2
Reading symbols from /lib/libnsl.so.1...done.
Loaded symbols for /lib/libnsl.so.1
#0  0x4047f341 in chunk_alloc (ar_ptr=0x40528f00, nb=64) at
malloc.c:2781
2781	malloc.c: No such file or directory.
	in malloc.c
(gdb) backtrace
#0  0x4047f341 in chunk_alloc (ar_ptr=0x40528f00, nb=64) at
malloc.c:2781
#1  0x4047f13a in __libc_malloc (bytes=55) at malloc.c:2714
#2  0x402c095a in g_malloc () at eval.c:41
#3  0x402c9521 in g_strdup () at eval.c:41
#4  0x08140409 in set_cell_contents (clist=0x8328770,
clist_row=0x83ad1c8, column=5, type=GTK_CELL_TEXT, text=0x830b898 "1349
> 1316 [SYN] Seq=1194869365 Ack=0 Win=32767 Len=0", spacing=0 '\000', 
    pixmap=0x0, mask=0x0) at gtkclist.c:2481
#5  0x08140a60 in real_insert_row (clist=0x8328770, row=39,
text=0x830a090) at gtkclist.c:2652
#6  0x081407d8 in gtk_clist_append (clist=0x8328770, text=0x830a090) at
gtkclist.c:2590
#7  0x0812e3dc in add_packet_to_packet_list (fdata=0x8387484,
cf=0x826eda0, pseudo_header=0x826ee10, buf=0x826eea0 "", refilter=1) at
file.c:735
#8  0x0812e8d9 in rescan_packets (cf=0x826eda0, action=0x8217747
"Reprocessing", refilter=1, redissect=1) at file.c:1012
#9  0x0812e6f7 in redissect_packets (cf=0x826eda0) at file.c:871
#10 0x401d62b1 in gtk_marshal_NONE__NONE () at eval.c:41
#11 0x40209916 in gtk_handlers_run () at eval.c:41
#12 0x40208c3d in gtk_signal_real_emit () at eval.c:41
#13 0x402069f5 in gtk_signal_emit () at eval.c:41
#14 0x4016df2d in gtk_button_clicked () at eval.c:41
#15 0x4016f6ed in gtk_real_button_released () at eval.c:41
#16 0x401d62b1 in gtk_marshal_NONE__NONE () at eval.c:41
#17 0x40208ac1 in gtk_signal_real_emit () at eval.c:41
#18 0x402069f5 in gtk_signal_emit () at eval.c:41
#19 0x4016de5d in gtk_button_released () at eval.c:41
#20 0x4016efd7 in gtk_button_button_release () at eval.c:41
#21 0x401d5fbc in gtk_marshal_BOOL__POINTER () at eval.c:41
#22 0x40208c7d in gtk_signal_real_emit () at eval.c:41
#23 0x402069f5 in gtk_signal_emit () at eval.c:41
#24 0x402410e9 in gtk_widget_event () at eval.c:41
#25 0x401d5f15 in gtk_propagate_event () at eval.c:41
#26 0x401d4f3f in gtk_main_do_event () at eval.c:41
#27 0x4028ce4f in gdk_event_dispatch () at eval.c:41
#28 0x402bf7f3 in g_main_dispatch () at eval.c:41
#29 0x402bfdd9 in g_main_iterate () at eval.c:41
#30 0x402bff8c in g_main_run () at eval.c:41
#31 0x401d4803 in gtk_main () at eval.c:41
#32 0x0814de16 in main (argc=1, argv=0xbffff844) at main.c:1476
#33 0x4041c177 in __libc_start_main (main=0x814d1a0 <main>, argc=1,
ubp_av=0xbffff844, init=0x806518c <_init>, fini=0x81853f0 <_fini>,
rtld_fini=0x4000e184 <_dl_fini>, stack_end=0xbffff83c)
    at ../sysdeps/generic/libc-start.c:129


/Frank..

-- 
EUS/SV/Z Frank Singleton      ASO Americas BSS
Office : +1 972 583 3251      ECN 800 33251  
Mobile : +1 214 228 0874      Amateur Radio: VK3FCS/KM5WS   
Email : frank.singleton@xxxxxxxxxxxx

Hardware: HP Omnibook 4150 running Redhat Linux 7.1 (2.4.3-12 kernel).