wireshark crashed with SIGSEGV in g_type_check_instance_cast()

Bug #1208583 reported by Jérôme Poulin
This bug report is a duplicate of:  Bug #1248400: liboverlay-scrollbar hangs Wireshark. Edit Remove
76
This bug affects 16 people
Affects Status Importance Assigned to Milestone
overlay-scrollbar
New
Undecided
Unassigned
wireshark (Ubuntu)
Invalid
Medium
Unassigned

Bug Description

I'm getting a crash after opening a file and sometimes just by clicking in the display.

ProblemType: Crash
DistroRelease: Ubuntu 13.10
Package: wireshark 1.10.1-1
ProcVersionSignature: Ubuntu 3.10.0-6.17-generic 3.10.3
Uname: Linux 3.10.0-6-generic x86_64
ApportVersion: 2.12-0ubuntu2
Architecture: amd64
CrashCounter: 1
Date: Mon Aug 5 14:53:45 2013
ExecutablePath: /usr/bin/wireshark
MarkForUpload: True
ProcCmdline: wireshark out.cap
SegvAnalysis:
 Segfault happened at: 0x7ff1fc70efec <g_type_check_instance_cast+28>: mov (%rax),%rdi
 PC (0x7ff1fc70efec) ok
 source "(%rax)" (0xaaaaaaaaaaaaaaaa) not located in a known VMA region (needed readable region)!
 destination "%rdi" ok
SegvReason: reading unknown VMA
Signal: 11
SourcePackage: wireshark
StacktraceTop:
 g_type_check_instance_cast () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
 ?? () from /usr/lib/x86_64-linux-gnu/gtk-3.0/modules/liboverlay-scrollbar.so
 g_closure_invoke () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
 ?? () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
 g_signal_emit_valist () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
Title: wireshark crashed with SIGSEGV in g_type_check_instance_cast()
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm audio dialout fuse libvirtd lp plugdev pulse-access src sudo users vboxusers video wireshark

Revision history for this message
Jérôme Poulin (jeromepoulin) wrote :
information type: Private → Public
Revision history for this message
Apport retracing service (apport) wrote :

StacktraceTop:
 g_type_check_instance_cast (type_instance=type_instance@entry=0x7ff204ceab70, iface_type=140677416015024) at /build/buildd/glib2.0-2.37.3/./gobject/gtype.c:4008
 adjustment_changed_cb (adjustment=0x7ff2036908d0, user_data=0x7ff204ceab70) at ../../../os/os-scrollbar.c:1349
 g_closure_invoke (closure=0x7ff205040ef0, return_value=0x0, n_param_values=1, param_values=0x7fff02ce1350, invocation_hint=0x7fff02ce12f0) at /build/buildd/glib2.0-2.37.3/./gobject/gclosure.c:777
 signal_emit_unlocked_R (node=node@entry=0x7ff204ce3e30, detail=detail@entry=0, instance=instance@entry=0x7ff2036908d0, emission_return=emission_return@entry=0x0, instance_and_params=instance_and_params@entry=0x7fff02ce1350) at /build/buildd/glib2.0-2.37.3/./gobject/gsignal.c:3582
 g_signal_emit_valist (instance=<optimized out>, signal_id=<optimized out>, detail=<optimized out>, var_args=var_args@entry=0x7fff02ce14d8) at /build/buildd/glib2.0-2.37.3/./gobject/gsignal.c:3326

Revision history for this message
Apport retracing service (apport) wrote : Stacktrace.txt
Revision history for this message
Apport retracing service (apport) wrote : StacktraceSource.txt
Revision history for this message
Apport retracing service (apport) wrote : ThreadStacktrace.txt
Changed in wireshark (Ubuntu):
importance: Undecided → Medium
tags: removed: need-amd64-retrace
Revision history for this message
Evan Huus (eapache) wrote :

Hi Jérôme. Wireshark has had a few issues in the past (for example [1]) with Ubuntu's special overlay scrollbars. Given that liboverlay-scrollbar is the second frame in the stack trace, I suspect this is also related.

If you run at the commandline
$ export LIBOVERLAY_SCROLLBAR=0
$ wireshark

And then use the wireshark instance that starts, do you still see the crash?

Thanks,
Evan

[1] https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8988

Revision history for this message
Jérôme Poulin (jeromepoulin) wrote :

I can confirm that this resolves the problem. And that without it, it can be reproduced by opening a file, unfocus Wireshark and click anywhere in Wireshark, then it crashes.

Evan Huus (eapache)
Changed in wireshark (Ubuntu):
status: New → Invalid
Revision history for this message
Balint Reczey (rbalint) wrote :

Let me note here that uploading overlay-scrollbar to Debian would probably help fixing similar problems earlier.
There is already an RFP for it:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=675078

Revision history for this message
Balint Reczey (rbalint) wrote :

Please black-list in overlay-scrollbar wireshark if this bug can't be fixed soon.

Revision history for this message
Balint Reczey (rbalint) wrote :

I mean black-list wireshark in overlay-scrollbar. :-)

Revision history for this message
Titantux (israel-m-dj) wrote :

I can confirm than using workaround on comment #6 by Evan Huus it helps!!
Thanks I can use again wireshark on Ubuntu 13.10. :-)

Revision history for this message
Chris (cmavr8) wrote :

Still a problem on an updated 14.04.2 LTS. Proposed workaround works.

Also, for me, minimizing wireshark is not needed to reproduce the bug. Just opening a file causes it.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.