Bug 323633 - Digikam crashes at startup
Summary: Digikam crashes at startup
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Database-Scan (show other bugs)
Version: 3.3.0
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-08-17 12:03 UTC by Peter
Modified: 2021-08-26 16:50 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 7.4.0
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Peter 2013-08-17 12:03:46 UTC
Application: digikam (3.3.0)
KDE Platform Version: 4.11.00
Qt Version: 4.8.4
Operating System: Linux 3.8.0-19-generic x86_64
Distribution: Ubuntu 13.04

-- Information about the crash:
Newly installed Kubuntu and Digikam, has added an old database and images

The crash can be reproduced every time.

-- Backtrace:
Application: Digikam (digikam), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
[Current thread is 1 (Thread 0x7f363d8cda80 (LWP 2490))]

Thread 4 (Thread 0x7f3613558700 (LWP 2491)):
[KCrash Handler]
#6  operator-> (this=0xa3000000f28) at /build/buildd/digikam-3.3.0/core/libs/dimg/dshareddata.h:115
#7  Digikam::DImg::load (this=0xa3000000f28, this@entry=0x7f360e788060, filePath=..., loadFlagsInt=loadFlagsInt@entry=1, observer=observer@entry=0x0, rawDecodingSettings=...) at /build/buildd/digikam-3.3.0/core/libs/dimg/dimg.cpp:505
#8  0x00007f363aef4785 in Digikam::DImg::loadImageInfo (this=this@entry=0x7f360e788060, filePath=..., loadMetadata=loadMetadata@entry=false, loadICCData=loadICCData@entry=false, loadUniqueHash=loadUniqueHash@entry=false, loadImageHistory=loadImageHistory@entry=false) at /build/buildd/digikam-3.3.0/core/libs/dimg/dimg.cpp:370
#9  0x00007f363aacc299 in Digikam::ImageScanner::loadFromDisk (this=this@entry=0x7f3613556f40) at /build/buildd/digikam-3.3.0/core/libs/database/imagescanner.cpp:1481
#10 0x00007f363aacc458 in Digikam::ImageScanner::newFile (this=this@entry=0x7f3613556f40, albumId=albumId@entry=11) at /build/buildd/digikam-3.3.0/core/libs/database/imagescanner.cpp:266
#11 0x00007f363aa6f64b in Digikam::CollectionScanner::scanNewFile (this=this@entry=0x7f36135579d0, info=..., albumId=11) at /build/buildd/digikam-3.3.0/core/libs/database/collectionscanner.cpp:1206
#12 0x00007f363aa72e81 in Digikam::CollectionScanner::scanAlbum (this=this@entry=0x7f36135579d0, location=..., album=...) at /build/buildd/digikam-3.3.0/core/libs/database/collectionscanner.cpp:1043
#13 0x00007f363aa72b62 in Digikam::CollectionScanner::scanAlbum (this=this@entry=0x7f36135579d0, location=..., album=...) at /build/buildd/digikam-3.3.0/core/libs/database/collectionscanner.cpp:1066
#14 0x00007f363aa72b62 in Digikam::CollectionScanner::scanAlbum (this=this@entry=0x7f36135579d0, location=..., album=...) at /build/buildd/digikam-3.3.0/core/libs/database/collectionscanner.cpp:1066
#15 0x00007f363aa72b62 in Digikam::CollectionScanner::scanAlbum (this=this@entry=0x7f36135579d0, location=..., album=...) at /build/buildd/digikam-3.3.0/core/libs/database/collectionscanner.cpp:1066
#16 0x00007f363aa7367b in Digikam::CollectionScanner::scanAlbumRoot (this=this@entry=0x7f36135579d0, location=...) at /build/buildd/digikam-3.3.0/core/libs/database/collectionscanner.cpp:785
#17 0x00007f363aa73f75 in Digikam::CollectionScanner::completeScan (this=this@entry=0x7f36135579d0) at /build/buildd/digikam-3.3.0/core/libs/database/collectionscanner.cpp:452
#18 0x00000000005d2a86 in Digikam::ScanController::run (this=0x1b73f90) at /build/buildd/digikam-3.3.0/core/digikam/database/scancontroller.cpp:756
#19 0x00007f3638072bec in QThreadPrivate::start (arg=0x1b73f90) at thread/qthread_unix.cpp:338
#20 0x00007f36243a63b4 in ?? () from /usr/lib/nvidia-310-updates/libGL.so.1
#21 0x00007f363263ef8e in start_thread (arg=0x7f3613558700) at pthread_create.c:311
#22 0x00007f363728fe1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 3 (Thread 0x7f3612d4f700 (LWP 2492)):
#0  0x00007f362fc7d359 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f362fc7d5e9 in g_mutex_unlock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f362fc3db39 in g_main_context_query () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f362fc3e14c in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f362fc3e304 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f363819e036 in QEventDispatcherGlib::processEvents (this=0x7f36040008f0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0x00007f363816e38f in QEventLoop::processEvents (this=this@entry=0x7f3612d4ea10, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007f363816e618 in QEventLoop::exec (this=this@entry=0x7f3612d4ea10, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007f3638070410 in QThread::exec (this=this@entry=0x1b9c070) at thread/qthread.cpp:542
#9  0x00007f363814fedf in QInotifyFileSystemWatcherEngine::run (this=0x1b9c070) at io/qfilesystemwatcher_inotify.cpp:256
#10 0x00007f3638072bec in QThreadPrivate::start (arg=0x1b9c070) at thread/qthread_unix.cpp:338
#11 0x00007f36243a63b4 in ?? () from /usr/lib/nvidia-310-updates/libGL.so.1
#12 0x00007f363263ef8e in start_thread (arg=0x7f3612d4f700) at pthread_create.c:311
#13 0x00007f363728fe1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 2 (Thread 0x7f3610cac700 (LWP 2495)):
#0  0x00007f36372833cd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f362fc3e1dc in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f362fc3e304 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f363819e036 in QEventDispatcherGlib::processEvents (this=0x7f35fc0008f0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007f363816e38f in QEventLoop::processEvents (this=this@entry=0x7f3610caba10, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f363816e618 in QEventLoop::exec (this=this@entry=0x7f3610caba10, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f3638070410 in QThread::exec (this=this@entry=0x6651650) at thread/qthread.cpp:542
#7  0x00007f363814fedf in QInotifyFileSystemWatcherEngine::run (this=0x6651650) at io/qfilesystemwatcher_inotify.cpp:256
#8  0x00007f3638072bec in QThreadPrivate::start (arg=0x6651650) at thread/qthread_unix.cpp:338
#9  0x00007f36243a63b4 in ?? () from /usr/lib/nvidia-310-updates/libGL.so.1
#10 0x00007f363263ef8e in start_thread (arg=0x7f3610cac700) at pthread_create.c:311
#11 0x00007f363728fe1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 1 (Thread 0x7f363d8cda80 (LWP 2490)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f363807314b in wait (time=18446744073709551615, this=0x1b740c0) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=this@entry=0x1b74070, mutex=0x1b74048, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f36380727bc in QThread::wait (this=this@entry=0x1b73f90, time=time@entry=18446744073709551615) at thread/qthread_unix.cpp:691
#4  0x00000000005ce505 in Digikam::ScanController::shutDown (this=this@entry=0x1b73f90) at /build/buildd/digikam-3.3.0/core/digikam/database/scancontroller.cpp:361
#5  0x00000000005d1c9b in Digikam::ScanController::~ScanController (this=0x1b73f90, __in_chrg=<optimized out>) at /build/buildd/digikam-3.3.0/core/digikam/database/scancontroller.cpp:337
#6  0x00000000005d1e47 in ~ScanControllerCreator (this=0x1b73f90, __in_chrg=<optimized out>) at /build/buildd/digikam-3.3.0/core/digikam/database/scancontroller.cpp:277
#7  destroy () at /build/buildd/digikam-3.3.0/core/digikam/database/scancontroller.cpp:284
#8  0x00007f36371d2121 in __run_exit_handlers (status=1, listp=0x7f36375576a8 <__exit_funcs>, run_list_atexit=run_list_atexit@entry=true) at exit.c:77
#9  0x00007f36371d21a5 in __GI_exit (status=<optimized out>) at exit.c:99
#10 0x00007f3638bc3348 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#11 0x00007f363985f6a8 in KApplication::xioErrhandler (this=0x7fffdcabaed0, dpy=0x19cfe70) at ../../kdeui/kernel/kapplication.cpp:419
#12 0x00007f363579a6de in _XIOError () from /usr/lib/x86_64-linux-gnu/libX11.so.6
#13 0x00007f363579816d in _XEventsQueued () from /usr/lib/x86_64-linux-gnu/libX11.so.6
#14 0x00007f363578975b in XEventsQueued () from /usr/lib/x86_64-linux-gnu/libX11.so.6
#15 0x00007f3638bfebdc in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#16 0x00007f362fc3dc69 in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#17 0x00007f362fc3e175 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#18 0x00007f362fc3e304 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#19 0x00007f363819e016 in QEventDispatcherGlib::processEvents (this=0x1909c50, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#20 0x00007f3638bff1ae in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#21 0x00007f363816e38f in QEventLoop::processEvents (this=this@entry=0x1b71410, flags=...) at kernel/qeventloop.cpp:149
#22 0x00007f363816e618 in QEventLoop::exec (this=0x1b71410, flags=...) at kernel/qeventloop.cpp:204
#23 0x00000000005ce990 in Digikam::ScanController::completeCollectionScanCore (this=0x1b73f90, needTotalFiles=needTotalFiles@entry=true, defer=defer@entry=false) at /build/buildd/digikam-3.3.0/core/digikam/database/scancontroller.cpp:486
#24 0x00000000005cea3e in Digikam::ScanController::completeCollectionScanInBackground (this=<optimized out>, defer=defer@entry=false) at /build/buildd/digikam-3.3.0/core/digikam/database/scancontroller.cpp:471
#25 0x00000000005197da in Digikam::NewItemsFinder::slotStart (this=0x86cd7a0) at /build/buildd/digikam-3.3.0/core/utilities/maintenance/newitemsfinder.cpp:106
#26 0x00007f36381895be in QObject::event (this=0x86cd7a0, e=<optimized out>) at kernel/qobject.cpp:1194
#27 0x00007f3638b598ec in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#28 0x00007f3638b5c25b in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#29 0x00007f3639863916 in KApplication::notify (this=0x7fffdcabaed0, receiver=0x86cd7a0, event=0x9a99380) at ../../kdeui/kernel/kapplication.cpp:311
#30 0x00007f363816f63e in QCoreApplication::notifyInternal (this=0x7fffdcabaed0, receiver=receiver@entry=0x86cd7a0, event=event@entry=0x9a99380) at kernel/qcoreapplication.cpp:946
#31 0x00007f3638173171 in sendEvent (event=0x9a99380, receiver=0x86cd7a0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#32 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x19193a0) at kernel/qcoreapplication.cpp:1570
#33 0x00007f36381734a3 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1463
#34 0x00007f363819de83 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#35 postEventSourceDispatch (s=0x19b6600) at kernel/qeventdispatcher_glib.cpp:279
#36 0x00007f362fc3df05 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#37 0x00007f362fc3e248 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#38 0x00007f362fc3e304 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#39 0x00007f363819e016 in QEventDispatcherGlib::processEvents (this=0x1909c50, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#40 0x00007f3638bff1ae in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#41 0x00007f363816e38f in QEventLoop::processEvents (this=this@entry=0x7fffdcaba8c0, flags=...) at kernel/qeventloop.cpp:149
#42 0x00007f363816e618 in QEventLoop::exec (this=this@entry=0x7fffdcaba8c0, flags=...) at kernel/qeventloop.cpp:204
#43 0x00007f3638173cf6 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1218
#44 0x00000000004927fb in main (argc=1, argv=0x7fffdcabb108) at /build/buildd/digikam-3.3.0/core/digikam/main/main.cpp:235

Reported using DrKonqi
Comment 1 caulier.gilles 2013-08-17 12:14:20 UTC

*** This bug has been marked as a duplicate of bug 276592 ***
Comment 2 caulier.gilles 2013-09-05 05:52:23 UTC
*** Bug 324515 has been marked as a duplicate of this bug. ***
Comment 3 caulier.gilles 2021-08-26 16:50:31 UTC
Fixed with #276592