Bug 433226 - Crash - searching new entries
Summary: Crash - searching new entries
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Database-Scan (other bugs)
Version First Reported In: 7.2.0
Platform: macOS (DMG) macOS
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-02-19 08:12 UTC by Ette
Modified: 2021-03-24 19:53 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In: 7.3.0
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ette 2021-02-19 08:12:59 UTC
SUMMARY
While searching new entries, digikam crash

STEPS TO REPRODUCE
1. Connect to Network-Volume
2. Start Digikam
3. Search new entries

OBSERVED RESULT
Process:               digikam [31703]
Path:                  /Applications/digiKam.org/digikam.app/Contents/opt/digikam.app/Contents/MacOS/digikam
Identifier:            digikam
Version:               7.2.0 (7.2.0-beta2)
Code Type:             X86-64 (Native)
Parent Process:        ??? [1]
Responsible:           digikam [31703]
User ID:               502

Date/Time:             2021-02-19 08:42:23.375 +0100
OS Version:            Mac OS X 10.15.7 (19H524)
Report Version:        12
Bridge OS Version:     3.0 (14Y908)
Anonymous UUID:        EF9ADB96-6A24-FA35-6E96-6B5E4FDDAFF2

Sleep/Wake UUID:       F3BEBEE6-0F13-47DE-9274-C77D77B11809

Time Awake Since Boot: 140000 seconds
Time Since Wake:       130000 seconds

System Integrity Protection: enabled

Crashed Thread:        20  Thread (pooled)

Exception Type:        EXC_CRASH (SIGABRT)
Exception Codes:       0x0000000000000000, 0x0000000000000000
Exception Note:        EXC_CORPSE_NOTIFY

Application Specific Information:
abort() called
digikam(31703,0x700001a58000) malloc: *** error for object 0x6000012301c0: pointer being freed was not allocated
 

Thread 0:: CrBrowserMain  Dispatch queue: com.apple.main-thread
0   libsystem_kernel.dylib        	0x00007fff6cfb0dfa mach_msg_trap + 10
1   libsystem_kernel.dylib        	0x00007fff6cfb1170 mach_msg + 60
2   com.apple.CoreFoundation      	0x00007fff32dcfef5 __CFRunLoopServiceMachPort + 247
3   com.apple.CoreFoundation      	0x00007fff32dce9c2 __CFRunLoopRun + 1319
4   com.apple.CoreFoundation      	0x00007fff32dcde3e CFRunLoopRunSpecific + 462
5   com.apple.HIToolbox           	0x00007fff319faabd RunCurrentEventLoopInMode + 292
6   com.apple.HIToolbox           	0x00007fff319fa7d5 ReceiveNextEventCommon + 584
7   com.apple.HIToolbox           	0x00007fff319fa579 _BlockUntilNextEventMatchingListInModeWithFilter + 64
8   com.apple.AppKit              	0x00007fff30040039 _DPSNextEvent + 883
9   com.apple.AppKit              	0x00007fff3003e880 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1352
10  com.apple.AppKit              	0x00007fff3003058e -[NSApplication run] + 658
11  libqcocoa.dylib               	0x0000000116fdeec0 0x116fb0000 + 192192
12  org.qt-project.QtCore         	0x0000000104f2a1f8 QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 284
13  libdigikamgui.7.2.0.dylib     	0x00000001021c054f Digikam::ScanController::completeCollectionScanCore(bool, bool) + 175
14  libdigikamgui.7.2.0.dylib     	0x00000001021c05aa Digikam::ScanController::completeCollectionScanInBackground(bool) + 42
15  libdigikamgui.7.2.0.dylib     	0x000000010240bcae Digikam::NewItemsFinder::slotStart() + 398
16  libdigikamgui.7.2.0.dylib     	0x00000001023fa32f 0x102046000 + 3883823
17  org.qt-project.QtCore         	0x0000000104f4643f QObject::event(QEvent*) + 693
18  org.qt-project.QtWidgets      	0x00000001045d304a QApplicationPrivate::notify_helper(QObject*, QEvent*) + 212
19  org.qt-project.QtWidgets      	0x00000001045d3ea7 QApplication::notify(QObject*, QEvent*) + 481
20  org.qt-project.QtCore         	0x0000000104f2c56c QCoreApplication::notifyInternal2(QObject*, QEvent*) + 138
21  org.qt-project.QtCore         	0x0000000104f2d0e0 QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) + 392
22  libqcocoa.dylib               	0x0000000116fdf6d2 0x116fb0000 + 194258
23  libqcocoa.dylib               	0x0000000116fdfc7e 0x116fb0000 + 195710
24  com.apple.CoreFoundation      	0x00007fff32dcfd52 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
25  com.apple.CoreFoundation      	0x00007fff32dcfcf1 __CFRunLoopDoSource0 + 103
26  com.apple.CoreFoundation      	0x00007fff32dcfb0b __CFRunLoopDoSources0 + 209
27  com.apple.CoreFoundation      	0x00007fff32dce83a __CFRunLoopRun + 927
28  com.apple.CoreFoundation      	0x00007fff32dcde3e CFRunLoopRunSpecific + 462
29  com.apple.HIToolbox           	0x00007fff319faabd RunCurrentEventLoopInMode + 292
30  com.apple.HIToolbox           	0x00007fff319fa7d5 ReceiveNextEventCommon + 584
31  com.apple.HIToolbox           	0x00007fff319fa579 _BlockUntilNextEventMatchingListInModeWithFilter + 64
32  com.apple.AppKit              	0x00007fff30040039 _DPSNextEvent + 883
33  com.apple.AppKit              	0x00007fff3003e880 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1352
34  com.apple.AppKit              	0x00007fff3003058e -[NSApplication run] + 658
35  libqcocoa.dylib               	0x0000000116fdeec0 0x116fb0000 + 192192
36  org.qt-project.QtCore         	0x0000000104f2a1f8 QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 284
37  org.qt-project.QtCore         	0x0000000104f2c9db QCoreApplication::exec() + 123
38  digikam                       	0x000000010203607a 0x10202a000 + 49274
39  libdyld.dylib                 	0x00007fff6ce6fcc9 start + 1

