Bug 235920 - Digikam crashes after uppgrading from Ubuntu 9.10 to 10.04
Summary: Digikam crashes after uppgrading from Ubuntu 9.10 to 10.04
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Preview-Image (show other bugs)
Version: 1.2.0
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-01 16:32 UTC by tobias.karsbo
Modified: 2016-12-24 10:06 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 5.4.0
Sentry Crash Report:


Attachments
New crash information added by DrKonqi (11.58 KB, text/plain)
2010-06-29 20:38 UTC, luv4tn
Details

Note You need to log in before you can comment on or make changes to this bug.
Description tobias.karsbo 2010-05-01 16:32:05 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 i686
Distribution: Ubuntu 10.04 LTS

-- Information about the crash:
Try to strat Digikam, but it just crashes. Running Ubuntu with Gnome desktop

The crash can be reproduced every time.

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

Thread 8 (Thread 0xb5102b70 (LWP 4928)):
#0  0x0072b422 in __kernel_vsyscall ()
#1  0x002d2015 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0x02c26287 in QWaitConditionPrivate::wait (this=0x991e0c8, mutex=0x991e0c4, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#3  QWaitCondition::wait (this=0x991e0c8, mutex=0x991e0c4, time=4294967295) at thread/qwaitcondition_unix.cpp:159
#4  0x08321fb4 in Digikam::ScanController::run (this=0x9927668) at /build/buildd/digikam-1.2.0/digikam/scancontroller.cpp:516
#5  0x02c2532e in QThreadPrivate::start (arg=0x9927668) at thread/qthread_unix.cpp:248
#6  0x002cd96e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#7  0x027dba0e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 7 (Thread 0xb4869b70 (LWP 4930)):
#0  0x002d1400 in pthread_mutex_unlock () from /lib/tls/i686/cmov/libpthread.so.0
#1  0x015c4169 in g_main_context_iterate (context=0x9b46480, block=<value optimized out>, dispatch=1, self=0x9b5d238) at /build/buildd/glib2.0-2.24.0/glib/gmain.c:2569
#2  0x015c44b8 in IA__g_main_context_iteration (context=0x9b46480, may_block=1) at /build/buildd/glib2.0-2.24.0/glib/gmain.c:2654
#3  0x02d5360f in QEventDispatcherGlib::processEvents (this=0x9954218, flags=...) at kernel/qeventdispatcher_glib.cpp:414
#4  0x02d26059 in QEventLoop::processEvents (this=0xb4869280, flags=) at kernel/qeventloop.cpp:149
#5  0x02d264aa in QEventLoop::exec (this=0xb4869280, flags=...) at kernel/qeventloop.cpp:201
#6  0x02c225a8 in QThread::exec (this=0x9937cd8) at thread/qthread.cpp:487
#7  0x0068fced in Digikam::ImageFilterModelWorker::Thread::run (this=0x9937cd8) at /build/buildd/digikam-1.2.0/obj-i486-linux-gnu/digikam/../../libs/models/imagefiltermodelthreads.h:66
#8  0x02c2532e in QThreadPrivate::start (arg=0x9937cd8) at thread/qthread_unix.cpp:248
#9  0x002cd96e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#10 0x027dba0e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 6 (Thread 0xb38ffb70 (LWP 4931)):
#0  0x002d1344 in __pthread_mutex_unlock_usercnt () from /lib/tls/i686/cmov/libpthread.so.0
#1  0x015c3794 in IA__g_main_context_check (context=0x9a93900, max_priority=2147483647, fds=0x9ab3aa8, n_fds=1) at /build/buildd/glib2.0-2.24.0/glib/gmain.c:2467
#2  0x015c40ce in g_main_context_iterate (context=0x9a93900, block=<value optimized out>, dispatch=1, self=0x995a850) at /build/buildd/glib2.0-2.24.0/glib/gmain.c:2588
#3  0x015c44b8 in IA__g_main_context_iteration (context=0x9a93900, may_block=1) at /build/buildd/glib2.0-2.24.0/glib/gmain.c:2654
#4  0x02d5360f in QEventDispatcherGlib::processEvents (this=0x995a8b0, flags=...) at kernel/qeventdispatcher_glib.cpp:414
#5  0x02d26059 in QEventLoop::processEvents (this=0xb38ff280, flags=) at kernel/qeventloop.cpp:149
#6  0x02d264aa in QEventLoop::exec (this=0xb38ff280, flags=...) at kernel/qeventloop.cpp:201
#7  0x02c225a8 in QThread::exec (this=0x9b3ec80) at thread/qthread.cpp:487
#8  0x0068fced in Digikam::ImageFilterModelWorker::Thread::run (this=0x9b3ec80) at /build/buildd/digikam-1.2.0/obj-i486-linux-gnu/digikam/../../libs/models/imagefiltermodelthreads.h:66
#9  0x02c2532e in QThreadPrivate::start (arg=0x9b3ec80) at thread/qthread_unix.cpp:248
#10 0x002cd96e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#11 0x027dba0e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 5 (Thread 0xb30feb70 (LWP 4932)):
#0  0x0072b422 in __kernel_vsyscall ()
#1  0x002d2015 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0x02c26287 in QWaitConditionPrivate::wait (this=0x9b77998, mutex=0x9b77994, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#3  QWaitCondition::wait (this=0x9b77998, mutex=0x9b77994, time=4294967295) at thread/qwaitcondition_unix.cpp:159
#4  0x043e410a in Digikam::LoadSaveThread::run (this=0x9b77988) at /build/buildd/digikam-1.2.0/libs/threadimageio/loadsavethread.cpp:131
#5  0x02c2532e in QThreadPrivate::start (arg=0x9b77988) at thread/qthread_unix.cpp:248
#6  0x002cd96e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#7  0x027dba0e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 4 (Thread 0xb28fdb70 (LWP 4933)):
#0  0x0072b422 in __kernel_vsyscall ()
#1  0x027cdb86 in poll () from /lib/tls/i686/cmov/libc.so.6
#2  0x015d14eb in IA__g_poll (fds=0xb3a0caf0, nfds=1, timeout=-1) at /build/buildd/glib2.0-2.24.0/glib/gpoll.c:127
#3  0x015c40ac in g_main_context_poll (context=0xb3a03610, block=<value optimized out>, dispatch=1, self=0xb3a03d18) at /build/buildd/glib2.0-2.24.0/glib/gmain.c:2904
#4  g_main_context_iterate (context=0xb3a03610, block=<value optimized out>, dispatch=1, self=0xb3a03d18) at /build/buildd/glib2.0-2.24.0/glib/gmain.c:2586
#5  0x015c44b8 in IA__g_main_context_iteration (context=0xb3a03610, may_block=1) at /build/buildd/glib2.0-2.24.0/glib/gmain.c:2654
#6  0x02d5360f in QEventDispatcherGlib::processEvents (this=0x9bd0840, flags=...) at kernel/qeventdispatcher_glib.cpp:414
#7  0x02d26059 in QEventLoop::processEvents (this=0xb28fd2a0, flags=) at kernel/qeventloop.cpp:149
#8  0x02d264aa in QEventLoop::exec (this=0xb28fd2a0, flags=...) at kernel/qeventloop.cpp:201
#9  0x02c225a8 in QThread::exec (this=0x9bccd48) at thread/qthread.cpp:487
#10 0x02c2532e in QThreadPrivate::start (arg=0x9bccd48) at thread/qthread_unix.cpp:248
#11 0x002cd96e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#12 0x027dba0e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 3 (Thread 0xb20fcb70 (LWP 4934)):
#0  0x002d134f in __pthread_mutex_unlock_usercnt () from /lib/tls/i686/cmov/libpthread.so.0
#1  0x015c3794 in IA__g_main_context_check (context=0x9bd31b8, max_priority=2147483647, fds=0x9bd0b38, n_fds=1) at /build/buildd/glib2.0-2.24.0/glib/gmain.c:2467
#2  0x015c40ce in g_main_context_iterate (context=0x9bd31b8, block=<value optimized out>, dispatch=1, self=0x9bd0af8) at /build/buildd/glib2.0-2.24.0/glib/gmain.c:2588
#3  0x015c44b8 in IA__g_main_context_iteration (context=0x9bd31b8, may_block=1) at /build/buildd/glib2.0-2.24.0/glib/gmain.c:2654
#4  0x02d5360f in QEventDispatcherGlib::processEvents (this=0x9bd1f28, flags=...) at kernel/qeventdispatcher_glib.cpp:414
#5  0x02d26059 in QEventLoop::processEvents (this=0xb20fc2a0, flags=) at kernel/qeventloop.cpp:149
#6  0x02d264aa in QEventLoop::exec (this=0xb20fc2a0, flags=...) at kernel/qeventloop.cpp:201
#7  0x02c225a8 in QThread::exec (this=0x9bcfd20) at thread/qthread.cpp:487
#8  0x02c2532e in QThreadPrivate::start (arg=0x9bcfd20) at thread/qthread_unix.cpp:248
#9  0x002cd96e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#10 0x027dba0e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 2 (Thread 0xac42ab70 (LWP 4936)):
#0  0x0072b422 in __kernel_vsyscall ()
#1  0x027cdb86 in poll () from /lib/tls/i686/cmov/libc.so.6
#2  0x0256a502 in ?? () from /usr/lib/libpulse.so.0
#3  0x02556a59 in pa_mainloop_poll () from /usr/lib/libpulse.so.0
#4  0x02558a13 in pa_mainloop_iterate () from /usr/lib/libpulse.so.0
#5  0x02558ae4 in pa_mainloop_run () from /usr/lib/libpulse.so.0
#6  0x0256a2a3 in ?? () from /usr/lib/libpulse.so.0
#7  0x026a7e02 in ?? () from /usr/lib/libpulsecommon-0.9.21.so
#8  0x002cd96e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#9  0x027dba0e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 1 (Thread 0xb670f760 (LWP 4927)):
[KCrash Handler]
#6  0x02132e5c in ?? () from /usr/lib/libasound.so.2
#7  0x020efe9e in snd_pcm_close () from /usr/lib/libasound.so.2
#8  0x022e8662 in gst_alsasink_close (asink=0x9d544a8) at gstalsasink.c:804
#9  0x022c9512 in gst_audioringbuffer_close_device (buf=0x9872c40) at gstaudiosink.c:365
#10 0x022b96f0 in gst_ring_buffer_close_device (buf=0x9872c40) at gstringbuffer.c:714
#11 0x022c3e42 in gst_base_audio_sink_change_state (element=0x9d544a8, transition=GST_STATE_CHANGE_READY_TO_NULL) at gstbaseaudiosink.c:1879
#12 0x08ad5435 in gst_element_change_state (element=0x9d544a8, transition=GST_STATE_CHANGE_READY_TO_NULL) at gstelement.c:2548
#13 0x08ad8928 in gst_element_set_state_func (element=0x9d544a8, state=GST_STATE_NULL) at gstelement.c:2504
#14 0x08ad47f0 in gst_element_set_state (element=0x9d544a8, state=GST_STATE_NULL) at gstelement.c:2405
#15 0x08ac4827 in gst_bin_element_set_state (element=0x9d4e9a0, transition=GST_STATE_CHANGE_READY_TO_NULL) at gstbin.c:2118
#16 gst_bin_change_state_func (element=0x9d4e9a0, transition=GST_STATE_CHANGE_READY_TO_NULL) at gstbin.c:2417
#17 0x08ad5435 in gst_element_change_state (element=0x9d4e9a0, transition=GST_STATE_CHANGE_READY_TO_NULL) at gstelement.c:2548
#18 0x08ad8928 in gst_element_set_state_func (element=0x9d4e9a0, state=GST_STATE_NULL) at gstelement.c:2504
#19 0x08ad47f0 in gst_element_set_state (element=0x9d4e9a0, state=GST_STATE_NULL) at gstelement.c:2405
#20 0x08ac4827 in gst_bin_element_set_state (element=0x9d491b8, transition=GST_STATE_CHANGE_READY_TO_NULL) at gstbin.c:2118
#21 gst_bin_change_state_func (element=0x9d491b8, transition=GST_STATE_CHANGE_READY_TO_NULL) at gstbin.c:2417
#22 0x03c3511e in gst_switch_sink_change_state (element=0x9d491b8, transition=GST_STATE_CHANGE_READY_TO_NULL) at gstswitchsink.c:255
#23 0x03c31f56 in gst_gconf_audio_sink_change_state (element=0x9d491b8, transition=GST_STATE_CHANGE_READY_TO_NULL) at gstgconfaudiosink.c:298
#24 0x08ad5435 in gst_element_change_state (element=0x9d491b8, transition=GST_STATE_CHANGE_READY_TO_NULL) at gstelement.c:2548
#25 0x08ad8928 in gst_element_set_state_func (element=0x9d491b8, state=GST_STATE_NULL) at gstelement.c:2504
#26 0x08ad47f0 in gst_element_set_state (element=0x9d491b8, state=GST_STATE_NULL) at gstelement.c:2405
#27 0x02229e1c in ?? () from /usr/lib/qt4/plugins/phonon_backend/phonon_gstreamer.so
#28 0x0028d621 in ?? () from /usr/lib/libphonon.so.4
#29 0x0028dd22 in ?? () from /usr/lib/libphonon.so.4
#30 0x0028a284 in ?? () from /usr/lib/libphonon.so.4
#31 0x0028a929 in Phonon::AudioOutput::AudioOutput(Phonon::Category, QObject*) () from /usr/lib/libphonon.so.4
#32 0x002aef5d in ?? () from /usr/lib/libphonon.so.4
#33 0x002af2e0 in Phonon::VideoPlayer::VideoPlayer(Phonon::Category, QWidget*) () from /usr/lib/libphonon.so.4
#34 0x0831104b in MediaPlayerView (this=0x9c0c570, parent=0x9b15650) at /build/buildd/digikam-1.2.0/digikam/mediaplayerview.cpp:124
#35 0x082a5aee in AlbumWidgetStack (this=0x9b15650, parent=0x9b189b0) at /build/buildd/digikam-1.2.0/digikam/albumwidgetstack.cpp:105
#36 0x082da3a0 in DigikamView (this=0x992f878, parent=0x9a7db60, modelCollection=0x992fa30) at /build/buildd/digikam-1.2.0/digikam/digikamview.cpp:169
#37 0x082c06bd in Digikam::DigikamApp::setupView (this=0x9a7db60) at /build/buildd/digikam-1.2.0/digikam/digikamapp.cpp:478
#38 0x082ceb62 in DigikamApp (this=0x9a7db60, __in_chrg=<value optimized out>, __vtt_parm=<value optimized out>) at /build/buildd/digikam-1.2.0/digikam/digikamapp.cpp:230
#39 0x083c292a in main (argc=5, argv=0xbfbeb714) at /build/buildd/digikam-1.2.0/digikam/main.cpp:170

