wireshark crashed with SIGSEGV in malloc_printerr()

Bug #1302143 reported by wizwiz50
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
wireshark (Ubuntu)
Confirmed
Medium
Unassigned

Bug Description

crash when i'm openning a small capture done with tcpdump

ProblemType: Crash
DistroRelease: Ubuntu 14.04
Package: wireshark 1.10.6-1
ProcVersionSignature: Ubuntu 3.13.0-21.43-generic 3.13.8
Uname: Linux 3.13.0-21-generic x86_64
ApportVersion: 2.14-0ubuntu1
Architecture: amd64
CurrentDesktop: GNOME
Date: Thu Apr 3 21:31:07 2014
ExecutablePath: /usr/bin/wireshark
InstallationDate: Installed on 2012-07-22 (620 days ago)
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Release amd64 (20120425)
ProcCmdline: wireshark
SegvAnalysis:
 Segfault happened at: 0x7fe83c23f634 <malloc_consolidate+52>: movq $0x1,0x18(%rsp)
 PC (0x7fe83c23f634) ok
 source "$0x1" ok
 destination "0x18(%rsp)" (0x7fff82988fd8) not located in a known VMA region (needed writable region)!
 Stack memory exhausted (SP below stack segment)
SegvReason: writing unknown VMA
Signal: 11
SourcePackage: wireshark
StacktraceTop:
 malloc_printerr (ptr=<optimized out>, str=<optimized out>, action=<optimized out>) at malloc.c:4992
 malloc_consolidate (av=av@entry=0x7fe83c57f760 <main_arena>) at malloc.c:4157
 _int_malloc (av=0x7fe83c57f760 <main_arena>, bytes=2080) at malloc.c:3423
 _int_memalign (av=0x7fe83c57f760 <main_arena>, alignment=1024, bytes=2096, bytes@entry=1008) at malloc.c:4403
 _mid_memalign (alignment=1024, bytes=1008, address=<optimized out>) at malloc.c:3106
Title: wireshark crashed with SIGSEGV in malloc_printerr()
UpgradeStatus: Upgraded to trusty on 2014-03-10 (24 days ago)
UserGroups: adm cdrom dip libvirtd lpadmin plugdev sambashare sudo vboxusers

Revision history for this message
wizwiz50 (wizwiz50) wrote :
Revision history for this message
Apport retracing service (apport) wrote :

StacktraceTop:
 malloc_printerr (ptr=<optimized out>, str=<optimized out>, action=<optimized out>) at malloc.c:4992
 malloc_consolidate (av=av@entry=0x7fe83c57f760 <main_arena>) at malloc.c:4157
 _int_malloc (av=0x7fe83c57f760 <main_arena>, bytes=2080) at malloc.c:3423
 _int_memalign (av=0x7fe83c57f760 <main_arena>, alignment=1024, bytes=2096, bytes@entry=1008) at malloc.c:4403
 _mid_memalign (alignment=1024, bytes=1008, address=<optimized out>) at malloc.c:3106

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
Steve Beattie (sbeattie)
information type: Private → Public
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in wireshark (Ubuntu):
status: New → Confirmed
Revision history for this message
Sven Berkvens-Matthijsse (sven-launchpad) wrote :
Download full text (12.7 KiB)

The problem is easily solved by uninstalling the package overlay-scrollbars. It does not seem to handle the case well in which there is very little room for a scrollbar or something like that. Running wireshark from the console yields messages like:

(wireshark:3889): Gtk-CRITICAL **: gtk_range_get_adjustment: assertion 'GTK_IS_RANGE (range)' failed

(wireshark:3889): GLib-GObject-WARNING **: invalid unclassed pointer in cast to 'GtkOrientable'

(wireshark:3889): Gtk-CRITICAL **: gtk_orientable_get_orientation: assertion 'GTK_IS_ORIENTABLE (orientable)' failed

(wireshark:3889): GLib-GObject-WARNING **: invalid unclassed pointer in cast to 'GtkScrollbar'

(wireshark:3889): GLib-GObject-WARNING **: invalid unclassed pointer in cast to 'GtkWidget'

(wireshark:3889): GLib-GObject-WARNING **: invalid unclassed pointer in cast to 'GObject'

(wireshark:3889): GLib-GObject-CRITICAL **: g_object_get_qdata: assertion 'G_IS_OBJECT (object)' failed

(wireshark:3889): Gtk-CRITICAL **: gtk_widget_set_name: assertion 'GTK_IS_WIDGET (widget)' failed

(wireshark:3889): GLib-GObject-WARNING **: invalid unclassed pointer in cast to 'GObject'

(wireshark:3889): GLib-GObject-CRITICAL **: g_object_set_qdata_full: assertion 'G_IS_OBJECT (object)' failed

(wireshark:3889): GLib-GObject-WARNING **: invalid unclassed pointer in cast to 'GtkRange'

(wireshark:3889): Gtk-CRITICAL **: gtk_range_get_adjustment: assertion 'GTK_IS_RANGE (range)' failed

(wireshark:3889): GLib-GObject-WARNING **: invalid unclassed pointer in cast to 'GtkOrientable'

(wireshark:3889): Gtk-CRITICAL **: gtk_orientable_get_orientation: assertion 'GTK_IS_ORIENTABLE (orientable)' failed

(wireshark:3889): GLib-GObject-WARNING **: invalid unclassed pointer in cast to 'GtkScrollbar'

(wireshark:3889): GLib-GObject-WARNING **: invalid unclassed pointer in cast to 'GtkWidget'

(wireshark:3889): GLib-GObject-WARNING **: invalid unclassed pointer in cast to 'GObject'

(wireshark:3889): GLib-GObject-CRITICAL **: g_object_get_qdata: assertion 'G_IS_OBJECT (object)' failed

(wireshark:3889): Gtk-CRITICAL **: gtk_widget_set_name: assertion 'GTK_IS_WIDGET (widget)' failed

(wireshark:3889): GLib-GObject-WARNING **: invalid unclassed pointer in cast to 'GObject'

(wireshark:3889): GLib-GObject-CRITICAL **: g_object_set_qdata_full: assertion 'G_IS_OBJECT (object)' failed

(wireshark:3889): GLib-GObject-WARNING **: invalid unclassed pointer in cast to 'GtkRange'

(wireshark:3889): Gtk-CRITICAL **: gtk_range_get_adjustment: assertion 'GTK_IS_RANGE (range)' failed

(wireshark:3889): GLib-GObject-WARNING **: invalid unclassed pointer in cast to 'GtkOrientable'

(wireshark:3889): Gtk-CRITICAL **: gtk_orientable_get_orientation: assertion 'GTK_IS_ORIENTABLE (orientable)' failed

(wireshark:3889): GLib-GObject-WARNING **: invalid unclassed pointer in cast to 'GtkScrollbar'

(wireshark:3889): GLib-GObject-WARNING **: invalid unclassed pointer in cast to 'GtkWidget'

(wireshark:3889): GLib-GObject-WARNING **: invalid unclassed pointer in cast to 'GObject'

(wireshark:3889): GLib-GObject-CRITICAL **: g_object_get_qdata: assertion 'G_IS_OBJECT (object)' failed

(wireshark:3889): Gtk-CRITICAL **: gtk_widget_set_name: ass...

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.