Bug 480917

Summary: Konsole window invoked by DrKonqi to install debug symbol packages crashes if automatically closed due to installation failure whilst selected text has context menu open.
Product: [Applications] konsole Reporter: Roke Julian Lockhart Beedell <4wy78uwh>
Component: copy-pasteAssignee: Konsole Developer <konsole-devel>
Status: REPORTED ---    
Severity: minor Flags: 4wy78uwh: performance-
Priority: NOR    
Version: 23.08.4   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
URL: https://download.opensuse.org/repositories/openSUSE:/Factory/standard/x86_64/konsole-23.08.4-2.2.x86_64.rpm
See Also: https://bugs.kde.org/show_bug.cgi?id=480916
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Backtrace without debug symbols.

Description Roke Julian Lockhart Beedell 2024-02-05 19:34:43 UTC
Created attachment 165575 [details]
Backtrace without debug symbols.

SUMMARY

		A Konsole window which has been invoked by DrKonqi to install debug symbol packages for a backtrace crashes if it is automatically closed due to an installation failure (like a lack of debug packages for a list of hashes) *whilst* the user has selected text and has a context menu open for that selected text.

	STEPS TO REPRODUCE

		Act quickly:
		1.	Force an application to crash in order to display DrKonqi's GUI.
		2.	Enter the backtrace section.
		3.	Invoke the "Install debug packages" button.
		4.	Select some of the text which comprises the Konsole output and invoke a context menu on it using a mouse's secondary button.

	OBSERVED RESULT

		Konsole crashes, according to DrKonqi.

	EXPECTED RESULT

		Konsole ideally shouldn't close at all whilst the user is still interacting, but that's probably a Qt issue (I'd like to be informed whether an FR to remediate this is possible). It at least should exit gracefully.

	SOFTWARE/OS VERSIONS

		> Operating System: cpe:2.3:o:opensuse:tumbleweed:20240131:*:*:*:*:*:*:*
		> KDE Plasma Version: 5.27.10
		> KDE Frameworks Version: 5.114.0
		> Qt Version: 5.15.12
		> Kernel Version: 6.7.2-1-default (64-bit)
		> Graphics Platform: X11
		> Processors: 12 × AMD Ryzen 5 7600X 6-Core Processor
		> Memory: 30.5 GiB of RAM
		> Graphics Processor: AMD Radeon RX 5700
		> Manufacturer: ASRock
		> Product Name: X670E Taichi

	ADDITIONAL INFORMATION

		This occurred when I reported https://bugs.kde.org/show_bug.cgi?id=480916#c0. No debuginfo package was available for the corresponding hashes for Konsole either, so the backtrace isn't of much use. But hey, at least we have one for this BR, eh?
Comment 1 Roke Julian Lockhart Beedell 2024-02-05 19:36:52 UTC
The https://bugs.kde.org/page.cgi?id=fields.html#importance should be “NOR crash”.