Ethereal-dev: [Ethereal-dev] RE: [Ethereal-users] Segmentation Fault on v0.8.13-1 for Linux

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

From: "Wiley, Rob" <WileyR@xxxxxxxxxxxxxx>
Date: Wed, 8 Nov 2000 16:12:47 -0500
For Sh*ts and giggles, I upgraded to the *current* libpcap(0.5.2), tcpdump,
gtk (1.2.8), and glib (1.2.8).    This is what I get now regardless of what
options I have turned on....:

BTW, my windows manager is KDE 1.2.2 on RedHat v6.2


gdb ethereal 
GNU gdb 19991004
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"...
(gdb) run
Starting program: /usr/local/bin/ethereal 
Kernel filter, protocol ALL, raw packet socket
Kernel filter, protocol ALL, raw packet socket

Program received signal SIGSEGV, Segmentation fault.
g_mem_chunk_destroy (mem_chunk=0x81e6488) at gmem.c:532
532     gmem.c: No such file or directory.
(gdb) bt
#0  g_mem_chunk_destroy (mem_chunk=0x81e6488) at gmem.c:532
#1  0x80c5fb4 in close_cap_file (cf=0x816a880, w=0x81c7fc8) at file.c:213
#2  0x80c5e2d in open_cap_file (fname=0x81e31c8 "/tmp/etherXXXX0l6sMt",
is_tempfile=1, cf=0x816a880) at file.c:136
#3  0x80c4d4f in do_capture (capfile_name=0x0) at capture.c:312
#4  0x80e7d9b in capture_prep_ok_cb (ok_bt=0x81e4b10, parent_w=0x8264a40) at
capture_dlg.c:387
#5  0x400a43cf in gtk_marshal_NONE__NONE (object=0x81e4b10, func=0x80e7a14
<capture_prep_ok_cb>, func_data=0x8264a40, args=0xbfffef24) at
gtkmarshal.c:312
#6  0x400cfcb7 in gtk_handlers_run (handlers=0x81c4cf8, signal=0xbfffeee0,
object=0x81e4b10, params=0xbfffef24, after=0) at gtksignal.c:1917
#7  0x400cf18f in gtk_signal_real_emit (object=0x81e4b10, signal_id=93,
params=0xbfffef24) at gtksignal.c:1477
#8  0x400cd420 in gtk_signal_emit (object=0x81e4b10, signal_id=93) at
gtksignal.c:552
#9  0x40047c38 in gtk_button_clicked (button=0x81e4b10) at gtkbutton.c:338
#10 0x400490e9 in gtk_real_button_released (button=0x81e4b10) at
gtkbutton.c:852
#11 0x400a43cf in gtk_marshal_NONE__NONE (object=0x81e4b10, func=0x40049058
<gtk_real_button_released>, func_data=0x0, args=0xbffff264) at
gtkmarshal.c:312
#12 0x400cf04b in gtk_signal_real_emit (object=0x81e4b10, signal_id=92,
params=0xbffff264) at gtksignal.c:1440
#13 0x400cd420 in gtk_signal_emit (object=0x81e4b10, signal_id=92) at
gtksignal.c:552
#14 0x40047b88 in gtk_button_released (button=0x81e4b10) at gtkbutton.c:329
#15 0x40048b02 in gtk_button_button_release (widget=0x81e4b10,
event=0x81e01f0) at gtkbutton.c:712
#16 0x400a40b1 in gtk_marshal_BOOL__POINTER (object=0x81e4b10,
func=0x40048a54 <gtk_button_button_release>, func_data=0x0, args=0xbffff5b4)
at gtkmarshal.c:28
#17 0x400cf1c8 in gtk_signal_real_emit (object=0x81e4b10, signal_id=21,
params=0xbffff5b4) at gtksignal.c:1492
#18 0x400cd420 in gtk_signal_emit (object=0x81e4b10, signal_id=21) at
gtksignal.c:552
#19 0x4010060b in gtk_widget_event (widget=0x81e4b10, event=0x81e01f0) at
gtkwidget.c:2860
#20 0x400a4032 in gtk_propagate_event (widget=0x81e4b10, event=0x81e01f0) at
gtkmain.c:1313
#21 0x400a336a in gtk_main_do_event (event=0x81e01f0) at gtkmain.c:770
#22 0x40148d72 in gdk_event_dispatch (source_data=0x0,
current_time=0xbffff938, user_data=0x0) at gdkevents.c:2129
#23 0x401759b6 in g_main_dispatch (dispatch_time=0xbffff938) at gmain.c:656
#24 0x40175f71 in g_main_iterate (block=1, dispatch=1) at gmain.c:877
#25 0x401760e9 in g_main_run (loop=0x81dfcd8) at gmain.c:935
#26 0x400a2cda in gtk_main () at gtkmain.c:476
#27 0x80e0b56 in main (argc=1, argv=0xbffffb14) at main.c:1545
(gdb)

		-----Original Message-----
		From:	Gilbert Ramirez [mailto:gram@xxxxxxxxxx]
		Sent:	Wednesday, November 08, 2000 3:32 PM
		To:	Wiley, Rob; ethereal-dev@xxxxxxxxxxxx
		Subject:	Re: [Ethereal-users] Segmentation Fault on
v0.8.13-1 for Linux

		On Wed, Nov 08, 2000 at 01:50:52PM -0500, Wiley, Rob wrote:
		> 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"...
		> (gdb) run
		> Starting program: /usr/local/bin/ethereal
		> Kernel filter, protocol ALL, raw packet socket
		> Kernel filter, protocol ALL, raw packet socket
		>  
		> Program received signal SIGSEGV, Segmentation fault.
		> 0x40183569 in g_mem_chunk_destroy () from
/usr/lib/libglib-1.2.so.0
		> (gdb) bt
		> #0  0x40183569 in g_mem_chunk_destroy () from
/usr/lib/libglib-1.2.so.0
		> #1  0x80c5fb4 in close_cap_file (cf=0x816a880,
w=0x81c8ab8) at file.c:213
		> #2  0x80c5e2d in open_cap_file (fname=0x81e7128
"/tmp/etherXXXXQkFcmN",
		> is_tempfile=1, cf=0x816a880) at file.c:136
		> #3  0x80c6466 in start_tail_cap_file (fname=0x81e7128
		> "/tmp/etherXXXXQkFcmN", is_tempfile=1, cf=0x816a880) at
file.c:388
		> #4  0x80c4bca in do_capture (capfile_name=0x0) at
capture.c:246
		> #5  0x80e7d9b in capture_prep_ok_cb (ok_bt=0x81e4e18,
parent_w=0x81e3a40) at
		> capture_dlg.c:387

		Of the checkbox options at the bottom of the capture
dialogue window,
		which do you have set?

		--gilbert