Bug 465921 - Plasma crashes when using multi monitor
Summary: Plasma crashes when using multi monitor
Status: RESOLVED DUPLICATE of bug 456947
Alias: None
Product: plasmashell
Classification: Plasma
Component: general (show other bugs)
Version: 5.25.5
Platform: Other Linux
: NOR crash
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2023-02-17 13:13 UTC by Daniel
Modified: 2023-03-11 06:37 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (1.87 KB, text/plain)
2023-03-11 06:37 UTC, jfgorski
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel 2023-02-17 13:13:55 UTC
Application: plasmashell (5.25.5)

Qt Version: 5.15.6
Frameworks Version: 5.98.0
Operating System: Linux 5.4.0-137-generic x86_64
Windowing System: X11
Distribution: Feren OS
DrKonqi: 5.25.5 [KCrashBackend]

-- Information about the crash:
If you disconnect and reconnect a second screen the interface may crash

The crash can be reproduced every time.

-- Backtrace:
Application: Plasma (plasmashell), signal: Aborted

[New LWP 2122]
[New LWP 2337]
[New LWP 2397]
[New LWP 2447]
[New LWP 3585]
[New LWP 3591]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
0x00007f5bf4dae99f in __GI___poll (fds=0x7fffae68a7f8, nfds=1, timeout=1000) at ../sysdeps/unix/sysv/linux/poll.c:29
__preamble__
[Current thread is 1 (Thread 0x7f5bf0ecd2c0 (LWP 2115))]

