Bug 475071

Summary: Konsole crashed when trying to open a new tab
Product: [Applications] konsole Reporter: dolev.niv.2
Component: generalAssignee: Konsole Developer <konsole-devel>
Status: RESOLVED FIXED    
Severity: crash CC: christoph
Priority: NOR Keywords: drkonqi
Version: 23.04.0   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description dolev.niv.2 2023-09-30 21:50:38 UTC
Application: konsole (23.04.0)

Qt Version: 5.15.9
Frameworks Version: 5.105.0
Operating System: Linux 6.2.14-300.fc38.x86_64 x86_64
Windowing System: Wayland
Distribution: Fedora Linux 38 (Thirty Eight)
DrKonqi: 5.27.4 [KCrashBackend]

-- Information about the crash:
I had a konsole in which I ran "plasmashell --replace" in order to see why KDE crashes muliple times for me (including the crash handler), and after some time I tried to open a new tab using shortcuts, and Konsole crashed.

The crash does not seem to be reproducible.

-- Backtrace:
Application: Konsole (konsole), signal: Bus error

[KCrash Handler]
#4  0x00007f750957e444 in SharedMemory::findNamedEntry(QByteArray const&) const () from /lib64/libKF5CoreAddons.so.5
#5  0x00007f7509584a02 in KSharedDataCache::find(QString const&, QByteArray*) const () from /lib64/libKF5CoreAddons.so.5
#6  0x00007f7507cf5b74 in KIconLoader::loadScaledIcon(QString const&, KIconLoader::Group, double, QSize const&, int, QStringList const&, QString*, bool, std::optional<KIconColors> const&) const () from /lib64/libKF5IconThemes.so.5
#7  0x00007f7507cea66e in KIconEngine::createPixmap(QSize const&, double, QIcon::Mode, QIcon::State) () from /lib64/libKF5IconThemes.so.5
#8  0x00007f7507ceac1c in KIconEngine::pixmap(QSize const&, QIcon::Mode, QIcon::State) () from /lib64/libKF5IconThemes.so.5
#9  0x00007f7508fe49ed in QIcon::pixmap(QWindow*, QSize const&, QIcon::Mode, QIcon::State) const () from /lib64/libQt5Gui.so.5
#10 0x00007f7508fe4b05 in QIcon::pixmap(QSize const&, QIcon::Mode, QIcon::State) const () from /lib64/libQt5Gui.so.5
#11 0x00007f750a01d1dc in Konsole::TerminalDisplay::TerminalDisplay(QWidget*) () from /lib64/libkonsoleprivate.so.1
#12 0x00007f7509fca64e in Konsole::ViewManager::createTerminalDisplay(Konsole::Session*) () from /lib64/libkonsoleprivate.so.1
#13 0x00007f7509fcb3de in Konsole::ViewManager::createView(Konsole::Session*) () from /lib64/libkonsoleprivate.so.1
#14 0x00007f750a10ac1a in Konsole::MainWindow::createSession(QExplicitlySharedDataPointer<Konsole::Profile>, QString const&) () from /lib64/libkonsoleapp.so.1
#15 0x00007f750a10b1d2 in Konsole::MainWindow::newTab() () from /lib64/libkonsoleapp.so.1
#16 0x00007f7508ae8651 in void doActivate<false>(QObject*, int, void**) () from /lib64/libQt5Core.so.5
#17 0x00007f75097a7d24 in QAction::triggered(bool) () from /lib64/libQt5Widgets.so.5
#18 0x00007f75097aab7b in QAction::activate(QAction::ActionEvent) () from /lib64/libQt5Widgets.so.5
#19 0x00007f75097ab79d in QAction::event(QEvent*) () from /lib64/libQt5Widgets.so.5
#20 0x00007f75097aeb75 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#21 0x00007f7508ab3d48 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib64/libQt5Core.so.5
#22 0x00007f7508f98d9e in QShortcutMap::dispatchEvent(QKeyEvent*) () from /lib64/libQt5Gui.so.5
#23 0x00007f7508f99433 in QShortcutMap::tryShortcut(QKeyEvent*) () from /lib64/libQt5Gui.so.5
#24 0x00007f7508f4df82 in QWindowSystemInterface::handleShortcutEvent(QWindow*, unsigned long, int, QFlags<Qt::KeyboardModifier>, unsigned int, unsigned int, unsigned int, QString const&, bool, unsigned short) () from /lib64/libQt5Gui.so.5
#25 0x00007f7508f687b5 in QGuiApplicationPrivate::processKeyEvent(QWindowSystemInterfacePrivate::KeyEvent*) () from /lib64/libQt5Gui.so.5
#26 0x00007f7508f4aa0c in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Gui.so.5
#27 0x00007f75069d79e4 in userEventSourceDispatch(_GSource*, int (*)(void*), void*) () from /lib64/libQt5WaylandClient.so.5
#28 0x00007f7506bc948c in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#29 0x00007f7506c27648 in g_main_context_iterate.isra () from /lib64/libglib-2.0.so.0
#30 0x00007f7506bc6b13 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#31 0x00007f7508b06919 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#32 0x00007f7508ab270b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#33 0x00007f7508aba99b in QCoreApplication::exec() () from /lib64/libQt5Core.so.5
#34 0x0000556ab012e9c4 in main ()
[Inferior 1 (process 9870) detached]

Reported using DrKonqi
Comment 1 Christoph Cullmann 2024-09-21 15:43:04 UTC
Please re-try that with a recent Qt 6 based release, a lot such things got fixed there.

We did remove the cache that did trigger this crash in frameworks.