ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
April 17th, 2024 | 14:30-16:00 SGT (UTC+8) | Online

Wireshark-bugs: [Wireshark-bugs] [Bug 1282] New: Wireshark crashes when saving in Statistics->Fl

Date: Tue, 26 Dec 2006 10:59:23 +0000 (GMT)
http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1282

           Summary: Wireshark crashes when saving in Statistics->Flow Graph
           Product: Wireshark
           Version: 0.99.3
          Platform: Sun
        OS/Version: Linux
            Status: NEW
          Severity: Normal
          Priority: Low
         Component: Wireshark
        AssignedTo: wireshark-bugs@xxxxxxxxxxxxx
        ReportedBy: msbatista@xxxxxxx


Build Information:
user@sniffer:~$ wireshark -v
wireshark 0.99.3a

Copyright 1998-2006 Gerald Combs <gerald@xxxxxxxxxxxxx> and contributors.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Compiled with GTK+ 2.6.4, with GLib 2.6.4, with libpcap 0.7.2, with libz 1.2.2,
without libpcre, with UCD-SNMP 4.2.5, without ADNS, without Lua.
NOTE: this build doesn't support the "matches" operator for Wireshark filter
syntax.

Running with libpcap (version unknown) on Linux 2.4.18.


user@sniffer:~$ uname -a
Linux graca 2.4.18 #2 Thu Apr 11 14:37:17 EDT 2002 sparc64 GNU/Linux
--
I use a Sparc Station Ultra10 with Debian Linux. When I open, in the menu,
"Statistics->Flow Graph" window and try to save the content Wireshark crashes
reporting the following: 

Err  file to_str.c: line 832 (address_to_str_buf): should not be reached"


Using gdb I got the output:


graca:~# gdb /usr/local/bin/wireshark
GNU gdb 6.3-debian
Copyright 2004 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 "sparc-linux"...Using host libthread_db library
"/lib/libthread_db.so.1".

(gdb) run
Starting program: /usr/local/bin/wireshark 
[Thread debugging using libthread_db enabled]
[New Thread 16384 (LWP 12205)]

(wireshark:12205): Gtk-WARNING **: Could not find the icon 'gnome-fs-home'. The
'hicolor' theme
was not found either, perhaps you need to install it.
You can get a copy from:
        http://freedesktop.org/Software/icon-theme/releases
19:06:08          Err  file to_str.c: line 832 (address_to_str_buf): should not
be reached

Program received signal SIGABRT, Aborted.
[Switching to Thread 16384 (LWP 12205)]
0x71cfb1d0 in kill () from /lib/libc.so.6
(gdb) back
#0  0x71cfb1d0 in kill () from /lib/libc.so.6
#1  0x71c7030c in pthread_kill () from /lib/libpthread.so.0
#2  0x71c7065c in raise () from /lib/libpthread.so.0
#3  0x71cfaeac in raise () from /lib/libc.so.6
#4  0x71cfc354 in abort () from /lib/libc.so.6
#5  0x71bd7f18 in g_logv () from /usr/lib/libglib-2.0.so.0
#6  0x71bd7f48 in g_log () from /usr/lib/libglib-2.0.so.0
#7  0x71bd8004 in g_assert_warning () from /usr/lib/libglib-2.0.so.0
#8  0x705fe5ac in address_to_str_buf (addr=0x0, buf=0x727265e8
"ýZ9\206ÇgÌ\033rtpmap", buf_len=256) at to_str.c:832
#9  0x705fe2e4 in address_to_str (addr=0x727265e8) at to_str.c:767
#10 0x000b2750 in dialog_graph_dump_to_file (user_data=0x803d98) at
graph_analysis.c:367
#11 0x00054c74 in simple_dialog_cancel_cb (w=0xa, win=0x87dd18) at
simple_dialog.c:379
#12 0x71b356bc in g_cclosure_marshal_VOID__VOID () from
/usr/lib/libgobject-2.0.so.0
#13 0x71b2064c in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#14 0x71b350c8 in g_signal_emit_by_name () from /usr/lib/libgobject-2.0.so.0
#15 0x71b33d54 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#16 0x71b340a8 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#17 0x7165f510 in _gtk_button_paint () from /usr/lib/libgtk-x11-2.0.so.0
#18 0x71b356bc in g_cclosure_marshal_VOID__VOID () from
/usr/lib/libgobject-2.0.so.0
#19 0x71b208e4 in g_cclosure_new_swap () from /usr/lib/libgobject-2.0.so.0
#20 0x71b2064c in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#21 0x71b34724 in g_signal_emit_by_name () from /usr/lib/libgobject-2.0.so.0
#22 0x71b33d54 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#23 0x71b340a8 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#24 0x7165f39c in _gtk_button_paint () from /usr/lib/libgtk-x11-2.0.so.0
#25 0x71723af8 in _gtk_marshal_BOOLEAN__BOXED () from
/usr/lib/libgtk-x11-2.0.so.0
#26 0x71b208e4 in g_cclosure_new_swap () from /usr/lib/libgobject-2.0.so.0
#27 0x71b2064c in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#28 0x71b34998 in g_signal_emit_by_name () from /usr/lib/libgobject-2.0.so.0
#29 0x71b33b60 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#30 0x71b340a8 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#31 0x7181b9c8 in gtk_widget_send_expose () from /usr/lib/libgtk-x11-2.0.so.0
#32 0x717226f0 in gtk_propagate_event () from /usr/lib/libgtk-x11-2.0.so.0
#33 0x71721704 in gtk_main_do_event () from /usr/lib/libgtk-x11-2.0.so.0
#34 0x719481d4 in _gdk_events_queue () from /usr/lib/libgdk-x11-2.0.so.0
#35 0x71bcdb98 in g_main_depth () from /usr/lib/libglib-2.0.so.0
#36 0x71bcf1c0 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#37 0x71bcf5d4 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#38 0x71bcfdb0 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#39 0x71720ed4 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#40 0x00042728 in main (argc=0, argv=0xeffffe18) at main.c:2894
(gdb) quit
The program is running.  Exit anyway? (y or n) y


-- 
Configure bugmail: http://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.