Bug 242799 - digikam segfaults when opening video
Summary: digikam segfaults when opening video
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Preview-Video (show other bugs)
Version: 0.10.0
Platform: Unlisted Binaries Linux
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
: 248567 249518 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-06-25 17:27 UTC by Morgenstern
Modified: 2017-07-27 10:28 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In: 5.4.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Morgenstern 2010-06-25 17:27:25 UTC
Application that crashed: digikam
Version of the application: 0.10.0
KDE Version: 4.3.5 (KDE 4.3.5) "release 0"
Qt Version: 4.5.3
Operating System: Linux 2.6.31.12-0.2-desktop x86_64
Distribution: "openSUSE 11.2 (x86_64)"

What I was doing when the application crashed:
digiKam 0.10.0 running under OpenSuse 11.2, KDE 4.3.5 "release 0",  segfault on click on video inside a digiKam folder. The same video works fine after digiKam is restarted.

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

Thread 14 (Thread 0x7fa6b2e08910 (LWP 9344)):
#0  0x00007fa6bd113049 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fa6bde5853b in wait (time=<value optimized out>, this=<value optimized out>) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (time=<value optimized out>, this=<value optimized out>) at thread/qwaitcondition_unix.cpp:159
#3  0x00000000006438eb in ?? ()
#4  0x00007fa6bde57485 in QThreadPrivate::start (arg=0xac9ca0) at thread/qthread_unix.cpp:188
#5  0x00007fa6bd10e65d in start_thread () from /lib64/libpthread.so.0
#6  0x00007fa6bd3f4e1d in clone () from /lib64/libc.so.6
#7  0x0000000000000000 in ?? ()

Thread 13 (Thread 0x7fa6af287910 (LWP 9347)):
#0  0x00007fa6bd113049 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fa6bde5853b in wait (time=<value optimized out>, this=<value optimized out>) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (time=<value optimized out>, this=<value optimized out>) at thread/qwaitcondition_unix.cpp:159
#3  0x00007fa6c0c5bde2 in Digikam::LoadSaveThread::run() () from /usr/lib64/libdigikamcore.so.1
#4  0x00007fa6bde57485 in QThreadPrivate::start (arg=0xaf6250) at thread/qthread_unix.cpp:188
#5  0x00007fa6bd10e65d in start_thread () from /lib64/libpthread.so.0
#6  0x00007fa6bd3f4e1d in clone () from /lib64/libc.so.6
#7  0x0000000000000000 in ?? ()

Thread 12 (Thread 0x7fa6ae9e5910 (LWP 9348)):
#0  0x00007fa6bd113049 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fa6bde5853b in wait (time=<value optimized out>, this=<value optimized out>) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (time=<value optimized out>, this=<value optimized out>) at thread/qwaitcondition_unix.cpp:159
#3  0x00007fa6c0c5bde2 in Digikam::LoadSaveThread::run() () from /usr/lib64/libdigikamcore.so.1
#4  0x00007fa6bde57485 in QThreadPrivate::start (arg=0xb47870) at thread/qthread_unix.cpp:188
#5  0x00007fa6bd10e65d in start_thread () from /lib64/libpthread.so.0
#6  0x00007fa6bd3f4e1d in clone () from /lib64/libc.so.6
#7  0x0000000000000000 in ?? ()

Thread 11 (Thread 0x7fa6a6937910 (LWP 9349)):
#0  0x00007fa6bd1132cd in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fa6ac1fb511 in ?? () from /usr/lib64/libxine.so.1
#2  0x00007fa6bd10e65d in start_thread () from /lib64/libpthread.so.0
#3  0x00007fa6bd3f4e1d in clone () from /lib64/libc.so.6
#4  0x0000000000000000 in ?? ()

