Bug 242400

Summary: digiKam crashes on startup
Product: [Applications] digikam Reporter: gaul
Component: Database-ScanAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: crash CC: caulier.gilles
Priority: NOR    
Version: 1.2.0   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In: 5.7.0
Sentry Crash Report:

Description gaul 2010-06-21 20:34:29 UTC
Application: digikam (1.2.0)
KDE Platform Version: 4.4.4 (KDE 4.4.4)
Qt Version: 4.6.3
Operating System: Linux 2.6.32-22-generic x86_64
Distribution: Ubuntu 10.04 LTS

-- Information about the crash:
also kmail crashes on startup. Both start to crash at the same time. 

The crash can be reproduced every time.

 -- Backtrace:
Application: digiKam (digikam), signal: Aborted
[Current thread is 1 (Thread 0x7fa949e197e0 (LWP 4530))]

Thread 7 (Thread 0x7fa935ae9710 (LWP 4532)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fa9434befdb in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x2b969a0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x2b969a0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00000000006e1d9b in Digikam::ScanController::run (this=0x2b953a0) at /build/buildd/digikam-1.2.0/digikam/scancontroller.cpp:516
#4  0x00007fa9434bdf95 in QThreadPrivate::start (arg=0x2b953a0) at thread/qthread_unix.cpp:248
#5  0x00007fa94322d9ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#6  0x00007fa9425646cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7fa932206710 (LWP 4534)):
#0  0x00007fa9432303f5 in __pthread_mutex_lock (mutex=0x2e6ec88) at pthread_mutex_lock.c:61
#1  0x00007fa93fa59d5f in g_main_context_prepare () from /lib/libglib-2.0.so.0
#2  0x00007fa93fa5a318 in ?? () from /lib/libglib-2.0.so.0
#3  0x00007fa93fa5a8fc in g_main_context_iteration () from /lib/libglib-2.0.so.0
#4  0x00007fa9435d7406 in QEventDispatcherGlib::processEvents (this=0x2ea3a50, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:414
#5  0x00007fa9435ac6c2 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#6  0x00007fa9435aca9c in QEventLoop::exec (this=0x7fa932205d70, flags=) at kernel/qeventloop.cpp:201
#7  0x00007fa9434bb8db in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#8  0x00007fa9434bdf95 in QThreadPrivate::start (arg=0x2de5e90) at thread/qthread_unix.cpp:248
#9  0x00007fa94322d9ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#10 0x00007fa9425646cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7fa931979710 (LWP 4535)):
#0  0x00007fa9432303f5 in __pthread_mutex_lock (mutex=0x7fa924001158) at pthread_mutex_lock.c:61
#1  0x00007fa93fa59b37 in g_main_context_check () from /lib/libglib-2.0.so.0
#2  0x00007fa93fa5a4c3 in ?? () from /lib/libglib-2.0.so.0
#3  0x00007fa93fa5a8fc in g_main_context_iteration () from /lib/libglib-2.0.so.0
#4  0x00007fa9435d7406 in QEventDispatcherGlib::processEvents (this=0x7fa924003350, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:414
#5  0x00007fa9435ac6c2 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#6  0x00007fa9435aca9c in QEventLoop::exec (this=0x7fa931978d70, flags=) at kernel/qeventloop.cpp:201
#7  0x00007fa9434bb8db in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#8  0x00007fa9434bdf95 in QThreadPrivate::start (arg=0x2ea3610) at thread/qthread_unix.cpp:248
#9  0x00007fa94322d9ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#10 0x00007fa9425646cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7fa9310f8710 (LWP 4536)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fa9434befdb in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x2e91588, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x2e91588, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007fa946e1b532 in Digikam::LoadSaveThread::run (this=0x2e91570) at /build/buildd/digikam-1.2.0/libs/threadimageio/loadsavethread.cpp:131
#4  0x00007fa9434bdf95 in QThreadPrivate::start (arg=0x2e91570) at thread/qthread_unix.cpp:248
#5  0x00007fa94322d9ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#6  0x00007fa9425646cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7fa9308f7710 (LWP 4537)):
#0  0x00007fa942557f53 in *__GI___poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007fa93fa5a4a9 in ?? () from /lib/libglib-2.0.so.0
#2  0x00007fa93fa5a8fc in g_main_context_iteration () from /lib/libglib-2.0.so.0
#3  0x00007fa9435d7406 in QEventDispatcherGlib::processEvents (this=0x2f4de40, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:414
#4  0x00007fa9435ac6c2 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#5  0x00007fa9435aca9c in QEventLoop::exec (this=0x7fa9308f6d70, flags=) at kernel/qeventloop.cpp:201
#6  0x00007fa9434bb8db in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#7  0x00007fa9434bdf95 in QThreadPrivate::start (arg=0x2f4b2d0) at thread/qthread_unix.cpp:248
#8  0x00007fa94322d9ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#9  0x00007fa9425646cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fa92bfff710 (LWP 4538)):
#0  0x00007fa942557f53 in *__GI___poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007fa93fa5a4a9 in ?? () from /lib/libglib-2.0.so.0
#2  0x00007fa93fa5a8fc in g_main_context_iteration () from /lib/libglib-2.0.so.0
#3  0x00007fa9435d7406 in QEventDispatcherGlib::processEvents (this=0x2f494f0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:414
#4  0x00007fa9435ac6c2 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#5  0x00007fa9435aca9c in QEventLoop::exec (this=0x7fa92bffed70, flags=) at kernel/qeventloop.cpp:201
#6  0x00007fa9434bb8db in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#7  0x00007fa9434bdf95 in QThreadPrivate::start (arg=0x2f4da20) at thread/qthread_unix.cpp:248
#8  0x00007fa94322d9ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#9  0x00007fa9425646cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fa949e197e0 (LWP 4530)):
[KCrash Handler]
#5  0x00007fa9424b1a75 in *__GI_raise (sig=<value optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#6  0x00007fa9424b55c0 in *__GI_abort () at abort.c:92
#7  0x00007fa942d668e5 in __gnu_cxx::__verbose_terminate_handler() () from /usr/lib/libstdc++.so.6
#8  0x00007fa942d64d16 in ?? () from /usr/lib/libstdc++.so.6
#9  0x00007fa942d64d43 in std::terminate() () from /usr/lib/libstdc++.so.6
#10 0x00007fa942d64e3e in __cxa_throw () from /usr/lib/libstdc++.so.6
#11 0x00007fa9434b5692 in qBadAlloc () at global/qglobal.cpp:2003
#12 0x00007fa9434c15d5 in q_check_ptr<QByteArray::Data> (data=<value optimized out>, nbytes=<value optimized out>) at ../../include/QtCore/../../src/corelib/global/qglobal.h:1694
#13 qUncompress (data=<value optimized out>, nbytes=<value optimized out>) at tools/qbytearray.cpp:554
#14 0x00007fa945486a91 in qUncompress (this=0x2ef1550, offset=<value optimized out>, pix=...) at /usr/include/qt4/QtCore/qbytearray.h:586
#15 KPixmapCache::Private::loadData (this=0x2ef1550, offset=<value optimized out>, pix=...) at ../../kdeui/util/kpixmapcache.cpp:1391
#16 0x00007fa9454881fb in KPixmapCache::find (this=0x2ef26e0, key=..., pix=...) at ../../kdeui/util/kpixmapcache.cpp:1354
#17 0x00007fa9453d9e9a in KIconCache::find (this=0x2ef26e0, key=..., pix=..., path=0x0) at ../../kdeui/icons/kiconcache.cpp:277
#18 0x00007fa9453ccec3 in KIconLoader::loadIcon (this=0x2efc350, _name=..., group=<value optimized out>, size=16, state=<value optimized out>, overlays=..., path_store=0x0, canReturnNull=false)
    at ../../kdeui/icons/kiconloader.cpp:1092
#19 0x00007fa9492371a0 in khtml::Cache::init () at ../../khtml/misc/loader.cpp:1628
#20 0x00007fa94908fada in KHTMLGlobal (this=<value optimized out>) at ../../khtml/khtml_global.cpp:66
#21 0x00007fa94908fcc5 in KHTMLGlobal::ref () at ../../khtml/khtml_global.cpp:133
#22 0x00007fa949080bb3 in KHTMLPart (this=0x2ee9dc0, __vtt_parm=0x7e21c8, parentWidget=0x2f2fac0, parent=<value optimized out>, prof=KHTMLPart::DefaultGUI, __in_chrg=<value optimized out>)
    at ../../khtml/khtml_part.cpp:233
#23 0x0000000000705c01 in WelcomePageView (this=0x2ee9dc0, parent=0x2f2fac0, __in_chrg=<value optimized out>, __vtt_parm=<value optimized out>)
    at /build/buildd/digikam-1.2.0/digikam/welcomepageview.cpp:62
#24 0x0000000000667ac3 in AlbumWidgetStack (this=0x2f2fac0, parent=<value optimized out>) at /build/buildd/digikam-1.2.0/digikam/albumwidgetstack.cpp:104
#25 0x000000000069c6e5 in DigikamView (this=0x2e5fbc0, parent=0x2c30b30, modelCollection=0x2de6740) at /build/buildd/digikam-1.2.0/digikam/digikamview.cpp:169
#26 0x00000000006827bd in Digikam::DigikamApp::setupView (this=0x2c30b30) at /build/buildd/digikam-1.2.0/digikam/digikamapp.cpp:478
#27 0x0000000000690980 in DigikamApp (this=0x2c30b30, __in_chrg=<value optimized out>, __vtt_parm=<value optimized out>) at /build/buildd/digikam-1.2.0/digikam/digikamapp.cpp:230
#28 0x000000000077f817 in main (argc=<value optimized out>, argv=<value optimized out>) at /build/buildd/digikam-1.2.0/digikam/main.cpp:170

Possible duplicates by query: bug 237576, bug 236969, bug 234333, bug 218998.

Reported using DrKonqi
Comment 1 caulier.gilles 2010-06-22 00:00:57 UTC

*** This bug has been marked as a duplicate of bug 209960 ***
Comment 2 caulier.gilles 2017-08-15 13:13:35 UTC
This crash is relevant of KHTML. Since digiKam 5.x we use Qt5::WebView instead.

Gilles Caulier