Bug 392304

Summary: digiKam crash on exit (accessing stale QScreen instance during global destruction)
Product: [Applications] digikam Reporter: RJVB <rjvbertin>
Component: Bundle-MacOSAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: crash CC: caulier.gilles
Priority: NOR    
Version: 5.8.0   
Target Milestone: ---   
Platform: macOS (DMG)   
OS: macOS   
Latest Commit: Version Fixed In: 7.0.0
Attachments: backtrace

Description RJVB 2018-03-25 11:42:48 UTC
Created attachment 111628 [details]
backtrace

Application: digikam (5.8.0)
 (Compiled from sources)
Qt Version: 5.9.4
Frameworks Version: 5.42.0
Operating System: Darwin 13.4.0 x86_64
Distribution (Platform): MacPorts Packages

-- Information about the crash:
- What I was doing when the application crashed:

digiKam was quitting after a session in which I had scanned through several albums containing .MOV (QuickTime) items (for which thumbnail generation fails ... slowly).
Here's the terminal output from just before the crash (the abort message is from thread 42, which had not yet done the actual abort):

digikam.general: Thumbnail is null for  "XXXX.MOV"
digikam.general: User of DWItemDelegate should not delete widgets created by createItemWidgets!
digikam.general: User of DWItemDelegate should not delete widgets created by createItemWidgets!
digikam.general: User of DWItemDelegate should not delete widgets created by createItemWidgets!
digikam.general: User of DWItemDelegate should not delete widgets created by createItemWidgets!
digikam.general: User of DWItemDelegate should not delete widgets created by createItemWidgets!
digikam.general: User of DWItemDelegate should not delete widgets created by createItemWidgets!
digikam.general: User of DWItemDelegate should not delete widgets created by createItemWidgets!
digikam.general: User of DWItemDelegate should not delete widgets created by createItemWidgets!
digikam.general: User of DWItemDelegate should not delete widgets created by createItemWidgets!
digikam.general: User of DWItemDelegate should not delete widgets created by createItemWidgets!
digikam.general: User of DWItemDelegate should not delete widgets created by createItemWidgets!
digikam.general: User of DWItemDelegate should not delete widgets created by createItemWidgets!
digikam.general: User of DWItemDelegate should not delete widgets created by createItemWidgets!
digikam.general: User of DWItemDelegate should not delete widgets created by createItemWidgets!
digikam.general: User of DWItemDelegate should not delete widgets created by createItemWidgets!
digikam.general: User of DWItemDelegate should not delete widgets created by createItemWidgets!
digikam.general: User of DWItemDelegate should not delete widgets created by createItemWidgets!
digikam.general: User of DWItemDelegate should not delete widgets created by createItemWidgets!
digikam.general: User of DWItemDelegate should not delete widgets created by createItemWidgets!
digikam.general: User of DWItemDelegate should not delete widgets created by createItemWidgets!
digikam.general: User of DWItemDelegate should not delete widgets created by createItemWidgets!
digikam.general: User of DWItemDelegate should not delete widgets created by createItemWidgets!
digikam.general: User of DWItemDelegate should not delete widgets created by createItemWidgets!
digikam.general: User of DWItemDelegate should not delete widgets created by createItemWidgets!
digikam.general: User of DWItemDelegate should not delete widgets created by createItemWidgets!
digikam.general: User of DWItemDelegate should not delete widgets created by createItemWidgets!
digikam.general: User of DWItemDelegate should not delete widgets created by createItemWidgets!
digikam.general: User of DWItemDelegate should not delete widgets created by createItemWidgets!
digikam.general: User of DWItemDelegate should not delete widgets created by createItemWidgets!
digikam.general: User of DWItemDelegate should not delete widgets created by createItemWidgets!
digikam.general: User of DWItemDelegate should not delete widgets created by createItemWidgets!
digikam.general: User of DWItemDelegate should not delete widgets created by createItemWidgets!
digikam.general: User of DWItemDelegate should not delete widgets created by createItemWidgets!
digikam.general: User of DWItemDelegate should not delete widgets created by createItemWidgets!
digikam.general: User of DWItemDelegate should not delete widgets created by createItemWidgets!
digikam.general: User of DWItemDelegate should not delete widgets created by createItemWidgets!
digikam.general: User of DWItemDelegate should not delete widgets created by createItemWidgets!
digikam.general: User of DWItemDelegate should not delete widgets created by createItemWidgets!
digikam.general: User of DWItemDelegate should not delete widgets created by createItemWidgets!
digikam.general: User of DWItemDelegate should not delete widgets created by createItemWidgets!
digikam.general: User of DWItemDelegate should not delete widgets created by createItemWidgets!
digikam.general: User of DWItemDelegate should not delete widgets created by createItemWidgets!
digikam.general: User of DWItemDelegate should not delete widgets created by createItemWidgets!
digikam.general: User of DWItemDelegate should not delete widgets created by createItemWidgets!
digikam.general: User of DWItemDelegate should not delete widgets created by createItemWidgets!
digikam.general: User of DWItemDelegate should not delete widgets created by createItemWidgets!
digikam.general: User of DWItemDelegate should not delete widgets created by createItemWidgets!
digikam.general: User of DWItemDelegate should not delete widgets created by createItemWidgets!
digikam.general: User of DWItemDelegate should not delete widgets created by createItemWidgets!
digikam.general: User of DWItemDelegate should not delete widgets created by createItemWidgets!
digikam.general: User of DWItemDelegate should not delete widgets created by createItemWidgets!
digikam.general: User of DWItemDelegate should not delete widgets created by createItemWidgets!
digikam.general: User of DWItemDelegate should not delete widgets created by createItemWidgets!
digikam.general: User of DWItemDelegate should not delete widgets created by createItemWidgets!
digikam.dimg.qimage: Can not load " "XXXX.mov" " using DImg::QImageLoader!
digikam.general: Cannot create thumbnail for  "XXXX.mov"
digikam.general: Thumbnail is null for  "XXXX.mov"
ASSERT: "d" in file /path/to/kf5-digikam/work/digikam-5.8.0/core/libs/database/coredb/coredbaccess.cpp, line 114
Error in my_thread_global_end(): 1 threads didn't exit
KCrash: Application 'digikam' crashing...
KCrash: Attempting to start /opt/local/libexec/kde5/drkonqi directly


- Unusual behaviour I noticed:
Thumbnail generation was very slow for some JPG images.
Comment 1 caulier.gilles 2018-08-21 19:29:00 UTC
RJVB,

Can you reproduce the dysfunction with my last 6.0.0-beta1 bundle that i just rebuild today :

https://files.kde.org/digikam/digiKam-6.0.0-beta1-20180821T182536-MacOS-x86-64.pkg.mirrorlist

Thanks in advance

Gilles Caulier
Comment 2 caulier.gilles 2018-12-31 11:47:52 UTC
Can you reproduce the dysfunction using the last digiKam 6.0.0-beta3 just
released ?

https://www.digikam.org/news/2018-12-30-6.0.0-beta3_release_announcement/
Comment 3 caulier.gilles 2020-01-12 12:52:19 UTC
Not reproducible with 7.0.0-beta2 based on qt 5.14.0


Gilles Caulier