Thread 1:: Digikam::ScanController
0   libsystem_kernel.dylib        	0x00007fff6cfb269e __read_nocancel + 10
1   libsystem_c.dylib             	0x00007fff6ceff2cb _sread + 16
2   libsystem_c.dylib             	0x00007fff6cefe946 __srefill1 + 24
3   libsystem_c.dylib             	0x00007fff6cef97c2 __fread + 237
4   libsystem_c.dylib             	0x00007fff6cef96be fread + 48
5   libexiv2.27.dylib             	0x000000010730d971 Exiv2::JpegBase::readMetadata() + 1297
6   libdigikamcore.7.2.0.dylib    	0x00000001030a54bd Digikam::MetaEngine::load(QString const&) + 317
7   libdigikamcore.7.2.0.dylib    	0x00000001030f8a0c Digikam::DMetadata::load(QString const&) + 412
8   libdigikamdatabase.7.2.0.dylib	0x0000000102c9e658 Digikam::ItemScanner::loadFromDisk() + 136
9   libdigikamdatabase.7.2.0.dylib	0x0000000102ca4b1f Digikam::ItemScanner::newFile(int) + 31
10  libdigikamdatabase.7.2.0.dylib	0x0000000102ba0b78 Digikam::CollectionScanner::scanNewFile(QFileInfo const&, int) + 712
11  libdigikamdatabase.7.2.0.dylib	0x0000000102b9d6d1 Digikam::CollectionScanner::scanAlbum(Digikam::CollectionLocation const&, QString const&) + 3393
12  libdigikamdatabase.7.2.0.dylib	0x0000000102b9da3a Digikam::CollectionScanner::scanAlbum(Digikam::CollectionLocation const&, QString const&) + 4266
13  libdigikamdatabase.7.2.0.dylib	0x0000000102b9da3a Digikam::CollectionScanner::scanAlbum(Digikam::CollectionLocation const&, QString const&) + 4266
14  libdigikamdatabase.7.2.0.dylib	0x0000000102b9da3a Digikam::CollectionScanner::scanAlbum(Digikam::CollectionLocation const&, QString const&) + 4266
15  libdigikamdatabase.7.2.0.dylib	0x0000000102b9ba52 Digikam::CollectionScanner::scanAlbumRoot(Digikam::CollectionLocation const&) + 178
16  libdigikamdatabase.7.2.0.dylib	0x0000000102b9b392 Digikam::CollectionScanner::completeScan() + 1122
17  libdigikamgui.7.2.0.dylib     	0x00000001021bc60e Digikam::ScanController::run() + 990
18  org.qt-project.QtCore         	0x0000000104e0f234 0x104df2000 + 119348
19  libsystem_pthread.dylib       	0x00007fff6d074109 _pthread_start + 148
20  libsystem_pthread.dylib       	0x00007fff6d06fb8b thread_start + 15

EXPECTED RESULT

No crash!
Comment 1 Maik Qualmann 2021-02-19 12:23:59 UTC
The crash log is incomplete. Crashed thread 20 is missing from the listing. Please also try the current release candidate of digiKam-7.2.0 from here:

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

Maik
Comment 2 caulier.gilles 2021-02-19 14:50:43 UTC
Hi Ette,

Another point : please use the PKG with debug symbols (file name prefix '-debug')

Gilles Caulier
Comment 3 Ette 2021-02-26 05:52:10 UTC
Hi,
No more crashes since the last download.
I´m still testing.
THX