Bug 476935 - Spectacle crashes when I try to record the screen
Summary: Spectacle crashes when I try to record the screen
Status: RESOLVED FIXED
Alias: None
Product: Spectacle
Classification: Applications
Component: General (show other bugs)
Version: 24.01.75
Platform: unspecified Linux
: NOR crash
Target Milestone: ---
Assignee: Noah Davis
URL:
Keywords: drkonqi, qt6
Depends on:
Blocks:
 
Reported: 2023-11-13 12:52 UTC by Patrick Silva
Modified: 2023-11-27 11:33 UTC (History)
3 users (show)

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


Attachments
New crash information added by DrKonqi (101.87 KB, text/plain)
2023-11-13 12:52 UTC, Patrick Silva
Details
Noah's backtrace: spectacle -R w (7.13 KB, text/plain)
2023-11-13 15:33 UTC, Noah Davis
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick Silva 2023-11-13 12:52:57 UTC
Application: spectacle (24.01.75)

Qt Version: 6.6.0
Frameworks Version: 5.245.0
Operating System: Linux 6.5.7-060507-generic x86_64
Windowing System: Wayland
Distribution: KDE neon Unstable Edition
DrKonqi: 5.81.0 [CoredumpBackend]

-- Information about the crash:
open Spectacle, click on "Recording" tab, click on "Screen" button, click on the screen to start recording. Spectacle crashes.

The crash can be reproduced every time.

-- Backtrace (Reduced):
#6  __pthread_kill_implementation (no_tid=0, signo=6, threadid=139654103872576) at ./nptl/pthread_kill.c:44
#7  __pthread_kill_internal (signo=6, threadid=139654103872576) at ./nptl/pthread_kill.c:78
#8  __GI___pthread_kill (threadid=139654103872576, signo=signo@entry=6) at ./nptl/pthread_kill.c:89
#9  0x00007f03cfc42476 in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26
#10 0x00007f03cfc287f3 in __GI_abort () at ./stdlib/abort.c:79


Reported using DrKonqi
Comment 1 Patrick Silva 2023-11-13 12:52:59 UTC
Created attachment 163117 [details]
New crash information added by DrKonqi

DrKonqi auto-attaching complete backtrace.
Comment 2 Patrick Silva 2023-11-13 12:54:24 UTC
Can reproduce on Arch Linux running Plasma 6 alpha too.
Comment 3 Noah Davis 2023-11-13 15:33:36 UTC
Created attachment 163123 [details]
Noah's backtrace: spectacle -R w

Yes, I also get this problem sometimes, but not always. Sometimes all the modes work, sometimes only region and screen recording work, sometimes all of them exit with SIGABRT. My backtrace which was done using `gdb --args spectacle -R w` looks like yours.
Comment 4 Méven Car 2023-11-26 14:01:25 UTC
Tentative fix: https://invent.kde.org/plasma/kpipewire/-/merge_requests/100
Comment 5 Méven Car 2023-11-27 11:33:28 UTC
Fix for plasma 6 beta1