Page 1 of 1

wireshark segfault

PostPosted: Aug 11th, '15, 01:57
by jiml8
This thread viewtopic.php?f=7&t=10055 alerted me to the need to specify I wanted wireshark-gtk.

So, I installed wireshark-gtk, but it segfaults when I try to run it.

Code: Select all
jiml@dadsbox:jiml> gdb wireshark-gtk
GNU gdb (GDB) 7.8.1-7.mga5 (Mageia release 5)
Copyright (C) 2014 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-mageia-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from wireshark-gtk...Reading symbols from /mnt/sdd5/home/jiml/wireshark-gtk...(no debugging symbols found)...done.
(no debugging symbols found)...done.
Missing separate debuginfos, use: debuginfo-install wireshark-gtk-1.12.6-2.mga5.x86_64
(gdb) run
Starting program: /usr/bin/wireshark-gtk
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".

** (process:24260): WARNING **: Syntax error in preference "column.width" at line 70 of
/home/jiml//.wireshark/recent (save preferences to remove this warning)
[New Thread 0x7fffe1b7f700 (LWP 24264)]

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff11749b5 in g_type_check_instance_is_fundamentally_a ()
   from /lib64/libgobject-2.0.so.0
(gdb) bt
#0  0x00007ffff11749b5 in g_type_check_instance_is_fundamentally_a ()
    at /lib64/libgobject-2.0.so.0
#1  0x00007ffff11569de in g_object_ref () at /lib64/libgobject-2.0.so.0
#2  0x00007ffff0e7a2cd in g_list_foreach () at /lib64/libglib-2.0.so.0
#3  0x00007ffff2314201 in gtk_window_set_icon_list () at /lib64/libgtk-3.so.0
#4  0x0000000000442148 in window_icon_realize_cb ()
#5  0x00007ffff11520e5 in g_closure_invoke () at /lib64/libgobject-2.0.so.0
#6  0x00007ffff116375c in signal_emit_unlocked_R () at /lib64/libgobject-2.0.so.0
#7  0x00007ffff116be4c in g_signal_emit_valist () at /lib64/libgobject-2.0.so.0
#8  0x00007ffff116c082 in g_signal_emit () at /lib64/libgobject-2.0.so.0
#9  0x00007ffff2304e08 in gtk_widget_realize () at /lib64/libgtk-3.so.0
#10 0x00000000004bc3eb in splash_new ()
#11 0x0000000000423073 in main ()
(gdb)


So now what? Library mismatch that is not properly picked up in dependencies?

Re: wireshark segfault

PostPosted: Aug 11th, '15, 06:18
by doktor5000
It segfaults directly on startup, before you see the main window?
It works fine here:
Code: Select all
┌─[doktor5000@Mageia5]─[06:16:15]─[~]
└──╼ wireshark-gtk

** (process:20783): WARNING **: Syntax error in preference "column.width" at line 68 of
/home/doktor5000/.wireshark/recent (save preferences to remove this warning)

┌─[doktor5000@Mageia5]─[06:16:31]─[~]
└──╼ readlink -f /lib64/libgobject-2.0.so.0
/usr/lib64/libgobject-2.0.so.0.4200.1
┌─[doktor5000@Mageia5]─[06:18:18]─[~]
└──╼ rpm -qf /usr/lib64/libgobject-2.0.so.0.4200.1
lib64glib2.0_0-2.42.1-2.mga5
┌─[doktor5000@Mageia5]─[06:18:23]─[~]
└──╼

Re: wireshark segfault

PostPosted: Aug 14th, '15, 01:44
by jiml8
Well, I have not found a solution here. Uninstalled and reinstalled...same problem.

I just pulled out a copy from last May and put it in place. I now get a lua error when it starts, but it seems to be working OK. I need wireshark rather badly right now since I'm doing a lot of USB work and need to sniff the USB line. This will do...

wireshark-gtk could not start

PostPosted: Aug 22nd, '15, 18:03
by telliev
Code: Select all
[telliev@localhost 19:01:26 ~]$ wireshark-gtk
Segmentation fault


Running Mageia 5.

Re: wireshark-gtk could not start

PostPosted: Aug 22nd, '15, 18:13
by doktor5000
See the existing thread: viewtopic.php?f=7&t=10141

Re: wireshark segfault

PostPosted: Aug 22nd, '15, 18:27
by telliev
Same problem here. Segmentation fault just before it run.

Re: wireshark-gtk could not start

PostPosted: Aug 22nd, '15, 18:28
by telliev
Sorry. You can delete that thread. ;)