Bug 236647

Summary: After upgrading to Ubuntu 10.04 Digikam crashes everytime it is launched
Product: [Applications] digikam Reporter: bsa.nospam
Component: Preview-VideoAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: crash CC: caulier.gilles, martin.sandsmark, myriam, oleg.atamanenko+kde
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In: 6.0.0
Sentry Crash Report:
Attachments: New crash information added by DrKonqi

Description bsa.nospam 2010-05-07 05:05:13 UTC
Application: digikam (1.2.0)
KDE Platform Version: 4.4.2 (KDE 4.4.2)
Qt Version: 4.6.2
Operating System: Linux 2.6.32-22-generic i686
Distribution: Ubuntu 10.04 LTS

-- Information about the crash:
Digikam crashes everytime it is launched :

------------
$ digikam
QLayout: Cannot add null widget to QVBoxLayout/
KCrash: Application 'digikam' crashing...
sock_file=/home/moi/.kde/socket-pollux/kdeinit4__0

[1]+  Stopped                 digikam
$
-------------------


The crash can be reproduced every time.

 -- Backtrace:
Application: digiKam (digikam), signal: Segmentation fault
[Current thread is 1 (Thread 0xb7761760 (LWP 2712))]

Thread 8 (Thread 0xb60c5b70 (LWP 2713)):
#0  0x00553422 in __kernel_vsyscall ()
#1  0x00215015 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0x04ddb287 in QWaitConditionPrivate::wait (this=0x9734368, mutex=0x9734364, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#3  QWaitCondition::wait (this=0x9734368, mutex=0x9734364, time=4294967295) at thread/qwaitcondition_unix.cpp:159
#4  0x08321fb4 in Digikam::ScanController::run (this=0x9734030) at /build/buildd/digikam-1.2.0/digikam/scancontroller.cpp:516
#5  0x04dda32e in QThreadPrivate::start (arg=0x9734030) at thread/qthread_unix.cpp:248
#6  0x0021096e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#7  0x030cea0e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 7 (Thread 0xb582cb70 (LWP 2716)):
#0  0x03665e16 in clock_gettime () from /lib/tls/i686/cmov/librt.so.1
#1  0x04f056fb in qt_gettime () at kernel/qcore_unix.cpp:111
#2  0x04f0a825 in QTimerInfoList::updateCurrentTime (this=0xb4f08ae4) at kernel/qeventdispatcher_unix.cpp:340
#3  0x04f0a86a in QTimerInfoList::timerWait (this=0xb4f08ae4, tm=...) at kernel/qeventdispatcher_unix.cpp:443
#4  0x04f08818 in timerSourcePrepareHelper (src=<value optimized out>, timeout=0xb582c0bc) at kernel/qeventdispatcher_glib.cpp:136
#5  0x04f088a5 in timerSourcePrepare (source=0x0, timeout=0x3669ff4) at kernel/qeventdispatcher_glib.cpp:169
#6  0x01a6faca in g_main_context_prepare () from /lib/libglib-2.0.so.0
#7  0x01a6fee9 in ?? () from /lib/libglib-2.0.so.0
#8  0x01a704b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#9  0x04f0860f in QEventDispatcherGlib::processEvents (this=0x97bfcc8, flags=...) at kernel/qeventdispatcher_glib.cpp:414
#10 0x04edb059 in QEventLoop::processEvents (this=0xb582c280, flags=) at kernel/qeventloop.cpp:149
#11 0x04edb4aa in QEventLoop::exec (this=0xb582c280, flags=...) at kernel/qeventloop.cpp:201
#12 0x04dd75a8 in QThread::exec (this=0x9748e08) at thread/qthread.cpp:487
#13 0x0061eced in Digikam::ImageFilterModelWorker::Thread::run (this=0x9748e08) at /build/buildd/digikam-1.2.0/obj-i486-linux-gnu/digikam/../../libs/models/imagefiltermodelthreads.h:66
#14 0x04dda32e in QThreadPrivate::start (arg=0x9748e08) at thread/qthread_unix.cpp:248
#15 0x0021096e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#16 0x030cea0e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 6 (Thread 0xb4d73b70 (LWP 2717)):
#0  0x00215e50 in pthread_getspecific () from /lib/tls/i686/cmov/libpthread.so.0
#1  0x085e3f35 in ?? () from /usr/lib/libgthread-2.0.so.0
#2  0x01a96772 in g_thread_self () from /lib/libglib-2.0.so.0
#3  0x01a704a3 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#4  0x04f0860f in QEventDispatcherGlib::processEvents (this=0x97729e8, flags=...) at kernel/qeventdispatcher_glib.cpp:414
#5  0x04edb059 in QEventLoop::processEvents (this=0xb4d73280, flags=) at kernel/qeventloop.cpp:149
#6  0x04edb4aa in QEventLoop::exec (this=0xb4d73280, flags=...) at kernel/qeventloop.cpp:201
#7  0x04dd75a8 in QThread::exec (this=0x97b3ed0) at thread/qthread.cpp:487
#8  0x0061eced in Digikam::ImageFilterModelWorker::Thread::run (this=0x97b3ed0) at /build/buildd/digikam-1.2.0/obj-i486-linux-gnu/digikam/../../libs/models/imagefiltermodelthreads.h:66
#9  0x04dda32e in QThreadPrivate::start (arg=0x97b3ed0) at thread/qthread_unix.cpp:248
#10 0x0021096e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#11 0x030cea0e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 5 (Thread 0xb4572b70 (LWP 2718)):
#0  0x00553422 in __kernel_vsyscall ()
#1  0x00215015 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0x04ddb287 in QWaitConditionPrivate::wait (this=0x995f288, mutex=0x995f284, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#3  QWaitCondition::wait (this=0x995f288, mutex=0x995f284, time=4294967295) at thread/qwaitcondition_unix.cpp:159
#4  0x05a5110a in Digikam::LoadSaveThread::run (this=0x995f278) at /build/buildd/digikam-1.2.0/libs/threadimageio/loadsavethread.cpp:131
#5  0x04dda32e in QThreadPrivate::start (arg=0x995f278) at thread/qthread_unix.cpp:248
#6  0x0021096e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#7  0x030cea0e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 4 (Thread 0xb3d71b70 (LWP 2719)):
#0  0x03665e16 in clock_gettime () from /lib/tls/i686/cmov/librt.so.1
#1  0x04f056fb in qt_gettime () at kernel/qcore_unix.cpp:111
#2  0x04f0a825 in QTimerInfoList::updateCurrentTime (this=0xb4f03b74) at kernel/qeventdispatcher_unix.cpp:340
#3  0x04f0a86a in QTimerInfoList::timerWait (this=0xb4f03b74, tm=...) at kernel/qeventdispatcher_unix.cpp:443
#4  0x04f08818 in timerSourcePrepareHelper (src=<value optimized out>, timeout=0xb3d710dc) at kernel/qeventdispatcher_glib.cpp:136
#5  0x04f088a5 in timerSourcePrepare (source=0x0, timeout=0x3669ff4) at kernel/qeventdispatcher_glib.cpp:169
#6  0x01a6faca in g_main_context_prepare () from /lib/libglib-2.0.so.0
#7  0x01a6fee9 in ?? () from /lib/libglib-2.0.so.0
#8  0x01a704b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#9  0x04f0860f in QEventDispatcherGlib::processEvents (this=0xb4f06080, flags=...) at kernel/qeventdispatcher_glib.cpp:414
#10 0x04edb059 in QEventLoop::processEvents (this=0xb3d712a0, flags=) at kernel/qeventloop.cpp:149
#11 0x04edb4aa in QEventLoop::exec (this=0xb3d712a0, flags=...) at kernel/qeventloop.cpp:201
#12 0x04dd75a8 in QThread::exec (this=0x9ce6f00) at thread/qthread.cpp:487
#13 0x04dda32e in QThreadPrivate::start (arg=0x9ce6f00) at thread/qthread_unix.cpp:248
#14 0x0021096e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#15 0x030cea0e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 3 (Thread 0xb3570b70 (LWP 2720)):
#0  0x03665e16 in clock_gettime () from /lib/tls/i686/cmov/librt.so.1
#1  0x04f056fb in qt_gettime () at kernel/qcore_unix.cpp:111
#2  0x04f0a825 in QTimerInfoList::updateCurrentTime (this=0xb4f09134) at kernel/qeventdispatcher_unix.cpp:340
#3  0x04f0a86a in QTimerInfoList::timerWait (this=0xb4f09134, tm=...) at kernel/qeventdispatcher_unix.cpp:443
#4  0x04f08818 in timerSourcePrepareHelper (src=<value optimized out>, timeout=0xb35700dc) at kernel/qeventdispatcher_glib.cpp:136
#5  0x04f088a5 in timerSourcePrepare (source=0x0, timeout=0x3669ff4) at kernel/qeventdispatcher_glib.cpp:169
#6  0x01a6faca in g_main_context_prepare () from /lib/libglib-2.0.so.0
#7  0x01a6fee9 in ?? () from /lib/libglib-2.0.so.0
#8  0x01a704b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#9  0x04f0860f in QEventDispatcherGlib::processEvents (this=0x9749c18, flags=...) at kernel/qeventdispatcher_glib.cpp:414
#10 0x04edb059 in QEventLoop::processEvents (this=0xb35702a0, flags=) at kernel/qeventloop.cpp:149
#11 0x04edb4aa in QEventLoop::exec (this=0xb35702a0, flags=...) at kernel/qeventloop.cpp:201
#12 0x04dd75a8 in QThread::exec (this=0x9b7c8f8) at thread/qthread.cpp:487
#13 0x04dda32e in QThreadPrivate::start (arg=0x9b7c8f8) at thread/qthread_unix.cpp:248
#14 0x0021096e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#15 0x030cea0e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 2 (Thread 0xad89eb70 (LWP 2722)):
#0  0x00553422 in __kernel_vsyscall ()
#1  0x030c0b86 in poll () from /lib/tls/i686/cmov/libc.so.6
#2  0x04172502 in ?? () from /usr/lib/libpulse.so.0
#3  0x0415ea59 in pa_mainloop_poll () from /usr/lib/libpulse.so.0
#4  0x04160a13 in pa_mainloop_iterate () from /usr/lib/libpulse.so.0
#5  0x04160ae4 in pa_mainloop_run () from /usr/lib/libpulse.so.0
#6  0x041722a3 in ?? () from /usr/lib/libpulse.so.0
#7  0x04c3be02 in ?? () from /usr/lib/libpulsecommon-0.9.21.so
#8  0x0021096e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#9  0x030cea0e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 1 (Thread 0xb7761760 (LWP 2712)):
[KCrash Handler]
#6  0x071f4e5c in ?? () from /usr/lib/libasound.so.2
#7  0x071b1e9e in snd_pcm_close () from /usr/lib/libasound.so.2
#8  0x04133662 in gst_alsasink_close (asink=0x9b7e520) at gstalsasink.c:804
#9  0x05512512 in gst_audioringbuffer_close_device (buf=0x963c3d8) at gstaudiosink.c:365
#10 0x055026f0 in gst_ring_buffer_close_device (buf=0x963c3d8) at gstringbuffer.c:714
#11 0x0550ce42 in gst_base_audio_sink_change_state (element=0x9b7e520, transition=GST_STATE_CHANGE_READY_TO_NULL) at gstbaseaudiosink.c:1879
#12 0x04cdf435 in gst_element_change_state (element=0x9b7e520, transition=GST_STATE_CHANGE_READY_TO_NULL) at gstelement.c:2548
#13 0x04ce2928 in gst_element_set_state_func (element=0x9b7e520, state=GST_STATE_NULL) at gstelement.c:2504
#14 0x04cde7f0 in gst_element_set_state (element=0x9b7e520, state=GST_STATE_NULL) at gstelement.c:2405
#15 0x04cce827 in gst_bin_element_set_state (element=0x9ab29a0, transition=GST_STATE_CHANGE_READY_TO_NULL) at gstbin.c:2118
#16 gst_bin_change_state_func (element=0x9ab29a0, transition=GST_STATE_CHANGE_READY_TO_NULL) at gstbin.c:2417
#17 0x04cdf435 in gst_element_change_state (element=0x9ab29a0, transition=GST_STATE_CHANGE_READY_TO_NULL) at gstelement.c:2548
#18 0x04ce2928 in gst_element_set_state_func (element=0x9ab29a0, state=GST_STATE_NULL) at gstelement.c:2504
#19 0x04cde7f0 in gst_element_set_state (element=0x9ab29a0, state=GST_STATE_NULL) at gstelement.c:2405
#20 0x04cce827 in gst_bin_element_set_state (element=0x9ab1148, transition=GST_STATE_CHANGE_READY_TO_NULL) at gstbin.c:2118
#21 gst_bin_change_state_func (element=0x9ab1148, transition=GST_STATE_CHANGE_READY_TO_NULL) at gstbin.c:2417
#22 0x057d311e in gst_switch_sink_change_state (element=0x9ab1148, transition=GST_STATE_CHANGE_READY_TO_NULL) at gstswitchsink.c:255
#23 0x057cff56 in gst_gconf_audio_sink_change_state (element=0x9ab1148, transition=GST_STATE_CHANGE_READY_TO_NULL) at gstgconfaudiosink.c:298
#24 0x04cdf435 in gst_element_change_state (element=0x9ab1148, transition=GST_STATE_CHANGE_READY_TO_NULL) at gstelement.c:2548
#25 0x04ce2928 in gst_element_set_state_func (element=0x9ab1148, state=GST_STATE_NULL) at gstelement.c:2504
#26 0x04cde7f0 in gst_element_set_state (element=0x9ab1148, state=GST_STATE_NULL) at gstelement.c:2405
#27 0x03ea6e1c in Phonon::Gstreamer::AudioOutput::setOutputDevice (this=0x9bf8498, newDevice=...) at ../../gstreamer/audiooutput.cpp:217
#28 0x007d3621 in callSetOutputDevice (this=0x9a08da0) at ../3rdparty/phonon/phonon/audiooutput.cpp:67
#29 Phonon::AudioOutputPrivate::setupBackendObject (this=0x9a08da0) at ../3rdparty/phonon/phonon/audiooutput.cpp:281
#30 0x007d3d22 in Phonon::AudioOutputPrivate::createBackendObject (this=0x9a08da0) at ../3rdparty/phonon/phonon/audiooutput.cpp:124
#31 0x007d0284 in Phonon::AudioOutputPrivate::init (this=0x9a08da0, c=Phonon::VideoCategory) at ../3rdparty/phonon/phonon/audiooutput.cpp:106
#32 0x007d0929 in AudioOutput (this=0x9a08d88, category=Phonon::VideoCategory, parent=0x9a04e08) at ../3rdparty/phonon/phonon/audiooutput.cpp:76
#33 0x007f4f5d in Phonon::VideoPlayerPrivate::init (this=0x9a1c3e8, q=0x9a04e08, category=Phonon::VideoCategory) at ../3rdparty/phonon/phonon/videoplayer.cpp:59
#34 0x007f52e0 in VideoPlayer (this=0x9a04e08, category=Phonon::VideoCategory, parent=0x9c39400) at ../3rdparty/phonon/phonon/videoplayer.cpp:75
#35 0x0831104b in MediaPlayerView (this=0x9c22d18, parent=0x9ccd990) at /build/buildd/digikam-1.2.0/digikam/mediaplayerview.cpp:124
#36 0x082a5aee in AlbumWidgetStack (this=0x9ccd990, parent=0x99d6328) at /build/buildd/digikam-1.2.0/digikam/albumwidgetstack.cpp:105
#37 0x082da3a0 in DigikamView (this=0x97472e0, parent=0x9796d88, modelCollection=0x97a7a30) at /build/buildd/digikam-1.2.0/digikam/digikamview.cpp:169
#38 0x082c06bd in Digikam::DigikamApp::setupView (this=0x9796d88) at /build/buildd/digikam-1.2.0/digikam/digikamapp.cpp:478
#39 0x082ceb62 in DigikamApp (this=0x9796d88, __in_chrg=<value optimized out>, __vtt_parm=<value optimized out>) at /build/buildd/digikam-1.2.0/digikam/digikamapp.cpp:230
#40 0x083c292a in main (argc=5, argv=0xbfe28984) at /build/buildd/digikam-1.2.0/digikam/main.cpp:170

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

Possible duplicates by query: bug 236266, bug 235920, bug 233454.

Reported using DrKonqi
Comment 1 Oleg Atamanenko 2010-05-08 17:01:03 UTC
Created attachment 43370 [details]
New crash information added by DrKonqi

Digikam crashes everytime after upgrade to Ubuntu 10.04
Comment 2 caulier.gilles 2010-05-10 11:38:18 UTC
Sound like Phonon/GStreamer backend problem...

Gilles Caulier
Comment 3 Christoph Feck 2010-08-13 17:37:27 UTC

*** This bug has been marked as a duplicate of bug 232068 ***
Comment 4 Myriam Schweingruber 2011-04-27 21:17:11 UTC
reassigning to the new bugzilla product for better bug tracing of the various backends. Sorry for the noise.
Comment 5 caulier.gilles 2018-08-19 14:19:14 UTC
Fixed in 6.0.0 since digiKam use QtAV+ffmpeg to play and extract thumbnails from video files