← Back to team overview

dx-packages team mailing list archive

[Bug 1803808]

 

Hi,

I was trying to find a cause for this crash before finding this bug
reported at
https://bugs.launchpad.net/ubuntu/+source/wireshark/+bug/1803808. I
added comments about my findings and wanted to add it here too as for me
it's not clear where the root cause lies.

I'm running Ubuntu 16.04 and experience the problem with latest
Wireshark on master branch. I noticed it a few weeks back but didn't
find time to investigate it until now. Bisecting the problem I found
that the crash was introduced with the following change in Wireshark:

2cfa301 Qt: Create the main display filter combo sooner.

This change is also present on 2.6 from 2.6.3 and on cherry-picked as:

3a0da5f Qt: Create the main display filter combo sooner.


Version 2.9.0 (v2.9.0rc0-2605-g5d740aff) 
Copyright 1998-2018 Gerald Combs <gerald@xxxxxxxxxxxxx> and contributors. License GPLv2+: GNU GPL version 2 or later <http://www.gnu.org/licenses/old-licenses/gpl-2.0.html> 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 (64-bit) with Qt 5.5.1, with libpcap, with POSIX capabilities (Linux), with libnl 3, with GLib 2.48.2, with zlib 1.2.8, with SMI 0.4.8, with c-ares 1.10.0, with Lua 5.2.4, with GnuTLS 3.4.10, with Gcrypt 1.6.5, with MIT Kerberos, without MaxMind DB resolver, with nghttp2 1.7.1, with LZ4, with Snappy, with libxml2 2.9.3, with QtMultimedia, with SBC, with SpanDSP, without bcg729. 
Running on Linux 4.15.0-36-generic, with Intel(R) Xeon(R) CPU E5-1650 v2 @ 3.50GHz (with SSE4.2), with 24032 MB of physical memory, with locale en_US.UTF-8, with libpcap version 1.7.4, with GnuTLS 3.4.10, with Gcrypt 1.6.5, with zlib 1.2.8, binary plugins supported (14 loaded). Built using gcc 5.4.0 20160609. 
Wireshark is Open Source Software released under the GNU General Public License. 
Check the man page and http://www.wireshark.org for more information. 


Backtrace from gdb:

Thread 1 "wireshark" received signal SIGSEGV, Segmentation fault.
0x00007ffff09cd0a8 in QIcon::~QIcon() () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
(gdb) bt
#0  0x00007ffff09cd0a8 in QIcon::~QIcon() () at /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#1  0x00007ffff09d6c88 in  () at /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#2  0x00007ffff09d107e in  () at /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#3  0x00007ffff09cd0da in QIcon::~QIcon() () at /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#4  0x00007ffff09cd109 in  () at /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#5  0x00007fffeed66ff8 in __run_exit_handlers (status=0, listp=0x7fffef0f15f8 <__exit_funcs>, run_list_atexit=run_list_atexit@entry=true) at exit.c:82
#6  0x00007fffeed67045 in __GI_exit (status=<optimized out>) at exit.c:104
#7  0x0000555555623bc3 in exit_application(int) (status=<optimized out>)
    at /~/myrepos/wireshark/ui/qt/main.cpp:161
#8  0x00005555556071e3 in main(int, char**) (argc=1, qt_argv=<optimized out>)
    at /~/myrepos/wireshark/ui/qt/main.cpp:956

-- 
You received this bug notification because you are a member of DX
Packages, which is subscribed to appmenu-qt5 in Ubuntu.
https://bugs.launchpad.net/bugs/1803808

Title:
  wireshark crashed with SIGSEGV in QIcon::~QIcon() under Unity

Status in Wireshark:
  Won't Fix
Status in appmenu-qt5 package in Ubuntu:
  New
Status in wireshark package in Ubuntu:
  Invalid

Bug description:
  app crashed after close

  ProblemType: Crash
  DistroRelease: Ubuntu 14.04
  Package: wireshark-qt 2.6.3-1~ubuntu14.04.1
  ProcVersionSignature: Ubuntu 3.16.0-77.99~14.04.1-generic 3.16.7-ckt27
  Uname: Linux 3.16.0-77-generic x86_64
  ApportVersion: 2.14.1-0ubuntu3.29
  Architecture: amd64
  CurrentDesktop: Unity
  Date: Tue Oct 16 13:16:50 2018
  ExecutablePath: /usr/bin/wireshark
  InstallationDate: Installed on 2015-07-27 (1177 days ago)
  InstallationMedia: Ubuntu 14.04.2 LTS "Trusty Tahr" - Release amd64 (20150218.1)
  ProcCmdline: wireshark
  Signal: 11
  SourcePackage: wireshark
  StacktraceTop:
   QIcon::~QIcon() () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
   ?? () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
   ?? () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
   ?? () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
   QIcon::~QIcon() () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
  Title: wireshark crashed with SIGSEGV in QIcon::~QIcon()
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups: adm cdrom dialout dip lpadmin plugdev sambashare sudo wireshark

  (Reported originally as a private bug, this bug does not contain
  sensitive information)

  This is also reported as an error many times:
  https://errors.ubuntu.com/problem/ac9b86e48c6b6b5792c1128a836ba63213d62b44

To manage notifications about this bug go to:
https://bugs.launchpad.net/wireshark/+bug/1803808/+subscriptions