Thread 10 (Thread 0x7fa6a3d8e910 (LWP 9350)):
#0  0x00007fa6bd3ebd03 in poll () from /lib64/libc.so.6
#1  0x00007fa6b63e891a in ?? () from /usr/lib64/libxcb.so.1
#2  0x00007fa6b63e8e57 in ?? () from /usr/lib64/libxcb.so.1
#3  0x00007fa6b63e8f7d in ?? () from /usr/lib64/libxcb.so.1
#4  0x00007fa6b63ea35a in xcb_wait_for_reply () from /usr/lib64/libxcb.so.1
#5  0x00007fa6a47c3420 in shmat () from /usr/lib64/xine/plugins/1.25/xineplug_vo_out_xcbxv.so
#6  0x00007fa6a47c3851 in shmat () from /usr/lib64/xine/plugins/1.25/xineplug_vo_out_xcbxv.so
#7  0x00007fa6ac206b81 in ?? () from /usr/lib64/libxine.so.1
#8  0x00007fa6ac2099dc in ?? () from /usr/lib64/libxine.so.1
#9  0x00007fa6bd10e65d in start_thread () from /lib64/libpthread.so.0
#10 0x00007fa6bd3f4e1d in clone () from /lib64/libc.so.6
#11 0x0000000000000000 in ?? ()

Thread 9 (Thread 0x7fa6a358d910 (LWP 9351)):
#0  0x00007fa6bd1132cd in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fa6ac21474c in _x_demux_control_headers_done () from /usr/lib64/libxine.so.1
#2  0x00007fa6ac1f96bf in xine_open () from /usr/lib64/libxine.so.1
#3  0x00007fa6ac45aaad in Phonon::MediaSource::type() const () from /usr/lib64/kde4/plugins/phonon_backend/phonon_xine.so
#4  0x00007fa6ac45ca6c in Phonon::MediaSource::type() const () from /usr/lib64/kde4/plugins/phonon_backend/phonon_xine.so
#5  0x00007fa6beabc2ac in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#6  0x00007fa6beac357e in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#7  0x00007fa6bf8fe016 in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5
#8  0x00007fa6bdf3cddc in QCoreApplication::notifyInternal (this=0x7fff42df6d90, receiver=0xb585b0, event=0x3de1a90) at kernel/qcoreapplication.cpp:610
#9  0x00007fa6bdf3d9ea in sendEvent (event=<value optimized out>, receiver=<value optimized out>) at kernel/qcoreapplication.h:213
#10 QCoreApplicationPrivate::sendPostedEvents (event=<value optimized out>, receiver=<value optimized out>) at kernel/qcoreapplication.cpp:1247
#11 0x00007fa6bdf65803 in sendPostedEvents () at kernel/qcoreapplication.h:218
#12 postEventSourceDispatch () at kernel/qeventdispatcher_glib.cpp:276
#13 0x00007fa6b7d3adee in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#14 0x00007fa6b7d3e7b8 in ?? () from /usr/lib64/libglib-2.0.so.0
#15 0x00007fa6b7d3e8e0 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#16 0x00007fa6bdf653a3 in QEventDispatcherGlib::processEvents (this=0xbe0a50, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:407
#17 0x00007fa6bdf3b712 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#18 0x00007fa6bdf3bae4 in QEventLoop::exec (this=0x7fa6a358d000, flags=) at kernel/qeventloop.cpp:201
#19 0x00007fa6bde5471b in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#20 0x00007fa6ac4553f4 in Phonon::MediaSource::type() const () from /usr/lib64/kde4/plugins/phonon_backend/phonon_xine.so
#21 0x00007fa6bde57485 in QThreadPrivate::start (arg=0xc6d740) at thread/qthread_unix.cpp:188
#22 0x00007fa6bd10e65d in start_thread () from /lib64/libpthread.so.0
#23 0x00007fa6bd3f4e1d in clone () from /lib64/libc.so.6
#24 0x0000000000000000 in ?? ()

Thread 8 (Thread 0x7fa6a2b82910 (LWP 9355)):
#0  0x00007fa6bd3ebd03 in poll () from /lib64/libc.so.6
#1  0x00007fa6a2b88c4e in snd_pcm_sw_params_set_start_threshold () from /usr/lib64/xine/plugins/1.25/xineplug_ao_out_alsa.so
#2  0x00007fa6bd10e65d in start_thread () from /lib64/libpthread.so.0
#3  0x00007fa6bd3f4e1d in clone () from /lib64/libc.so.6
#4  0x0000000000000000 in ?? ()

