https://bugs.kde.org/show_bug.cgi?id=516445
Bug ID: 516445
Summary: Spectacle crashes with SIGABRT in Rectangular Region
mode: Assertion '!this->empty()' failed in
std::vector::front()
Classification: Applications
Product: Spectacle
Version First 6.6.0
Reported In:
Platform: Other
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: General
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Target Milestone: ---
SUMMARY
When launching Spectacle in the default mode or trying to take a Rectangular
Region screenshot on Plasma 6.6.0 (Wayland), the application crashes
immediately with a SIGABRT.
The crash occurs in std::vector::front() because the list of CaptureWindow
objects is empty. This seems to be a regression in how Spectacle initializes
capture windows on multi-monitor setups (Intel + NVIDIA hybrid graphics) under
Wayland.
STEPS TO REPRODUCE
1. Use Plasma 6.6.0 on Wayland.
2. Launch spectacle in a terminal or via the GUI.
3. Observe the crash.
OBSERVED RESULT
Application crashes with the following error:
/usr/include/c++/15.2.1/bits/stl_vector.h:1346: constexpr std::vector<_Tp,
_Alloc>::reference std::vector<_Tp, _Alloc>::front() [with _Tp =
std::unique_ptr<CaptureWindow, void (*)(CaptureWindow*)>; _Alloc =
std::allocator<std::unique_ptr<CaptureWindow, void (*)(CaptureWindow*)> >;
reference = std::unique_ptr<CaptureWindow, void (*)(CaptureWindow*)>&]:
Assertion '!this->empty()' failed.
EXPECTED RESULT
The UI for selecting a rectangular region should appear across all connected
monitors.
SOFTWARE/OS VERSIONS
Linux/KDE Plasma: CachyOS / Kernel 6.19.3-2-cachyos
KDE Plasma Version: 6.6.0
KDE Frameworks Version: 6.23.0
Qt Version: 6.10.2
ADDITIONAL INFORMATION
Running spectacle -f (Full Screen) works correctly.
OS: CachyOS (Kernel 6.19.3)
GPU: Hybrid Intel HD Graphics 630 + NVIDIA GeForce GTX 1050 Mobile.
Monitors: Internal laptop screen + External DELL U2311H.
--
You are receiving this mail because:
You are watching all bug changes.