Bug 509586 - Spectacle crashing when trying to take a windowed screenshot during high CPU usage
Summary: Spectacle crashing when trying to take a windowed screenshot during high CPU ...
Status: RESOLVED UPSTREAM
Alias: None
Product: Spectacle
Classification: Applications
Component: General (other bugs)
Version First Reported In: 6.3.6
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: Noah Davis
URL:
Keywords: drkonqi, qt-crash
Depends on:
Blocks:
 
Reported: 2025-09-17 07:10 UTC by Piotr
Modified: 2025-09-18 14:22 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report: https://crash-reports.kde.org/organizations/kde/issues/131995/events/60125ca88ddf4385b8d7595b17a0b57e/


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Piotr 2025-09-17 07:10:26 UTC
Application: spectacle (6.3.6)
 (Compiled from sources)
ApplicationNotResponding [ANR]: false
Qt Version: 6.9.1
Frameworks Version: 6.16.0
Operating System: Linux 6.12.41-gentoo-dist x86_64
Windowing System: Wayland
Distribution: "Gentoo Linux"
DrKonqi: 6.3.6 [CoredumpBackend]

-- Information about the crash:
Tried to take a screenshot using window select tool. App crashes every time. The only abnormal setup is running CPU-heavy app in the background. 
Entire plasmashell is laggy, but only Spectacle crashed.

The crash can be reproduced every time.

-- Backtrace:
Application: Spectacle (spectacle), signal: Aborted

Support for debuginfod is not compiled into GDB.

warning: Can't open file /memfd:JSVMStack:QtQml (deleted) during file-backed mapping note processing

warning: Can't open file /memfd:JSGCHeap:QtQml (deleted) during file-backed mapping note processing

warning: Can't open file /memfd:kwin-dmabuf-feedback-table (deleted) during file-backed mapping note processing

warning: Can't open file /memfd:/.glXXXXXX (deleted) during file-backed mapping note processing

warning: Can't open file /memfd:JITCode:QtQml (deleted) during file-backed mapping note processing