Thread 7 (Thread 0x7fa6a2381910 (LWP 9356)):
#0  0x00007fa6bd113049 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fa6ac20c513 in ?? () from /usr/lib64/libxine.so.1
#2  0x00007fa6bd10e65d in start_thread () from /lib64/libpthread.so.0
#3  0x00007fa6bd3f4e1d in clone () from /lib64/libc.so.6
#4  0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7fa69eb1a910 (LWP 9498)):
#0  0x00007fa6bd113049 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fa6bde5853b in wait (time=<value optimized out>, this=<value optimized out>) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (time=<value optimized out>, this=<value optimized out>) at thread/qwaitcondition_unix.cpp:159
#3  0x00007fa6c0c5bde2 in Digikam::LoadSaveThread::run() () from /usr/lib64/libdigikamcore.so.1
#4  0x00007fa6bde57485 in QThreadPrivate::start (arg=0x3ee5350) at thread/qthread_unix.cpp:188
#5  0x00007fa6bd10e65d in start_thread () from /lib64/libpthread.so.0
#6  0x00007fa6bd3f4e1d in clone () from /lib64/libc.so.6
#7  0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7fa69e319910 (LWP 9499)):
#0  0x00007fa6bd113049 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fa6bde5853b in wait (time=<value optimized out>, this=<value optimized out>) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (time=<value optimized out>, this=<value optimized out>) at thread/qwaitcondition_unix.cpp:159
#3  0x00007fa6c0c5bde2 in Digikam::LoadSaveThread::run() () from /usr/lib64/libdigikamcore.so.1
#4  0x00007fa6bde57485 in QThreadPrivate::start (arg=0x3ee5af0) at thread/qthread_unix.cpp:188
#5  0x00007fa6bd10e65d in start_thread () from /lib64/libpthread.so.0
#6  0x00007fa6bd3f4e1d in clone () from /lib64/libc.so.6
#7  0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7fa69fb1c910 (LWP 10599)):
[KCrash Handler]
#5  0x00007fa6be26f90b in QDBusAdaptorConnector::relaySlot (this=0xa9eb80, argv=0x7fa69fb1bd90) at qdbusabstractadaptor.cpp:268
#6  0x00007fa6be27014a in QDBusAdaptorConnector::qt_metacall (this=0xa9eb80, _c=InvokeMetaMethod, _id=<value optimized out>, _a=0x7fa69fb1bd90) at qdbusabstractadaptor.cpp:364
#7  0x00007fa6bdf51fbc in QMetaObject::activate (sender=0xa9ea20, from_signal_index=<value optimized out>, to_signal_index=<value optimized out>, argv=0x7fa69fb1bd90) at kernel/qobject.cpp:3113
#8  0x00007fa6bdf524f4 in QObject::destroyed (this=0xa9eb80, _t1=0xa9ea20) at .moc/release-shared/moc_qobject.cpp:143
#9  0x00007fa6bdf5335b in QObject::~QObject (this=<value optimized out>, __in_chrg=<value optimized out>) at kernel/qobject.cpp:757
#10 0x00007fa6bfe886b7 in KIO::Scheduler::~Scheduler() () from /usr/lib64/libkio.so.5
#11 0x00007fa6bfe8bea1 in ?? () from /usr/lib64/libkio.so.5
#12 0x00007fa6bd359065 in ?? () from /lib64/libc.so.6
#13 0x00007fa6bd3590b5 in exit () from /lib64/libc.so.6
#14 0x00007fa6bc9fbf6c in ?? () from /usr/lib64/libjpeg.so.62
#15 0x00007fa6bc9f1a55 in ?? () from /usr/lib64/libjpeg.so.62
#16 0x00007fa6bc9efe8a in ?? () from /usr/lib64/libjpeg.so.62
#17 0x00007fa6bc9ee167 in jpeg_consume_input () from /usr/lib64/libjpeg.so.62
#18 0x00007fa6bc9ee55d in jpeg_read_header () from /usr/lib64/libjpeg.so.62
#19 0x00007fa6778a71f6 in jpeg_read_scanlines () from /usr/lib64/xine/plugins/1.25/xineplug_decode_mjpeg.so
#20 0x00007fa6ac205210 in ?? () from /usr/lib64/libxine.so.1
#21 0x00007fa6bd10e65d in start_thread () from /lib64/libpthread.so.0
#22 0x00007fa6bd3f4e1d in clone () from /lib64/libc.so.6
#23 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7fa697fff910 (LWP 10600)):
#0  0x00007fa6bd113049 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fa6ac1feddb in ?? () from /usr/lib64/libxine.so.1
#2  0x00007fa6ac205f95 in ?? () from /usr/lib64/libxine.so.1
#3  0x00007fa6bd10e65d in start_thread () from /lib64/libpthread.so.0
#4  0x00007fa6bd3f4e1d in clone () from /lib64/libc.so.6
#5  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fa67c6ce910 (LWP 10601)):
#0  0x00007fa6bd113049 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fa6ac20f54b in xine_event_wait () from /usr/lib64/libxine.so.1
#2  0x00007fa6ac20f5be in ?? () from /usr/lib64/libxine.so.1
#3  0x00007fa6bd10e65d in start_thread () from /lib64/libpthread.so.0
#4  0x00007fa6bd3f4e1d in clone () from /lib64/libc.so.6
#5  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fa6c36ac750 (LWP 9343)):
#0  0x00007fa6bd1132cd in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fa6bde56f15 in thread_sleep (ti=0x7fff42df6890) at thread/qthread_unix.cpp:297
#2  0x00007fa6bde57080 in QThread::msleep (msecs=<value optimized out>) at thread/qthread_unix.cpp:323
#3  0x00007fa6ac46d832 in ?? () from /usr/lib64/kde4/plugins/phonon_backend/phonon_xine.so
#4  0x00007fa6c309772f in ?? () from /usr/lib64/libphonon.so.4
#5  0x00007fa6bd359065 in ?? () from /lib64/libc.so.6
#6  0x00007fa6bd3590b5 in exit () from /lib64/libc.so.6
#7  0x00007fa6beb17628 in ?? () from /usr/lib64/libQtGui.so.4
#8  0x00007fa6bf8fd9f8 in KApplication::xioErrhandler(_XDisplay*) () from /usr/lib64/libkdeui.so.5
#9  0x00007fa6bc2ba2be in _XIOError () from /usr/lib64/libX11.so.6
#10 0x00007fa6bc2c1c95 in ?? () from /usr/lib64/libX11.so.6
#11 0x00007fa6bc2c2547 in _XEventsQueued () from /usr/lib64/libX11.so.6
#12 0x00007fa6bc2ab24b in XEventsQueued () from /usr/lib64/libX11.so.6
#13 0x00007fa6beb4f547 in ?? () from /usr/lib64/libQtGui.so.4
#14 0x00007fa6b7d3dfda in g_main_context_prepare () from /usr/lib64/libglib-2.0.so.0
#15 0x00007fa6b7d3e3b1 in ?? () from /usr/lib64/libglib-2.0.so.0
#16 0x00007fa6b7d3e8e0 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#17 0x00007fa6bdf653f6 in QEventDispatcherGlib::processEvents (this=0x937dd0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:409
#18 0x00007fa6beb4f31e in ?? () from /usr/lib64/libQtGui.so.4
#19 0x00007fa6bdf3b712 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#20 0x00007fa6bdf3bae4 in QEventLoop::exec (this=0x7fff42df6cc0, flags=) at kernel/qeventloop.cpp:201
#21 0x00007fa6bdf3dc99 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#22 0x0000000000669302 in ?? ()
#23 0x00007fa6bd342a7d in __libc_start_main () from /lib64/libc.so.6
#24 0x0000000000458849 in _start ()

