[konsole] [Bug 450591] New: QT applications crashed after plugging in external display

bugzilla_noreply at kde.org bugzilla_noreply at kde.org
Sat Feb 19 22:25:02 GMT 2022


https://bugs.kde.org/show_bug.cgi?id=450591

            Bug ID: 450591
           Summary: QT applications crashed after plugging in external
                    display
           Product: konsole
           Version: 21.12.2
          Platform: Neon Packages
                OS: Linux
            Status: REPORTED
          Keywords: drkonqi
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: konsole-devel at kde.org
          Reporter: kavimehta18 at protonmail.com
  Target Milestone: ---

Application: konsole (21.12.2)

Qt Version: 5.15.3
Frameworks Version: 5.91.0
Operating System: Linux 5.13.0-30-generic x86_64
Windowing System: X11
Distribution: KDE neon User - 5.24
DrKonqi: 5.24.1 [KCrashBackend]

-- Information about the crash:
- What I was doing when the application crashed:
I plugged in my external display.
I tried to open Konsole, System Settings, and Nautilus. Each one at a time.
None of them would open giving a "Closed Unexpectedly" error

The crash can be reproduced every time.

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

[New LWP 5188]
[New LWP 5189]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
0x00007f08ec94aaff in __GI___poll (fds=0x7ffdd9816af8, nfds=1, timeout=1000) at
../sysdeps/unix/sysv/linux/poll.c:29
__preamble__
[Current thread is 1 (Thread 0x7f08e74789c0 (LWP 5187))]

