Bug 324183

Summary: DigiKam: Crash when importing Database
Product: [Applications] digikam Reporter: Matthias <gatschhupfer>
Component: Database-ScanAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: crash CC: caulier.gilles
Priority: NOR Keywords: drkonqi
Version: 3.2.0   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In: 7.4.0
Sentry Crash Report:

Description Matthias 2013-08-28 20:22:54 UTC
Application: digikam (3.2.0)
KDE Platform Version: 4.10.5 "release 1"
Qt Version: 4.8.4
Operating System: Linux 3.7.10-1.16-desktop x86_64
Distribution: "openSUSE 12.3 (x86_64)"

-- Information about the crash:
I was importing the database of an older Version (Suse 11.2/12.2) when DigiKam crashed

-- Backtrace:
Application: digiKam (digikam), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f8e507cb800 (LWP 25620))]

Thread 3 (Thread 0x7f8e2e7f1700 (LWP 25670)):
[KCrash Handler]
#5  0x00007f8e4b9fd109 in QReadWriteLock::lockForWrite() () from /usr/lib64/libQtCore.so.4
#6  0x00007f8e4d785154 in Digikam::CollectionScanner::scanFileNormal(QFileInfo const&, Digikam::ItemScanInfo const&) () from /usr/lib64/libdigikamdatabase.so.3
#7  0x00007f8e4d787b29 in Digikam::CollectionScanner::scanAlbum(Digikam::CollectionLocation const&, QString const&) () from /usr/lib64/libdigikamdatabase.so.3
#8  0x00007f8e4d787a22 in Digikam::CollectionScanner::scanAlbum(Digikam::CollectionLocation const&, QString const&) () from /usr/lib64/libdigikamdatabase.so.3
#9  0x00007f8e4d787a22 in Digikam::CollectionScanner::scanAlbum(Digikam::CollectionLocation const&, QString const&) () from /usr/lib64/libdigikamdatabase.so.3
#10 0x00007f8e4d787a22 in Digikam::CollectionScanner::scanAlbum(Digikam::CollectionLocation const&, QString const&) () from /usr/lib64/libdigikamdatabase.so.3
#11 0x00007f8e4d78853b in Digikam::CollectionScanner::scanAlbumRoot(Digikam::CollectionLocation const&) () from /usr/lib64/libdigikamdatabase.so.3
#12 0x00007f8e4d7887a5 in Digikam::CollectionScanner::completeScan() () from /usr/lib64/libdigikamdatabase.so.3
#13 0x00007f8e4d7f7a58 in Digikam::SchemaUpdater::updateV4toV6() () from /usr/lib64/libdigikamdatabase.so.3
#14 0x00007f8e4d7f8c98 in Digikam::SchemaUpdater::makeUpdates() () from /usr/lib64/libdigikamdatabase.so.3
#15 0x00007f8e4d7f9d9e in Digikam::SchemaUpdater::startUpdates() () from /usr/lib64/libdigikamdatabase.so.3
#16 0x00007f8e4d7fa298 in Digikam::SchemaUpdater::update() () from /usr/lib64/libdigikamdatabase.so.3
#17 0x00007f8e4d7a08d0 in Digikam::DatabaseBackend::initSchema(Digikam::SchemaUpdater*) () from /usr/lib64/libdigikamdatabase.so.3
#18 0x00007f8e4d79b6c2 in Digikam::DatabaseAccess::checkReadyForUse(Digikam::InitializationObserver*) () from /usr/lib64/libdigikamdatabase.so.3
#19 0x00000000005d8cb1 in ?? ()
#20 0x00007f8e4ba020cc in ?? () from /usr/lib64/libQtCore.so.4
#21 0x00007f8e47ee4e0f in start_thread () from /lib64/libpthread.so.0
#22 0x00007f8e49f6c7dd in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f8e2dff0700 (LWP 25671)):
#0  0x00007f8e41bb9b20 in pthread_mutex_lock@plt () from /usr/lib64/libglib-2.0.so.0
#1  0x00007f8e41c24a71 in g_mutex_lock () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f8e41be7343 in g_main_context_prepare () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f8e41be79cb in ?? () from /usr/lib64/libglib-2.0.so.0
#4  0x00007f8e41be7bc4 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#5  0x00007f8e4bb2c2e6 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#6  0x00007f8e4bafcadf in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#7  0x00007f8e4bafcd68 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#8  0x00007f8e4b9ff0f0 in QThread::exec() () from /usr/lib64/libQtCore.so.4
#9  0x00007f8e4badd29f in ?? () from /usr/lib64/libQtCore.so.4
#10 0x00007f8e4ba020cc in ?? () from /usr/lib64/libQtCore.so.4
#11 0x00007f8e47ee4e0f in start_thread () from /lib64/libpthread.so.0
#12 0x00007f8e49f6c7dd in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f8e507cb800 (LWP 25620)):
#0  0x00007f8e47ee8964 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f8e4ba0262b in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/libQtCore.so.4
#2  0x00007f8e4ba01c9c in QThread::wait(unsigned long) () from /usr/lib64/libQtCore.so.4
#3  0x00000000005d5915 in ?? ()
#4  0x00000000005d7d3b in ?? ()
#5  0x00000000005d7ee7 in ?? ()
#6  0x00007f8e49ebbf61 in __run_exit_handlers () from /lib64/libc.so.6
#7  0x00007f8e49ebbfe5 in exit () from /lib64/libc.so.6
#8  0x00007f8e4ac945b8 in ?? () from /usr/lib64/libQtGui.so.4
#9  0x00007f8e4c5615d8 in KApplication::xioErrhandler(_XDisplay*) () from /usr/lib64/libkdeui.so.5
#10 0x00007f8e4847bbce in _XIOError () from /usr/lib64/libX11.so.6
#11 0x00007f8e4847966d in _XEventsQueued () from /usr/lib64/libX11.so.6
#12 0x00007f8e4846ab5b in XEventsQueued () from /usr/lib64/libX11.so.6
#13 0x00007f8e4accaad7 in ?? () from /usr/lib64/libQtGui.so.4
#14 0x00007f8e41be7338 in g_main_context_prepare () from /usr/lib64/libglib-2.0.so.0
#15 0x00007f8e41be79cb in ?? () from /usr/lib64/libglib-2.0.so.0
#16 0x00007f8e41be7bc4 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#17 0x00007f8e4bb2c2c6 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#18 0x00007f8e4accac1e in ?? () from /usr/lib64/libQtGui.so.4
#19 0x00007f8e4bafcadf in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#20 0x00007f8e4bafcd68 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#21 0x00000000005d6d6b in ?? ()
#22 0x00000000005ae88e in ?? ()
#23 0x000000000049ac0f in ?? ()
#24 0x00007f8e49ea5a15 in __libc_start_main () from /lib64/libc.so.6
#25 0x000000000049d2b1 in _start ()

This bug may be a duplicate of or related to bug 321403.

Possible duplicates by query: bug 322556, bug 321403.

Reported using DrKonqi
Comment 1 caulier.gilles 2013-08-28 20:51:34 UTC

*** This bug has been marked as a duplicate of bug 321403 ***
Comment 2 caulier.gilles 2021-08-26 16:55:28 UTC
Fixed with #321403