Bug 454057 - Crash in ScreenPool::handleScreenRemoved
Summary: Crash in ScreenPool::handleScreenRemoved
Status: RESOLVED DUPLICATE of bug 484687
Alias: None
Product: plasmashell
Classification: Plasma
Component: generic-multiscreen (show other bugs)
Version: 5.25.5
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2022-05-19 21:31 UTC by Ryan
Modified: 2024-09-25 21:01 UTC (History)
8 users (show)

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


Attachments
New crash information added by DrKonqi (5.17 KB, text/plain)
2022-08-03 15:52 UTC, Wolf Mercer
Details
New crash information added by DrKonqi (3.88 KB, text/plain)
2022-11-07 11:18 UTC, kde
Details
New crash information added by DrKonqi (5.15 KB, text/plain)
2022-11-08 18:28 UTC, kde
Details
New crash information added by DrKonqi (5.77 KB, text/plain)
2023-01-04 18:25 UTC, Tom
Details
attachment-518575-0.html (1.46 KB, text/html)
2023-04-26 09:54 UTC, Tom
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ryan 2022-05-19 21:31:54 UTC
Application: plasmashell (5.24.5)
 (Compiled from sources)
Qt Version: 5.15.3
Frameworks Version: 5.93.0
Operating System: Linux 5.13.0-41-generic x86_64
Windowing System: X11
Distribution: Feren OS
DrKonqi: 5.24.5 [KCrashBackend]

-- Information about the crash:
every time i login/turn on computer and get inside Feren OS

The crash can be reproduced every time.

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

[New LWP 2677]
[New LWP 2681]
[New LWP 2682]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
0x00007f6eddb3a99f in poll () from /lib/x86_64-linux-gnu/libc.so.6
__preamble__
[Current thread is 1 (Thread 0x7f6ed9c7c9c0 (LWP 2647))]

Thread 4 (Thread 0x7f6ed1052700 (LWP 2682)):
#0  0x00007f6edd865376 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
#1  0x00007f6ed1c375eb in ?? () from /usr/lib/x86_64-linux-gnu/dri/r600_dri.so
#2  0x00007f6ed1c371eb in ?? () from /usr/lib/x86_64-linux-gnu/dri/r600_dri.so
#3  0x00007f6edd85e609 in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#4  0x00007f6eddb47133 in clone () from /lib/x86_64-linux-gnu/libc.so.6

Thread 3 (Thread 0x7f6ed19a8700 (LWP 2681)):
#0  0x00007f6edd865376 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
#1  0x00007f6ed1c375eb in ?? () from /usr/lib/x86_64-linux-gnu/dri/r600_dri.so
#2  0x00007f6ed1c371eb in ?? () from /usr/lib/x86_64-linux-gnu/dri/r600_dri.so
#3  0x00007f6edd85e609 in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#4  0x00007f6eddb47133 in clone () from /lib/x86_64-linux-gnu/libc.so.6

Thread 2 (Thread 0x7f6ed3fff700 (LWP 2677)):
#0  0x00007f6edc41d4dd in g_mutex_lock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f6edc3cf8fa in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f6edc3d029b in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f6edc3d04a3 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f6ede10b65b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f6ede0af87b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f6eddec9442 in QThread::exec() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007f6edea45f4b in ?? () from /lib/x86_64-linux-gnu/libQt5DBus.so.5
#8  0x00007f6eddeca623 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#9  0x00007f6edd85e609 in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#10 0x00007f6eddb47133 in clone () from /lib/x86_64-linux-gnu/libc.so.6