Thread 3 (Thread 0x7f08e4dbd700 (LWP 5189)):
#0  0x00007f08eaf554dd in g_mutex_lock () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f08eaf078fa in g_main_context_prepare () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f08eaf0829b in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f08eaf084a3 in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f08ecf1aa0b in QEventDispatcherGlib::processEvents
(this=0x7f08d8000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#5  0x00007f08ecebec9b in QEventLoop::exec (this=this at entry=0x7f08e4dbcbb0,
flags=..., flags at entry=...) at
../../include/QtCore/../../src/corelib/global/qflags.h:141
#6  0x00007f08eccd8362 in QThread::exec (this=<optimized out>) at
../../include/QtCore/../../src/corelib/global/qflags.h:121
#7  0x00007f08ebdb1f4b in ?? () from /lib/x86_64-linux-gnu/libQt5DBus.so.5
#8  0x00007f08eccd9543 in QThreadPrivate::start (arg=0x7f08ebe35d80) at
thread/qthread_unix.cpp:331
#9  0x00007f08eb8c8609 in start_thread (arg=<optimized out>) at
pthread_create.c:477
#10 0x00007f08ec957293 in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7f08e690c700 (LWP 5188)):
#0  0x00007f08ec94aaff in __GI___poll (fds=0x7f08e690bae8, nfds=1, timeout=-1)
at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f08eaafbc1a in ?? () from /lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007f08eaafd90a in xcb_wait_for_event () from
/lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007f08e7042fd8 in QXcbEventQueue::run (this=0x55933b4498a0) at
qxcbeventqueue.cpp:228
#4  0x00007f08eccd9543 in QThreadPrivate::start (arg=0x55933b4498a0) at
thread/qthread_unix.cpp:331
#5  0x00007f08eb8c8609 in start_thread (arg=<optimized out>) at
pthread_create.c:477
#6  0x00007f08ec957293 in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7f08e74789c0 (LWP 5187)):
[KCrash Handler]
#4  QWidget::hide (this=0x69007200650064) at kernel/qwidget.cpp:7917
#5  0x00007f08edbf94cd in QMenuBarPrivate::updateGeometries
(this=0x55933b6e7000) at widgets/qmenubar.cpp:256
#6  0x00007f08edbfd900 in QMenuBar::changeEvent (this=0x55933b59a060,
e=0x7ffdd9818290) at widgets/qmenubar.cpp:1446
#7  0x00007f08edaa5c14 in QWidget::event (this=this at entry=0x55933b59a060,
event=event at entry=0x7ffdd9818290) at kernel/qwidget.cpp:8962
#8  0x00007f08edbfda2b in QMenuBar::event (this=0x55933b59a060,
e=0x7ffdd9818290) at widgets/qmenubar.cpp:1512
#9  0x00007f08eda62dc3 in QApplicationPrivate::notify_helper (this=<optimized
out>, receiver=0x55933b59a060, e=0x7ffdd9818290) at
kernel/qapplication.cpp:3632
#10 0x00007f08eda6bbb8 in QApplication::notify(QObject*, QEvent*) () at
kernel/qapplication.cpp:3156
#11 0x00007f08ecec019a in QCoreApplication::notifyInternal2
(receiver=0x55933b59a060, event=0x7ffdd9818290) at
../../include/QtCore/5.15.3/QtCore/private/../../../../../src/corelib/thread/qthread_p.h:332
#12 0x00007f08eda96555 in QWidgetPrivate::updateFont
(this=this at entry=0x55933b6e7000, font=...) at kernel/qwidget.cpp:4654
#13 0x00007f08eda96698 in QWidgetPrivate::setFont_helper (font=...,
this=0x55933b6e7000) at
../../include/QtWidgets/5.15.3/QtWidgets/private/../../../../../src/widgets/kernel/qwidget_p.h:317
#14 QWidgetPrivate::resolveFont (this=0x55933b6e7000) at
kernel/qwidget.cpp:4587
#15 0x00007f08eda964f0 in QWidgetPrivate::updateFont
(this=this at entry=0x55933b4272d0, font=...) at kernel/qwidget.cpp:4642
#16 0x00007f08edaa66cb in QWidget::event (this=this at entry=0x55933b7970a0,
event=event at entry=0x7ffdd98187e0) at kernel/qwidget.cpp:9056
#17 0x00007f08edbbede8 in QMainWindow::event (this=this at entry=0x55933b7970a0,
event=event at entry=0x7ffdd98187e0) at widgets/qmainwindow.cpp:1341
#18 0x00007f08ee11c2b3 in KMainWindow::event (this=this at entry=0x55933b7970a0,
ev=ev at entry=0x7ffdd98187e0) at ./src/kmainwindow.cpp:941
#19 0x00007f08ee16c63b in KXmlGuiWindow::event (this=0x55933b7970a0,
ev=0x7ffdd98187e0) at ./src/kxmlguiwindow.cpp:219
#20 0x00007f08eda62dc3 in QApplicationPrivate::notify_helper (this=<optimized
out>, receiver=0x55933b7970a0, e=0x7ffdd98187e0) at
kernel/qapplication.cpp:3632
#21 0x00007f08eda6bbb8 in QApplication::notify(QObject*, QEvent*) () at
kernel/qapplication.cpp:3156
#22 0x00007f08ecec019a in QCoreApplication::notifyInternal2
(receiver=0x55933b7970a0, event=0x7ffdd98187e0) at
../../include/QtCore/5.15.3/QtCore/private/../../../../../src/corelib/thread/qthread_p.h:332
#23 0x00007f08edac0ae6 in sendScreenChangeRecursively (widget=0x55933b7970a0)
at kernel/qwidgetwindow.cpp:752
#24 0x00007f08edac0b81 in QWidgetWindow::handleScreenChange
(this=0x55933b7c2100) at /usr/include/c++/9/bits/atomic_base.h:413
#25 0x00007f08ecef71f0 in doActivate<false> (sender=0x55933b7c2100,
signal_index=3, argv=0x7ffdd9818920) at
../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:395
#26 0x00007f08ecef0587 in QMetaObject::activate
(sender=sender at entry=0x55933b7c2100, m=m at entry=0x7f08ed8d96a0
<QWindow::staticMetaObject>, local_signal_index=local_signal_index at entry=0,
argv=argv at entry=0x7ffdd9818920) at kernel/qobject.cpp:3946
#27 0x00007f08ed36ec43 in QWindow::screenChanged
(this=this at entry=0x55933b7c2100, _t1=<optimized out>, _t1 at entry=0x55933b552460)
at .moc/moc_qwindow.cpp:729
#28 0x00007f08ed36f4c7 in QWindowPrivate::emitScreenChangedRecursion
(this=this at entry=0x55933b553a50, newScreen=newScreen at entry=0x55933b552460) at
kernel/qwindow.cpp:484
#29 0x00007f08ed3765e6 in QWindowPrivate::setTopLevelScreen
(this=0x55933b553a50, newScreen=0x55933b552460, recreate=<optimized out>) at
kernel/qwindow.cpp:508
#30 0x00007f08eda97c26 in QWidgetPrivate::create
(this=this at entry=0x55933b4272d0) at
../../include/QtCore/../../src/corelib/tools/qlist.h:117
#31 0x00007f08eda97f5e in QWidget::create (this=0x55933b7970a0,
window=<optimized out>, initializeWindow=<optimized out>,
destroyOldWindow=<optimized out>) at kernel/qwidget.cpp:1179
#32 0x00007f08edbfb6bd in QMenuBarPrivate::handleReparent
(this=this at entry=0x55933b6e7000) at widgets/qmenubar.cpp:1421
#33 0x00007f08edbfb839 in QMenuBarPrivate::init (this=0x55933b6e7000) at
widgets/qmenubar.cpp:705
#34 0x00007f08edbbd852 in QMainWindow::menuBar (this=0x55933b7970a0) at
widgets/qmainwindow.cpp:508
#35 0x00007f08ee376337 in Konsole::MainWindow::setupActions
(this=this at entry=0x55933b7970a0) at ./src/MainWindow.cpp:339
#36 0x00007f08ee37743e in Konsole::MainWindow::MainWindow (this=0x55933b7970a0,
__in_chrg=<optimized out>, __vtt_parm=<optimized out>) at
./src/MainWindow.cpp:80
#37 0x00007f08ee36c3c0 in Konsole::Application::newMainWindow
(this=this at entry=0x7ffdd9818f40) at ./src/Application.cpp:119
#38 0x00007f08ee36c6a0 in Konsole::Application::processWindowArgs
(createdNewMainWindow=@0x7ffdd9818dd7: true, this=0x7ffdd9818f40) at
./src/Application.cpp:380
#39 Konsole::Application::processWindowArgs (this=0x7ffdd9818f40,
createdNewMainWindow=@0x7ffdd9818dd7: true) at ./src/Application.cpp:364
#40 0x00007f08ee3705c2 in Konsole::Application::newInstance
(this=0x7ffdd9818f40) at ./src/Application.cpp:168
#41 0x000055933a76138c in main (argc=<optimized out>, argv=<optimized out>) at
./src/main.cpp:226
[Inferior 1 (process 5187) detached]

Possible duplicates by query: bug 229281.

Reported using DrKonqi

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the konsole-devel mailing list