Ethereal-dev: [ethereal-dev] bug ?

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

From: stefan <stefan@xxxxxxxx>
Date: Fri, 7 Apr 2000 13:28:43 +0200 (CEST)
Hello Ethereal'ers,

I would like to report a fatal error to you:

uname -sr:
Linux 2.2.10

gtk-config --version:
1.2.6

ethereal -v:
ethereal 0.8.5, with GTK+ 1.2.6, with libpcap 0.4, with libz 1.1.3,
without SNMP


When I start ethereal without arguments, load the logfile within the
attachment (irc-stream-1.log - produced with a previous version of
ethereal) and then Start-Capture with Filter: "tcp port 6667" or even
without Filter i get a segmentation fault. The bt of gdb says what's in
the second attachment.

Anyway, you developed a real great software !!! It helps me testing my own
software development, learning "undocumented" protocols from your program.
It *very* useful, keep it up !

One more hint/feature-request. The Hex. Dump is a very good idea, but it
doesnt help without the actual text representation. Maybe it is possible
to have both on one screen, something like:

00 00 00 00 00 00 00 00 00 00 00 00 00    abcdefgh12345
00 00 00 00 00 00 00 00 00 00 00 00 00    abcdefgh12345
00 00 00 00 00 00 00 00 00 00 00 00 00    abcdefgh12345
00 00 00 00 00 00 00 00 00 00 00 00 00    abcdefgh12345

Hope this will help.

_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
_/ Stefan Jahn                                                _/
_/ email: st.jahn@xxxxxxxxxxxxxx                              _/
_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/

Attachment: irc-stream-1.log
Description: logfile

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 "i686-pc-linux-gnu"...
Core was generated by `/usr/local/bin/ethereal'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /usr/local/lib/libgtk-1.2.so.0...done.
Reading symbols from /usr/local/lib/libgdk-1.2.so.0...done.
Reading symbols from /usr/local/lib/libgmodule-1.2.so.0...done.
Reading symbols from /usr/local/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 /usr/lib/libz.so.1...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.1...done.
Reading symbols from /lib/libnss_compat.so.1...done.
Reading symbols from /lib/libnsl.so.1...done.
Reading symbols from /usr/local/lib/ethereal/plugins/0.8.5/gryphon.so...done.
Reading symbols from /lib/libnss_db.so.1...done.
Reading symbols from /lib/libdb.so.2...done.
Reading symbols from /lib/libnss_dns.so.1...done.
Reading symbols from /lib/libresolv.so.2...done.
#0  0x402b04f3 in chunk_free (ar_ptr=0x4030a300, p=0x820c1b0) at malloc.c:2945
malloc.c:2945: No such file or directory.

---snip---------------------------------------------------------------------

#0  0x402b04f3 in chunk_free (ar_ptr=0x4030a300, p=0x820c1b0) at malloc.c:2945
#1  0x402b03c1 in __libc_free (mem=0x820c1b8) at malloc.c:2872
#2  0x4017d09d in g_free (mem=0x820c1b8) at gmem.c:411
#3  0x4017d360 in g_mem_chunk_destroy (mem_chunk=0x820c1b8) at gmem.c:549
#4  0x80d0fe6 in close_cap_file (cf=0x817ab80, w=0x81d9ce0) at file.c:213
#5  0x80d0e3c in open_cap_file (fname=0x8246000 "/tmp/etherXXXXa04549", is_tempfile=1, cf=0x817ab80) at file.c:136
#6  0x80d168d in start_tail_cap_file (fname=0x8246000 "/tmp/etherXXXXa04549", is_tempfile=1, cf=0x817ab80) at file.c:388
#7  0x80cf953 in do_capture (capfile_name=0x0) at capture.c:246
#8  0x80f6e5c in capture_prep_ok_cb (ok_bt=0x81f5d60, parent_w=0x825ced0) at capture_dlg.c:387
#9  0x400a2c6d in gtk_marshal_NONE__NONE (object=0x81f5d60, func=0x80f6a40 <capture_prep_ok_cb>, func_data=0x825ced0, 
    args=0xbfffed34) at gtkmarshal.c:312
#10 0x400d2e35 in gtk_handlers_run (handlers=0x81d6588, signal=0xbfffecf0, object=0x81f5d60, params=0xbfffed34, after=0)
    at gtksignal.c:1909
#11 0x400d219e in gtk_signal_real_emit (object=0x81f5d60, signal_id=93, params=0xbfffed34) at gtksignal.c:1469
#12 0x400d015f in gtk_signal_emit (object=0x81f5d60, signal_id=93) at gtksignal.c:552
#13 0x400402a8 in gtk_button_clicked (button=0x81f5d60) at gtkbutton.c:338
#14 0x40041a39 in gtk_real_button_released (button=0x81f5d60) at gtkbutton.c:852
#15 0x400a2c6d in gtk_marshal_NONE__NONE (object=0x81f5d60, func=0x400419a0 <gtk_real_button_released>, func_data=0x0, 
    args=0xbffff070) at gtkmarshal.c:312
#16 0x400d2053 in gtk_signal_real_emit (object=0x81f5d60, signal_id=92, params=0xbffff070) at gtksignal.c:1432
#17 0x400d015f in gtk_signal_emit (object=0x81f5d60, signal_id=92) at gtksignal.c:552
#18 0x400401e8 in gtk_button_released (button=0x81f5d60) at gtkbutton.c:329
#19 0x40041392 in gtk_button_button_release (widget=0x81f5d60, event=0x81f0ce8) at gtkbutton.c:712
#20 0x400a2839 in gtk_marshal_BOOL__POINTER (object=0x81f5d60, func=0x400412c0 <gtk_button_button_release>, func_data=0x0, 
    args=0xbffff3c0) at gtkmarshal.c:28
#21 0x400d21d7 in gtk_signal_real_emit (object=0x81f5d60, signal_id=21, params=0xbffff3c0) at gtksignal.c:1484
#22 0x400d015f in gtk_signal_emit (object=0x81f5d60, signal_id=21) at gtksignal.c:552
#23 0x40108308 in gtk_widget_event (widget=0x81f5d60, event=0x81f0ce8) at gtkwidget.c:2843
#24 0x400a2792 in gtk_propagate_event (widget=0x81f5d60, event=0x81f0ce8) at gtkmain.c:1313
#25 0x400a1918 in gtk_main_do_event (event=0x81f0ce8) at gtkmain.c:770
#26 0x4014e17b in gdk_event_dispatch (source_data=0x0, current_time=0xbffff734, user_data=0x0) at gdkevents.c:2129
#27 0x4017bd80 in g_main_dispatch (current_time=0xbffff734) at gmain.c:656
#28 0x4017c3ab in g_main_iterate (block=1, dispatch=1) at gmain.c:874
#29 0x4017c561 in g_main_run (loop=0x81f07d0) at gmain.c:932
#30 0x400a120b in gtk_main () at gtkmain.c:476
#31 0x80ee612 in main (argc=1, argv=0xbffff8e4) at main.c:1545