Bug 425371 - Dolphin sometimes crashes during random browsing, especially after files are changed by another program
Summary: Dolphin sometimes crashes during random browsing, especially after files are ...
Status: REPORTED
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: 19.12.3
Platform: Ubuntu Linux
: NOR major
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-08-15 06:28 UTC by Richard Qian
Modified: 2020-08-15 06:28 UTC (History)
1 user (show)

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


Attachments
GDB backtraces and my attempts at continuing the program (21.58 KB, text/plain)
2020-08-15 06:28 UTC, Richard Qian
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Richard Qian 2020-08-15 06:28:16 UTC
Created attachment 130882 [details]
GDB backtraces and my attempts at continuing the program

SUMMARY
Dolphin has a tendency to freeze and not crash, which normally leaves me unable to get enough information on why this keeps happening. The freeze can happen almost always by random file browsing, but it becomes more likely when another program changes files outside of the file manager.

STEPS TO REPRODUCE
1. Launch Dolphin as normal
2. Use like normal
3. The freeze will happen without warning

OBSERVED RESULT
The Dolphin window freezes, no longer repainting the window, or responding to user input. It happens just before the file or folder size of an item is finished being calculated. Often, any other programs using the same file view or I/O components as those of Dolphin will also not open, including, but not limited to, Konqueror (after trying to open the home directory), Gwenview and System Settings. Only logging out, rebooting, or using alternate programs will temporarily solve this problem.

EXPECTED RESULT
Nothing special is supposed to happen. There should not be any freezes or crashes normally happening in this situation.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: (K)Ubuntu 20.04
KDE Plasma Version: 5.18.5
KDE Frameworks Version: 5.68.0
Qt Version: 5.12.8

ADDITIONAL INFORMATION
The freezes have also happened in Ubuntu 18.04, and I have tried out KDE Neon in hopes of getting around this problem. However, some programs I use depend on the ABI found in the Qt5 shipped in the Ubuntu repositories, and not the one found in the KDE Neon repositories. The only way I can keep such programs is by recompiling them against the new Qt5 versions, which gets annoying to do upon every Qt5 update (I know I'm doing something totally unsupported, but it at least gets me around frustrating freezes like this).

Kernel log produced just after the freeze:
[   58.037143] show_signal_msg: 47 callbacks suppressed
[   58.037145] gam_server[6617]: segfault at 13 ip 00007ffff7eb9463 sp 00007fffffffc280 error 4 in libglib-2.0.so.0.6400.3[7ffff7e65000+84000]
[   58.037152] Code: 0f 1f 80 00 00 00 00 48 c1 e8 04 4c 8b 3b 8d 48 ff 48 89 c5 49 89 ce 49 c1 e6 04 4d 01 f7 4d 8b 27 4d 85 e4 0f 84 cd 00 00 00 <49> 8b 44 24 08 48 85 c0 74 43 48 8b 10 49 89 54 24 08 49 89 c4 49
[  131.820681] gam_server[7697]: segfault at 13 ip 00007ffff7eb9463 sp 00007fffffffc280 error 4 in libglib-2.0.so.0.6400.3[7ffff7e65000+84000]
[  131.820689] Code: 0f 1f 80 00 00 00 00 48 c1 e8 04 4c 8b 3b 8d 48 ff 48 89 c5 49 89 ce 49 c1 e6 04 4d 01 f7 4d 8b 27 4d 85 e4 0f 84 cd 00 00 00 <49> 8b 44 24 08 48 85 c0 74 43 48 8b 10 49 89 54 24 08 49 89 c4 49
[  483.888107] gam_server[10351]: segfault at 13 ip 00007ffff7eb9463 sp 00007fffffffc280 error 4 in libglib-2.0.so.0.6400.3[7ffff7e65000+84000]
[  483.888122] Code: 0f 1f 80 00 00 00 00 48 c1 e8 04 4c 8b 3b 8d 48 ff 48 89 c5 49 89 ce 49 c1 e6 04 4d 01 f7 4d 8b 27 4d 85 e4 0f 84 cd 00 00 00 <49> 8b 44 24 08 48 85 c0 74 43 48 8b 10 49 89 54 24 08 49 89 c4 49

The partial kernel log implies that Gamin and GLib may also be at fault, but I don't know exactly where. I also have a longer outout from GDB for more information.