Bug 250364 - digiKam crashes at start-up in xubuntu 10.04
Summary: digiKam crashes at start-up in xubuntu 10.04
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: 2010-09-06 15:24 UTC by Chris Green
Modified: 2018-08-21 10:55 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In: 6.0.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Green 2010-09-06 15:24:21 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-24-generic x86_64
Distribution: Ubuntu 10.04.1 LTS

-- Information about the crash:
Some subtle combination of configuration causes the crash, digikam doesn't crash if I run as another user on my dekstop or as myself on another user's desktop.

The crash can be reproduced every time.

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

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

Thread 7 (Thread 0x7f79cb369710 (LWP 2707)):
#0  0x00007f79e1e07f83 in *__GI___poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f79df1034a9 in ?? () from /lib/libglib-2.0.so.0
#2  0x00007f79df1038fc in g_main_context_iteration () from /lib/libglib-2.0.so.0
#3  0x00007f79e2e8c566 in QEventDispatcherGlib::processEvents (this=0x132f9d0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:414
#4  0x00007f79e2e61992 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#5  0x00007f79e2e61d6c in QEventLoop::exec (this=0x7f79cb368d70, flags=) at kernel/qeventloop.cpp:201
#6  0x00007f79e2d6bd59 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#7  0x00007f79e2d6e775 in QThreadPrivate::start (arg=0x116fca0) at thread/qthread_unix.cpp:248
#8  0x00007f79e2ade9ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#9  0x00007f79e1e146fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7f79caadc710 (LWP 2708)):
#0  __pthread_mutex_lock (mutex=0x7f79bc04c548) at pthread_mutex_lock.c:127
#1  0x00007f79df102ee3 in g_main_context_prepare () from /lib/libglib-2.0.so.0
#2  0x00007f79df103318 in ?? () from /lib/libglib-2.0.so.0
#3  0x00007f79df1038fc in g_main_context_iteration () from /lib/libglib-2.0.so.0
#4  0x00007f79e2e8c566 in QEventDispatcherGlib::processEvents (this=0x13c77f0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:414
#5  0x00007f79e2e61992 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#6  0x00007f79e2e61d6c in QEventLoop::exec (this=0x7f79caadbd70, flags=) at kernel/qeventloop.cpp:201
#7  0x00007f79e2d6bd59 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#8  0x00007f79e2d6e775 in QThreadPrivate::start (arg=0x1196520) at thread/qthread_unix.cpp:248
#9  0x00007f79e2ade9ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#10 0x00007f79e1e146fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

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

