Bug 235905

Summary: Digikam crash after upgrade
Product: [Applications] digikam Reporter: ppf0026
Component: Preview-VideoAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: crash CC: caulier.gilles, martin.sandsmark, myriam, software, tobias.karsbo
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 ppf0026 2010-05-01 13:24:03 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-21-generic x86_64
Distribution: Ubuntu 10.04 LTS

-- Information about the crash:
after upgrading to digikam 1.2.0 digikam crash on boot

The crash can be reproduced every time.

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

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

Thread 7 (Thread 0x7f33364d3710 (LWP 2761)):
#0  0x00007f3344aa9f14 in g_main_context_prepare () from /lib/libglib-2.0.so.0
#1  0x00007f3344aaa318 in ?? () from /lib/libglib-2.0.so.0
#2  0x00007f3344aaa8fc in g_main_context_iteration () from /lib/libglib-2.0.so.0
#3  0x00007f3348831566 in QEventDispatcherGlib::processEvents (this=0x1a31e90, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:414
#4  0x00007f3348806992 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#5  0x00007f3348806d6c in QEventLoop::exec (this=0x7f33364d2d70, flags=) at kernel/qeventloop.cpp:201
#6  0x00007f3348710d59 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#7  0x00007f3348713775 in QThreadPrivate::start (arg=0x17d7a80) at thread/qthread_unix.cpp:248
#8  0x00007f33484839ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#9  0x00007f33477ba69d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7f3335c46710 (LWP 2762)):
#0  0xffffffffff60017b in ?? ()
#1  0x00007f3335c45a60 in ?? ()
#2  0x00007fff6d475852 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

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

