Bug 474115 - Spectacle crashes when capturing screenshot with GUI open.
Summary: Spectacle crashes when capturing screenshot with GUI open.
Status: RESOLVED WORKSFORME
Alias: None
Product: Spectacle
Classification: Applications
Component: General (show other bugs)
Version: 23.08.4
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Noah Davis
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-09-03 20:54 UTC by Roke Julian Lockhart Beedell
Modified: 2023-12-13 21:42 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Trace logs. (19.11 KB, text/vnd.kde.kcrash-report)
2023-09-03 20:54 UTC, Roke Julian Lockhart Beedell
Details
Error log. (960 bytes, text/markdown)
2023-09-05 22:41 UTC, Roke Julian Lockhart Beedell
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Roke Julian Lockhart Beedell 2023-09-03 20:54:51 UTC
Created attachment 161384 [details]
Trace logs.

SUMMARY

I'm unable to capture screenshots unless I use a key binding. If I use a key binding, the screenshot is captured successfully.

STEPS TO REPRODUCE

1. Invoke Spectacle's GUI.
2. Use any of the capture buttons.

OBSERVED RESULT

Spectacle crashes.

EXPECTED RESULT

It obviously shouldn't.

SOFTWARE/OS VERSIONS

Operating System: openSUSE Tumbleweed 20230828
KDE Plasma Version: 5.27.7
KDE Frameworks Version: 5.110.0
Qt Version: 5.15.10
Kernel Version: 6.4.11-1-default (64-bit)
Graphics Platform: X11
Processors: 12 × AMD Ryzen 5 3600 6-Core Processor
Memory: 46.9 GiB of RAM
Graphics Processor: AMD Radeon RX 5700

ADDITIONAL INFORMATION

*Not git-master, 23.11.0.* From https://en.opensuse.org/SDB:KDE_repositories#Unstable_Frameworks,_Plasma_and_Applications

Trying to report this causes https://discuss.kde.org/t/can-i-save-a-bug-report-from-dr-konqi-whilst-submitting-it/4698?u=rokejulianlockhart, hence the manually uploaded kcrash file.
Comment 1 Roke Julian Lockhart Beedell 2023-09-03 21:01:43 UTC
Please modify https://bugs.kde.org/page.cgi?id=fields.html#importance to be Crash.
Comment 2 Roke Julian Lockhart Beedell 2023-09-03 21:54:22 UTC
It turns out that invoking a key combination to capture a screenshot does cause it to crash when the GUI is visible, so the cause must be capturing a screenshot with the GUI visible, regardless of invocation method.
Comment 3 Roke Julian Lockhart Beedell 2023-09-05 22:41:21 UTC
Created attachment 161435 [details]
Error log.

https://bugs.kde.org/show_bug.cgi?id=474115#c3

<blockQuote>
	<blockQuote>
		<code>

			PS /home/rokejulianlockhart> spectacle
			qrc:/src/Gui/DialogPage.qml:117:9: QML CaptureSettingsColumn (parent or ancestor of QQuickLayoutAttached): Binding loop detected for property "minimumWidth"
			23 -- exe=/usr/bin/spectacle
			13 -- platform=xcb
			11 -- display=:0
			18 -- appname=spectacle
			17 -- apppath=/usr/bin
			10 -- signal=11
			10 -- pid=17922
			20 -- appversion=23.11.70
			22 -- programname=Spectacle
			31 -- bugaddress=submit@bugs.kde.org
			KCrash: Application 'spectacle' crashing...
			KCrash: Attempting to start /usr/libexec/drkonqi
			QSocketNotifier: Invalid socket 5 and type 'Read', disabling...
			QSocketNotifier: Invalid socket 9 and type 'Read', disabling...
			QSocketNotifier: Invalid socket 22 and type 'Read', disabling...
			Unable to start Dr. Konqi
			Re-raising signal for core dump handling.
			NativeCommandExitException: Program "spectacle" ended with non-zero exit code: 139.
			PS /home/rokejulianlockhart>

		<code>
	</blockQuote>
</blockQuote>
Comment 4 Noah Davis 2023-12-13 21:17:34 UTC
Do you still have this bug? I can't recall seeing something like this previously and I can't reproduce this.
Comment 5 Roke Julian Lockhart Beedell 2023-12-13 21:42:05 UTC
(In reply to Noah Davis from comment #4)
> Do you still have this bug?

Not that I know of.