Thread 4 (Thread 0x7f79c9a5a710 (LWP 2710)):
#0  __libc_disable_asynccancel () at ../nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S:97
#1  0x00007f79e1e07f9b in *__GI___poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=1) at ../sysdeps/unix/sysv/linux/poll.c:89
#2  0x00007f79df1034a9 in ?? () from /lib/libglib-2.0.so.0
#3  0x00007f79df1038fc in g_main_context_iteration () from /lib/libglib-2.0.so.0
#4  0x00007f79e2e8c566 in QEventDispatcherGlib::processEvents (this=0x1400570, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:414
#5  0x00007f79e2e61992 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#6  0x00007f79e2e61d6c in QEventLoop::exec (this=0x7f79c9a59d70, flags=) at kernel/qeventloop.cpp:201
#7  0x00007f79e2d6bd59 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#8  0x00007f79e2d6e775 in QThreadPrivate::start (arg=0x13ecf90) at thread/qthread_unix.cpp:248
#9  0x00007f79e2ade9ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#10 0x00007f79e1e146fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f79c9259710 (LWP 2711)):
#0  0x00007f79e1e07f83 in *__GI___poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f79df1034a9 in ?? () from /lib/libglib-2.0.so.0
#2  0x00007f79df1038fc in g_main_context_iteration () from /lib/libglib-2.0.so.0
#3  0x00007f79e2e8c566 in QEventDispatcherGlib::processEvents (this=0x7f79bc13ebe0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:414
#4  0x00007f79e2e61992 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#5  0x00007f79e2e61d6c in QEventLoop::exec (this=0x7f79c9258d70, flags=) at kernel/qeventloop.cpp:201
#6  0x00007f79e2d6bd59 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#7  0x00007f79e2d6e775 in QThreadPrivate::start (arg=0x14001f0) at thread/qthread_unix.cpp:248
#8  0x00007f79e2ade9ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#9  0x00007f79e1e146fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f79b7ffe710 (LWP 2715)):
#0  0x00007f79e2ae2590 in __pthread_mutex_unlock_full (mutex=0x1533790, decr=1) at pthread_mutex_unlock.c:86
#1  0x00007f79c13613be in pa_mutex_unlock () from /usr/lib/libpulsecommon-0.9.21.so
#2  0x00007f79c15a3411 in ?? () from /usr/lib/libpulse.so.0
#3  0x00007f79c1592d86 in pa_mainloop_poll () from /usr/lib/libpulse.so.0
#4  0x00007f79c1594809 in pa_mainloop_iterate () from /usr/lib/libpulse.so.0
#5  0x00007f79c15948c0 in pa_mainloop_run () from /usr/lib/libpulse.so.0
#6  0x00007f79c15a321b in ?? () from /usr/lib/libpulse.so.0
#7  0x00007f79c13620e8 in ?? () from /usr/lib/libpulsecommon-0.9.21.so
#8  0x00007f79e2ade9ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#9  0x00007f79e1e146fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f79e96c67e0 (LWP 2693)):
[KCrash Handler]
#5  0x00007f79d0741e49 in ?? () from /usr/lib/libasound.so.2
#6  0x00007f79d0704b15 in snd_pcm_close () from /usr/lib/libasound.so.2
#7  0x00007f79c19c56ff in ?? () from /usr/lib/gstreamer-0.10/libgstalsa.so
#8  0x00007f79c1ffb3c6 in ?? () from /usr/lib/libgstaudio-0.10.so.0
#9  0x00007f79c1feeecb in gst_ring_buffer_close_device () from /usr/lib/libgstaudio-0.10.so.0
#10 0x00007f79c1ff6ca6 in ?? () from /usr/lib/libgstaudio-0.10.so.0
#11 0x00007f79c289a18c in gst_element_change_state (element=0x16fe160, transition=0) at gstelement.c:2548
#12 0x00007f79c289d1bb in gst_element_set_state_func (element=0x1718800, state=GST_STATE_NULL) at gstelement.c:2504
#13 0x00007f79c811e9aa in Phonon::Gstreamer::AudioOutput::setOutputDevice (this=0x1532910, newDevice=<value optimized out>) at ../../gstreamer/audiooutput.cpp:217
#14 0x00007f79e9072010 in callSetOutputDevice (this=0x149c080) at ../3rdparty/phonon/phonon/audiooutput.cpp:67
#15 Phonon::AudioOutputPrivate::setupBackendObject (this=0x149c080) at ../3rdparty/phonon/phonon/audiooutput.cpp:281
#16 0x00007f79e90726f0 in Phonon::AudioOutputPrivate::createBackendObject (this=0x149c080) at ../3rdparty/phonon/phonon/audiooutput.cpp:124
#17 0x00007f79e906eeea in Phonon::AudioOutputPrivate::init (this=0x149c080, c=<value optimized out>) at ../3rdparty/phonon/phonon/audiooutput.cpp:106
#18 0x00007f79e906f59d in AudioOutput (this=0x152b080, category=Phonon::VideoCategory, parent=0x152ab40) at ../3rdparty/phonon/phonon/audiooutput.cpp:76
#19 0x00007f79e9091862 in Phonon::VideoPlayerPrivate::init (this=0x152a2f0, q=0x152ab40, category=Phonon::VideoCategory) at ../3rdparty/phonon/phonon/videoplayer.cpp:59
#20 0x00007f79e9091b73 in VideoPlayer (this=0x152ab40, category=Phonon::VideoCategory, parent=<value optimized out>) at ../3rdparty/phonon/phonon/videoplayer.cpp:75
#21 0x00000000006d106c in MediaPlayerView (this=0x1527b50, parent=<value optimized out>) at /build/buildd/digikam-1.2.0/digikam/mediaplayerview.cpp:124
#22 0x0000000000667ae3 in AlbumWidgetStack (this=0x114def0, parent=<value optimized out>) at /build/buildd/digikam-1.2.0/digikam/albumwidgetstack.cpp:105
#23 0x000000000069c6e5 in DigikamView (this=0x13d0d60, parent=0x12e9ca0, modelCollection=0x11bd640) at /build/buildd/digikam-1.2.0/digikam/digikamview.cpp:169
#24 0x00000000006827bd in Digikam::DigikamApp::setupView (this=0x12e9ca0) at /build/buildd/digikam-1.2.0/digikam/digikamapp.cpp:478
#25 0x0000000000690980 in DigikamApp (this=0x12e9ca0, __in_chrg=<value optimized out>, __vtt_parm=<value optimized out>) at /build/buildd/digikam-1.2.0/digikam/digikamapp.cpp:230
#26 0x000000000077f817 in main (argc=<value optimized out>, argv=<value optimized out>) at /build/buildd/digikam-1.2.0/digikam/main.cpp:170

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

Possible duplicates by query: bug 250142, bug 248238, bug 248140, bug 246495, bug 246351.

Reported using DrKonqi
Comment 1 Pino Toscano 2010-09-06 15:52:29 UTC

*** This bug has been marked as a duplicate of bug 232068 ***
Comment 2 Myriam Schweingruber 2011-04-27 21:18:08 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:39 UTC
Fixed in 6.0.0 since digiKam use QtAV+ffmpeg to play and extract thumbnails from video files