Bug 254878

Summary: digikam error segmentation fault when open it
Product: [Applications] digikam Reporter: jmj
Component: Preview-VideoAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: crash CC: martin.sandsmark, myriam
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In: 6.0.0
Sentry Crash Report:

Description jmj 2010-10-21 16:30:46 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-23-generic i686
Distribution: Ubuntu 10.04.1 LTS

-- Information about the crash:
Hi,

digikam crash  when open it with an error segmentation fault

I hope this help

The crash can be reproduced every time.

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

Thread 8 (Thread 0xb60e3b70 (LWP 10827)):
#0  0x00e77422 in __kernel_vsyscall ()
#1  0x00c96015 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0x01d88287 in QWaitConditionPrivate::wait (this=0x9474d40, mutex=0x9474d3c, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#3  QWaitCondition::wait (this=0x9474d40, mutex=0x9474d3c, time=4294967295) at thread/qwaitcondition_unix.cpp:159
#4  0x08321fb4 in Digikam::ScanController::run (this=0x9470b20) at /build/buildd/digikam-1.2.0/digikam/scancontroller.cpp:516
#5  0x01d8732e in QThreadPrivate::start (arg=0x9470b20) at thread/qthread_unix.cpp:248
#6  0x00c9196e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#7  0x0252da4e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 7 (Thread 0xb56ffb70 (LWP 10830)):
#0  0x07a19e16 in clock_gettime () from /lib/tls/i686/cmov/librt.so.1
#1  0x01eb26fb in qt_gettime () at kernel/qcore_unix.cpp:111
#2  0x01eb7825 in QTimerInfoList::updateCurrentTime (this=0x95eafd4) at kernel/qeventdispatcher_unix.cpp:340
#3  0x01eb786a in QTimerInfoList::timerWait (this=0x95eafd4, tm=...) at kernel/qeventdispatcher_unix.cpp:443
#4  0x01eb5818 in timerSourcePrepareHelper (src=<value optimized out>, timeout=0xb56ff0bc) at kernel/qeventdispatcher_glib.cpp:136
#5  0x01eb58a5 in timerSourcePrepare (source=0x0, timeout=0x7a1dff4) at kernel/qeventdispatcher_glib.cpp:169
#6  0x0230faca in g_main_context_prepare () from /lib/libglib-2.0.so.0
#7  0x0230fee9 in ?? () from /lib/libglib-2.0.so.0
#8  0x023104b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#9  0x01eb560f in QEventDispatcherGlib::processEvents (this=0x9483610, flags=...) at kernel/qeventdispatcher_glib.cpp:414
#10 0x01e88059 in QEventLoop::processEvents (this=0xb56ff280, flags=) at kernel/qeventloop.cpp:149
#11 0x01e884aa in QEventLoop::exec (this=0xb56ff280, flags=...) at kernel/qeventloop.cpp:201
#12 0x01d845a8 in QThread::exec (this=0x966b7c8) at thread/qthread.cpp:487
#13 0x003b5ced in Digikam::ImageFilterModelWorker::Thread::run (this=0x966b7c8) at /build/buildd/digikam-1.2.0/obj-i486-linux-gnu/digikam/../../libs/models/imagefiltermodelthreads.h:66
#14 0x01d8732e in QThreadPrivate::start (arg=0x966b7c8) at thread/qthread_unix.cpp:248
#15 0x00c9196e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#16 0x0252da4e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 6 (Thread 0xb48ffb70 (LWP 10831)):
#0  0x00e77422 in __kernel_vsyscall ()
#1  0x0251fb86 in poll () from /lib/tls/i686/cmov/libc.so.6
#2  0x0231d4eb in g_poll () from /lib/libglib-2.0.so.0
#3  0x023100ac in ?? () from /lib/libglib-2.0.so.0
#4  0x023104b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#5  0x01eb560f in QEventDispatcherGlib::processEvents (this=0x95eb7f8, flags=...) at kernel/qeventdispatcher_glib.cpp:414
#6  0x01e88059 in QEventLoop::processEvents (this=0xb48ff280, flags=) at kernel/qeventloop.cpp:149
#7  0x01e884aa in QEventLoop::exec (this=0xb48ff280, flags=...) at kernel/qeventloop.cpp:201
#8  0x01d845a8 in QThread::exec (this=0x95eb758) at thread/qthread.cpp:487
#9  0x003b5ced in Digikam::ImageFilterModelWorker::Thread::run (this=0x95eb758) at /build/buildd/digikam-1.2.0/obj-i486-linux-gnu/digikam/../../libs/models/imagefiltermodelthreads.h:66
#10 0x01d8732e in QThreadPrivate::start (arg=0x95eb758) at thread/qthread_unix.cpp:248
#11 0x00c9196e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#12 0x0252da4e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 5 (Thread 0xb3effb70 (LWP 10832)):
#0  0x00e77422 in __kernel_vsyscall ()
#1  0x00c96015 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0x01d88287 in QWaitConditionPrivate::wait (this=0x95e84b0, mutex=0x95e84ac, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#3  QWaitCondition::wait (this=0x95e84b0, mutex=0x95e84ac, time=4294967295) at thread/qwaitcondition_unix.cpp:159
#4  0x0894910a in Digikam::LoadSaveThread::run (this=0x95e84a0) at /build/buildd/digikam-1.2.0/libs/threadimageio/loadsavethread.cpp:131
#5  0x01d8732e in QThreadPrivate::start (arg=0x95e84a0) at thread/qthread_unix.cpp:248
#6  0x00c9196e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#7  0x0252da4e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 4 (Thread 0xb36feb70 (LWP 10833)):
#0  0x00e77422 in __kernel_vsyscall ()
#1  0x0251fb86 in poll () from /lib/tls/i686/cmov/libc.so.6
#2  0x0231d4eb in g_poll () from /lib/libglib-2.0.so.0
#3  0x023100ac in ?? () from /lib/libglib-2.0.so.0
#4  0x023104b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#5  0x01eb560f in QEventDispatcherGlib::processEvents (this=0x96cb020, flags=...) at kernel/qeventdispatcher_glib.cpp:414
#6  0x01e88059 in QEventLoop::processEvents (this=0xb36fe2a0, flags=) at kernel/qeventloop.cpp:149
#7  0x01e884aa in QEventLoop::exec (this=0xb36fe2a0, flags=...) at kernel/qeventloop.cpp:201
#8  0x01d845a8 in QThread::exec (this=0x96ca660) at thread/qthread.cpp:487
#9  0x01d8732e in QThreadPrivate::start (arg=0x96ca660) at thread/qthread_unix.cpp:248
#10 0x00c9196e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#11 0x0252da4e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 3 (Thread 0xb2efdb70 (LWP 10834)):
#0  0x07a19e16 in clock_gettime () from /lib/tls/i686/cmov/librt.so.1
#1  0x01eb26fb in qt_gettime () at kernel/qcore_unix.cpp:111
#2  0x01eb7825 in QTimerInfoList::updateCurrentTime (this=0xb57a83e4) at kernel/qeventdispatcher_unix.cpp:340
#3  0x01eb786a in QTimerInfoList::timerWait (this=0xb57a83e4, tm=...) at kernel/qeventdispatcher_unix.cpp:443
#4  0x01eb5818 in timerSourcePrepareHelper (src=<value optimized out>, timeout=0xb2efd0dc) at kernel/qeventdispatcher_glib.cpp:136
#5  0x01eb58a5 in timerSourcePrepare (source=0x0, timeout=0x7a1dff4) at kernel/qeventdispatcher_glib.cpp:169
#6  0x0230faca in g_main_context_prepare () from /lib/libglib-2.0.so.0
#7  0x0230fee9 in ?? () from /lib/libglib-2.0.so.0
#8  0x023104b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#9  0x01eb560f in QEventDispatcherGlib::processEvents (this=0x96c7e50, flags=...) at kernel/qeventdispatcher_glib.cpp:414
#10 0x01e88059 in QEventLoop::processEvents (this=0xb2efd2a0, flags=) at kernel/qeventloop.cpp:149
#11 0x01e884aa in QEventLoop::exec (this=0xb2efd2a0, flags=...) at kernel/qeventloop.cpp:201
#12 0x01d845a8 in QThread::exec (this=0x96ca338) at thread/qthread.cpp:487
#13 0x01d8732e in QThreadPrivate::start (arg=0x96ca338) at thread/qthread_unix.cpp:248
#14 0x00c9196e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#15 0x0252da4e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 2 (Thread 0xabb3bb70 (LWP 10838)):
#0  0x00e77422 in __kernel_vsyscall ()
#1  0x0251fb86 in poll () from /lib/tls/i686/cmov/libc.so.6
#2  0x03032502 in ?? () from /usr/lib/libpulse.so.0
#3  0x0301ea59 in pa_mainloop_poll () from /usr/lib/libpulse.so.0
#4  0x03020a13 in pa_mainloop_iterate () from /usr/lib/libpulse.so.0
#5  0x03020ae4 in pa_mainloop_run () from /usr/lib/libpulse.so.0
#6  0x030322a3 in ?? () from /usr/lib/libpulse.so.0
#7  0x0332ce02 in ?? () from /usr/lib/libpulsecommon-0.9.21.so
#8  0x00c9196e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#9  0x0252da4e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 1 (Thread 0xb784a760 (LWP 10826)):
[KCrash Handler]
#6  0x04be5e5c in ?? () from /usr/lib/libasound.so.2
#7  0x04ba2e9e in snd_pcm_close () from /usr/lib/libasound.so.2
#8  0x02f6f662 in gst_alsasink_close (asink=0x98e4c38) at gstalsasink.c:804
#9  0x06c36512 in gst_audioringbuffer_close_device (buf=0x98e1330) at gstaudiosink.c:365
#10 0x06c266f0 in gst_ring_buffer_close_device (buf=0x98e1330) at gstringbuffer.c:714
#11 0x06c30e42 in gst_base_audio_sink_change_state (element=0x98e4c38, transition=GST_STATE_CHANGE_READY_TO_NULL) at gstbaseaudiosink.c:1879
#12 0x031fd435 in gst_element_change_state (element=0x98e4c38, transition=GST_STATE_CHANGE_READY_TO_NULL) at gstelement.c:2548
#13 0x03200928 in gst_element_set_state_func (element=0x98e4c38, state=GST_STATE_NULL) at gstelement.c:2504
#14 0x031fc7f0 in gst_element_set_state (element=0x98e4c38, state=GST_STATE_NULL) at gstelement.c:2405
#15 0x02f3de1c in Phonon::Gstreamer::AudioOutput::setOutputDevice (this=0x97c70a0, newDevice=...) at ../../gstreamer/audiooutput.cpp:217
#16 0x002b0621 in callSetOutputDevice (this=0x9731e80) at ../3rdparty/phonon/phonon/audiooutput.cpp:67
#17 Phonon::AudioOutputPrivate::setupBackendObject (this=0x9731e80) at ../3rdparty/phonon/phonon/audiooutput.cpp:281
#18 0x002b0d22 in Phonon::AudioOutputPrivate::createBackendObject (this=0x9731e80) at ../3rdparty/phonon/phonon/audiooutput.cpp:124
#19 0x002ad284 in Phonon::AudioOutputPrivate::init (this=0x9731e80, c=Phonon::VideoCategory) at ../3rdparty/phonon/phonon/audiooutput.cpp:106
#20 0x002ad929 in AudioOutput (this=0x9731e68, category=Phonon::VideoCategory, parent=0x9731b00) at ../3rdparty/phonon/phonon/audiooutput.cpp:76
#21 0x002d1f5d in Phonon::VideoPlayerPrivate::init (this=0x9736960, q=0x9731b00, category=Phonon::VideoCategory) at ../3rdparty/phonon/phonon/videoplayer.cpp:59
#22 0x002d22e0 in VideoPlayer (this=0x9731b00, category=Phonon::VideoCategory, parent=0x95e9880) at ../3rdparty/phonon/phonon/videoplayer.cpp:75
#23 0x0831104b in MediaPlayerView (this=0x971f220, parent=0x94b22a0) at /build/buildd/digikam-1.2.0/digikam/mediaplayerview.cpp:124
#24 0x082a5aee in AlbumWidgetStack (this=0x94b22a0, parent=0x94af610) at /build/buildd/digikam-1.2.0/digikam/albumwidgetstack.cpp:105
#25 0x082da3a0 in DigikamView (this=0x94b40a8, parent=0x94bac08, modelCollection=0x94cd418) at /build/buildd/digikam-1.2.0/digikam/digikamview.cpp:169
#26 0x082c06bd in Digikam::DigikamApp::setupView (this=0x94bac08) at /build/buildd/digikam-1.2.0/digikam/digikamapp.cpp:478
#27 0x082ceb62 in DigikamApp (this=0x94bac08, __in_chrg=<value optimized out>, __vtt_parm=<value optimized out>) at /build/buildd/digikam-1.2.0/digikam/digikamapp.cpp:230
#28 0x083c292a in main (argc=5, argv=0xbff3dcd4) at /build/buildd/digikam-1.2.0/digikam/main.cpp:170

Possible duplicates by query: bug 253416, bug 248238, bug 246495, bug 245249, bug 244298.

Reported using DrKonqi
Comment 1 Pino Toscano 2010-10-21 20:08:08 UTC

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