Bug 274333 - Digikam crashed upon startup
Summary: Digikam crashed upon startup
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Preview-Video (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-28 09:05 UTC by Mark Szentes-Wanner
Modified: 2018-08-21 09:00 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In: 6.0.0


Attachments
New crash information added by DrKonqi (15.38 KB, text/plain)
2011-06-14 23:40 UTC, Mark Szentes-Wanner
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mark Szentes-Wanner 2011-05-28 09:05:56 UTC
Application: digikam (1.9.0)
KDE Platform Version: 4.6.2 (4.6.2)
Qt Version: 4.7.2
Operating System: Linux 2.6.38-8-generic i686
Distribution: Ubuntu 11.04

-- Information about the crash:
- What I was doing when the application crashed:

Starting Digikam takes ages with a large collection, then crashes without any apparent reason.

The crash can be reproduced some of the time.

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

Thread 11 (Thread 0xb410bb70 (LWP 2676)):
#0  0x002c5416 in __kernel_vsyscall ()
#1  0x01aa248c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i386-linux-gnu/libpthread.so.0
#2  0x019e63fd in pthread_cond_wait () from /lib/i386-linux-gnu/libc.so.6
#3  0x015e9467 in wait (this=0x9aaeed8, mutex=0x9aaeed4, time=4294967295) at thread/qwaitcondition_unix.cpp:88
#4  QWaitCondition::wait (this=0x9aaeed8, mutex=0x9aaeed4, time=4294967295) at thread/qwaitcondition_unix.cpp:160
#5  0x08220e71 in Digikam::ScanController::run (this=0x9b0af88) at /build/buildd/digikam-1.9.0/digikam/scancontroller.cpp:571
#6  0x015e8da2 in QThreadPrivate::start (arg=0x9b0af88) at thread/qthread_unix.cpp:320
#7  0x01a9de99 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#8  0x019d873e in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 10 (Thread 0xb390ab70 (LWP 2677)):
#0  0x01aa036b in pthread_mutex_lock () from /lib/i386-linux-gnu/libpthread.so.0
#1  0x019e6616 in pthread_mutex_lock () from /lib/i386-linux-gnu/libc.so.6
#2  0x0788c752 in g_main_context_check () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0x0788d03a in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0x0788d524 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0x0170a577 in QEventDispatcherGlib::processEvents (this=0x9aa7fb8, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#6  0x016dc289 in QEventLoop::processEvents (this=0xb390a260, flags=...) at kernel/qeventloop.cpp:149
#7  0x016dc522 in QEventLoop::exec (this=0xb390a260, flags=...) at kernel/qeventloop.cpp:201
#8  0x015e62a0 in QThread::exec (this=0x9ab0670) at thread/qthread.cpp:492
#9  0x016bdfdb in QInotifyFileSystemWatcherEngine::run (this=0x9ab0670) at io/qfilesystemwatcher_inotify.cpp:248
#10 0x015e8da2 in QThreadPrivate::start (arg=0x9ab0670) at thread/qthread_unix.cpp:320
#11 0x01a9de99 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#12 0x019d873e in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 9 (Thread 0xb3109b70 (LWP 2706)):
#0  0x01aa17a4 in __pthread_mutex_unlock_usercnt () from /lib/i386-linux-gnu/libpthread.so.0
#1  0x019e6656 in pthread_mutex_unlock () from /lib/i386-linux-gnu/libc.so.6
#2  0x0788d0b4 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0x0788d524 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0x0170a577 in QEventDispatcherGlib::processEvents (this=0x9ff5260, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#5  0x016dc289 in QEventLoop::processEvents (this=0xb31092a0, flags=...) at kernel/qeventloop.cpp:149
#6  0x016dc522 in QEventLoop::exec (this=0xb31092a0, flags=...) at kernel/qeventloop.cpp:201
#7  0x015e62a0 in QThread::exec (this=0x9ff4b00) at thread/qthread.cpp:492
#8  0x00ac63ed in Digikam::ImageFilterModelWorker::Thread::run (this=0x9ff4b00) at /build/buildd/digikam-1.9.0/obj-i686-linux-gnu/digikam/../../libs/models/imagefiltermodelthreads.h:74
#9  0x015e8da2 in QThreadPrivate::start (arg=0x9ff4b00) at thread/qthread_unix.cpp:320
#10 0x01a9de99 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#11 0x019d873e in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 8 (Thread 0xb2908b70 (LWP 2707)):
#0  0x01aa1771 in __pthread_mutex_unlock_usercnt () from /lib/i386-linux-gnu/libpthread.so.0
#1  0x019e6656 in pthread_mutex_unlock () from /lib/i386-linux-gnu/libc.so.6
#2  0x0788cff9 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0x0788d524 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0x0170a577 in QEventDispatcherGlib::processEvents (this=0x9ff4db0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#5  0x016dc289 in QEventLoop::processEvents (this=0xb29082a0, flags=...) at kernel/qeventloop.cpp:149
#6  0x016dc522 in QEventLoop::exec (this=0xb29082a0, flags=...) at kernel/qeventloop.cpp:201
#7  0x015e62a0 in QThread::exec (this=0x9ff4e30) at thread/qthread.cpp:492
#8  0x00ac63ed in Digikam::ImageFilterModelWorker::Thread::run (this=0x9ff4e30) at /build/buildd/digikam-1.9.0/obj-i686-linux-gnu/digikam/../../libs/models/imagefiltermodelthreads.h:74
#9  0x015e8da2 in QThreadPrivate::start (arg=0x9ff4e30) at thread/qthread_unix.cpp:320
#10 0x01a9de99 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#11 0x019d873e in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 7 (Thread 0xada7cb70 (LWP 2711)):
#0  0x002c5416 in __kernel_vsyscall ()
#1  0x01aa248c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i386-linux-gnu/libpthread.so.0
#2  0x019e63fd in pthread_cond_wait () from /lib/i386-linux-gnu/libc.so.6
#3  0x015e9467 in wait (this=0x9ff7ce0, mutex=0x9ff7cdc, time=4294967295) at thread/qwaitcondition_unix.cpp:88
#4  QWaitCondition::wait (this=0x9ff7ce0, mutex=0x9ff7cdc, time=4294967295) at thread/qwaitcondition_unix.cpp:160
#5  0x02add01a in Digikam::ParkingThread::run (this=0x9ff7cd0) at /build/buildd/digikam-1.9.0/libs/threads/threadmanager.cpp:119
#6  0x015e8da2 in QThreadPrivate::start (arg=0x9ff7cd0) at thread/qthread_unix.cpp:320
#7  0x01a9de99 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#8  0x019d873e in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 6 (Thread 0xad27bb70 (LWP 2712)):
#0  0x01aa036b in pthread_mutex_lock () from /lib/i386-linux-gnu/libpthread.so.0
#1  0x019e6616 in pthread_mutex_lock () from /lib/i386-linux-gnu/libc.so.6
#2  0x0788c009 in g_main_context_prepare () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0x0788ce63 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0x0788d524 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0x0170a577 in QEventDispatcherGlib::processEvents (this=0xa0d75c0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#6  0x016dc289 in QEventLoop::processEvents (this=0xad27b2c0, flags=...) at kernel/qeventloop.cpp:149
#7  0x016dc522 in QEventLoop::exec (this=0xad27b2c0, flags=...) at kernel/qeventloop.cpp:201
#8  0x015e62a0 in QThread::exec (this=0xa019db8) at thread/qthread.cpp:492
#9  0x015e8da2 in QThreadPrivate::start (arg=0xa019db8) at thread/qthread_unix.cpp:320
#10 0x01a9de99 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#11 0x019d873e in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 5 (Thread 0xaca7ab70 (LWP 2713)):
#0  0x078b7484 in g_thread_self () from /lib/i386-linux-gnu/libglib-2.0.so.0
#1  0x0788b572 in g_main_context_acquire () from /lib/i386-linux-gnu/libglib-2.0.so.0
#2  0x0788cdde in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0x0788d524 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0x0170a577 in QEventDispatcherGlib::processEvents (this=0xa01e8d0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#5  0x016dc289 in QEventLoop::processEvents (this=0xaca7a2c0, flags=...) at kernel/qeventloop.cpp:149
#6  0x016dc522 in QEventLoop::exec (this=0xaca7a2c0, flags=...) at kernel/qeventloop.cpp:201
#7  0x015e62a0 in QThread::exec (this=0xa01e9f8) at thread/qthread.cpp:492
#8  0x015e8da2 in QThreadPrivate::start (arg=0xa01e9f8) at thread/qthread_unix.cpp:320
#9  0x01a9de99 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#10 0x019d873e in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 4 (Thread 0xa18d0b70 (LWP 2745)):
#0  0x01a9c610 in __i686.get_pc_thunk.bx () from /lib/i386-linux-gnu/libpthread.so.0
#1  0x01aa1779 in __pthread_mutex_unlock_usercnt () from /lib/i386-linux-gnu/libpthread.so.0
#2  0x019e6656 in pthread_mutex_unlock () from /lib/i386-linux-gnu/libc.so.6
#3  0x0788c712 in g_main_context_check () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0x0788d03a in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0x0788d524 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#6  0x0170a577 in QEventDispatcherGlib::processEvents (this=0xa73bd58, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#7  0x016dc289 in QEventLoop::processEvents (this=0xa18d0260, flags=...) at kernel/qeventloop.cpp:149
#8  0x016dc522 in QEventLoop::exec (this=0xa18d0260, flags=...) at kernel/qeventloop.cpp:201
#9  0x015e62a0 in QThread::exec (this=0xa737df0) at thread/qthread.cpp:492
#10 0x016bdfdb in QInotifyFileSystemWatcherEngine::run (this=0xa737df0) at io/qfilesystemwatcher_inotify.cpp:248
#11 0x015e8da2 in QThreadPrivate::start (arg=0xa737df0) at thread/qthread_unix.cpp:320
#12 0x01a9de99 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#13 0x019d873e in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 3 (Thread 0xa60d2b70 (LWP 2756)):
#0  0x019e663e in pthread_mutex_unlock () from /lib/i386-linux-gnu/libc.so.6
#1  0x0788c3d4 in g_main_context_query () from /lib/i386-linux-gnu/libglib-2.0.so.0
#2  0x0788ce8c in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0x0788d524 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0x0170a577 in QEventDispatcherGlib::processEvents (this=0xba85d50, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#5  0x016dc289 in QEventLoop::processEvents (this=0xa60d2260, flags=...) at kernel/qeventloop.cpp:149
#6  0x016dc522 in QEventLoop::exec (this=0xa60d2260, flags=...) at kernel/qeventloop.cpp:201
#7  0x015e62a0 in QThread::exec (this=0xba85248) at thread/qthread.cpp:492
#8  0x016bdfdb in QInotifyFileSystemWatcherEngine::run (this=0xba85248) at io/qfilesystemwatcher_inotify.cpp:248
#9  0x015e8da2 in QThreadPrivate::start (arg=0xba85248) at thread/qthread_unix.cpp:320
#10 0x01a9de99 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#11 0x019d873e in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 2 (Thread 0xa58d1b70 (LWP 2949)):
#0  0x01aa038a in pthread_mutex_lock () from /lib/i386-linux-gnu/libpthread.so.0
#1  0x019e6616 in pthread_mutex_lock () from /lib/i386-linux-gnu/libc.so.6
#2  0x0788c009 in g_main_context_prepare () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0x0788ce63 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0x0788d524 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0x0170a577 in QEventDispatcherGlib::processEvents (this=0xbe0b218, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#6  0x016dc289 in QEventLoop::processEvents (this=0xa58d1260, flags=...) at kernel/qeventloop.cpp:149
#7  0x016dc522 in QEventLoop::exec (this=0xa58d1260, flags=...) at kernel/qeventloop.cpp:201
#8  0x015e62a0 in QThread::exec (this=0xbe27880) at thread/qthread.cpp:492
#9  0x016bdfdb in QInotifyFileSystemWatcherEngine::run (this=0xbe27880) at io/qfilesystemwatcher_inotify.cpp:248
#10 0x015e8da2 in QThreadPrivate::start (arg=0xbe27880) at thread/qthread_unix.cpp:320
#11 0x01a9de99 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#12 0x019d873e in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 1 (Thread 0xb6411960 (LWP 2673)):
[KCrash Handler]
#7  0x002c5416 in __kernel_vsyscall ()
#8  0x01932e71 in raise () from /lib/i386-linux-gnu/libc.so.6
#9  0x0193634e in abort () from /lib/i386-linux-gnu/libc.so.6
#10 0x009af7d9 in pa_context_connect () from /usr/lib/libpulse.so.0
#11 0x00151068 in Phonon::PulseSupport::connectToDaemon (this=0xa2ba628) at ../../phonon/pulsesupport.cpp:904
#12 0x00151b50 in Phonon::PulseSupport::qt_metacall (this=0xa2ba628, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0xbfa24dec) at ./moc_pulsesupport.cpp:78
#13 0x016e36ba in QMetaObject::metacall (object=0xa2ba628, cl=QMetaObject::InvokeMetaMethod, idx=5, argv=0xbfa24dec) at kernel/qmetaobject.cpp:237
#14 0x016f34ff in QMetaObject::activate (sender=0xbf2c550, m=0x1817188, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3287
#15 0x016f94d7 in QSingleShotTimer::timeout (this=0xbf2c550) at .moc/release-shared/qtimer.moc:82
#16 0x016f958c in QSingleShotTimer::timerEvent (this=0xbf2c550) at kernel/qtimer.cpp:308
#17 0x016f2214 in QObject::event (this=0xbf2c550, e=0xbfa2530c) at kernel/qobject.cpp:1190
#18 0x01cd6d24 in QApplicationPrivate::notify_helper (this=0x9a0bfa0, receiver=0xbf2c550, e=0xbfa2530c) at kernel/qapplication.cpp:4462
#19 0x01cdb8ce in QApplication::notify (this=0xbfa25a08, receiver=0xbf2c550, e=0xbfa2530c) at kernel/qapplication.cpp:3862
#20 0x0611b3ca in KApplication::notify (this=0xbfa25a08, receiver=0xbf2c550, event=0xbfa2530c) at ../../kdeui/kernel/kapplication.cpp:311
#21 0x016dd0bb in QCoreApplication::notifyInternal (this=0xbfa25a08, receiver=0xbf2c550, event=0xbfa2530c) at kernel/qcoreapplication.cpp:731
#22 0x0170d1e4 in sendEvent (this=0x99f2ac4) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#23 QTimerInfoList::activateTimers (this=0x99f2ac4) at kernel/qeventdispatcher_unix.cpp:604
#24 0x01709df4 in timerSourceDispatch (source=0x99f2a90) at kernel/qeventdispatcher_glib.cpp:184
#25 0x0788caa8 in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#26 0x0788d270 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#27 0x0788d524 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#28 0x0170a53c in QEventDispatcherGlib::processEvents (this=0x998c470, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#29 0x01d8a775 in QGuiEventDispatcherGlib::processEvents (this=0x998c470, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#30 0x016e10a1 in QCoreApplication::processEvents (flags=...) at kernel/qcoreapplication.cpp:923
#31 0x02b15a75 in Digikam::SplashScreen::message (this=0x9b117a0, message=...) at /build/buildd/digikam-1.9.0/libs/widgets/common/splashscreen.cpp:136
#32 0x02b87c5b in Digikam::ImagePluginLoader::loadPluginsFromList (this=0x14f65f38, pluginsToLoad=...) at /build/buildd/digikam-1.9.0/utilities/imageeditor/canvas/imagepluginloader.cpp:167
#33 0x02b890c5 in Digikam::ImagePluginLoader::ImagePluginLoader (this=0x14f65f38, parent=0x9adfcb0, splash=0x9b117a0) at /build/buildd/digikam-1.9.0/utilities/imageeditor/canvas/imagepluginloader.cpp:147
#34 0x081c4698 in Digikam::DigikamApp::loadPlugins (this=0x9adfcb0) at /build/buildd/digikam-1.9.0/digikam/digikamapp.cpp:2504
#35 0x081d56b9 in Digikam::DigikamApp::DigikamApp (this=0x9adfcb0, __in_chrg=<value optimized out>, __vtt_parm=<value optimized out>) at /build/buildd/digikam-1.9.0/digikam/digikamapp.cpp:260
#36 0x08265716 in main (argc=) at /build/buildd/digikam-1.9.0/digikam/main.cpp:177

Reported using DrKonqi
Comment 1 Marcel Wiesweg 2011-05-30 22:05:01 UTC
Crash occurs in Phonon / Pulse Audio backend
Comment 2 Colin Guthrie 2011-05-31 10:08:34 UTC
Can you work out what the assertion was that caused this? Dr Konqui seems to swallow them up and not actually print them out?

If in doubt, just run digikam manually with the --nocrashhandler and let me know what the assertion is.
Comment 3 Mark Szentes-Wanner 2011-06-14 23:40:51 UTC
Created attachment 61002 [details]
New crash information added by DrKonqi

digikam (1.9.0) on KDE Platform 4.6.2 (4.6.2) using Qt 4.7.2

This time the crash occurred again. I cannot say when digikam will crash and when not, so this time I did not start with the --nocrashhandler option. Sorry!

I hope you will see a difference to the other report.

-- Backtrace (Reduced):
#10 0x008537d9 in pa_context_connect () from /usr/lib/libpulse.so.0
#11 0x0050c068 in Phonon::PulseSupport::connectToDaemon (this=0xa863fe0) at ../../phonon/pulsesupport.cpp:904
#12 0x0050cb50 in Phonon::PulseSupport::qt_metacall (this=0xa863fe0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0xbfa797dc) at ./moc_pulsesupport.cpp:78
[...]
#15 0x01ba94d7 in QSingleShotTimer::timeout (this=0xd01e568) at .moc/release-shared/qtimer.moc:82
#16 0x01ba958c in QSingleShotTimer::timerEvent (this=0xd01e568) at kernel/qtimer.cpp:308
Comment 4 Colin Guthrie 2011-06-15 10:18:08 UTC
Hmm, it's going to be really tricky to nail this down :(

When this happens, do you happen to know if PA has restarted itself? (one way to tell is that if PA has been running since login, the device list in Phonon config should look nice. e.g. a list of device names (tho' that list may of course only have one entry in it!). It will be called something like "Internal Audio....". If it just has a single entry called "PulseAudio", then chances are it's been restarted.

If PA has been restarted it could indicate that PA has crashed and it's left over remnants that cause this problem.

It's just strange as I would have thought this problem should have cropped up a lot more if it was endemic... which is why this is quite strange... :s

I'm not really sure what to suggest next. Perhaps try running "PULSE_LOG=99 pactl stat" after the crash to see if things in general are messed up (tho' I suspect things will have recovered by then :s).

Like I say it's a tricky one to debug.. :s
Comment 5 Harald Sitter 2012-09-09 10:57:43 UTC
still an issue?
Comment 6 Myriam Schweingruber 2013-04-13 06:29:17 UTC
Closing for lack of feedback. Please feel free to reopen if you can reproduce this with Phonon 4.6.0 or later and provide the requested feedback.
Comment 7 caulier.gilles 2018-08-21 09:00:07 UTC
Not reproducible since digiKam use QtAv framework + ffmpeg to handle video files.