Possible duplicates by query: bug 233454.

Reported using DrKonqi
Comment 1 caulier.gilles 2010-05-03 08:38:33 UTC

*** This bug has been marked as a duplicate of bug 235905 ***
Comment 2 luv4tn 2010-06-29 20:38:14 UTC
Created attachment 48467 [details]
New crash information added by DrKonqi

After upgrading to 10.04LTS Digikam i suddenly got the KDE invoronment with the netbook remix. Since I prefer KDE I started it and it seems to be working fine besides the anoying KNotify crashes (which I can live with for now) and DigiKam now crashing too with segmentation fault. I have no idea if both are related, however I can report that DigiKam starts just fine when running Gnome.
Comment 3 Marcel Wiesweg 2010-06-30 18:30:43 UTC
luv4tn: Crash occurs in the alsa driver in the GStreamer backend of Phonon. Not related to digikam.
Comment 4 luv4tn 2010-06-30 19:31:19 UTC
(In reply to comment #3)
> luv4tn: Crash occurs in the alsa driver in the GStreamer backend of Phonon. Not
> related to digikam.

Thanks Marcel ... but since I understand s**t what the output of the crash handler says I related this to what the crash handler said ... "digikam crashed ... segmentation fault" and this is misleading at least abit.
Comment 5 Marcel Wiesweg 2010-06-30 20:19:12 UTC
Sure, I did not want to criticize you posting the bug. Just to give you a hint where to look for the problem (multimedia stack, gstreamer, phonon). Knotify crashing may be related.
Comment 6 luv4tn 2010-06-30 20:41:43 UTC
(In reply to comment #5)
> Sure, I did not want to criticize you posting the bug. Just to give you a hint
> where to look for the problem (multimedia stack, gstreamer, phonon). Knotify
> crashing may be related.

Didn't felt criticized at all ... :-)

It was the right hint. Switched to the xine backend and Digikam runs fine now and guess what - Knotify doesn't crash anymore either. Thanks a lot!
Comment 7 caulier.gilles 2016-12-24 10:06:23 UTC
digiKam 5.4.0 bundles will use QtAV framework instead Qt5Multimedia to thumb
and play video/audio. The Slideshow tool will also support video as well.

QtAV use ffmpeg codecs. It's multi-platform and will always available in
OSX, Windows and Linux bundles that digiKam team provide.

For Linux packagers, you will need to turn on video support at compilation time
and solve QtAV dependencies...

See screenshots here :

https://www.flickr.com/photos/digikam/30886133553
https://www.flickr.com/photos/digikam/31679362466
https://www.flickr.com/photos/digikam/31572654722
https://www.flickr.com/photos/digikam/31726086736

Bundles have been recompiled are posted to GDrive for testing :

https://drive.google.com/drive/folders/0BzeiVr-byqt5Y0tIRWVWelRJenM