Thread 7 (Thread 0x7f5bcbfff700 (LWP 3591)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x7f5be0009810) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x7f5be00097c0, cond=0x7f5be00097e8) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x7f5be00097e8, mutex=0x7f5be00097c0) at pthread_cond_wait.c:647
#3  0x00007f5bf51445eb in QWaitCondition::wait(QMutex*, QDeadlineTimer) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007f5bf6de1394 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#5  0x00007f5bf6de1809 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#6  0x00007f5bf513e543 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007f5bf496f609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#8  0x00007f5bf4dbb133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 6 (Thread 0x7f5bdd910700 (LWP 3585)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x55e3aee73790) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55e3aee73740, cond=0x55e3aee73768) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x55e3aee73768, mutex=0x55e3aee73740) at pthread_cond_wait.c:647
#3  0x00007f5bde4385eb in ?? () from /usr/lib/x86_64-linux-gnu/dri/iris_dri.so
#4  0x00007f5bde4381eb in ?? () from /usr/lib/x86_64-linux-gnu/dri/iris_dri.so
#5  0x00007f5bf496f609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007f5bf4dbb133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 5 (Thread 0x7f5bde131700 (LWP 2447)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x55e3ae5e7348) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55e3ae5e72f8, cond=0x55e3ae5e7320) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x55e3ae5e7320, mutex=0x55e3ae5e72f8) at pthread_cond_wait.c:647
#3  0x00007f5bde4385eb in ?? () from /usr/lib/x86_64-linux-gnu/dri/iris_dri.so
#4  0x00007f5bde4381eb in ?? () from /usr/lib/x86_64-linux-gnu/dri/iris_dri.so
#5  0x00007f5bf496f609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007f5bf4dbb133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 0x7f5becd72700 (LWP 2397)):
#0  0x00007f5bf4dae99f in __GI___poll (fds=0x7f5bd8004e60, nfds=1, timeout=8699) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f5bf34c236e in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f5bf34c24a3 in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f5bf537fb6b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007f5bf5323b0b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f5bf513d342 in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f5bf513e543 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007f5bf496f609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#8  0x00007f5bf4dbb133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7f5bee124700 (LWP 2337)):
#0  __GI___libc_read (nbytes=16, buf=0x7f5bee1239b0, fd=12) at ../sysdeps/unix/sysv/linux/read.c:26
#1  __GI___libc_read (fd=12, buf=0x7f5bee1239b0, nbytes=16) at ../sysdeps/unix/sysv/linux/read.c:24
#2  0x00007f5bf350ab2f in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f5bf34c1ebe in g_main_context_check () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f5bf34c2312 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f5bf34c24a3 in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007f5bf537fb6b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007f5bf5323b0b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007f5bf513d342 in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#9  0x00007f5bf697d919 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#10 0x00007f5bf513e543 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#11 0x00007f5bf496f609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#12 0x00007f5bf4dbb133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7f5bf00e3700 (LWP 2122)):
#0  0x00007f5bf4dae99f in __GI___poll (fds=0x7f5be8019b60, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f5bf34c236e in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f5bf34c24a3 in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f5bf537fb6b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007f5bf5323b0b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f5bf513d342 in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f5bf5cbef4b in ?? () from /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5
#7  0x00007f5bf513e543 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007f5bf496f609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#9  0x00007f5bf4dbb133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7f5bf0ecd2c0 (LWP 2115)):
[KCrash Handler]
#4  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
#5  0x00007f5bf4cbe859 in __GI_abort () at abort.c:79
#6  0x00007f5bf5102bd9 in QMessageLogger::fatal(char const*, ...) const () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007f5bf5101fe5 in qt_assert(char const*, char const*, int) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x000055e3ac6ae970 in ShellCorona::screenInvariants (this=0x7f5be0004200) at /tmp/git-sources/plasma-workspace/shell/shellcorona.cpp:802
#9  0x000055e3ac6d0500 in QtPrivate::FunctorCall<QtPrivate::IndexesList<>, QtPrivate::List<>, void, void (ShellCorona::*)() const>::call(void (ShellCorona::*)() const, ShellCorona*, void**) (f=(void (ShellCorona::*)(const class ShellCorona * const)) 0x55e3ac6ae904 <ShellCorona::screenInvariants() const>, o=0x7f5be0004200, arg=0x7fffae68bb30) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:158
#10 0x000055e3ac6ce8ae in QtPrivate::FunctionPointer<void (ShellCorona::*)() const>::call<QtPrivate::List<>, void>(void (ShellCorona::*)() const, ShellCorona*, void**) (f=(void (ShellCorona::*)(const class ShellCorona * const)) 0x55e3ac6ae904 <ShellCorona::screenInvariants() const>, o=0x7f5be0004200, arg=0x7fffae68bb30) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:197
#11 0x000055e3ac6cb101 in QtPrivate::QSlotObject<void (ShellCorona::*)() const, QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) (which=1, this_=0x55e3ae0c2820, r=0x7f5be0004200, a=0x7fffae68bb30, ret=0x0) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:418
#12 0x00007f5bf535c2c2 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#13 0x00007f5bf5360e5e in QTimer::timeout(QTimer::QPrivateSignal) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#14 0x00007f5bf5352bf5 in QObject::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#15 0x00007f5bf6059e43 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#16 0x00007f5bf6062c58 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#17 0x00007f5bf532500a in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#18 0x00007f5bf537eea0 in QTimerInfoList::activateTimers() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#19 0x00007f5bf537f78c in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#20 0x00007f5bf34c217d in g_main_context_dispatch () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#21 0x00007f5bf34c2400 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#22 0x00007f5bf34c24a3 in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#23 0x00007f5bf537fb52 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#24 0x00007f5bf5323b0b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#25 0x00007f5bf532bcb4 in QCoreApplication::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#26 0x000055e3ac67fcd2 in main (argc=1, argv=0x7fffae68c328) at /tmp/git-sources/plasma-workspace/shell/main.cpp:243
[Inferior 1 (process 2115) detached]

Reported using DrKonqi
Comment 1 Nate Graham 2023-02-17 23:07:20 UTC

*** This bug has been marked as a duplicate of bug 456947 ***
Comment 2 jfgorski 2023-03-11 06:37:48 UTC
Created attachment 157183 [details]
New crash information added by DrKonqi

plasmashell (5.27.2) using Qt 5.15.8

Disconnected monitor connected via usb-c to my Dell Precision 5540 laptop, then this crash happened.

-- Backtrace (Reduced):
#6  0x00007fb58e6c0fcf in QTimer::timeout(QTimer::QPrivateSignal) () at /usr/lib/libQt5Core.so.5
#7  0x00007fb58e6b1b56 in QObject::event(QEvent*) () at /usr/lib/libQt5Core.so.5
#8  0x00007fb58f378b5c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#9  0x00007fb58e68df48 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5
#10 0x00007fb58e6d84b3 in QTimerInfoList::activateTimers() () at /usr/lib/libQt5Core.so.5