Description of problem: Mageia-8-rc-Live-Plasma-x86_64.iso 1/31/21 md5sum: 39eade18b4da6816bdc1cb9fd145cfe3 Dolphin launches normally in Live-DVD mode Dolphin seg faults after install to either real hardware or to a Vbox client launching dolphin from a terminal shows the segmentation fault.
Mageia-8-rc-Live-Plasma-x86_64.iso 1/31/21 md5sum: 39eade18b4da6816bdc1cb9fd145cfe3 févr. 08 17:54:31 localhost plasmashell[2229]: trying to show an empty dialog févr. 08 17:54:31 localhost systemd[1988]: Started Dolphin - Gestionnaire de fichiers. févr. 08 17:54:32 localhost dolphin[2639]: org.kde.dolphin: Unknown class "" in session saved data! févr. 08 17:54:41 localhost kdeinit5[2678]: Qt: Session management error: networkIdsList argument is NULL févr. 08 17:54:42 localhost systemd[1988]: app-org.kde.dolphin\x20\x281\x29-b5d21773407744988dba7a8f316c61a4.scope: Succeeded. févr. 08 17:54:42 localhost systemd[1988]: app-org.kde.dolphin\x20\x281\x29-b5d21773407744988dba7a8f316c61a4.scope: Consumed 1.454s CPU time. Note that: $ urpmq -i dolphin Name : dolphin Epoch : 1 Version : 20.12.0 Release : 6.mga8 Group : System/Base Size : 5158502 Architecture: x86_64 Source RPM : dolphin-20.12.0-6.mga8.src.rpm URL : https://kde.org/applications/system/org.kde.dolphin Summary : File manager for KDE focusing on usability This is live installed on real hardware with updates immediately applied within the live session. Dolphin starts well and runs well.
CC: (none) => ouaurelien
(In reply to Aurelien Oudelet from comment #1) So the Live-DVD, without updates, Dolphin sig faults?
This has to be labeled a Priority "release blocker" as it's in the present iso.
Priority: Normal => release_blocker
CC: (none) => friKeywords: (none) => FOR_ERRATA8
Added: {{bug|28324}} - dolphin seg faults - ''Already fixed when you apply updates'' As usual remove later from errata when fixed, before final.
Keywords: FOR_ERRATA8 => IN_ERRATA8
(In reply to Morgan Leijström from comment #4) Many thanks Morgan.
Thanks for catching this (In reply to Morgan Leijström from comment #4) > As usual remove later from errata when fixed, * at time of next public ISO release * to be specific.
@William, please do this on installed system from KDE Live ISO RC1 public. 1) in a terminal as root (or you with sudo command): # journalctl -f 2) in a new terminal: $ rpm -qa | grep dolphin 3) open Dolphin. try to reproduce what you do to reproduce it. Add eventual segfault added from kernel in journal output. Please carefully detail what do you do to get the segfault. I really try to reproduce. I simply can't. (In reply to William Kenney from comment #2) > (In reply to Aurelien Oudelet from comment #1) > > So the Live-DVD, without updates, Dolphin sig faults? No, even in Live environnment (x86_64) on real and virtual hardware, I simply can't reproduce a segfault upon opening Dolphin with: dolphin-20.12.0-5.mga8 present on Live system and dolphin-20.12.0-6.mga8 which is in M8/core repository. So. This is not a release blocker for me. But, leaving this as is until more details are added.
(In reply to William Kenney from comment #0) > Description of problem: > > Mageia-8-rc-Live-Plasma-x86_64.iso 1/31/21 > md5sum: 39eade18b4da6816bdc1cb9fd145cfe3 > > Dolphin launches normally in Live-DVD mode > Dolphin seg faults after install to either real > hardware or to a Vbox client > > launching dolphin from a terminal shows the segmentation fault. One more question, but I think partially answered or not as reading above... Does the /home partition is retained to the newly installed M8 RC1 or does this is an entirely fresh install without datas in /home?
Status comment: (none) => Not reproduced by Bugsquad on real and on virtualized one.Summary: dolphin seg faults after Live-DVD install => Dolphin segfaults after Live-DVD Plasma installSource RPM: (none) => dolphin-20.12.0-6.mga8
(In reply to Aurelien Oudelet from comment #8) > (In reply to William Kenney from comment #0) > > Description of problem: > > > > Mageia-8-rc-Live-Plasma-x86_64.iso 1/31/21 > > md5sum: 39eade18b4da6816bdc1cb9fd145cfe3 > > > > Dolphin launches normally in Live-DVD mode > > Dolphin seg faults after install to either real > > hardware or to a Vbox client > > > > launching dolphin from a terminal shows the segmentation fault. > > One more question, but I think partially answered or not as reading above... > Does the /home partition is retained to the newly installed M8 RC1 or does > this is an entirely fresh install without datas in /home? When ever I do a new install to real hardware I always zero out the drive before the install: dd if=/dev/zero of=/dev/sda status=progress I may stop this process early as I only want to get the partitioning info off the drive.
(In reply to William Kenney from comment #9) > > dd if=/dev/zero of=/dev/sda status=progress > > I may stop this process early as I only want to get the partitioning info > off the drive. OK, this should not segfault. Bad RAM? Really, Dolphin does not segfault on my computer.
i can reproduce. you need to start a live and install it. In live mode no crash, when installed crash
CC: (none) => mageia
(In reply to Nicolas Lécureuil from comment #11) > i can reproduce. > > > you need to start a live and install it. > > In live mode no crash, when installed crash Thank you Nicolas. You are the best.
Status comment: Not reproduced by Bugsquad on real and on virtualized one. => Reproducer
this is random :-( i reinstalled a Live ( because it crashed => no more disk space ). With my new install it is OK. I will try something else ( Start the live, open Dolphin, install the Live )
YES!! Better reproducer. -1- Start Mageia Live -2- Start dolphin ( it starts OK ) -3- Install the live -4- Start dolphin => it crashes
Yep reproduced. Feb 12 15:24:42 localhost kernel: dolphin[2632]: segfault at 50 ip 00007f6c72c6db30 sp 00007ffed936ab40 error 4 in libkdeinit5_dolphin.so[7f6c72c53000+6b000] Feb 12 15:24:42 localhost kernel: Code: 49 89 fc e8 92 95 fe ff 4c 89 e0 41 5c c3 66 66 2e 0f 1f 84 00 00 00 00 00 90 41 54 44 0f b6 e6 55 89 f5 44 89 e6 53 48 89 fb <48> 8b 7f 50 e8 07 da 01 00 48 8b 43 40 48 85 c0 74 23 8b 50 04 85 Feb 12 15:24:42 localhost systemd[1821]: app-org.kde.dolphin\x20\x281\x29-4d6d192955344826bd15ea5884589446.scope: Succeeded. Strangely, it appears with Dolphin 20.12.0-5.mga8 carried over a Live-DVD RC1 public ISO while setting US as locale for this WM! But, trying to install -debuginfo package... it wants to install dolphin-20.12.0-6.mga8......... argh... (Note that inside VirtualBox I get this error while also launching Dolphin but it hits all applications: Feb 12 15:28:39 localhost kernel: [drm:vmw_msg_ioctl [vmwgfx]] *ERROR* Failed to open channel. Feb 12 15:28:39 localhost kernel: [drm:vmw_msg_ioctl [vmwgfx]] *ERROR* Failed to open channel. See https://bugs.mageia.org/show_bug.cgi?id=28330. So it is not related to this.) Diff between dolphin 20.12.0-5 and 20.12.0-6 in core/release is this fix: Add P4: Fix crash in dolphin (mga#28311) But it hits kernel: dolphin[11956]: segfault at 30 ip 00007fab7a6dc29e sp 00007ffd40bda9b0 error 4 in libKF5KIOFileWidgets.so.5.76.0[7fab7a67e000+65000] So unrelated. So no, this not fixed... Updating to 20.12.0-6 from core/release... Feb 12 15:38:13 localhost kernel: dolphin[3239]: segfault at 50 ip 00007fea78a45b30 sp 00007ffdeb4c89d0 error 4 in libkdeinit5_dolphin.so[7fea78a2b000+6b000] Feb 12 15:38:13 localhost kernel: Code: 49 89 fc e8 92 95 fe ff 4c 89 e0 41 5c c3 66 66 2e 0f 1f 84 00 00 00 00 00 90 41 54 44 0f b6 e6 55 89 f5 44 89 e6 53 48 89 fb <48> 8b 7f 50 e8 07 da 01 00 48 8b 43 40 48 85 c0 74 23 8b 50 04 85 Feb 12 15:38:13 localhost systemd[2484]: app-org.kde.dolphin\x20\x281\x29-5aed39f2973e4ef58b3ff64e9f4f5539.scope: Succeeded. Still the same. Uh. So -debug files. Reading symbols from dolphin... Reading symbols from /usr/lib/debug/usr/bin/dolphin-20.12.0-6.mga8.x86_64.debug... (gdb) run Starting program: /usr/bin/dolphin [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib64/libthread_db.so.1". [New Thread 0x7fffe65fc640 (LWP 6673)] [New Thread 0x7fffe5a37640 (LWP 6674)] [New Thread 0x7fffdd1ff640 (LWP 6675)] [New Thread 0x7fffdc9fe640 (LWP 6676)] [New Thread 0x7fffd3c92640 (LWP 6677)] [New Thread 0x7fffd3491640 (LWP 6678)] [New Thread 0x7fffd2c90640 (LWP 6679)] Thread 1 "dolphin" received signal SIGSEGV, Segmentation fault. 0x00007ffff7f1eb30 in DolphinViewContainer::setActive (this=0x0, active=true) at /usr/src/debug/dolphin-20.12.0-6.mga8.x86_64/src/dolphinviewcontainer.cpp:215 215 m_searchBox->setActive(active);
i just pushed a potential fix. It fixes de null pointer.
That's a good segfault. Trying it with switch to FR locale... still within a VM... And after switching to FR locale and rebooted... Booh segfault... Feb 12 16:05:45 localhost kernel: dolphin[7282]: segfault at 50 ip 00007fa50b457b30 sp 00007ffc0e0d81b0 error 4 in libkdeinit5_dolphin.so[7fa50b43d000+6b000] Feb 12 16:05:45 localhost kernel: Code: 49 89 fc e8 92 95 fe ff 4c 89 e0 41 5c c3 66 66 2e 0f 1f 84 00 00 00 00 00 90 41 54 44 0f b6 e6 55 89 f5 44 89 e6 53 48 89 fb <48> 8b 7f 50 e8 07 da 01 00 48 8b 43 40 48 85 c0 74 23 8b 50 04 85 Feb 12 16:05:45 localhost systemd[2558]: app-org.kde.dolphin\x20\x281\x29-f078241b5d6e40c0a86efabbb091a307.scope: Succeeded. That's still strange, on my main system, it does not segfault... (M8 Plasma x86_64 installed from Classic public RC1 ISO)
What a mess I created :-0.....
Note that using dolphin-20.12.0-8.mga8 from core/updates_testing and after a reboot, while using now FR locale, (and US locale) It still segfault: $ gdb dolphin Missing separate debuginfos, use: debuginfo-install dolphin-20.12.0-8.mga8.x86_64 (gdb) run Starting program: /usr/bin/dolphin [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib64/libthread_db.so.1". [New Thread 0x7fffe65fc640 (LWP 7505)] [New Thread 0x7fffe59c4640 (LWP 7506)] [New Thread 0x7fffdd1ff640 (LWP 7507)] [New Thread 0x7fffdc9fe640 (LWP 7508)] [New Thread 0x7fffd3c92640 (LWP 7509)] [New Thread 0x7fffd3491640 (LWP 7510)] [New Thread 0x7fffd2c90640 (LWP 7511)] Thread 1 "dolphin" received signal SIGSEGV, Segmentation fault. 0x00007ffff7f1eb1d in DolphinViewContainer::setActive(bool) () from /lib64/libkdeinit5_dolphin.so
Status comment: Reproducer => even with dolphin-20.12.0-8.mga8 from updates_testingSummary: Dolphin segfaults after Live-DVD Plasma install => On systems installed from Live-DVD Plasma, Dolphin segfaults
STOP !! Creating a new user with drakconf. Log to this newly created user account... Open Dolphin... NO SEGFAULT !
So, there is strange bit of datas written somewhere in Live environment that are carried over the installation to newly system. Investigating: The culprit is session management added to Dolphin in Dolphin 20.08... This is the option in Dolphin's preferences: Startup => Show on startup "Folders, tabs, and window state from last time". This wants to open /home/live/ with several name "live" somewhere... and it crashed because it no longer exists although there is a symlink "Live" that points to /home/aurelien (where "aurelien" is the name of the first user created after installation). So, this is no accessible as Dolphin crashes as soon as it launches. After many tries, there are several files to delete to workaround this on already installed systems: First: ~/.config/session/dolphin_dolphin_dolphin ~/.config/dolphinrc Remove everything in them. => No segfault after.
Status comment: even with dolphin-20.12.0-8.mga8 from updates_testing => Workaround on already installed systems in Comment 21
Assignee: bugsquad => kde
Keywords: (none) => UPSTREAM
URL: (none) => https://bugs.kde.org/show_bug.cgi?id=432862
(In reply to Aurelien Oudelet from comment #21) So how about disabling this one by default in live mode then: > Startup => Show on startup "Folders, tabs, and window state from last time". and flip it back on in finish-install > This wants to open /home/live/ with several name "live" somewhere... and it > crashed because it no longer exists although there is a symlink "Live" that > points to /home/aurelien (where "aurelien" is the name of the first user > created after installation). maybe dolpin has some code to not follow symlinks in /home by default ? > So, this is no accessible as Dolphin crashes as soon as it launches. > > After many tries, there are several files to delete to workaround this on > already installed systems: > First: > ~/.config/session/dolphin_dolphin_dolphin > ~/.config/dolphinrc > > Remove everything in them. => No segfault after. or this could be done with finish-install
@martin according to: https://bugs.kde.org/show_bug.cgi?id=432862#c3 we should in live media creation add: /home/live/config/dolphinrc with content: [General] RememberOpenedTabs=false I think dolphin will happily fill in the rest of configs when it starts
that would obviously be: /home/live/.config/dolphinrc
(In reply to Thomas Backlund from comment #22) > (In reply to Aurelien Oudelet from comment #21) > > So how about disabling this one by default in live mode then: > > Startup => Show on startup "Folders, tabs, and window state from last time". > > and flip it back on in finish-install > > > This wants to open /home/live/ with several name "live" somewhere... and it > > crashed because it no longer exists although there is a symlink "Live" that > > points to /home/aurelien (where "aurelien" is the name of the first user > > created after installation). > > maybe dolpin has some code to not follow symlinks in /home by default ? > > > So, this is no accessible as Dolphin crashes as soon as it launches. > > > > After many tries, there are several files to delete to workaround this on > > already installed systems: > > First: > > ~/.config/session/dolphin_dolphin_dolphin > > ~/.config/dolphinrc > > > > Remove everything in them. => No segfault after. > > or this could be done with finish-install I do think the latter is the good solution. We also should add an errata entry saying that Dolphin should not run before running the installer. Or we should not copy the Live user directory to the final /home only for Live Plasma.
(In reply to Thomas Backlund from comment #24) > that would obviously be: > > /home/live/.config/dolphinrc Yeah you're right.
If I add a /home/live/.config/dolphinrc, I can mark it for automatic removal during installation.
Added to draklive-config, will be in next ISO build.
Marked in RC errata as fixed next iso
Live session fixed. Demoting this, it should no longer a blocker one. But a real upstream fix is in under investigation.
Target Milestone: --- => Mageia 9Priority: release_blocker => High
I assume fix is working So now removed from Errata
Keywords: IN_ERRATA8 => (none)