Bug 457780 - Konsole crashes on launch.
Summary: Konsole crashes on launch.
Status: RESOLVED FIXED
Alias: None
Product: konsole
Classification: Applications
Component: general (show other bugs)
Version: 22.04.3
Platform: Neon Linux
: NOR crash
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2022-08-11 21:35 UTC by Mark N Carpenter Jr
Modified: 2023-02-03 15:27 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mark N Carpenter Jr 2022-08-11 21:35:00 UTC
Application: konsole (22.04.3)

Qt Version: 5.15.5
Frameworks Version: 5.96.0
Operating System: Linux 5.15.0-46-generic x86_64
Windowing System: X11
Distribution: KDE neon User - 5.25
DrKonqi: 5.25.4 [KCrashBackend]

-- Information about the crash:
Whern attempting to launch Konsole from any location, it crashes, this behavior persists across reboots, shutdowns and login/logout cycles. I noticed this started happening after an update, couldn't tell you the version jump.

The crash can be reproduced every time.

-- Backtrace:
Application: Konsole (konsole), signal: Segmentation fault

[New LWP 1389]
[New LWP 1390]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
0x00007f89c76ff99f in __GI___poll (fds=0x7fff332da9b8, nfds=1, timeout=1000) at ../sysdeps/unix/sysv/linux/poll.c:29
__preamble__
[Current thread is 1 (Thread 0x7f89c212f9c0 (LWP 1388))]

Thread 3 (Thread 0x7f89c0954700 (LWP 1390)):
#0  0x00007f89c76ff99f in __GI___poll (fds=0x7f89b4004e60, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f89c5c9b36e in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f89c5c9b4a3 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f89c7cd25bb in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007f89c7c7676b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f89c7a90372 in QThread::exec() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f89c6b27f4b in ?? () from /lib/x86_64-linux-gnu/libQt5DBus.so.5
#7  0x00007f89c7a91553 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007f89c663b609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#9  0x00007f89c770c133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7f89c15be700 (LWP 1389)):
#0  0x00007f89c76ff99f in __GI___poll (fds=0x7f89c15bdae8, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f89c588cc1a in ?? () from /lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007f89c588e90a in xcb_wait_for_event () from /lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007f89c1d0d3c8 in ?? () from /lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#4  0x00007f89c7a91553 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f89c663b609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007f89c770c133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7f89c212f9c0 (LWP 1388)):
[KCrash Handler]
#4  0x00007f89c8862104 in QWidget::hide() () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#5  0x00007f89c89d00ad in ?? () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#6  0x00007f89c89d44f0 in QMenuBar::changeEvent(QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#7  0x00007f89c8879d14 in QWidget::event(QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#8  0x00007f89c89d461b in QMenuBar::event(QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#9  0x00007f89c8836e83 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#10 0x00007f89c883fc98 in QApplication::notify(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#11 0x00007f89c7c77c6a in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#12 0x00007f89c886a655 in QWidgetPrivate::updateFont(QFont const&) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#13 0x00007f89c887a7cb in QWidget::event(QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#14 0x00007f89c89d461b in QMenuBar::event(QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#15 0x00007f89c8836e83 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#16 0x00007f89c883fc98 in QApplication::notify(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#17 0x00007f89c7c77c6a in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#18 0x00007f89c8894bf6 in ?? () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#19 0x00007f89c8894c2a in ?? () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#20 0x00007f89c8894c91 in ?? () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#21 0x00007f89c7caed50 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#22 0x00007f89c813aea3 in QWindow::screenChanged(QScreen*) () from /lib/x86_64-linux-gnu/libQt5Gui.so.5
#23 0x00007f89c813b727 in QWindowPrivate::emitScreenChangedRecursion(QScreen*) () from /lib/x86_64-linux-gnu/libQt5Gui.so.5
#24 0x00007f89c8142826 in QWindowPrivate::setTopLevelScreen(QScreen*, bool) () from /lib/x86_64-linux-gnu/libQt5Gui.so.5
#25 0x00007f89c886bd26 in QWidgetPrivate::create() () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#26 0x00007f89c886c05e in QWidget::create(unsigned long long, bool, bool) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#27 0x00007f89c89d22ad in ?? () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#28 0x00007f89c89d2429 in ?? () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#29 0x00007f89c8994332 in QMainWindow::menuBar() const () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#30 0x00007f89c91683b7 in Konsole::MainWindow::setupActions() () from /lib/x86_64-linux-gnu/libkonsoleapp.so.1
#31 0x00007f89c91694e3 in Konsole::MainWindow::MainWindow() () from /lib/x86_64-linux-gnu/libkonsoleapp.so.1
#32 0x00007f89c915e320 in Konsole::Application::newMainWindow() () from /lib/x86_64-linux-gnu/libkonsoleapp.so.1
#33 0x00007f89c915e600 in Konsole::Application::processWindowArgs(bool&) () from /lib/x86_64-linux-gnu/libkonsoleapp.so.1
#34 0x00007f89c91626d2 in Konsole::Application::newInstance() () from /lib/x86_64-linux-gnu/libkonsoleapp.so.1
#35 0x0000558faa99e3ac in ?? ()
#36 0x00007f89c7611083 in __libc_start_main (main=0x558faa99dc80, argc=1, argv=0x7fff332dc6d8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff332dc6c8) at ../csu/libc-start.c:308
#37 0x0000558faa99e76e in ?? ()
[Inferior 1 (process 1388) detached]

The reporter indicates this bug may be a duplicate of or related to bug 455621.

Reported using DrKonqi
Comment 1 Mark N Carpenter Jr 2022-08-17 20:00:09 UTC
This is happening in a Hyper-V VM where RDP is connected by V-Sock and there are 3 screens.

If the number of screens is reduced to 1, everything functions as expected.
Comment 2 Justin Zobel 2023-02-03 05:55:46 UTC
Thanks for the report Mark. If this is still happening, in order to debug this further the developers will need a crash report with all debug symbols. For information on how to obtain this please see https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
Comment 3 Mark N Carpenter Jr 2023-02-03 15:27:31 UTC
Thanks For pinging this, the issue has been resolved.