Bug 27819 - Dolphin 20.12.0 segmentation faults when trying to drag mounted partition in Places panel
Summary: Dolphin 20.12.0 segmentation faults when trying to drag mounted partition in ...
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: All Linux
Priority: High major
Target Milestone: Mageia 8
Assignee: KDE maintainers
QA Contact:
URL: https://bugs.kde.org/show_bug.cgi?id=...
Whiteboard:
Keywords: UPSTREAM
Depends on:
Blocks:
 
Reported: 2020-12-14 19:55 CET by William Kenney
Modified: 2020-12-28 10:57 CET (History)
2 users (show)

See Also:
Source RPM: dolphin-20.12.0-2.mga8.src.rpm
CVE:
Status comment:


Attachments
Dolphin new disk usage bar in left panel (67.83 KB, image/png)
2020-12-15 10:08 CET, Aurelien Oudelet
Details
Log file from journalctl when reproducing Dolphin segfault (2.41 KB, text/plain)
2020-12-15 10:09 CET, Aurelien Oudelet
Details

Description William Kenney 2020-12-14 19:55:43 CET
Description of problem:

On real hardware, Plasma, x86_64

Mageia-8-beta2-Live-Plasma-x86_64.iso  12/8/20
MD5SUM: e439ff51286cbcee4fd124ba4229f315

Boot to working desktop
Do almost nothing to the Desktop
Copy Dolphin to the desktop
Click on Dolphin icon
Dolphin launches normally
Run desktop install icon
remove Live-DVD
boot to installed Plasma x86_64 desktop
Click on desktop Dolphin icon
Dolphin Sig faults
Open terminal
launch dolphin from terminal:

[wilcal@localhost ~]$ dolphin
Segmentation fault (core dumped)

I've only looked at this one application, so far.
Comment 1 Lewis Smith 2020-12-14 20:59:26 CET
Thanks for the report, Bill. Can you confirm what version of Dolphin? I have:
 dolphin-20.08.3-1.mga8

It is significant that for you it worked Live, but not post-install. Thanks for the console command confirmation. From menus?
Could this be related to having used a desktop shortcut for it? This is very unusual, surely it already has a one-click launcher on the Plasma taskbar.
Or because it is confused between the Live DVD it started from, and the absence of same on re-boot? Idle conjecture.

Other QA people will be trying the Beta2 Live Plasma ISO. Can you sound their experience?

Source RPM: dolphin => dolphin-20.08.3-1.mga8.src.rpm
CC: (none) => lewyssmith

