Bug 324515 - digiKam crash at start
Summary: digiKam crash at start
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: drkonqi
Depends on:
Blocks:
 
Reported: 2013-09-04 21:46 UTC by Pedro
Modified: 2021-08-26 16:56 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 7.4.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Pedro 2013-09-04 21:46:51 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:
- What I was doing when the application crashed:

Only start digikam. No others applications

After updated from 3.1 version

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 0x7f4e3da80a40 (LWP 6093))]

Thread 4 (Thread 0x7f4e168b7700 (LWP 6094)):
[KCrash Handler]
#6  operator-> (this=0x135400000cd0) at /build/buildd/digikam-3.3.0/core/libs/dimg/dshareddata.h:115
#7  Digikam::DImg::load (this=0x135400000cd0, this@entry=0x7f4e1002db00, filePath=..., loadFlagsInt=loadFlagsInt@entry=1, observer=observer@entry=0x0, rawDecodingSettings=...) at /build/buildd/digikam-3.3.0/core/libs/dimg/dimg.cpp:505
#8  0x00007f4e3b0b2785 in Digikam::DImg::loadImageInfo (this=this@entry=0x7f4e1002db00, 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  0x00007f4e3ac8a299 in Digikam::ImageScanner::loadFromDisk (this=this@entry=0x7f4e168b6670) at /build/buildd/digikam-3.3.0/core/libs/database/imagescanner.cpp:1481
#10 0x00007f4e3ac8a458 in Digikam::ImageScanner::newFile (this=this@entry=0x7f4e168b6670, albumId=albumId@entry=1) at /build/buildd/digikam-3.3.0/core/libs/database/imagescanner.cpp:266
#11 0x00007f4e3ac2d64b in Digikam::CollectionScanner::scanNewFile (this=this@entry=0x7f4e168b6ad0, info=..., albumId=1) at /build/buildd/digikam-3.3.0/core/libs/database/collectionscanner.cpp:1206
#12 0x00007f4e3ac30e81 in Digikam::CollectionScanner::scanAlbum (this=this@entry=0x7f4e168b6ad0, location=..., album=...) at /build/buildd/digikam-3.3.0/core/libs/database/collectionscanner.cpp:1043
#13 0x00007f4e3ac3167b in Digikam::CollectionScanner::scanAlbumRoot (this=this@entry=0x7f4e168b6ad0, location=...) at /build/buildd/digikam-3.3.0/core/libs/database/collectionscanner.cpp:785
#14 0x00007f4e3ac31f75 in Digikam::CollectionScanner::completeScan (this=this@entry=0x7f4e168b6ad0) at /build/buildd/digikam-3.3.0/core/libs/database/collectionscanner.cpp:452
#15 0x00000000005d2a86 in Digikam::ScanController::run (this=0x2c39460) at /build/buildd/digikam-3.3.0/core/digikam/database/scancontroller.cpp:756
#16 0x00007f4e38230bec in QThreadPrivate::start (arg=0x2c39460) at thread/qthread_unix.cpp:338
#17 0x00007f4e327f3f8e in start_thread (arg=0x7f4e168b7700) at pthread_create.c:311
#18 0x00007f4e3744de1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 3 (Thread 0x7f4e160b6700 (LWP 6095)):
#0  0x00007f4e2fe32359 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f4e2fe325e9 in g_mutex_unlock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f4e2fdf28f3 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f4e2fdf30fe in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f4e2fdf3304 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f4e3835c036 in QEventDispatcherGlib::processEvents (this=0x7f4e080008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0x00007f4e3832c38f in QEventLoop::processEvents (this=this@entry=0x7f4e160b5b10, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007f4e3832c618 in QEventLoop::exec (this=this@entry=0x7f4e160b5b10, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007f4e3822e410 in QThread::exec (this=this@entry=0x2c66750) at thread/qthread.cpp:542
#9  0x00007f4e3830dedf in QInotifyFileSystemWatcherEngine::run (this=0x2c66750) at io/qfilesystemwatcher_inotify.cpp:256
#10 0x00007f4e38230bec in QThreadPrivate::start (arg=0x2c66750) at thread/qthread_unix.cpp:338
#11 0x00007f4e327f3f8e in start_thread (arg=0x7f4e160b6700) at pthread_create.c:311
#12 0x00007f4e3744de1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 2 (Thread 0x7f4e03cef700 (LWP 6098)):
#0  pthread_mutex_lock (mutex=0x7f4dfc000a60) at forward.c:192
#1  0x00007f4e2fe325c1 in g_mutex_lock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f4e2fdf2493 in g_main_context_release () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f4e2fdf3188 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f4e2fdf3304 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f4e3835c036 in QEventDispatcherGlib::processEvents (this=0x7f4dfc0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0x00007f4e3832c38f in QEventLoop::processEvents (this=this@entry=0x7f4e03ceeb10, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007f4e3832c618 in QEventLoop::exec (this=this@entry=0x7f4e03ceeb10, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007f4e3822e410 in QThread::exec (this=this@entry=0x330f490) at thread/qthread.cpp:542
#9  0x00007f4e3830dedf in QInotifyFileSystemWatcherEngine::run (this=0x330f490) at io/qfilesystemwatcher_inotify.cpp:256
#10 0x00007f4e38230bec in QThreadPrivate::start (arg=0x330f490) at thread/qthread_unix.cpp:338
#11 0x00007f4e327f3f8e in start_thread (arg=0x7f4e03cef700) at pthread_create.c:311
#12 0x00007f4e3744de1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 1 (Thread 0x7f4e3da80a40 (LWP 6093)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f4e3823114b in wait (time=18446744073709551615, this=0x2c39590) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=this@entry=0x2c39540, mutex=0x2c39518, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f4e382307bc in QThread::wait (this=this@entry=0x2c39460, time=time@entry=18446744073709551615) at thread/qthread_unix.cpp:691
#4  0x00000000005ce505 in Digikam::ScanController::shutDown (this=this@entry=0x2c39460) at /build/buildd/digikam-3.3.0/core/digikam/database/scancontroller.cpp:361
#5  0x00000000005d1c9b in Digikam::ScanController::~ScanController (this=0x2c39460, __in_chrg=<optimized out>) at /build/buildd/digikam-3.3.0/core/digikam/database/scancontroller.cpp:337
#6  0x00000000005d1e47 in ~ScanControllerCreator (this=0x2c39460, __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  0x00007f4e37390121 in __run_exit_handlers (status=1, listp=0x7f4e377156a8 <__exit_funcs>, run_list_atexit=run_list_atexit@entry=true) at exit.c:77
#9  0x00007f4e373901a5 in __GI_exit (status=<optimized out>) at exit.c:99
#10 0x00007f4e38d812d8 in qt_xio_errhandler () at kernel/qapplication_x11.cpp:782
#11 0x00007f4e39a1d6a8 in KApplication::xioErrhandler (this=0x7fff0a660570, dpy=0x2ace650) at ../../kdeui/kernel/kapplication.cpp:419
#12 0x00007f4e359585be in _XIOError () from /usr/lib/x86_64-linux-gnu/libX11.so.6
#13 0x00007f4e3595608d in _XEventsQueued () from /usr/lib/x86_64-linux-gnu/libX11.so.6
#14 0x00007f4e3594765b in XEventsQueued () from /usr/lib/x86_64-linux-gnu/libX11.so.6
#15 0x00007f4e38dbcb6c in x11EventSourceCheck (s=0x2ac7150) at kernel/qguieventdispatcher_glib.cpp:85
#16 0x00007f4e2fdf2c69 in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#17 0x00007f4e2fdf3175 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#18 0x00007f4e2fdf3304 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#19 0x00007f4e3835c016 in QEventDispatcherGlib::processEvents (this=0x2a269d0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#20 0x00007f4e38dbd13e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#21 0x00007f4e3832c38f in QEventLoop::processEvents (this=this@entry=0x2ce0470, flags=...) at kernel/qeventloop.cpp:149
#22 0x00007f4e3832c618 in QEventLoop::exec (this=0x2ce0470, flags=...) at kernel/qeventloop.cpp:204
#23 0x00000000005ce990 in Digikam::ScanController::completeCollectionScanCore (this=0x2c39460, 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=0x524b3d0) at /build/buildd/digikam-3.3.0/core/utilities/maintenance/newitemsfinder.cpp:106
#26 0x00007f4e383475be in QObject::event (this=0x524b3d0, e=<optimized out>) at kernel/qobject.cpp:1194
#27 0x00007f4e38d178ec in QApplicationPrivate::notify_helper (this=this@entry=0x2accd60, receiver=receiver@entry=0x524b3d0, e=e@entry=0x6b20290) at kernel/qapplication.cpp:4567
#28 0x00007f4e38d1a25b in QApplication::notify (this=this@entry=0x7fff0a660570, receiver=receiver@entry=0x524b3d0, e=e@entry=0x6b20290) at kernel/qapplication.cpp:4428
#29 0x00007f4e39a21916 in KApplication::notify (this=0x7fff0a660570, receiver=0x524b3d0, event=0x6b20290) at ../../kdeui/kernel/kapplication.cpp:311
#30 0x00007f4e3832d63e in QCoreApplication::notifyInternal (this=0x7fff0a660570, receiver=receiver@entry=0x524b3d0, event=event@entry=0x6b20290) at kernel/qcoreapplication.cpp:946
#31 0x00007f4e38331171 in sendEvent (event=0x6b20290, receiver=0x524b3d0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#32 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x2a35490) at kernel/qcoreapplication.cpp:1570
#33 0x00007f4e383314a3 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1463
#34 0x00007f4e3835be83 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#35 postEventSourceDispatch (s=0x2acd1c0) at kernel/qeventdispatcher_glib.cpp:279
#36 0x00007f4e2fdf2f05 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#37 0x00007f4e2fdf3248 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#38 0x00007f4e2fdf3304 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#39 0x00007f4e3835c016 in QEventDispatcherGlib::processEvents (this=0x2a269d0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#40 0x00007f4e38dbd13e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#41 0x00007f4e3832c38f in QEventLoop::processEvents (this=this@entry=0x7fff0a65ff60, flags=...) at kernel/qeventloop.cpp:149
#42 0x00007f4e3832c618 in QEventLoop::exec (this=this@entry=0x7fff0a65ff60, flags=...) at kernel/qeventloop.cpp:204
#43 0x00007f4e38331cf6 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1218
#44 0x00007f4e38d15ffc in QApplication::exec () at kernel/qapplication.cpp:3828
#45 0x00000000004927fb in main (argc=5, argv=0x7fff0a6607a8) at /build/buildd/digikam-3.3.0/core/digikam/main/main.cpp:235

Possible duplicates by query: bug 323633.

Reported using DrKonqi
Comment 1 caulier.gilles 2013-09-05 05:52:22 UTC

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