Thread 1 (Thread 0x7f6ed9c7c9c0 (LWP 2647)):
[KCrash Handler]
#4  0x00007f6edda6b00b in raise () from /lib/x86_64-linux-gnu/libc.so.6
#5  0x00007f6edda4a859 in abort () from /lib/x86_64-linux-gnu/libc.so.6
#6  0x00007f6edde8ebd7 in QMessageLogger::fatal(char const*, ...) const () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007f6edde8dfe3 in qt_assert(char const*, char const*, int) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x000055c720272ed3 in ScreenPool::handleScreenRemoved (this=0x55c721653870, screen=0x55c721448d30) at /tmp/git-sources/plasma-workspace/shell/screenpool.cpp:438
#9  0x000055c7202790a3 in QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QScreen*>, void, void (ScreenPool::*)(QScreen*)>::call (f=(void (ScreenPool::*)(ScreenPool * const, QScreen *)) 0x55c720272b1c <ScreenPool::handleScreenRemoved(QScreen*)>, o=0x55c721653870, arg=0x7ffd1db60610) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:152
#10 0x000055c720278b7d in QtPrivate::FunctionPointer<void (ScreenPool::*)(QScreen*)>::call<QtPrivate::List<QScreen*>, void> (f=(void (ScreenPool::*)(ScreenPool * const, QScreen *)) 0x55c720272b1c <ScreenPool::handleScreenRemoved(QScreen*)>, o=0x55c721653870, arg=0x7ffd1db60610) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:185
#11 0x000055c720277e1d in QtPrivate::QSlotObject<void (ScreenPool::*)(QScreen*), QtPrivate::List<QScreen*>, void>::impl (which=1, this_=0x55c7214f2f00, r=0x55c721653870, a=0x7ffd1db60610, ret=0x0) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:418
#12 0x00007f6ede0e7dfe in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#13 0x00007f6ede488d66 in QGuiApplication::screenRemoved(QScreen*) () from /lib/x86_64-linux-gnu/libQt5Gui.so.5
#14 0x00007f6ede4bf1dc in QScreen::~QScreen() () from /lib/x86_64-linux-gnu/libQt5Gui.so.5
#15 0x00007f6ede4bf32d in QScreen::~QScreen() () from /lib/x86_64-linux-gnu/libQt5Gui.so.5
#16 0x00007f6ede46ebeb in QWindowSystemInterface::handleScreenRemoved(QPlatformScreen*) () from /lib/x86_64-linux-gnu/libQt5Gui.so.5
#17 0x00007f6ed951d46e in QXcbConnection::destroyScreen(QXcbScreen*) () from /lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#18 0x00007f6ed951dc68 in QXcbConnection::updateScreens(xcb_randr_notify_event_t const*) () from /lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#19 0x00007f6ed94f1430 in QXcbConnection::handleXcbEvent(xcb_generic_event_t*) () from /lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#20 0x00007f6ed94f1816 in QXcbConnection::processXcbEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#21 0x00007f6ed951b1c7 in ?? () from /lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#22 0x00007f6edc3d017d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#23 0x00007f6edc3d0400 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#24 0x00007f6edc3d04a3 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#25 0x00007f6ede10b642 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#26 0x00007f6ede0af87b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#27 0x00007f6ede0b7a24 in QCoreApplication::exec() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#28 0x000055c72021aba9 in main (argc=1, argv=0x7ffd1db60d28) at /tmp/git-sources/plasma-workspace/shell/main.cpp:238
[Inferior 1 (process 2647) detached]

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

Possible duplicates by query: bug 453639, bug 453125, bug 451976, bug 451472, bug 451371.

Reported using DrKonqi
Comment 1 Nate Graham 2022-05-23 18:06:12 UTC
There were was a lot of multi-monitor code changes related to ScreenPool in Plasma 5.25 Would you be able to see if this still happens in the Plasma 5.25 beta or the final 5.25 release in a month? Thanks!

Also, do you have more than one screen connected on login? Or just one?
Comment 2 Bug Janitor Service 2022-06-07 04:35:47 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 3 Bug Janitor Service 2022-06-22 04:35:40 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!
Comment 4 Wolf Mercer 2022-08-03 15:52:33 UTC
Created attachment 151092 [details]
New crash information added by DrKonqi

plasmashell (5.25.3) using Qt 5.15.5

