Bug 367979 - Crashes when scanning directories on network drive
Summary: Crashes when scanning directories on network drive
Status: REPORTED
Alias: None
Product: digikam
Classification: Applications
Component: Database-Media (show other bugs)
Version: 5.1.0
Platform: macOS (DMG) macOS
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-08-29 23:17 UTC by bcr
Modified: 2024-03-28 07:11 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description bcr 2016-08-29 23:17:21 UTC
Performing initial setup using digikam 5.1 (using a remote DB) and pointed it towards a network drive holding my image folders to import them.  Unfortunately it crashed at about 15% complete. (stack trace below)

Upon re-opening digikam, it seemed to try and perform the scan again but it zoomed through all the directories quickly as if it had been successful earlier.  When opening the folders only about 15% of the images showed up, the rest were empty.

The new 5.1 looks like a good improvement on OSX though, wasn't able to specify a network drive before in the dialog.


Process:               digikam [17364]
Path:                  /opt/digikam/*/digikam.app/Contents/MacOS/digikam
Identifier:            digikam
Version:               5.1.0 (5.1.0)
Code Type:             X86-64 (Native)
Parent Process:        ??? [1]
Responsible:           digikam [17364]

Date/Time:             2016-08-29 15:49:10.521 -0700
OS Version:            Mac OS X 10.11.6 (15G31)
Report Version:        11
Anonymous UUID:        56C2D1C9-ACA1-3B77-6BF6-7B5D63D57C85

Sleep/Wake UUID:       AFF3513E-DDE4-49BA-A55C-1E8576622DB1

Time Awake Since Boot: 630000 seconds
Time Since Wake:       33000 seconds

System Integrity Protection: enabled

Crashed Thread:        15  Thread (pooled)

Exception Type:        EXC_BAD_ACCESS (SIGBUS)
Exception Codes:       0x000000000000000a, 0x000000012f6a9000
Exception Note:        EXC_CORPSE_NOTIFY

VM Regions Near 0x12f6a9000:
    __LINKEDIT             000000012ed98000-000000012edb6000 [  120K] r--/rwx SM=COW  /System/Library/Frameworks/OpenCL.framework/Versions/A/Libraries/ImageFormats/half_rgba.dylib
--> mapped file            000000012edb6000-000000012ff9e000 [ 17.9M] r--/r-x SM=PRV  
    MALLOC_LARGE_REUSABLE  000000012ff9e000-000000013172a000 [ 23.5M] rw-/rwx SM=PRV  

Thread 0:: Dispatch queue: com.apple.main-thread
0   libsystem_kernel.dylib        	0x00007fff8c36ef72 mach_msg_trap + 10
1   libsystem_kernel.dylib        	0x00007fff8c36e3b3 mach_msg + 55
2   com.apple.CoreFoundation      	0x00007fff933541c4 __CFRunLoopServiceMachPort + 212
3   com.apple.CoreFoundation      	0x00007fff9335368c __CFRunLoopRun + 1356
4   com.apple.CoreFoundation      	0x00007fff93352ed8 CFRunLoopRunSpecific + 296
5   com.apple.HIToolbox           	0x00007fff9a555935 RunCurrentEventLoopInMode + 235
6   com.apple.HIToolbox           	0x00007fff9a55576f ReceiveNextEventCommon + 432
7   com.apple.HIToolbox           	0x00007fff9a5555af _BlockUntilNextEventMatchingListInModeWithFilter + 71
8   com.apple.AppKit              	0x00007fff983a3df6 _DPSNextEvent + 1067
9   com.apple.AppKit              	0x00007fff983a3226 -[NSApplication _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 454
10  libqcocoa.dylib               	0x0000000112aa62e1 QCocoaEventDispatcher::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 2081
11  org.qt-project.QtCore         	0x000000010b85e3d1 QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 417
12  libdigikamgui.5.1.0.dylib     	0x0000000104a71925 Digikam::ScanController::completeCollectionScanCore(bool, bool) + 165
13  libdigikamgui.5.1.0.dylib     	0x0000000104a717af Digikam::ScanController::completeCollectionScan(bool) + 63
14  libdigikamgui.5.1.0.dylib     	0x0000000104d7dbb5 Digikam::AlbumManager::changeDatabase(Digikam::DbEngineParameters const&) + 8549
15  libdigikamgui.5.1.0.dylib     	0x0000000104b03dde Digikam::DigikamApp::slotSetupChanged() + 206
16  libdigikamgui.5.1.0.dylib     	0x0000000104be7358 Digikam::DigikamApp::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) + 552
17  org.qt-project.QtCore         	0x000000010b897796 QMetaObject::activate(QObject*, int, int, void**) + 742
18  libdigikamgui.5.1.0.dylib     	0x0000000104e25392 Digikam::ApplicationSettings::setupChanged() + 34
19  libdigikamgui.5.1.0.dylib     	0x0000000104e1ca15 Digikam::ApplicationSettings::emitSetupChanged() + 21
20  libdigikamgui.5.1.0.dylib     	0x0000000104c4e353 Digikam::Setup::slotOkClicked() + 515
21  libdigikamgui.5.1.0.dylib     	0x0000000104c5013a QtPrivate::FunctorCall<QtPrivate::IndexesList<>, QtPrivate::List<>, void, void (Digikam::Setup::*)()>::call(void (Digikam::Setup::*)(), Digikam::Setup*, void**) + 122
22  libdigikamgui.5.1.0.dylib     	0x0000000104c50090 void QtPrivate::FunctionPointer<void (Digikam::Setup::*)()>::call<QtPrivate::List<>, void>(void (Digikam::Setup::*)(), Digikam::Setup*, void**) + 80
23  libdigikamgui.5.1.0.dylib     	0x0000000104c4ffb6 QtPrivate::QSlotObject<void (Digikam::Setup::*)(), QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) + 166
24  org.qt-project.QtCore         	0x000000010b897c02 QMetaObject::activate(QObject*, int, int, void**) + 1874
25  org.qt-project.QtWidgets      	0x000000010aad7ab0 QAbstractButtonPrivate::emitClicked() + 112
26  org.qt-project.QtWidgets      	0x000000010aad7945 QAbstractButtonPrivate::click() + 229
27  org.qt-project.QtWidgets      	0x000000010aad8990 QAbstractButton::mouseReleaseEvent(QMouseEvent*) + 272
28  org.qt-project.QtWidgets      	0x000000010aa2b77f QWidget::event(QEvent*) + 1535
29  org.qt-project.QtWidgets      	0x000000010aad86e0 QAbstractButton::event(QEvent*) + 160
30  org.qt-project.QtWidgets      	0x000000010a9ea096 QApplicationPrivate::notify_helper(QObject*, QEvent*) + 294
31  org.qt-project.QtWidgets      	0x000000010a9ed493 QApplication::notify(QObject*, QEvent*) + 8339
32  org.qt-project.QtCore         	0x000000010b862214 QCoreApplication::notifyInternal2(QObject*, QEvent*) + 164
33  org.qt-project.QtWidgets      	0x000000010a9eaa4a QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) + 970
34  org.qt-project.QtWidgets      	0x000000010aa4d492 QWidgetWindow::handleMouseEvent(QMouseEvent*) + 1458
35  org.qt-project.QtWidgets      	0x000000010aa4c46e QWidgetWindow::event(QEvent*) + 238
36  org.qt-project.QtWidgets      	0x000000010a9ea096 QApplicationPrivate::notify_helper(QObject*, QEvent*) + 294
37  org.qt-project.QtWidgets      	0x000000010a9eb5f8 QApplication::notify(QObject*, QEvent*) + 504
38  org.qt-project.QtCore         	0x000000010b862214 QCoreApplication::notifyInternal2(QObject*, QEvent*) + 164
39  org.qt-project.QtGui          	0x000000010b0f3c7d QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) + 2877
40  org.qt-project.QtGui          	0x000000010b0dbeeb QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 203
41  libqcocoa.dylib               	0x0000000112aa7441 QCocoaEventDispatcherPrivate::postedEventsSourceCallback(void*) + 33
42  com.apple.CoreFoundation      	0x00007fff93374881 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
43  com.apple.CoreFoundation      	0x00007fff93353fbc __CFRunLoopDoSources0 + 556
44  com.apple.CoreFoundation      	0x00007fff933534df __CFRunLoopRun + 927
45  com.apple.CoreFoundation      	0x00007fff93352ed8 CFRunLoopRunSpecific + 296
46  com.apple.HIToolbox           	0x00007fff9a555935 RunCurrentEventLoopInMode + 235
47  com.apple.HIToolbox           	0x00007fff9a555677 ReceiveNextEventCommon + 184
48  com.apple.HIToolbox           	0x00007fff9a5555af _BlockUntilNextEventMatchingListInModeWithFilter + 71
49  com.apple.AppKit              	0x00007fff983a3df6 _DPSNextEvent + 1067
50  com.apple.AppKit              	0x00007fff983a3226 -[NSApplication _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 454
51  com.apple.AppKit              	0x00007fff98612a82 -[NSApplication _doModalLoop:peek:] + 653
52  com.apple.AppKit              	0x00007fff987f4530 __33-[NSApplication runModalSession:]_block_invoke + 80
53  com.apple.AppKit              	0x00007fff987f43f0 -[NSApplication runModalSession:] + 148
54  libqcocoa.dylib               	0x0000000112aa627a QCocoaEventDispatcher::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 1978
55  org.qt-project.QtCore         	0x000000010b85e3d1 QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 417
56  org.qt-project.QtWidgets      	0x000000010abea8af QDialog::exec() + 511
57  libdigikamgui.5.1.0.dylib     	0x0000000104c4f07c Digikam::Setup::execDialog(QWidget*, Digikam::Setup::Page) + 140
58  libdigikamgui.5.1.0.dylib     	0x0000000104b03cca Digikam::DigikamApp::setup() + 26
59  libdigikamgui.5.1.0.dylib     	0x0000000104b03ca5 Digikam::DigikamApp::slotSetup() + 21
60  libdigikamgui.5.1.0.dylib     	0x0000000104be733c Digikam::DigikamApp::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) + 524
61  org.qt-project.QtCore         	0x000000010b897796 QMetaObject::activate(QObject*, int, int, void**) + 742
62  org.qt-project.QtWidgets      	0x000000010a9e09f7 QAction::activate(QAction::ActionEvent) + 263
63  org.qt-project.QtCore         	0x000000010b897796 QMetaObject::activate(QObject*, int, int, void**) + 742
64  org.qt-project.QtCore         	0x000000010b890332 QObject::event(QEvent*) + 146
65  org.qt-project.QtWidgets      	0x000000010a9ea096 QApplicationPrivate::notify_helper(QObject*, QEvent*) + 294
66  org.qt-project.QtWidgets      	0x000000010a9eb5f8 QApplication::notify(QObject*, QEvent*) + 504
67  org.qt-project.QtCore         	0x000000010b862214 QCoreApplication::notifyInternal2(QObject*, QEvent*) + 164
68  org.qt-project.QtCore         	0x000000010b862f5b QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) + 875
69  libqcocoa.dylib               	0x0000000112aa6b7e QCocoaEventDispatcherPrivate::processPostedEvents() + 190
70  libqcocoa.dylib               	0x0000000112aa7441 QCocoaEventDispatcherPrivate::postedEventsSourceCallback(void*) + 33
71  com.apple.CoreFoundation      	0x00007fff93374881 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
72  com.apple.CoreFoundation      	0x00007fff93353fbc __CFRunLoopDoSources0 + 556
73  com.apple.CoreFoundation      	0x00007fff933534df __CFRunLoopRun + 927
74  com.apple.CoreFoundation      	0x00007fff93352ed8 CFRunLoopRunSpecific + 296
75  com.apple.AppKit              	0x00007fff9860c8c1 -[NSCarbonMenuImpl performActionWithHighlightingForItemAtIndex:] + 124
76  libsystem_trace.dylib         	0x00007fff981a707a _os_activity_initiate + 75
77  com.apple.AppKit              	0x00007fff9869ee54 -[NSMenu performActionForItemAtIndex:] + 131
78  com.apple.AppKit              	0x00007fff9869edc7 -[NSMenu _internalPerformActionForItemAtIndex:] + 35
79  com.apple.AppKit              	0x00007fff9869ec1f -[NSCarbonMenuImpl _carbonCommandProcessEvent:handlerCallRef:] + 107
80  com.apple.AppKit              	0x00007fff98543fd9 NSSLMMenuEventHandler + 708
81  com.apple.HIToolbox           	0x00007fff9a52d7be DispatchEventToHandlers(EventTargetRec*, OpaqueEventRef*, HandlerCallRec*) + 1231
82  com.apple.HIToolbox           	0x00007fff9a52cc48 SendEventToEventTargetInternal(OpaqueEventRef*, OpaqueEventTargetRef*, HandlerCallRec*) + 404
83  com.apple.HIToolbox           	0x00007fff9a5429e6 SendEventToEventTarget + 40
84  com.apple.HIToolbox           	0x00007fff9a58c99a SendHICommandEvent(unsigned int, HICommand const*, unsigned int, unsigned int, unsigned char, void const*, OpaqueEventTargetRef*, OpaqueEventTargetRef*, OpaqueEventRef**) + 411
85  com.apple.HIToolbox           	0x00007fff9a5b7d5b SendMenuCommandWithContextAndModifiers + 59
86  com.apple.HIToolbox           	0x00007fff9a5b7d0c SendMenuItemSelectedEvent + 188
87  com.apple.HIToolbox           	0x00007fff9a5b7be8 FinishMenuSelection(SelectionData*, MenuResult*, MenuResult*) + 96
88  com.apple.HIToolbox           	0x00007fff9a5b8596 MenuSelectCore(MenuData*, Point, double, unsigned int, OpaqueMenuRef**, unsigned short*) + 711
89  com.apple.HIToolbox           	0x00007fff9a5b8230 _HandleMenuSelection2 + 460
90  com.apple.AppKit              	0x00007fff9852f0fa _NSHandleCarbonMenuEvent + 277
91  com.apple.AppKit              	0x00007fff983a413d _DPSNextEvent + 1906
92  com.apple.AppKit              	0x00007fff983a3226 -[NSApplication _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 454
93  com.apple.AppKit              	0x00007fff98397d80 -[NSApplication run] + 682
94  libqcocoa.dylib               	0x0000000112aa634f QCocoaEventDispatcher::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 2191
95  org.qt-project.QtCore         	0x000000010b85e3d1 QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 417
96  org.qt-project.QtCore         	0x000000010b862885 QCoreApplication::exec() + 341
97  digikam                       	0x0000000104a381fc main + 9004
98  libdyld.dylib                 	0x00007fff8c8cd5ad start + 1
Comment 1 caulier.gilles 2016-08-30 04:00:09 UTC
Can you get a better backtrace in lldb debugger from XCode, as explained in this page :

https://www.digikam.org/contrib

Gilles Caulier
Comment 2 caulier.gilles 2017-04-16 20:29:39 UTC
new 5.6.0 pre-release as bundle is available here :

https://drive.google.com/drive/folders/0BzeiVr-byqt5Y0tIRWVWelRJenM

Please check if this problem still reproducible with these versions.

Thanks in advance

Gilles Caulier
Comment 3 caulier.gilles 2017-06-22 21:42:34 UTC
digiKam 5.6.0 is now released and available as bundle for Linux, MacOS and Windows.

https://www.digikam.org/news/2017-06-21-5.6.0-release-announcement/

Can you check if problem still exists with this version ?

Thanks in advance

Gilles Caulier
Comment 4 caulier.gilles 2017-07-23 18:26:34 UTC
New digiKam 5.7.0 are built with current implementation as pre-release bundles:

https://drive.google.com/drive/folders/0BzeiVr-byqt5Y0tIRWVWelRJenM

Problem still reproducible ?
Comment 5 caulier.gilles 2017-10-22 12:12:37 UTC
A new fresh 5.8.0 pre-release PKG installer for MacOS was just rebuild for testing and is available here :

https://drive.google.com/drive/folders/0BzeiVr-byqt5Y0tIRWVWelRJenM

Please confirm if the problem remains with this version. 
Thanks in advance

Gilles Caulier
Comment 6 caulier.gilles 2018-08-17 21:27:08 UTC
Can you reproduce the dysfunction using digiKam 6.0.0 pre-release bundle available here :

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

Gilles Caulier
Comment 7 caulier.gilles 2018-12-31 11:51:25 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 8 caulier.gilles 2019-03-07 05:12:17 UTC
Good news,

After 2 weeks of works, the pre-release 6.1.0 bundles are now reconstructed from scratch with:

- All OpenCV options for CUDA, OPenMP, and OPenCL disabled to prevent crashes
in face management.
- A large upgrade of Qt5 from 5.9.7 to 5.11.3.
- An upgrade to KF5 5.55.
- An upgrade to Ffmpeg 3.3.9
- The fontconfig/freetype integration in the bundle to reduce system
dependencies

Files can be downloaded here :

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

Please test and report.

Gilles Caulier
Comment 9 caulier.gilles 2020-07-14 09:41:29 UTC
Hi,

Can you check if this problem still exist with last weekly bundle build of digiKam 7.0.0 available here:

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

Thanks in advance

Gilles Caulier
Comment 10 caulier.gilles 2020-07-30 09:40:59 UTC
digiKam 7.0.0 stable release is now published:

https://www.digikam.org/news/2020-07-19-7.0.0_release_announcement/

We need a fresh feedback on this file using this version.

Thanks in advance

Gilles Caulier
Comment 11 caulier.gilles 2020-12-18 12:10:48 UTC
https://bugs.kde.org/show_bug.cgi?id=426938

--- Comment #4 from caulier.gilles@gmail.com ---
Hi,

digiKam 7.2.0-beta2 pre-release PKG installer now support BigSur and is
compiled with last stable Qt 5.15.2.

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

Problem still reproducible with this version.

Thanks and happy Christmas in advance

Best Regards

Gilles Caulier
Comment 12 caulier.gilles 2021-03-30 06:53:41 UTC
digiKam 7.2.0 official release is published with more than 360 files closed from bugzilla:

https://www.digikam.org/news/2021-03-22-7.2.0_release_announcement/

Can you reproduce the dysfunction with this version ?

Thanks in advance for your feedback

Gilles Caulier
Comment 13 caulier.gilles 2021-12-15 16:51:32 UTC
Stable digiKam 7.4.0 is published. Please check if problem is reproducible.

https://www.digikam.org/download/

Thanks in advance
Comment 14 caulier.gilles 2023-04-20 05:42:32 UTC
@bcr

digiKam 8.0.0 is out. Problem still reproducible ?

Best regards
Gilles Caulier
Comment 15 caulier.gilles 2023-10-19 12:50:01 UTC
@bcr,

digikam 8.2.0 pre-release have been rebuilt using last Qt 5.15.11 + KDE 5.110
frameworks. Installer is available at usual place :

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

Can reproduce the problem with this version?

Thanks in advance

Gilles Caulier
Comment 16 caulier.gilles 2024-03-28 07:11:19 UTC
@bcr,

digiKam 8.3.0 stable version is released and available at usual place :

https://www.digikam.org/download/

Can you reproduce the dysfunction on your computer ?

Thanks in advance

Gilles Caulier