Bug 469952

Summary: Spectacle crashes after screens power on due to moving mouse.
Product: [Applications] Spectacle Reporter: Filip K <fkwilcz2>
Component: GeneralAssignee: Noah Davis <noahadvs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: arcadiy, kde, nate
Priority: NOR Keywords: drkonqi
Version: 23.04.0   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi

Description Filip K 2023-05-18 15:56:41 UTC
Application: spectacle (23.04.0)

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

-- Information about the crash:
I left computer for few minutes and screens turned black(thats normal). When i came back and moved mouse screens turned on and i saw notification about crash.

The reporter is unsure if this crash is reproducible.

-- Backtrace:
Application: Spectacle (spectacle), signal: Segmentation fault

[KCrash Handler]
#4  0x0000000000000380 in ?? ()
#5  0x00007fc8578e8651 in void doActivate<false>(QObject*, int, void**) () from /lib64/libQt5Core.so.5
#6  0x00007fc857d5f074 in QGuiApplication::screenRemoved(QScreen*) () from /lib64/libQt5Gui.so.5
#7  0x00007fc857d93dc0 in QScreen::~QScreen() () from /lib64/libQt5Gui.so.5
#8  0x00007fc857d93f35 in QScreen::~QScreen() () from /lib64/libQt5Gui.so.5
#9  0x00007fc857d4a0c3 in QWindowSystemInterface::handleScreenRemoved(QPlatformScreen*) () from /lib64/libQt5Gui.so.5
#10 0x00007fc8598c3854 in QtWaylandClient::QWaylandDisplay::registry_global_remove(unsigned int) () from /lib64/libQt5WaylandClient.so.5
#11 0x00007fc857b80be6 in ffi_call_unix64 () from /lib64/libffi.so.8
#12 0x00007fc857b7d4bf in ffi_call_int.lto_priv () from /lib64/libffi.so.8
#13 0x00007fc857b8018e in ffi_call () from /lib64/libffi.so.8
#14 0x00007fc859f4af0e in wl_closure_invoke.constprop () from /lib64/libwayland-client.so.0
#15 0x00007fc859f4b793 in dispatch_event.isra () from /lib64/libwayland-client.so.0
#16 0x00007fc859f4ba3c in wl_display_dispatch_queue_pending () from /lib64/libwayland-client.so.0
#17 0x00007fc8598beb4d in QtWaylandClient::QWaylandDisplay::flushRequests() () from /lib64/libQt5WaylandClient.so.5
#18 0x00007fc8578df73b in QObject::event(QEvent*) () from /lib64/libQt5Core.so.5
#19 0x00007fc8591aeb75 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#20 0x00007fc8578b3d48 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib64/libQt5Core.so.5
#21 0x00007fc8578b71f5 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /lib64/libQt5Core.so.5
#22 0x00007fc857906e2f in postEventSourceDispatch(_GSource*, int (*)(void*), void*) () from /lib64/libQt5Core.so.5
#23 0x00007fc85544339c in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#24 0x00007fc8554a1438 in g_main_context_iterate.isra () from /lib64/libglib-2.0.so.0
#25 0x00007fc855440a23 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#26 0x00007fc857906919 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#27 0x00007fc8578b270b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#28 0x00007fc8578ba99b in QCoreApplication::exec() () from /lib64/libQt5Core.so.5
#29 0x000056079cfec8bf in main ()
[Inferior 1 (process 15332) detached]

Reported using DrKonqi
Comment 1 Nate Graham 2023-05-19 19:43:43 UTC

*** This bug has been marked as a duplicate of bug 469527 ***
Comment 2 Arcadiy Ivanov 2023-07-01 23:45:43 UTC
Created attachment 160038 [details]
New crash information added by DrKonqi

spectacle (23.04.2) using Qt 5.15.10

Woke monitors up via moving the mouse. During screen resizing/stabilization the Spectacle crashed.

-- Backtrace (Reduced):
#5  0x00007f37f16e8461 in void doActivate<false>(QObject*, int, void**) () at /lib64/libQt5Core.so.5
#6  0x00007f37f1b5f894 in QGuiApplication::screenRemoved(QScreen*) () at /lib64/libQt5Gui.so.5
#7  0x00007f37f1b94f30 in QScreen::~QScreen() () at /lib64/libQt5Gui.so.5
#8  0x00007f37f1b950a5 in QScreen::~QScreen() () at /lib64/libQt5Gui.so.5
#9  0x00007f37f1b4a3b3 in QWindowSystemInterface::handleScreenRemoved(QPlatformScreen*) () at /lib64/libQt5Gui.so.5
Comment 3 Nate Graham 2023-08-11 17:02:28 UTC

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