crashed just after loged in. Don't know wh,y this was a clean install on a new SSD.

-- Backtrace (Reduced):
#6  0x00007efdfbe87bd9 in QMessageLogger::fatal(char const*, ...) const () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007efdfbe86fe5 in qt_assert(char const*, char const*, int) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x0000556814d53b15 in ScreenPool::handleScreenRemoved (this=0x5568153a2db0, screen=0x556815306aa0) at /tmp/git-sources/plasma-workspace/shell/screenpool.cpp:442
#9  0x0000556814d59ce5 in QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QScreen*>, void, void (ScreenPool::*)(QScreen*)>::call (f=(void (ScreenPool::*)(ScreenPool * const, QScreen *)) 0x556814d5375e <ScreenPool::handleScreenRemoved(QScreen*)>, o=0x5568153a2db0, arg=0x7ffe3b62d6a0) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:152
#10 0x0000556814d597bf in QtPrivate::FunctionPointer<void (ScreenPool::*)(QScreen*)>::call<QtPrivate::List<QScreen*>, void> (f=(void (ScreenPool::*)(ScreenPool * const, QScreen *)) 0x556814d5375e <ScreenPool::handleScreenRemoved(QScreen*)>, o=0x5568153a2db0, arg=0x7ffe3b62d6a0) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:185
Comment 5 kde 2022-11-07 11:18:24 UTC
Created attachment 153549 [details]
New crash information added by DrKonqi

plasmashell (5.25.5) using Qt 5.15.6

The crash occurred right after I logged in. It occurs not always, but it did already occur in the past. I am not aware of doing anything special.

-- Backtrace (Reduced):
#6  0x00007fd2769ffbd9 in QMessageLogger::fatal(char const*, ...) const () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007fd2769fefe5 in qt_assert(char const*, char const*, int) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x000055981fe95c55 in ScreenPool::handleScreenRemoved (this=0x559821f7fbe0, screen=0x559821ee0710) at /tmp/git-sources/plasma-workspace/shell/screenpool.cpp:445
#9  0x000055981fe9be25 in QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QScreen*>, void, void (ScreenPool::*)(QScreen*)>::call (f=(void (ScreenPool::*)(ScreenPool * const, QScreen *)) 0x55981fe9589e <ScreenPool::handleScreenRemoved(QScreen*)>, o=0x559821f7fbe0, arg=0x7ffe71d69520) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:152
#10 0x000055981fe9b8ff in QtPrivate::FunctionPointer<void (ScreenPool::*)(QScreen*)>::call<QtPrivate::List<QScreen*>, void> (f=(void (ScreenPool::*)(ScreenPool * const, QScreen *)) 0x55981fe9589e <ScreenPool::handleScreenRemoved(QScreen*)>, o=0x559821f7fbe0, arg=0x7ffe71d69520) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:185
Comment 6 kde 2022-11-08 18:28:02 UTC
Created attachment 153597 [details]
New crash information added by DrKonqi

plasmashell (5.25.5) using Qt 5.15.6

Crash happened directory after login. Until now, Plasma did not reload automatically again. This is a fresh install, running stable for several hours, including reboots.

