Bug 479975 - Plasma Session Crashes When Using 'Open With' via Plasma Browser Integration Download Dialogue
Summary: Plasma Session Crashes When Using 'Open With' via Plasma Browser Integration ...
Status: RESOLVED DUPLICATE of bug 481488
Alias: None
Product: plasmashell
Classification: Plasma
Component: generic-crash (show other bugs)
Version: 5.92.0
Platform: Arch Linux Linux
: NOR crash
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords: drkonqi, qt6
Depends on:
Blocks:
 
Reported: 2024-01-18 03:12 UTC by Justin S
Modified: 2024-02-19 18:12 UTC (History)
2 users (show)

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


Attachments
New crash information added by DrKonqi (70.09 KB, text/plain)
2024-01-18 03:12 UTC, Justin S
Details
crash-log-debugsymbols (89.08 KB, text/vnd.kde.kcrash-report)
2024-02-08 08:46 UTC, Justin S
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Justin S 2024-01-18 03:12:02 UTC
Application: plasmashell (5.92.0)

Qt Version: 6.7.0
Frameworks Version: 5.248.0
Operating System: Linux 6.7.0-arch3-1 x86_64
Windowing System: Wayland
Distribution: "Arch Linux"
DrKonqi: 5.92.0 [CoredumpBackend]

-- Information about the crash:
Description:
When choosing the 'Open With > Other Application' option via the Plasma browser integration download dialogue window, specifically when attempting to change the default application for a .zip file to Ark, it leads to a complete crash of the entire Plasma session.

Reproduction Steps:

1. Open Firefox.
2. Ensure that the Plasma Integration extension is installed and enabled.
3. Navigate to the following webpage: https://github.com/matinlotfali/KDE-Rounded-Corners/releases/tag/v0.5.0
4. On this page, locate and download the "Source code (zip)" file.
5. After the download is complete, the download window will appear. In the download window, locate the downloaded .zip file entry.
6. Click on the Hamburger Menu (usually represented by three horizontal lines) next to the downloaded .zip file entry.
7. From the dropdown menu that appears, select "Open With" and then choose "Other Application...".
8. In the "Open With" dialogue that appears, select "Ark" (or any other desired application) to set it as the default program for opening .zip files.
9. Observe that upon making this selection, the Plasma session consistently crashes/restarts.

I've tried another repo downloading a source .zip file and it does not crash via the Plasma Integration window, I'm unsure as to why this is only happening on this particular .zip file.

For reference:
Crashing - https://github.com/matinlotfali/KDE-Rounded-Corners/releases/tag/v0.5.0
Not Crashing - https://github.com/KDE/dragon/releases/tag/v24.01.90


Additional Information:

I do not use any special themes/icons or anything, this is just a plasma session using all the defaults except for the fact that .zip filetype was associated to something else other than ark.

Operating System: Arch Linux 
KDE Plasma Version: 5.92.0
KDE Frameworks Version: 5.248.0
Qt Version: 6.7.0
Kernel Version: 6.7.0-arch3-1 (64-bit)
Graphics Platform: Wayland

Firefox Version: 121.0.1-1
Plasma Integration Extension Version: 5.92.0-1

The crash can be reproduced every time.

-- Backtrace (Reduced):
#4  0x0000703ace5b4210 in QWidget::window() const () at /usr/lib/libQt6Widgets.so.6
[...]
#7  0x0000703acd5a8f7a in KJob::result(KJob*, KJob::QPrivateSignal) () at /usr/lib/libKF6CoreAddons.so.6
[...]
#11 0x0000703acd5a8f7a in KJob::result(KJob*, KJob::QPrivateSignal) () at /usr/lib/libKF6CoreAddons.so.6
[...]
#18 0x0000703acc5afc74 in QObject::event(QEvent*) () at /usr/lib/libQt6Core.so.6
#19 0x0000703ace57bf4b in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt6Widgets.so.6


Reported using DrKonqi
Comment 1 Justin S 2024-01-18 03:12:04 UTC
Created attachment 164999 [details]
New crash information added by DrKonqi

