Bug 408549 - Many crashes on MacOS with current git
Summary: Many crashes on MacOS with current git
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Bundle-MacOS (show other bugs)
Version: 6.2.0
Platform: macOS (DMG) macOS
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-06-10 20:13 UTC by Jens
Modified: 2020-08-10 10:18 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 6.3.0


Attachments
crash log (89.16 KB, text/plain)
2019-06-10 20:13 UTC, Jens
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jens 2019-06-10 20:13:09 UTC
Created attachment 120763 [details]
crash log

SUMMARY
Digikam crashes frequently when resuming from sleep on Macbook Pro, or when exiting.
See example trace attached.

STEPS TO REPRODUCE
1. start digikam
2. enter sleep
3. resume

OBSERVED RESULT
crash

EXPECTED RESULT
no crash

SOFTWARE/OS VERSIONS
Windows: 
macOS:  10.14.0
Qt Version: appimage

ADDITIONAL INFORMATION
digiKam-6.2.0-git-20190606T214155-MacOS-x86-64.pkg
Comment 1 Maik Qualmann 2019-06-10 20:37:44 UTC
Interesting that it crashes even after waking up. Yes, the crash at the end is currently known. Unfortunately, the bugtraces are not really useful. Gilles, is not it possible to create better bugtraces on MacOS?

Maik

*** This bug has been marked as a duplicate of bug 407235 ***
Comment 2 caulier.gilles 2019-06-11 07:20:31 UTC
Maik,

Providing a suitable backtrace is a problem that i faced many time under MacOS.

Typically, whole digiKam is compiled like this :

- all debug symbols : 

https://cgit.kde.org/digikam.git/tree/project/bundles/macports/03-build-digikam.sh#n109

- Symbols are not stripped from digiKam, showfoto, and Exiv2 : 

https://cgit.kde.org/digikam.git/tree/project/bundles/macports/config.sh#n75

https://cgit.kde.org/digikam.git/tree/project/bundles/macports/04-build-installer.sh#n423

- using XCode debugger from command line must return the proper backtrace :

lldb /opt/digikam/Applications/KF5/digikam.app/Contents/MacOS/digikam

MacOS is obscur here. I hear that security level have been introduced by Apple to not hack a program at run time as well. Without to use right level, the backtrace is only given in assembly...

Gilles
Comment 3 caulier.gilles 2019-06-11 08:25:22 UTC
Note : i also tried to use XCode GUI to debug digiKam, and it give the same assembly trace...

Gilles
Comment 4 caulier.gilles 2019-07-27 15:59:05 UTC
Please test with 6.2.0 pre-release bundles available here :

https://files.kde.org/digikam/

Thanks in advance

Gilles Caulier
Comment 5 caulier.gilles 2019-08-26 15:16:58 UTC
Fixed with bug #407235