Bug 420429 - Cannot rightclick files in Dolphin without it crashing
Summary: Cannot rightclick files in Dolphin without it crashing
Status: RESOLVED FIXED
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: 19.12.3
Platform: Manjaro Linux
: NOR crash
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-04-22 16:32 UTC by ienjoydigginggraves
Modified: 2020-08-27 04:33 UTC (History)
6 users (show)

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


Attachments
Text from launching Dolphin from Kobsole (9.98 KB, text/plain)
2020-04-22 16:32 UTC, ienjoydigginggraves
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ienjoydigginggraves 2020-04-22 16:32:50 UTC
Created attachment 127774 [details]
Text from launching Dolphin from Kobsole

My roommate broght to my attention that he could not rightclick a image in a folder and set it as wallpaper, nor get the rightclick menu at all and Dolphin would actually crash. I tested to confirm and also opened a folder of movies and tried to get the rightclick and got the same thing. I honesty do not know what is wrong with his Dolphin since everything else seems to be working without issue. According to him he's had the behavior for a couple of days. Could use some suggestion on what might be the cause. Thanks

Manjaro 20.0 Testing Build

Addition information:

https://forum.manjaro.org/t/issue-with-rightclicking-files-in-dolphin/137609
Comment 1 Kai Uwe Broulik 2020-04-23 06:59:02 UTC
This needs a backtrace to investigate. Try the following

$ gdb dolphin
Once loaded, type "run"
Make it crash
Then type "thread apply all bt" and paste the output here and set ticket status back to REPORTED.

Make sure you have the relevant debugging packages installed.
Comment 2 agentxlax 2020-04-23 11:18:04 UTC
the "relevant" debugging packages would be?
Comment 3 Bug Janitor Service 2020-05-08 04:33:13 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 4 Christoph Feck 2020-05-14 02:22:29 UTC
Please add the backtrace. Then it will be possible to tell which debug symbol packages are still missing. Without a backtrace, nothing can be investigated.

See also https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
Comment 5 Bug Janitor Service 2020-05-29 04:33:10 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 Bug Janitor Service 2020-06-14 04:33:21 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now 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

Thank you for helping us make KDE software even better for everyone!
Comment 7 Jazz 2020-06-30 12:58:04 UTC
Yesterday Dolphin worked just fine and now I can't right-click any RAR/ZIP archive without Dolphin crashing. Here's the actual log during the crash:

https://hastebin.com/uhabuvegeh.rb
Comment 8 agentxlax 2020-06-30 13:05:06 UTC
(In reply to Bug Janitor Service from comment #6)
> This bug has been in NEEDSINFO status with no change for at least
> 30 days. The bug is now 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
> 
> Thank you for helping us make KDE software even better for everyone!

Sorry forgot to report back that for some odd reason the following day Dolphin started behaving normally again. Never did figure out what caused the issue in the first place.
Comment 9 Jazz 2020-06-30 13:24:18 UTC
Oddly, but I just restarted Manjaro and can't reproduce the issue anymore. Note: it was not the first time Dolphin has crashed the same way I described above. It happened repeatedly during the last few months. It's good to know that I'm not the only person that experienced this issue. I hope the syslog above will help you to debug it.
Comment 10 Christoph Feck 2020-07-14 22:26:54 UTC
If you get a crash again, please add the backtrace as a comment to the ticket.
Comment 11 Jazz 2020-07-16 14:39:47 UTC
I just had to unpin Dolphin from my panel and completely replace it with Krusader. Unfortunately it's that unstable on my end.
Comment 12 user6334 2020-08-01 21:33:11 UTC
I have the same problem and it still hasn't been solved. When I right-click on the file, the following error occurs in the terminal:

Cannot initialize model with data QJsonObject (). missing: QJsonValue (string, "urls")

After a while, this leads to a persistent hang of the program. In this case, only reboot helps.
Comment 14 Christoph Feck 2020-08-03 15:05:35 UTC
Could you please check if uninstalling Ark (together with its libkerfuffle) avoids the lockup?

From what I can see, the issue is in Kerfuffle::PluginManager::libarchiveHasLzo() calling waitForFinished(), which runs a nested event loop.
Comment 15 user6334 2020-08-04 05:01:26 UTC
I removed akr and checked the command output:

ls /usr/lib/ | grep libkerfuffle

The output was empty.

After that, I restarted the Dolphin window. However, this did not change anything, the program still hangs and the error repeats:

Cannot initialize model with data QJsonObject (). missing: QJsonValue (string, "urls")
Comment 16 user6334 2020-08-05 08:26:44 UTC
I noticed that if I press the right mouse button and just wait, then Dolphin will hang and not respond for exactly 24 seconds, after which the context menu opens, and everything works, except that if you right-click again, Dolphin freezes again
Comment 17 Christoph Feck 2020-08-26 17:37:38 UTC
It could also be a duplicate of bug 425137. Do you have dolphin-plugins installed?
Comment 18 user6334 2020-08-27 04:33:30 UTC
Yes, after the Ark update everything was fine