Reported using DrKonqi
Comment 1 caulier.gilles 2010-06-25 21:20:23 UTC
Crash appear in libjpeg. Check your system...

Also, update your digiKam to last 1.3.0. 0.10.0 is pretty old.

Gilles Caulier
Comment 2 Myriam Schweingruber 2010-08-23 03:15:26 UTC
*** Bug 248567 has been marked as a duplicate of this bug. ***
Comment 3 Myriam Schweingruber 2010-08-23 03:16:51 UTC
Backtrace from bug 248567, Dragonplayer crash:

Thread 4 (Thread 0x7fd728d57710 (LWP 9329)):
[KCrash Handler]
#6  0x00007fd7428e67fb in QDBusAdaptorConnector::relaySlot (this=0xff6070, argv=0x7fd728d56b00) at qdbusabstractadaptor.cpp:268
#7  0x00007fd7428e6855 in QDBusAdaptorConnector::qt_metacall (this=0xff6070, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fd728d56b00) at qdbusabstractadaptor.cpp:364
#8  0x00007fd7425a0a1f in QMetaObject::activate (sender=0x86d800, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fd728d56b00) at kernel/qobject.cpp:3295
#9  0x00007fd7425a0ddf in QObject::destroyed (this=<value optimized out>, _t1=0x86d800) at .moc/release-shared/moc_qobject.cpp:149
#10 0x00007fd7425a1b85 in QObject::~QObject (this=0x86d800, __in_chrg=<value optimized out>) at kernel/qobject.cpp:869
#11 0x00007fd743dbe989 in KIO::Scheduler::~Scheduler (this=0x86d800, __in_chrg=<value optimized out>) at /usr/src/debug/kdelibs-4.5.0/kio/kio/scheduler.cpp:766
#12 0x00007fd743eb042b in ~SchedulerPrivate () at /usr/src/debug/kdelibs-4.5.0/kio/kio/scheduler.cpp:667
#13 destroy () at /usr/src/debug/kdelibs-4.5.0/kio/kio/scheduler.cpp:730
#14 0x00007fd7411894e1 in __run_exit_handlers () from /lib64/libc.so.6
#15 0x00007fd741189535 in exit () from /lib64/libc.so.6
#16 0x00007fd73605c03c in error_exit (cinfo=0x1050650) at jerror.c:78
#17 0x00007fd73605911d in first_marker (cinfo=0x1050650) at jdmarker.c:972
#18 read_markers (cinfo=0x1050650) at jdmarker.c:1002
#19 0x00007fd736056212 in consume_markers (cinfo=0x1050650) at jdinput.c:568
#20 0x00007fd73604f247 in jpeg_consume_input (cinfo=0x1050650) at jdapimin.c:302
#21 0x00007fd73604f4db in jpeg_read_header (cinfo=0x1050650, require_image=1) at jdapimin.c:250
#22 0x00007fd71e45427f in mjpeg_decode_data () from /usr/lib64/xine/plugins/1.29/xineplug_decode_mjpeg.so
#23 0x00007fd742fc9ed2 in video_decoder_loop () from /usr/lib64/libxine.so.1
#24 0x00007fd73f951a4f in start_thread () from /lib64/libpthread.so.0
#25 0x00007fd74122482d in clone () from /lib64/libc.so.6
#26 0x0000000000000000 in ?? ()
Comment 4 Myriam Schweingruber 2010-08-23 03:18:04 UTC
The problem lies in the jpeg decoder, please report this upstream, not much we can do about that.
Comment 5 Pino Toscano 2010-08-31 00:48:17 UTC
*** Bug 249518 has been marked as a duplicate of this bug. ***
Comment 6 caulier.gilles 2016-12-17 10:07:16 UTC
digiKam 5.4.0 bundles will use QtAV framework instead Qt5Multimedia to thumb and play video. 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...

The screenshot on here :

https://www.flickr.com/photos/digikam/30886133553/in/dateposted-public/

... is based on pre-release of AppImage 64 bits Linux bundle, just recompiled and post to GDrive for testing. The 32bits version is under process and will be available at the same place today evening.

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