Bug 457476 - Software crash
Summary: Software crash
Status: RESOLVED WORKSFORME
Alias: None
Product: digikam
Classification: Applications
Component: Plugin-DImg-HEIF (show other bugs)
Version: 7.7.0
Platform: macOS (DMG) macOS
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-08-04 11:34 UTC by Chunjie
Modified: 2023-05-18 12:02 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 8.1.0


Attachments
Crash report (159.33 KB, text/plain)
2022-08-04 11:34 UTC, Chunjie
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Chunjie 2022-08-04 11:34:23 UTC
Created attachment 151105 [details]
Crash report

SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols.
See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***

STEPS TO REPRODUCE
1. open digikam
2. Click the tab on the left alternately
3. crashed

OBSERVED RESULT
crashed

EXPECTED RESULT
Switch tab normally

SOFTWARE/OS VERSIONS:7.7.0
Windows: 
macOS: 12.5
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
see log.txt
Comment 1 Maik Qualmann 2022-08-04 13:53:46 UTC
Please try the pre-release of digiKam-7.8.0 if you can reproduce the problem:

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

Maik
Comment 2 caulier.gilles 2023-03-16 15:50:13 UTC
Analysing the backtrace it sound like it crash in libheif :

Thread 6:: Digikam::ScanController
0   libheif.1.dylib               	       0x108536570 0x1084e4000 + 337264
1   libheif.1.dylib               	       0x108534763 0x1084e4000 + 329571
2   libheif.1.dylib               	       0x108534d73 0x1084e4000 + 331123
3   libheif.1.dylib               	       0x108516cf0 0x1084e4000 + 208112
4   libheif.1.dylib               	       0x1085193ce 0x1084e4000 + 218062
5   libheif.1.dylib               	       0x108518091 0x1084e4000 + 213137
6   libheif.1.dylib               	       0x10851599e 0x1084e4000 + 203166
7   libheif.1.dylib               	       0x1085153d4 0x1084e4000 + 201684
8   libheif.1.dylib               	       0x10850920d heif_decode_image + 61
9   DImg_HEIF_Plugin.so           	       0x1348e6f2a 0x1348db000 + 48938
10  DImg_HEIF_Plugin.so           	       0x1348e6702 0x1348db000 + 46850
11  DImg_HEIF_Plugin.so           	       0x1348e6211 0x1348db000 + 45585
12  libdigikamcore.7.7.0.dylib    	       0x1040e9fe0 Digikam::DImg::load(QString const&, int, Digikam::DImgLoaderObserver*, Digikam::DRawDecoding const&) + 1776
13  libdigikamcore.7.7.0.dylib    	       0x1040e9876 Digikam::DImg::loadItemInfo(QString const&, bool, bool, bool, bool) + 310
14  libdigikamdatabase.7.7.0.dylib	       0x102f194e1 Digikam::ItemScanner::loadFromDisk() + 273
15  libdigikamdatabase.7.7.0.dylib	       0x102f1f70c Digikam::ItemScanner::newFile(int) + 28
16  libdigikamdatabase.7.7.0.dylib	       0x102e14b93 Digikam::CollectionScanner::scanNewFile(QFileInfo const&, int) + 755
17  libdigikamdatabase.7.7.0.dylib	       0x102e10f88 Digikam::CollectionScanner::scanAlbum(Digikam::CollectionLocation const&, QString const&, bool) + 3944
18  libdigikamdatabase.7.7.0.dylib	       0x102e113ac Digikam::CollectionScanner::scanAlbum(Digikam::CollectionLocation const&, QString const&, bool) + 5004
19  libdigikamdatabase.7.7.0.dylib	       0x102e113ac Digikam::CollectionScanner::scanAlbum(Digikam::CollectionLocation const&, QString const&, bool) + 5004
20  libdigikamdatabase.7.7.0.dylib	       0x102e113ac Digikam::CollectionScanner::scanAlbum(Digikam::CollectionLocation const&, QString const&, bool) + 5004
21  libdigikamdatabase.7.7.0.dylib	       0x102e0ebdc Digikam::CollectionScanner::scanAlbumRoot(Digikam::CollectionLocation const&) + 476
22  libdigikamdatabase.7.7.0.dylib	       0x102e0e3b3 Digikam::CollectionScanner::completeScan() + 1139
23  libdigikamgui.7.7.0.dylib     	       0x102705fc0 Digikam::ScanController::run() + 992
24  QtCore                        	       0x1050a7252 0x10508b000 + 115282
25  libsystem_pthread.dylib       	    0x7ff80e6864e1 _pthread_start + 125
26  libsystem_pthread.dylib       	    0x7ff80e681f6b thread_start + 15

Gilles Caulier
Comment 3 caulier.gilles 2023-03-16 15:51:02 UTC
 Chunjie,

We need to know if crash is reproducible with more recent version of digiKam ?

Gilles Caulier
Comment 4 caulier.gilles 2023-04-19 05:49:06 UTC
@Chunjie

digiKam 8.0.0 is released. This file still valid ?

Gilles Caulier
Comment 5 caulier.gilles 2023-05-18 12:02:34 UTC
With digiKam 8.x we update to last libheif library compared to 7;x version which use an older release of the codec.

Here i cannot reproduce the crash, i have plenty of HEIF files generated with an Apple iPhone device. digiKam is also running under MacOS 12.6.3.

I close this file now.

Gilles Caulier