Thread 4 (Thread 0x7f3334bc4710 (LWP 2764)):
#0  0xffffffffff60017b in ?? ()
#1  0x00007f3334bc3a60 in ?? ()
#2  0x00007fff6d475852 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 3 (Thread 0x7f332ffff710 (LWP 2765)):
#0  0x00007f33477adf53 in *__GI___poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f3344aaa4a9 in ?? () from /lib/libglib-2.0.so.0
#2  0x00007f3344aaa8fc in g_main_context_iteration () from /lib/libglib-2.0.so.0
#3  0x00007f3348831566 in QEventDispatcherGlib::processEvents (this=0x1ad2710, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:414
#4  0x00007f3348806992 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#5  0x00007f3348806d6c in QEventLoop::exec (this=0x7f332fffed70, flags=) at kernel/qeventloop.cpp:201
#6  0x00007f3348710d59 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#7  0x00007f3348713775 in QThreadPrivate::start (arg=0x1ad1d90) at thread/qthread_unix.cpp:248
#8  0x00007f33484839ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#9  0x00007f33477ba69d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f33262e0710 (LWP 2780)):
#0  0x00007f33477adf53 in *__GI___poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f332b62b41f in ?? () from /usr/lib/libpulse.so.0
#2  0x00007f332b61ad86 in pa_mainloop_poll () from /usr/lib/libpulse.so.0
#3  0x00007f332b61c809 in pa_mainloop_iterate () from /usr/lib/libpulse.so.0
#4  0x00007f332b61c8c0 in pa_mainloop_run () from /usr/lib/libpulse.so.0
#5  0x00007f332b62b21b in ?? () from /usr/lib/libpulse.so.0
#6  0x00007f332b3ea0e8 in ?? () from /usr/lib/libpulsecommon-0.9.21.so
#7  0x00007f33484839ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#8  0x00007f33477ba69d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#9  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f334f0697e0 (LWP 2756)):
[KCrash Handler]
#5  0x00007f332e216e49 in ?? () from /usr/lib/libasound.so.2
#6  0x00007f332e1d9b15 in snd_pcm_close () from /usr/lib/libasound.so.2
#7  0x00007f332ba4d6ff in ?? () from /usr/lib/gstreamer-0.10/libgstalsa.so
#8  0x00007f332c6c43c6 in ?? () from /usr/lib/libgstaudio-0.10.so.0
#9  0x00007f332c6b7ecb in gst_ring_buffer_close_device () from /usr/lib/libgstaudio-0.10.so.0
#10 0x00007f332c6bfca6 in ?? () from /usr/lib/libgstaudio-0.10.so.0
#11 0x00007f332cf6318c in gst_element_change_state (element=0x7f3330017970, transition=0) at gstelement.c:2548
#12 0x00007f332cf661bb in gst_element_set_state_func (element=0x7f33300dcea0, state=GST_STATE_NULL) at gstelement.c:2504
#13 0x00007f332cf53c29 in gst_bin_element_set_state (element=0x1e0a2e0, transition=<value optimized out>) at gstbin.c:2118
#14 gst_bin_change_state_func (element=0x1e0a2e0, transition=<value optimized out>) at gstbin.c:2417
#15 0x00007f332cf6318c in gst_element_change_state (element=0x7f3330017970, transition=0) at gstelement.c:2548
#16 0x00007f332cf661bb in gst_element_set_state_func (element=0x1e0a2e0, state=GST_STATE_NULL) at gstelement.c:2504
#17 0x00007f332cf53c29 in gst_bin_element_set_state (element=0x7f333015a220, transition=<value optimized out>) at gstbin.c:2118
#18 gst_bin_change_state_func (element=0x7f333015a220, transition=<value optimized out>) at gstbin.c:2417
#19 0x00007f332be94372 in gst_switch_sink_change_state (element=0x7f333015a220, transition=GST_STATE_CHANGE_READY_TO_NULL) at gstswitchsink.c:255
#20 0x00007f332be917c5 in gst_gconf_audio_sink_change_state (element=0x7f333015a220, transition=GST_STATE_CHANGE_READY_TO_NULL) at gstgconfaudiosink.c:298
#21 0x00007f332cf6318c in gst_element_change_state (element=0x7f3330017970, transition=0) at gstelement.c:2548
#22 0x00007f332cf661bb in gst_element_set_state_func (element=0x7f333015a220, state=GST_STATE_NULL) at gstelement.c:2504
#23 0x00007f332d75d9aa in Phonon::Gstreamer::AudioOutput::setOutputDevice (this=0x7f333005d040, newDevice=<value optimized out>) at ../../gstreamer/audiooutput.cpp:217
#24 0x00007f334ea17010 in callSetOutputDevice (this=0x1c60140) at ../3rdparty/phonon/phonon/audiooutput.cpp:67
#25 Phonon::AudioOutputPrivate::setupBackendObject (this=0x1c60140) at ../3rdparty/phonon/phonon/audiooutput.cpp:281
#26 0x00007f334ea176f0 in Phonon::AudioOutputPrivate::createBackendObject (this=0x1c60140) at ../3rdparty/phonon/phonon/audiooutput.cpp:124
#27 0x00007f334ea13eea in Phonon::AudioOutputPrivate::init (this=0x1c60140, c=<value optimized out>) at ../3rdparty/phonon/phonon/audiooutput.cpp:106
#28 0x00007f334ea1459d in AudioOutput (this=0x1c60110, category=Phonon::VideoCategory, parent=0x1c5fbd0) at ../3rdparty/phonon/phonon/audiooutput.cpp:76
#29 0x00007f334ea36862 in Phonon::VideoPlayerPrivate::init (this=0x1c5f1e0, q=0x1c5fbd0, category=Phonon::VideoCategory) at ../3rdparty/phonon/phonon/videoplayer.cpp:59
#30 0x00007f334ea36b73 in VideoPlayer (this=0x1c5fbd0, category=Phonon::VideoCategory, parent=<value optimized out>) at ../3rdparty/phonon/phonon/videoplayer.cpp:75
#31 0x00000000006d106c in MediaPlayerView (this=0x1c5c980, parent=<value optimized out>) at /build/buildd/digikam-1.2.0/digikam/mediaplayerview.cpp:124
#32 0x0000000000667ae3 in AlbumWidgetStack (this=0x17879d0, parent=<value optimized out>) at /build/buildd/digikam-1.2.0/digikam/albumwidgetstack.cpp:105
#33 0x000000000069c6e5 in DigikamView (this=0x1785e00, parent=0x176c000, modelCollection=0x19a1050) at /build/buildd/digikam-1.2.0/digikam/digikamview.cpp:169
#34 0x00000000006827bd in Digikam::DigikamApp::setupView (this=0x176c000) at /build/buildd/digikam-1.2.0/digikam/digikamapp.cpp:478
#35 0x0000000000690980 in DigikamApp (this=0x176c000, __in_chrg=<value optimized out>, __vtt_parm=<value optimized out>) at /build/buildd/digikam-1.2.0/digikam/digikamapp.cpp:230
#36 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 234541, bug 233751, bug 233454.

Reported using DrKonqi
Comment 1 caulier.gilles 2010-05-03 08:38:33 UTC
*** Bug 235920 has been marked as a duplicate of this bug. ***
Comment 2 Myriam Schweingruber 2010-05-03 09:45:43 UTC

*** This bug has been marked as a duplicate of bug 232068 ***
Comment 3 software 2010-12-08 21:24:34 UTC
Created attachment 54320 [details]
New crash information added by DrKonqi

digicam crashes after start; I tried complete deinstallation and reinstallation with no change. 
I don't use KDE but Gnome Ubuntu LTS 10.04
Comment 4 Myriam Schweingruber 2011-04-27 21:17:08 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:20 UTC
Fixed in 6.0.0 since digiKam use QtAV+ffmpeg to play and extract thumbnails from video files