DrKonqi auto-attaching complete backtrace.
Comment 2 Justin S 2024-01-18 03:18:58 UTC
Just to also note - Firefox is installed from the main repo and is _not_ flatpak version.
Comment 3 Justin S 2024-01-18 03:23:06 UTC
Apologies - just a minor adjustment to the replication steps - The crash occurs as soon as you select 'Other Application...' in the menu. It does to reach the point of opening the window to select the application you want to assign as default.
Comment 4 Nate Graham 2024-01-18 20:43:16 UTC
Thank you for the bug report! Unfortunately I can't reproduce the crash myself on current git master with those steps, and the backtrace is incomplete and missing debug symbols for the following lines that we need to figure out exactly what's going wrong:

Thread 1 (Thread 0x703ac75ba9c0 (LWP 1838)):
[KCrash Handler]
#4  0x0000703ace5b4210 in QWidget::window() const () at /usr/lib/libQt6Widgets.so.6
#5  0x0000703ac7576251 in  () at /usr/lib/qt6/plugins/platformthemes/KDEPlasmaPlatformTheme6.so
#6  0x0000703acc5beaa9 in  () at /usr/lib/libQt6Core.so.6
#7  0x0000703acd5a8f7a in KJob::result(KJob*, KJob::QPrivateSignal) () at /usr/lib/libKF6CoreAddons.so.6
#8  0x0000703acd5ab4ac in  () at /usr/lib/libKF6CoreAddons.so.6
#9  0x0000703acbf1faca in  () at /usr/lib/libKF6KIOCore.so.6
#10 0x0000703acc5beaa9 in  () at /usr/lib/libQt6Core.so.6
#11 0x0000703acd5a8f7a in KJob::result(KJob*, KJob::QPrivateSignal) () at /usr/lib/libKF6CoreAddons.so.6
#12 0x0000703acd5ab4ac in  () at /usr/lib/libKF6CoreAddons.so.6
#13 0x0000703acc5beaa9 in  () at /usr/lib/libQt6Core.so.6
#14 0x0000703acbf87c64 in  () at /usr/lib/libKF6KIOCore.so.6
#15 0x0000703acbf77b7e in  () at /usr/lib/libKF6KIOCore.so.6
#16 0x0000703acbf7a54a in  () at /usr/lib/libKF6KIOCore.so.6

Could you please install debug symbols for kio, kcoreaddons, and plasma-integration and attach a new symbolicated backtrace generated by using coredumpctl gdb in a terminal window? See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports#Retrieving_a_backtrace_using_coredumpctl for details about how to do this.

Thanks again!
Comment 5 Bug Janitor Service 2024-02-02 03:45:38 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 6 Justin S 2024-02-08 08:46:23 UTC
Created attachment 165667 [details]
crash-log-debugsymbols

Thanks Nate,

I've had the time to reinstall a new KDE setup on Arch with the KDE Unstable Repo, now running Beta 2. Unfortunately, it appears that the problem persists. I've included the crash log with the debug symbols installed (plasmashell-20240208-193806.kcrash), as per your request. Please inform me if there's anything else I can do to assist in debugging.

Just to simplify my steps from earlier,

- Open Firefox - (I'm using 122.0.1 (64-bit) installed from Arch repository)
- Go to URL (https://github.com/matinlotfali/KDE-Rounded-Corners/releases)
- Download 0.6.0 Release Source Code (.zip)
- Once the download completes, In the KDE Integration download popup, select the hamburger menu > then select 'Open With...'
- Observe Plasma session crash.
Comment 7 duha.bugs 2024-02-12 17:17:21 UTC
Confirming, can reproduce with the steps provided in comment #6.
Arch stable + Git Master.

If I try with the zip I can reproduce the crash, If I try the krash-report I cannot reproduce the crash.
The context menu differs.
Comment 8 duha.bugs 2024-02-12 17:55:03 UTC
Tried It with both zip files a bunch of times. I seems to crash sometimes, but not always.
Comment 9 duha.bugs 2024-02-19 18:12:20 UTC
*** This bug has been marked as a duplicate of bug 481488 ***