Comment 2 William Kenney 2020-12-14 22:02:26 CET
(In reply to Lewis Smith from comment #1)
> Thanks for the report, Bill. Can you confirm what version of Dolphin? I have:
>  dolphin-20.08.3-1.mga8

It's tricky to deal with Mageia without Dolphin
So in order to get the version of dolphin I opened an su terminal
and did a urpmi dolphin. A bunch of updates flew by and then reported:
[wilcal@localhost ~]$ dolphin
dolphin: symbol lookup error: /lib64/libkdeinit5_dolphin.so: undefined symbol: _ZN11DolphinView13goUpRequestedEv

The MCC reports: dolphin-20.12.0-1
Comment 3 Aurelien Oudelet 2020-12-15 10:07:07 CET
Testing this.
Existing user => Dolphin 20.08.3 and Dolphin 20.12.0 ==> OK no error, no segfault

That's make the bug at hear is "Live user"... 
So, really new user created.

Dolphin by default shows now Disk usage bar. (See attached screenshot.)
Browsing through directory/files is OK.
Click on UI is OK

Segfault only when I want to drag-drop mounted disk-partitions listed in left bar.

See attached reproducible segfault in a log attached.


Workaround:
To manually rearrange mounted disk-partition listed by Dolphin, use Open/Save from a Plasma application like Kate/Kwrite, Select Files => Save. In opened dialog, you can rearrange your mounted disk-partitions without segfault.


Assigning KDE Team.
Added CC'd David G for commits.

Target Milestone: --- => Mageia 8
Summary: After install from Live-DVD Dolphin segmentation faults => Dolphin 20.12.0 segmentation faults
CC: (none) => geiger.david68210, ouaurelien
Severity: normal => critical
Priority: Normal => release_blocker
Assignee: bugsquad => kde
Source RPM: dolphin-20.08.3-1.mga8.src.rpm => dolphin-20.12.0-1.mga8.src.rpm

Comment 4 Aurelien Oudelet 2020-12-15 10:08:18 CET
Created attachment 12081 [details]
Dolphin new disk usage bar in left panel

Left panel: new disk-usage bar for mounted partition.
Drag-drop them = segfault in Dolphin.
Comment 5 Aurelien Oudelet 2020-12-15 10:09:45 CET
Created attachment 12082 [details]
Log file from journalctl when reproducing Dolphin segfault

Remark the code generated : it is same.
Comment 6 David GEIGER 2020-12-15 15:45:40 CET
Should be reported upstream, no? not a mageia specific bug.
Comment 7 William Kenney 2020-12-15 16:36:24 CET
(In reply to David GEIGER from comment #6)
> Should be reported upstream, no? not a mageia specific bug.

OOoooOOOo I've really created a monster here. :-O....
Comment 8 Lewis Smith 2020-12-15 19:52:58 CET
I leave this in more competent hands.

CC: lewyssmith => (none)

Comment 9 Aurelien Oudelet 2020-12-15 20:42:43 CET
(In reply to William Kenney from comment #7)
> (In reply to David GEIGER from comment #6)
> > Should be reported upstream, no? not a mageia specific bug.
> 
> OOoooOOOo I've really created a monster here. :-O....

(In reply to Lewis Smith from comment #8)
> I leave this in more competent hands.

Reported upstream.
Here is link: https://bugs.kde.org/show_bug.cgi?id=430441

Priority: release_blocker => High
URL: (none) => https://bugs.kde.org/show_bug.cgi?id=430441
Source RPM: dolphin-20.12.0-1.mga8.src.rpm => dolphin-20.12.0-2.mga8.src.rpm
Keywords: (none) => UPSTREAM
Severity: critical => major

Comment 10 Aurelien Oudelet 2020-12-15 20:43:26 CET
@wilcal, feel free to add comments here, journalctl and core dump...
Aurelien Oudelet 2020-12-15 20:44:26 CET

Summary: Dolphin 20.12.0 segmentation faults => Dolphin 20.12.0 segmentation faults when trying to drag mounted partition in Places panel

Comment 11 Aurelien Oudelet 2020-12-15 20:46:01 CET
After search, there are these commits that had added the functionality:

https://invent.kde.org/system/dolphin/-/commit/ac6de72048fb50bca1823b8001fb012158050c25

I don't have abilities to look this C++ code.
Comment 12 William Kenney 2020-12-15 21:54:07 CET
(In reply to Aurelien Oudelet from comment #10)
> @wilcal, feel free to add comments here, journalctl and core dump...

It's a bit of a challange for me to access and move files around with Dolphin broke. :-))
Comment 13 Aurelien Oudelet 2020-12-18 20:26:51 CET
Resolved upstream in commit https://invent.kde.org/system/dolphin/commit/ef093154046f91a59bc7e0fe1f22b590f45a0b0b

Will be pushed in Dolphin 20.12.1 due next month.
Feel free to incorporate it ASAP.
Comment 14 Aurelien Oudelet 2020-12-28 10:57:09 CET
This is fixed in Cauldron, thanks David Geiger.

I really don't see any segfault in this software on bare-metal hardware installed and updated version.

Closing.

@William, can you manage to give a try on a really installed and updated version?
Don't forget Beta 2 is outdated as there is Dolphin 20.08 in it, and now at 20.12.

Resolution: (none) => FIXED
Status: NEW => RESOLVED


Note You need to log in before you can comment on or make changes to this bug.