SUMMARY *** NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols. See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports *** STEPS TO REPRODUCE 1. Start Plasma Wayland session 2. Start Spectacle 3. Select "Recording", "Full Screen" 4. Click on any part of screen to begin recording 5. Click on Spectacle Task Bar item to restore window OBSERVED RESULT Spectacle is non-responsive, and opens a window to terminate application EXPECTED RESULT Spectacle records the entire screen normally SOFTWARE/OS VERSIONS Windows: macOS: Linux/KDE Plasma: KDE Neon Unstable (available in About System) KDE Plasma Version: 5.90.90 KDE Frameworks Version: 5.248.0 Qt Version: 6.6.1 ADDITIONAL INFORMATION Recording a window works fine.
In my case if the first thing I do after starting Spectacle is record the whole screen then it just freezes and crashes after a second or two, but if the first thing I do is record a window or rectangular region instead then recording the whole screen works afterwards.
The problem seems to have evolved. Now if I record the full screen or a window, it works fine the first time consistently. If I try to record a second time (full screen or window) Spectacle freezes.
Current version on everything: Operating System: KDE neon Testing Edition KDE Plasma Version: 6.0.0 KDE Frameworks Version: 6.0.0 Qt Version: 6.6.1 Kernel Version: 6.5.0-15-generic (64-bit) Graphics Platform: Wayland Processors: 12 × Intel® Core™ i7-9750H CPU @ 2.60GHz Memory: 15.4 GiB of RAM Graphics Processor: AMD Radeon Pro WX 3200 Series Manufacturer: Dell Inc. Product Name: Precision 7540
Can confirm that recording always works the first time now (even full screen), and that the second time always causes Spectacle to freeze, regardless of the type. In my case I'm on Arch Linux, but with git master Plasma and Spectacle. Spectacle is at commit 74f1bbba31ac58123591343d5ab32e7b6e1ae888, KPipeWire is at commit 530cbc35edcaab0e0ca01b2dabc0adb881d7eda0 and KWin is at commit 909d83419cda17d5bd5f6d9acc4c507e6fe6b27c. KDE Plasma Version: 6.0.80 KDE Frameworks Version: 6.0.0 Qt Version: 6.6.1 Kernel Version: 6.7.2-arch1-2 (64-bit) Graphics Platform: Wayland Processors: 16 × AMD Ryzen 7 6800H with Radeon Graphics Memory: 30.6 GiB of RAM Graphics Processor: AMD Radeon Graphics
Another bug report has been filed about Spectacle freezing only when a second recording is started: https://bugs.kde.org/show_bug.cgi?id=481188 Not sure if that bug should be marked as duplicate of this one or if this bug should be closed since the original description no longer describes the current situation. Also, when running Spectacle in a terminal I see these error messages appearing after the end of the first recording, might have something to do with why the second recording fails? *** pw_stream_destroy called from wrong context, check thread and locking: Not in loop *** impl_ext_end_proxy called from wrong context, check thread and locking: Not in loop 'pthread_equal(impl->thread, thread_id)' failed at ../pipewire/spa/plugins/support/loop.c:363 loop_leave()
Recording now works reliably for me on bleeding edge Plasma 6 compiled from source, and after doing a git bisect it appears that the commit that fixes the problem is dcf2c08cdd312d1e9b4a91b03c004a05c378af2b (recording: Do not leak node ids), I tried reverting it on top of the master and release/24.02 branches and the issue (Spectacle crashing after second recording) came back in both cases. That commit didn't make it in time for RC2, but it has been backported for 24.02 so it should be fixed by the final release.