(gdb) bt
#0 QIconPrivate::~QIconPrivate (this=0x5555580aaf60, __in_chrg=<optimized out>) at image/qicon_p.h:64
#1 QIcon::~QIcon (this=<optimized out>, __in_chrg=<optimized out>) at image/qicon.cpp:681
#2 0x00007ffff0ea4c88 in ScalableEntry::~ScalableEntry (this=0x55555641d500, __in_chrg=<optimized out>)
at ../../include/QtGui/5.5.1/QtGui/private/../../../../../src/gui/image/qiconloader_p.h:95
#3 ScalableEntry::~ScalableEntry (this=0x55555641d500, __in_chrg=<optimized out>) at ../../include/QtGui/5.5.1/QtGui/private/../../../../../src/gui/image/qiconloader_p.h:95
#4 0x00007ffff0e9f07e in qDeleteAll<QList<QIconLoaderEngineEntry*>::const_iterator> (end=..., begin=...) at ../../include/QtCore/../../src/corelib/tools/qalgorithms.h:317
#5 qDeleteAll<QList<QIconLoaderEngineEntry*> > (c=...) at ../../include/QtCore/../../src/corelib/tools/qalgorithms.h:325
#6 QIconLoaderEngine::~QIconLoaderEngine (this=0x5555563a82c0, __in_chrg=<optimized out>) at image/qiconloader.cpp:352
#7 QIconLoaderEngine::~QIconLoaderEngine (this=0x5555563a82c0, __in_chrg=<optimized out>) at image/qiconloader.cpp:353
#8 0x00007ffff0e9b0da in QIconPrivate::~QIconPrivate (this=0x5555564193a0, __in_chrg=<optimized out>) at image/qicon_p.h:64
#9 QIcon::~QIcon (this=<optimized out>, __in_chrg=<optimized out>) at image/qicon.cpp:681
#10 0x00007ffff0e9b109 in QCache<QString, QIcon>::clear (this=0x7ffff126a3a0 <(anonymous namespace)::Q_QGS_qtIconCache::innerFunction()::holder>)
at ../../include/QtCore/../../src/corelib/tools/qcache.h:118
#11 QCache<QString, QIcon>::~QCache (this=0x7ffff126a3a0 <(anonymous namespace)::Q_QGS_qtIconCache::innerFunction()::holder>, __in_chrg=<optimized out>)
at ../../include/QtCore/../../src/corelib/tools/qcache.h:87
#12 (anonymous namespace)::IconCache::~IconCache (this=0x7ffff126a3a0 <(anonymous namespace)::Q_QGS_qtIconCache::innerFunction()::holder>, __in_chrg=<optimized out>) at image/qicon.cpp:98
#13 (anonymous namespace)::Q_QGS_qtIconCache::Holder::~Holder (this=0x7ffff126a3a0 <(anonymous namespace)::Q_QGS_qtIconCache::innerFunction()::holder>, __in_chrg=<optimized out>)
at image/qicon.cpp:108
#14 0x00007fffef549ff8 in __run_exit_handlers (status=0, listp=0x7fffef8d45f8 <__exit_funcs>, run_list_atexit=run_list_atexit@entry=true) at exit.c:82
#15 0x00007fffef54a045 in __GI_exit (status=<optimized out>) at exit.c:104
#16 0x00005555556b6a83 in exit_application (status=<optimized out>) at /build/wireshark-7bKlj5/wireshark-2.6.8/wireshark-qt.cpp:174
#17 0x00005555556b2296 in main (argc=1, qt_argv=<optimized out>) at /build/wireshark-7bKlj5/wireshark-2.6.8/wireshark-qt.cpp:984
I was not able to reproduce this issue with a Wireshark build from git using `cmake -GNinja -DCMAKE_BUILD_TYPE=Debug -DENABLE_ASAN=1 ~/wireshark && ninja wireshark`:
Can reproduce the crash with a fully up-to-date Ubuntu 16.04.
libqt5gui5:amd64 5.5.1+dfsg- 16ubuntu7. 6 ubuntu16. 04.0
wireshark-qt 2.6.8-1~
(gdb) bt :~QIconPrivate (this=0x5555580 aaf60, __in_chrg= <optimized out>) at image/qicon_p.h:64 <optimized out>) at image/qicon.cpp:681 :~ScalableEntry (this=0x5555564 1d500, __in_chrg= <optimized out>) QtGui/5. 5.1/QtGui/ private/ ../../. ./../.. /src/gui/ image/qiconload er_p.h: 95 :~ScalableEntry (this=0x5555564 1d500, __in_chrg= <optimized out>) at ../../include/ QtGui/5. 5.1/QtGui/ private/ ../../. ./../.. /src/gui/ image/qiconload er_p.h: 95 QList<QIconLoad erEngineEntry* >::const_ iterator> (end=..., begin=...) at ../../include/ QtCore/ ../../src/ corelib/ tools/qalgorith ms.h:317 QList<QIconLoad erEngineEntry* > > (c=...) at ../../include/ QtCore/ ../../src/ corelib/ tools/qalgorith ms.h:325 ne::~QIconLoade rEngine (this=0x5555563 a82c0, __in_chrg= <optimized out>) at image/qiconload er.cpp: 352 ne::~QIconLoade rEngine (this=0x5555563 a82c0, __in_chrg= <optimized out>) at image/qiconload er.cpp: 353 :~QIconPrivate (this=0x5555564 193a0, __in_chrg= <optimized out>) at image/qicon_p.h:64 <optimized out>) at image/qicon.cpp:681 6a3a0 <(anonymous namespace) ::Q_QGS_ qtIconCache: :innerFunction( )::holder> ) QtCore/ ../../src/ corelib/ tools/qcache. h:118 6a3a0 <(anonymous namespace) ::Q_QGS_ qtIconCache: :innerFunction( )::holder> , __in_chrg= <optimized out>) QtCore/ ../../src/ corelib/ tools/qcache. h:87 ::IconCache: :~IconCache (this=0x7ffff12 6a3a0 <(anonymous namespace) ::Q_QGS_ qtIconCache: :innerFunction( )::holder> , __in_chrg= <optimized out>) at image/qicon.cpp:98 ::Q_QGS_ qtIconCache: :Holder: :~Holder (this=0x7ffff12 6a3a0 <(anonymous namespace) ::Q_QGS_ qtIconCache: :innerFunction( )::holder> , __in_chrg= <optimized out>) d45f8 <__exit_funcs>, run_list_ atexit= run_list_ atexit@ entry=true) at exit.c:82 wireshark- 7bKlj5/ wireshark- 2.6.8/wireshark -qt.cpp: 174 wireshark- 7bKlj5/ wireshark- 2.6.8/wireshark -qt.cpp: 984
#0 QIconPrivate:
#1 QIcon::~QIcon (this=<optimized out>, __in_chrg=
#2 0x00007ffff0ea4c88 in ScalableEntry:
at ../../include/
#3 ScalableEntry:
#4 0x00007ffff0e9f07e in qDeleteAll<
#5 qDeleteAll<
#6 QIconLoaderEngi
#7 QIconLoaderEngi
#8 0x00007ffff0e9b0da in QIconPrivate:
#9 QIcon::~QIcon (this=<optimized out>, __in_chrg=
#10 0x00007ffff0e9b109 in QCache<QString, QIcon>::clear (this=0x7ffff12
at ../../include/
#11 QCache<QString, QIcon>::~QCache (this=0x7ffff12
at ../../include/
#12 (anonymous namespace)
#13 (anonymous namespace)
at image/qicon.cpp:108
#14 0x00007fffef549ff8 in __run_exit_handlers (status=0, listp=0x7fffef8
#15 0x00007fffef54a045 in __GI_exit (status=<optimized out>) at exit.c:104
#16 0x00005555556b6a83 in exit_application (status=<optimized out>) at /build/
#17 0x00005555556b2296 in main (argc=1, qt_argv=<optimized out>) at /build/
I was not able to reproduce this issue with a Wireshark build from git using `cmake -GNinja -DCMAKE_ BUILD_TYPE= Debug -DENABLE_ASAN=1 ~/wireshark && ninja wireshark`:
* master v3.1.0rc0- 1166-g1e7f85e02 f66 46-gd094b56a9b4 e
* master-3.0 v3.0.3rc0-
I can reproduce the crash with the same build settings and:
* master-2.6 v3.1.0rc0- 1168-gc0822c187 b
No idea what has changed since 3.0, but I guess you can safely upgrade to Wireshark 3.0 now to fix this issue.