-- Backtrace (Reduced):
#6  0x00007f19bfa22bd9 in QMessageLogger::fatal(char const*, ...) const () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007f19bfa21fe5 in qt_assert(char const*, char const*, int) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00005566981eac55 in ScreenPool::handleScreenRemoved (this=0x556698cc33d0, screen=0x556698c21550) at /tmp/git-sources/plasma-workspace/shell/screenpool.cpp:445
#9  0x00005566981f0e25 in QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QScreen*>, void, void (ScreenPool::*)(QScreen*)>::call (f=(void (ScreenPool::*)(ScreenPool * const, QScreen *)) 0x5566981ea89e <ScreenPool::handleScreenRemoved(QScreen*)>, o=0x556698cc33d0, arg=0x7ffd1a648df0) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:152
#10 0x00005566981f08ff in QtPrivate::FunctionPointer<void (ScreenPool::*)(QScreen*)>::call<QtPrivate::List<QScreen*>, void> (f=(void (ScreenPool::*)(ScreenPool * const, QScreen *)) 0x5566981ea89e <ScreenPool::handleScreenRemoved(QScreen*)>, o=0x556698cc33d0, arg=0x7ffd1a648df0) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:185
Comment 7 Nate Graham 2022-11-09 20:02:49 UTC
*** Bug 461605 has been marked as a duplicate of this bug. ***
Comment 8 Nicolas Fella 2022-12-30 01:00:52 UTC
*** Bug 463396 has been marked as a duplicate of this bug. ***
Comment 9 Tom 2023-01-04 18:25:21 UTC
Created attachment 155029 [details]
New crash information added by DrKonqi

plasmashell (5.25.5) using Qt 5.15.6

It happens when I log in, almost every time. 9 out of 10 or so. I have the laptop on a dock, from where the external display is connected via DVI/HDMI.

Also, if the laptop has been sleeping in dock, then the display cannot be woken up. None of this happens when NOT in dock or not connected to a monitor.

-- Backtrace (Reduced):
#6  0x00007fb208ba5bd9 in QMessageLogger::fatal(char const*, ...) const () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007fb208ba4fe5 in qt_assert(char const*, char const*, int) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00005626d9413c55 in ScreenPool::handleScreenRemoved (this=0x5626da754770, screen=0x5626da6b5020) at /tmp/git-sources/plasma-workspace/shell/screenpool.cpp:445
#9  0x00005626d9419e25 in QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QScreen*>, void, void (ScreenPool::*)(QScreen*)>::call (f=(void (ScreenPool::*)(ScreenPool * const, QScreen *)) 0x5626d941389e <ScreenPool::handleScreenRemoved(QScreen*)>, o=0x5626da754770, arg=0x7ffc953c6990) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:152
#10 0x00005626d94198ff in QtPrivate::FunctionPointer<void (ScreenPool::*)(QScreen*)>::call<QtPrivate::List<QScreen*>, void> (f=(void (ScreenPool::*)(ScreenPool * const, QScreen *)) 0x5626d941389e <ScreenPool::handleScreenRemoved(QScreen*)>, o=0x5626da754770, arg=0x7ffc953c6990) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:185
Comment 10 Nate Graham 2023-04-21 15:37:30 UTC
An enormous amount of multimonitor fixes went into Plasma 5.27; any chance you could check to see if *this specific crash* is still an issue in Plasma 5.27.4 or newer? Thanks!
Comment 11 Tom 2023-04-26 09:54:40 UTC
Created attachment 158442 [details]
attachment-518575-0.html

Thankyou for your reply. I will look and see if it helped. Thanks.

Regards Tom

fre. 21. apr. 2023 17.37 skrev Nate Graham <bugzilla_noreply@kde.org>:

> https://bugs.kde.org/show_bug.cgi?id=454057
>
> Nate Graham <nate@kde.org> changed:
>
>            What    |Removed                     |Added
>
> ----------------------------------------------------------------------------
>              Status|REPORTED                    |NEEDSINFO
>          Resolution|---                         |WAITINGFORINFO
>
> --- Comment #10 from Nate Graham <nate@kde.org> ---
> An enormous amount of multimonitor fixes went into Plasma 5.27; any chance
> you
> could check to see if *this specific crash* is still an issue in Plasma
> 5.27.4
> or newer? Thanks!
>
> --
> You are receiving this mail because:
> You are on the CC list for the bug.
Comment 12 Bug Janitor Service 2023-05-11 03:45:53 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 13 Bug Janitor Service 2023-05-26 03:45:41 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!
Comment 14 Nate Graham 2024-09-25 21:01:26 UTC

*** This bug has been marked as a duplicate of bug 484687 ***