Summary: | Dolphin crashes at startup (after enabling user feedback feature) when built without Baloo | ||
---|---|---|---|
Product: | [Applications] dolphin | Reporter: | Karl Ove Hufthammer <karl> |
Component: | general | Assignee: | Dolphin Bug Assignee <dolphin-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | darwin_te, kfm-devel, liubomirwm, nate |
Priority: | NOR | Keywords: | drkonqi |
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/system/dolphin/commit/5ed12ed44a7169855d46486d17c3e18697c3c4ae | Version Fixed In: | 21.12.2 |
Attachments: | New crash information added by DrKonqi |
Description
Karl Ove Hufthammer
2021-01-17 12:28:57 UTC
Created attachment 134966 [details]
New crash information added by DrKonqi
DrKonqi auto-attaching complete backtrace.
I have tried manually editing the file ~/.config/kde.org/UserFeedback.org.kde.dolphin.conf to see which settings causes the crash. It turns out that if I set [Source-settings] dataSourceCommonSettings\activeState=true then Dolphin crashes at startup. But if I set it to false, it doesn’t. Setting the other settings (e.g. ‘[Source-applicationVersion]’) in this file to true does *not* cause Dolphin to crash. Weird. I tried adding [Source-settings] dataSourceCommonSettings\activeState=true To that file and launching Dolphin, and those lines actually got deleted. Then Dolphin launched with no crash. I suppose that's not happening for you? This is with everything from git master. (In reply to Nate Graham from comment #3) > Weird. I tried adding > > [Source-settings] > dataSourceCommonSettings\activeState=true > > To that file and launching Dolphin, and those lines actually got deleted. > Then Dolphin launched with no crash. I suppose that's not happening for you? > > This is with everything from git master. I just tested this again: 1. Updated to the latest version from git master. 2. Ensured that Dolphin was not running. 3. Deleted the file ~/.config/kde.org/UserFeedback.org.kde.dolphin.conf 4. Started Dolphin (no crash). 5. Went to the settings and set both user feedback sliders to the maximum. 6. Pressed ‘Apply’. Dolphin then crashed. And if I try to start Dolphin again, it crashes again. And again. But the contents of the ~/.config/kde.org/UserFeedback.org.kde.dolphin.conf is now only: [UserFeedback] ApplicationStartCount=3 StatisticsCollectionMode=DetailedUsageStatistics SurveyInterval=0 BTW, I have also enabled the user feedback in Kate, with no crashes. Interesting. If I follow those exact steps, I still can't get it to crash. The file looks like this for me: cat ~/.config/kde.org/UserFeedback.org.kde.dolphin.conf [Source-applicationVersion] dataSourceCommonSettings\activeState=true [Source-locale] dataSourceCommonSettings\activeState=true [Source-places] dataSourceCommonSettings\activeState=true [Source-platform] dataSourceCommonSettings\activeState=true [Source-qtVersion] dataSourceCommonSettings\activeState=true [Source-screens] dataSourceCommonSettings\activeState=true [Source-settings] dataSourceCommonSettings\activeState=true [Source-startCount] dataSourceCommonSettings\activeState=true [Source-usageTime] dataSourceCommonSettings\activeState=true [UserFeedback] ApplicationStartCount=1 ApplicationTime=20 LastSubmission=@DateTime(\0\0\0\x10\0\0\0\0\0\0%\x86\x62\x2Z\x17I\0) StatisticsCollectionMode=DetailedUsageStatistics SurveyInterval=0 By enabling one level of the sliders at a time, I managed to get a non-crashing version. The .conf file now looks like this: [UserFeedback] ApplicationStartCount=2 LastSubmission=@DateTime(\0\0\0\x10\0\0\0\0\0\0%\x86\x62\x4\x17Kt\0) StatisticsCollectionMode=DetailedUsageStatistics SurveyInterval=0 If I start Dolphin with this file, it does *not* crash. However, if I remove the LastSubmission line, it consistently crashes at startup. I’m not sure if this is related, but if I start Dolphin with the non-crashing .conf file and press the ‘Show the raw data that is going to be shared.’ (a lifebuoy icon?) in the user feedback settings, Dolphin crashes. A possibly relevant merge request was started @ https://invent.kde.org/system/dolphin/-/merge_requests/165 Git commit 5ed12ed44a7169855d46486d17c3e18697c3c4ae by Harald Sitter. Committed on 25/01/2021 at 09:12. Pushed by sitter into branch 'release/20.12'. don't crash when building without baloo show_information_panel is only created when building with baloo. only access it when built with baloo, otherwise always report the panel as off. this fixes a nullptr deref because action() would return a nullptr since show_information_panel isn't a thing in all build configurations (full disclosure: I can't reproduce the crash, nor did I build without baloo) M +4 -0 src/dolphinmainwindow.cpp https://invent.kde.org/system/dolphin/commit/5ed12ed44a7169855d46486d17c3e18697c3c4ae *** Bug 419505 has been marked as a duplicate of this bug. *** *** Bug 449647 has been marked as a duplicate of this bug. *** |