Wireshark crashes on startup on Ubuntu 20.04
Summary
(gdb) r
Starting program: /home/eloff/Downloads/wireshark-3.4.5/build/run/wireshark
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7fffebc83700 (LWP 39987)]
Thread 1 "wireshark" received signal SIGABRT, Aborted.
__GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
50 ../sysdeps/unix/sysv/linux/raise.c: No such file or directory.
(gdb) bt
#0 __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
#1 0x00007fffef7bd859 in __GI_abort () at abort.c:79
#2 0x00007fffefd5caad in QMessageLogger::fatal(char const*, ...) const () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#3 0x00007fffefd701bd in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#4 0x00007ffff0374f74 in QScreen::QScreen(QPlatformScreen*) () from /usr/local/lib/libQt5Gui.so.5
#5 0x00007ffff032e6b1 in QWindowSystemInterface::handleScreenAdded(QPlatformScreen*, bool) ()
from /usr/local/lib/libQt5Gui.so.5
#6 0x00007fffec2ad243 in QXcbConnection::initializeScreens() () from /usr/local/lib/libQt5XcbQpa.so.5
#7 0x00007fffec281698 in QXcbConnection::QXcbConnection(QXcbNativeInterface*, bool, unsigned int, char const*) ()
from /usr/local/lib/libQt5XcbQpa.so.5
#8 0x00007fffec285ad6 in QXcbIntegration::QXcbIntegration(QStringList const&, int&, char**) ()
from /usr/local/lib/libQt5XcbQpa.so.5
#9 0x00007ffff1313513 in ?? () from /usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/libqxcb.so
#10 0x00007ffff0339abb in QPlatformIntegrationFactory::create(QString const&, QStringList const&, int&, char**, QString const&) () from /usr/local/lib/libQt5Gui.so.5
#11 0x00007ffff0346617 in QGuiApplicationPrivate::createPlatformIntegration() () from /usr/local/lib/libQt5Gui.so.5
#12 0x00007ffff03476fd in QGuiApplicationPrivate::createEventDispatcher() () from /usr/local/lib/libQt5Gui.so.5
#13 0x00007fffeff64085 in QCoreApplicationPrivate::init() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#14 0x00007ffff034922c in QGuiApplicationPrivate::init() () from /usr/local/lib/libQt5Gui.so.5
#15 0x00007ffff0c8c3e9 in QApplicationPrivate::init() () from /usr/local/lib/libQt5Widgets.so.5
#16 0x00005555558bb245 in WiresharkApplication::WiresharkApplication (this=0x7fffffffdac0, argc=<optimized out>,
argv=<optimized out>) at /home/eloff/Downloads/wireshark-3.4.5/ui/qt/wireshark_application.cpp:611
#17 0x000055555564f058 in main (argc=<optimized out>, qt_argv=0x7fffffffdcf8)
at /home/eloff/Downloads/wireshark-3.4.5/ui/qt/main.cpp:660
Steps to reproduce
Wireshark crashes on start. This happens when installed from apt or built from source (I also tried purging and re-installing), ran with and without sudo. No change. Also purged and re-installed qt5.
I have a dual monitor setup if that matters. AMD graphics card.
Sample capture file
Happy to send a core dump to a private email or location.
Version
eloff@dandev:~/Downloads/wireshark-3.4.5/build$ run/wireshark -v Wireshark 3.4.5 (Git commit 7db1feb4)
Copyright 1998-2021 Gerald Combs gerald@wireshark.org and contributors. License GPLv2+: GNU GPL version 2 or later https://www.gnu.org/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.12.8, without libpcap, with GLib 2.64.6, with zlib 1.2.11, without SMI, with c-ares 1.15.0, without Lua, without GnuTLS, with Gcrypt 1.8.5, without Kerberos, without MaxMind DB resolver, without nghttp2, without brotli, without LZ4, without Zstandard, without Snappy, without libxml2, with QtMultimedia, without automatic updates, with SpeexDSP (using bundled resampler), without Minizip.
Running on Linux 5.8.0-53-generic, with Genuine Intel(R) CPU 0000 @ 2.10GHz (with SSE4.2), with 96500 MB of physical memory, with locale en_CA.UTF-8, with Gcrypt 1.8.5, with zlib 1.2.11, binary plugins supported (0 loaded).
Built using gcc 9.3.0.