warning: Can't open file /memfd:unknown-usage:QtQml (deleted) during file-backed mapping note processing
[New LWP 62620]
[New LWP 62649]
[New LWP 62658]
[New LWP 62957]
[New LWP 62682]
[New LWP 62657]
[New LWP 62681]
[New LWP 62711]
[New LWP 62712]
[New LWP 62713]
[New LWP 62958]
[New LWP 62974]
[New LWP 62989]
[New LWP 62714]
[New LWP 62715]
[New LWP 62955]
[New LWP 62956]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib64/libthread_db.so.1".
Core was generated by `/usr/bin/spectacle --dbus'.
Program terminated with signal SIGABRT, Aborted.
#0  0x00007f52f62a3cbc in ?? () from /usr/lib64/libc.so.6
[Current thread is 1 (Thread 0x7f52e2466f00 (LWP 62620))]
python sentry-sdk not installed :(
Cannot QML trace cores :(
/usr/share/drkonqi/gdb/python/gdb_preamble/preamble.py:547: DeprecationWarning: datetime.datetime.utcfromtimestamp() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.fromtimestamp(timestamp, datetime.UTC).
  boot_time = datetime.utcfromtimestamp(psutil.boot_time()).strftime('%Y-%m-%dT%H:%M:%S')
Unexpectedly stumbled over an objfile (/usr/bin/spectacle) without build_id. Not creating payload.
[Current thread is 1 (Thread 0x7f52e2466f00 (LWP 62620))]

Thread 17 (Thread 0x7f52963dd6c0 (LWP 62956)):
#0  0x00007f52f62aa052 in ??? () at /usr/lib64/libc.so.6
#1  0x00007f52f629e80c in ??? () at /usr/lib64/libc.so.6
#2  0x00007f52f629ee8c in ??? () at /usr/lib64/libc.so.6
#3  0x00007f52f62a1734 in pthread_cond_timedwait () at /usr/lib64/libc.so.6
#4  0x00007f52f69f42b1 in QWaitCondition::wait(QMutex*, QDeadlineTimer) () at /usr/lib64/libQt6Core.so.6
#5  0x00007f52f6a1e82a in ??? () at /usr/lib64/libQt6Core.so.6
#6  0x00007f52f6a13654 in ??? () at /usr/lib64/libQt6Core.so.6
#7  0x00007f52f62a1f91 in ??? () at /usr/lib64/libc.so.6
#8  0x00007f52f632430c in ??? () at /usr/lib64/libc.so.6

Thread 16 (Thread 0x7f529e9ff6c0 (LWP 62955)):
#0  0x00007f52f62aa052 in ??? () at /usr/lib64/libc.so.6
#1  0x00007f52f629e80c in ??? () at /usr/lib64/libc.so.6
#2  0x00007f52f629ee8c in ??? () at /usr/lib64/libc.so.6
#3  0x00007f52f62a1734 in pthread_cond_timedwait () at /usr/lib64/libc.so.6
#4  0x00007f52f69f42b1 in QWaitCondition::wait(QMutex*, QDeadlineTimer) () at /usr/lib64/libQt6Core.so.6
#5  0x00007f52f6a1e82a in ??? () at /usr/lib64/libQt6Core.so.6
#6  0x00007f52f6a13654 in ??? () at /usr/lib64/libQt6Core.so.6
#7  0x00007f52f62a1f91 in ??? () at /usr/lib64/libc.so.6
#8  0x00007f52f632430c in ??? () at /usr/lib64/libc.so.6

Thread 15 (Thread 0x7f52b9bfb6c0 (LWP 62715)):
#0  0x00007f52f62aa052 in ??? () at /usr/lib64/libc.so.6
#1  0x00007f52f629e80c in ??? () at /usr/lib64/libc.so.6
#2  0x00007f52f629ee8c in ??? () at /usr/lib64/libc.so.6
#3  0x00007f52f62a1734 in pthread_cond_timedwait () at /usr/lib64/libc.so.6
#4  0x00007f52f69f42b1 in QWaitCondition::wait(QMutex*, QDeadlineTimer) () at /usr/lib64/libQt6Core.so.6
#5  0x00007f52f6a1e82a in ??? () at /usr/lib64/libQt6Core.so.6
#6  0x00007f52f6a13654 in ??? () at /usr/lib64/libQt6Core.so.6
#7  0x00007f52f62a1f91 in ??? () at /usr/lib64/libc.so.6
#8  0x00007f52f632430c in ??? () at /usr/lib64/libc.so.6

Thread 14 (Thread 0x7f52ba3fc6c0 (LWP 62714)):
#0  0x00007f52f62aa052 in ??? () at /usr/lib64/libc.so.6
#1  0x00007f52f629e80c in ??? () at /usr/lib64/libc.so.6
#2  0x00007f52f629ee8c in ??? () at /usr/lib64/libc.so.6
#3  0x00007f52f62a1734 in pthread_cond_timedwait () at /usr/lib64/libc.so.6
#4  0x00007f52f69f42b1 in QWaitCondition::wait(QMutex*, QDeadlineTimer) () at /usr/lib64/libQt6Core.so.6
#5  0x00007f52f6a1e82a in ??? () at /usr/lib64/libQt6Core.so.6
#6  0x00007f52f6a13654 in ??? () at /usr/lib64/libQt6Core.so.6
#7  0x00007f52f62a1f91 in ??? () at /usr/lib64/libc.so.6
#8  0x00007f52f632430c in ??? () at /usr/lib64/libc.so.6

Thread 13 (Thread 0x7f529d3ff6c0 (LWP 62989)):
#0  0x00007f52f62aa052 in ??? () at /usr/lib64/libc.so.6
#1  0x00007f52f629e80c in ??? () at /usr/lib64/libc.so.6
#2  0x00007f52f629ee8c in ??? () at /usr/lib64/libc.so.6
#3  0x00007f52f62a1549 in pthread_cond_wait () at /usr/lib64/libc.so.6
#4  0x00007f52dacbbff8 in ??? () at /usr/lib64/libEGL_nvidia.so.0
#5  0x00007f52dac8afe1 in ??? () at /usr/lib64/libEGL_nvidia.so.0
#6  0x00007f52dacc1a1e in ??? () at /usr/lib64/libEGL_nvidia.so.0
#7  0x00007f52f62a1f91 in ??? () at /usr/lib64/libc.so.6
#8  0x00007f52f632430c in ??? () at /usr/lib64/libc.so.6

Thread 12 (Thread 0x7f52b93fa6c0 (LWP 62974)):
#0  0x00007f52f62aa052 in ??? () at /usr/lib64/libc.so.6
#1  0x00007f52f629e80c in ??? () at /usr/lib64/libc.so.6
#2  0x00007f52f629ee8c in ??? () at /usr/lib64/libc.so.6
#3  0x00007f52f62a1549 in pthread_cond_wait () at /usr/lib64/libc.so.6
#4  0x00007f52dacbbff8 in ??? () at /usr/lib64/libEGL_nvidia.so.0
#5  0x00007f52dac8afe1 in ??? () at /usr/lib64/libEGL_nvidia.so.0
#6  0x00007f52dacc1a1e in ??? () at /usr/lib64/libEGL_nvidia.so.0
#7  0x00007f52f62a1f91 in ??? () at /usr/lib64/libc.so.6
#8  0x00007f52f632430c in ??? () at /usr/lib64/libc.so.6

Thread 11 (Thread 0x7f52953db6c0 (LWP 62958)):
#0  0x00007f52f62aa052 in ??? () at /usr/lib64/libc.so.6
#1  0x00007f52f629e80c in ??? () at /usr/lib64/libc.so.6
#2  0x00007f52f629ee8c in ??? () at /usr/lib64/libc.so.6
#3  0x00007f52f62a1734 in pthread_cond_timedwait () at /usr/lib64/libc.so.6
#4  0x00007f52f69f42b1 in QWaitCondition::wait(QMutex*, QDeadlineTimer) () at /usr/lib64/libQt6Core.so.6
#5  0x00007f52f6a1e82a in ??? () at /usr/lib64/libQt6Core.so.6
#6  0x00007f52f6a13654 in ??? () at /usr/lib64/libQt6Core.so.6
#7  0x00007f52f62a1f91 in ??? () at /usr/lib64/libc.so.6
#8  0x00007f52f632430c in ??? () at /usr/lib64/libc.so.6

Thread 10 (Thread 0x7f52babfd6c0 (LWP 62713)):
#0  0x00007f52f62aa052 in ??? () at /usr/lib64/libc.so.6
#1  0x00007f52f629e80c in ??? () at /usr/lib64/libc.so.6
#2  0x00007f52f629ee8c in ??? () at /usr/lib64/libc.so.6
#3  0x00007f52f62a1734 in pthread_cond_timedwait () at /usr/lib64/libc.so.6
#4  0x00007f52f69f42b1 in QWaitCondition::wait(QMutex*, QDeadlineTimer) () at /usr/lib64/libQt6Core.so.6
#5  0x00007f52f6a1e82a in ??? () at /usr/lib64/libQt6Core.so.6
#6  0x00007f52f6a13654 in ??? () at /usr/lib64/libQt6Core.so.6
#7  0x00007f52f62a1f91 in ??? () at /usr/lib64/libc.so.6
#8  0x00007f52f632430c in ??? () at /usr/lib64/libc.so.6

Thread 9 (Thread 0x7f52bb3fe6c0 (LWP 62712)):
#0  0x00007f52f62aa052 in ??? () at /usr/lib64/libc.so.6
#1  0x00007f52f629e80c in ??? () at /usr/lib64/libc.so.6
#2  0x00007f52f629ee8c in ??? () at /usr/lib64/libc.so.6
#3  0x00007f52f62a1734 in pthread_cond_timedwait () at /usr/lib64/libc.so.6
#4  0x00007f52f69f42b1 in QWaitCondition::wait(QMutex*, QDeadlineTimer) () at /usr/lib64/libQt6Core.so.6
#5  0x00007f52f6a1e82a in ??? () at /usr/lib64/libQt6Core.so.6
#6  0x00007f52f6a13654 in ??? () at /usr/lib64/libQt6Core.so.6
#7  0x00007f52f62a1f91 in ??? () at /usr/lib64/libc.so.6
#8  0x00007f52f632430c in ??? () at /usr/lib64/libc.so.6

Thread 8 (Thread 0x7f52bbbff6c0 (LWP 62711)):
#0  0x00007f52f62aa052 in ??? () at /usr/lib64/libc.so.6
#1  0x00007f52f629e80c in ??? () at /usr/lib64/libc.so.6
#2  0x00007f52f629ee8c in ??? () at /usr/lib64/libc.so.6
#3  0x00007f52f62a1734 in pthread_cond_timedwait () at /usr/lib64/libc.so.6
#4  0x00007f52f69f42b1 in QWaitCondition::wait(QMutex*, QDeadlineTimer) () at /usr/lib64/libQt6Core.so.6
#5  0x00007f52f6a1e82a in ??? () at /usr/lib64/libQt6Core.so.6
#6  0x00007f52f6a13654 in ??? () at /usr/lib64/libQt6Core.so.6
#7  0x00007f52f62a1f91 in ??? () at /usr/lib64/libc.so.6
#8  0x00007f52f632430c in ??? () at /usr/lib64/libc.so.6

Thread 7 (Thread 0x7f52c1dff6c0 (LWP 62681)):
#0  0x00007f52f62aa052 in ??? () at /usr/lib64/libc.so.6
#1  0x00007f52f629e80c in ??? () at /usr/lib64/libc.so.6
#2  0x00007f52f629ee8c in ??? () at /usr/lib64/libc.so.6
#3  0x00007f52f62a1734 in pthread_cond_timedwait () at /usr/lib64/libc.so.6
#4  0x00007f52f69f42b1 in QWaitCondition::wait(QMutex*, QDeadlineTimer) () at /usr/lib64/libQt6Core.so.6
#5  0x00007f52f6a1e82a in ??? () at /usr/lib64/libQt6Core.so.6
#6  0x00007f52f6a13654 in ??? () at /usr/lib64/libQt6Core.so.6
#7  0x00007f52f62a1f91 in ??? () at /usr/lib64/libc.so.6
#8  0x00007f52f632430c in ??? () at /usr/lib64/libc.so.6

Thread 6 (Thread 0x7f52dbfff6c0 (LWP 62657)):
#0  0x00007f52f62aa052 in ??? () at /usr/lib64/libc.so.6
#1  0x00007f52f629e80c in ??? () at /usr/lib64/libc.so.6
#2  0x00007f52f629ee8c in ??? () at /usr/lib64/libc.so.6
#3  0x00007f52f62a1549 in pthread_cond_wait () at /usr/lib64/libc.so.6
#4  0x00007f52f69f432b in QWaitCondition::wait(QMutex*, QDeadlineTimer) () at /usr/lib64/libQt6Core.so.6
#5  0x00007f52f95460d9 in ??? () at /usr/lib64/libQt6WaylandClient.so.6
#6  0x00007f52f6a13654 in ??? () at /usr/lib64/libQt6Core.so.6
#7  0x00007f52f62a1f91 in ??? () at /usr/lib64/libc.so.6
#8  0x00007f52f632430c in ??? () at /usr/lib64/libc.so.6

Thread 5 (Thread 0x7f52c15fe6c0 (LWP 62682)):
#0  0x00007f52f62aa052 in ??? () at /usr/lib64/libc.so.6
#1  0x00007f52f629e80c in ??? () at /usr/lib64/libc.so.6
#2  0x00007f52f629e851 in ??? () at /usr/lib64/libc.so.6
#3  0x00007f52f63173e3 in ppoll () at /usr/lib64/libc.so.6
#4  0x00007f52f2f87024 in ??? () at /usr/lib64/libglib-2.0.so.0
#5  0x00007f52f2f876f0 in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#6  0x00007f52f68ccbf3 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt6Core.so.6
#7  0x00007f52f6b48e22 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt6Core.so.6
#8  0x00007f52f6a7655e in QThread::exec() () at /usr/lib64/libQt6Core.so.6
#9  0x00007f52f6a13654 in ??? () at /usr/lib64/libQt6Core.so.6
#10 0x00007f52f62a1f91 in ??? () at /usr/lib64/libc.so.6
#11 0x00007f52f632430c in ??? () at /usr/lib64/libc.so.6

Thread 4 (Thread 0x7f5295bdc6c0 (LWP 62957)):
#0  0x00007f52f62aa052 in ??? () at /usr/lib64/libc.so.6
#1  0x00007f52f629e80c in ??? () at /usr/lib64/libc.so.6
#2  0x00007f52f629ee8c in ??? () at /usr/lib64/libc.so.6
#3  0x00007f52f62a1734 in pthread_cond_timedwait () at /usr/lib64/libc.so.6
#4  0x00007f52f69f42b1 in QWaitCondition::wait(QMutex*, QDeadlineTimer) () at /usr/lib64/libQt6Core.so.6
#5  0x00007f52f6a1e82a in ??? () at /usr/lib64/libQt6Core.so.6
#6  0x00007f52f6a13654 in ??? () at /usr/lib64/libQt6Core.so.6
#7  0x00007f52f62a1f91 in ??? () at /usr/lib64/libc.so.6
#8  0x00007f52f632430c in ??? () at /usr/lib64/libc.so.6

Thread 3 (Thread 0x7f52db7fe6c0 (LWP 62658)):
#0  0x00007f52f62aa052 in ??? () at /usr/lib64/libc.so.6
#1  0x00007f52f629e80c in ??? () at /usr/lib64/libc.so.6
#2  0x00007f52f629e851 in ??? () at /usr/lib64/libc.so.6
#3  0x00007f52f6316f1a in poll () at /usr/lib64/libc.so.6
#4  0x00007f52f9546139 in ??? () at /usr/lib64/libQt6WaylandClient.so.6
#5  0x00007f52f6a13654 in ??? () at /usr/lib64/libQt6Core.so.6
#6  0x00007f52f62a1f91 in ??? () at /usr/lib64/libc.so.6
#7  0x00007f52f632430c in ??? () at /usr/lib64/libc.so.6

Thread 2 (Thread 0x7f52e0bff6c0 (LWP 62649)):
#0  0x00007f52f62aa052 in ??? () at /usr/lib64/libc.so.6
#1  0x00007f52f629e80c in ??? () at /usr/lib64/libc.so.6
#2  0x00007f52f629e851 in ??? () at /usr/lib64/libc.so.6
#3  0x00007f52f63173e3 in ppoll () at /usr/lib64/libc.so.6
#4  0x00007f52f2f87024 in ??? () at /usr/lib64/libglib-2.0.so.0
#5  0x00007f52f2f876f0 in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#6  0x00007f52f68ccbf3 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt6Core.so.6
#7  0x00007f52f6b48e22 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt6Core.so.6
#8  0x00007f52f6a7655e in QThread::exec() () at /usr/lib64/libQt6Core.so.6
#9  0x00007f52f82d718e in ??? () at /usr/lib64/libQt6DBus.so.6
#10 0x00007f52f6a13654 in ??? () at /usr/lib64/libQt6Core.so.6
#11 0x00007f52f62a1f91 in ??? () at /usr/lib64/libc.so.6
#12 0x00007f52f632430c in ??? () at /usr/lib64/libc.so.6

Thread 1 (Thread 0x7f52e2466f00 (LWP 62620)):
[KCrash Handler]
#4  0x00007f52f62a3cbc in ??? () at /usr/lib64/libc.so.6
#5  0x00007f52f624b7e6 in raise () at /usr/lib64/libc.so.6
#6  0x00007f52f623330b in abort () at /usr/lib64/libc.so.6
#7  0x00007f52f68c6b53 in ??? () at /usr/lib64/libQt6Core.so.6
#8  0x00007f52f6bab2aa in ??? () at /usr/lib64/libQt6Core.so.6
#9  0x00007f52f68c850c in QMessageLogger::fatal(char const*, ...) const () at /usr/lib64/libQt6Core.so.6
#10 0x00007f52f85548f6 in ??? () at /usr/lib64/libQt6Quick.so.6
#11 0x00007f52f87d9546 in ??? () at /usr/lib64/libQt6Quick.so.6
#12 0x00007f52f87da678 in ??? () at /usr/lib64/libQt6Quick.so.6
#13 0x00007f52f7bea645 in QWindow::event(QEvent*) () at /usr/lib64/libQt6Gui.so.6
#14 0x00007f52f9168a86 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib64/libQt6Widgets.so.6
#15 0x00007f52f6b1b758 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib64/libQt6Core.so.6
#16 0x00007f52f7b8d11b in QGuiApplicationPrivate::processExposeEvent(QWindowSystemInterfacePrivate::ExposeEvent*) () at /usr/lib64/libQt6Gui.so.6
#17 0x00007f52f7bed324 in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt6Gui.so.6
#18 0x00007f52f7bed577 in QWindowSystemInterface::flushWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt6Gui.so.6
#19 0x00007f52f6b02e45 in ??? () at /usr/lib64/libQt6Core.so.6
#20 0x00007f52f68ccc2b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt6Core.so.6
#21 0x00007f52f6b48e22 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt6Core.so.6
#22 0x00007f52f6b48fc3 in QCoreApplication::exec() () at /usr/lib64/libQt6Core.so.6
#23 0x0000558f54286e7c in ??? ()
#24 0x00007f52f62353ae in ??? () at /usr/lib64/libc.so.6
#25 0x00007f52f6235469 in __libc_start_main () at /usr/lib64/libc.so.6
#26 0x0000558f5428a1f5 in ??? ()

Reported using DrKonqi
Comment 1 Nate Graham 2025-09-17 14:59:20 UTC
The backtrace is missing debug symbols, but clearly all in Qt. Not sure there's much we can do here.
Comment 2 Piotr 2025-09-18 11:24:40 UTC
(In reply to Nate Graham from comment #1)
> The backtrace is missing debug symbols, but clearly all in Qt. Not sure
> there's much we can do here.

No worries, closing it then.