Bug 234746

Summary: digikam crashes while looking a video in HD format .avi
Product: [Applications] digikam Reporter: Holger Steen <holger.steen>
Component: Preview-VideoAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: crash CC: caulier.gilles
Priority: NOR    
Version: 1.2.0   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In: 5.1.0
Sentry Crash Report:

Description Holger Steen 2010-04-18 20:47:35 UTC
Application: digikam (1.2.0)
KDE Platform Version: 4.4.2 (KDE 4.4.2) "release 234"
Qt Version: 4.6.2
Operating System: Linux 2.6.31.12-0.2-pae i686
Distribution: "openSUSE 11.2 (i586)"

-- Information about the crash:
digikam crashes while looking a film (.avi HD, Olympus), not at the beginning, but in the middle

The crash can be reproduced every time.

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

Thread 19 (Thread 0xb0c95b70 (LWP 12003)):
#0  0xffffe424 in __kernel_vsyscall ()
#1  0xb4605d95 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb4a9427c in pthread_cond_wait () from /lib/libc.so.6
#3  0xb4d31110 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#4  0x08335a7a in ?? ()
#5  0xb4d300bf in ?? () from /usr/lib/libQtCore.so.4
#6  0xb46016e5 in start_thread () from /lib/libpthread.so.0
#7  0xb4601600 in ?? () from /lib/libpthread.so.0

Thread 18 (Thread 0xb01b7b70 (LWP 12005)):
#0  0xb2d0c1eb in clock_gettime () from /lib/librt.so.1
#1  0xb4e6377c in ?? () from /usr/lib/libQtCore.so.4
#2  0xb4e68be6 in ?? () from /usr/lib/libQtCore.so.4
#3  0xb4e68c2e in ?? () from /usr/lib/libQtCore.so.4
#4  0xb4e66b7b in ?? () from /usr/lib/libQtCore.so.4
#5  0xb4e66c1d in ?? () from /usr/lib/libQtCore.so.4
#6  0xb2eb4618 in g_main_context_prepare () from /usr/lib/libglib-2.0.so.0
#7  0xb2eb4999 in ?? () from /usr/lib/libglib-2.0.so.0
#8  0xb2eb4ebe in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#9  0xb4e6697f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#10 0xb4e3844d in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#11 0xb4e38899 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#12 0xb4d2d270 in QThread::exec() () from /usr/lib/libQtCore.so.4
#13 0xb66cddfb in ?? () from /usr/lib/libdigikamdatabase.so.1
#14 0xb4d300bf in ?? () from /usr/lib/libQtCore.so.4
#15 0xb46016e5 in start_thread () from /lib/libpthread.so.0
#16 0xb4601600 in ?? () from /lib/libpthread.so.0

Thread 17 (Thread 0xaeeacb70 (LWP 12006)):
#0  0xb2d0c1eb in clock_gettime () from /lib/librt.so.1
#1  0xb4e6377c in ?? () from /usr/lib/libQtCore.so.4
#2  0xb4e68be6 in ?? () from /usr/lib/libQtCore.so.4
#3  0xb4e68c2e in ?? () from /usr/lib/libQtCore.so.4
#4  0xb4e66b7b in ?? () from /usr/lib/libQtCore.so.4
#5  0xb4e66c1d in ?? () from /usr/lib/libQtCore.so.4
#6  0xb2eb4618 in g_main_context_prepare () from /usr/lib/libglib-2.0.so.0
#7  0xb2eb4999 in ?? () from /usr/lib/libglib-2.0.so.0
#8  0xb2eb4ebe in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#9  0xb4e6697f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#10 0xb4e3844d in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#11 0xb4e38899 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#12 0xb4d2d270 in QThread::exec() () from /usr/lib/libQtCore.so.4
#13 0xb66cddfb in ?? () from /usr/lib/libdigikamdatabase.so.1
#14 0xb4d300bf in ?? () from /usr/lib/libQtCore.so.4
#15 0xb46016e5 in start_thread () from /lib/libpthread.so.0
#16 0xb4601600 in ?? () from /lib/libpthread.so.0

Thread 16 (Thread 0xae678b70 (LWP 12007)):
#0  0xffffe424 in __kernel_vsyscall ()
#1  0xb4605d95 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb4a9427c in pthread_cond_wait () from /lib/libc.so.6
#3  0xb4d31110 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#4  0xb69744dc in Digikam::LoadSaveThread::run() () from /usr/lib/libdigikamcore.so.1
#5  0xb4d300bf in ?? () from /usr/lib/libQtCore.so.4
#6  0xb46016e5 in start_thread () from /lib/libpthread.so.0
#7  0xb4601600 in ?? () from /lib/libpthread.so.0

Thread 15 (Thread 0xade77b70 (LWP 12008)):
#0  0xb2d0c1eb in clock_gettime () from /lib/librt.so.1
#1  0xb4e6377c in ?? () from /usr/lib/libQtCore.so.4
#2  0xb4e68be6 in ?? () from /usr/lib/libQtCore.so.4
#3  0xb4e68c2e in ?? () from /usr/lib/libQtCore.so.4
#4  0xb4e66b7b in ?? () from /usr/lib/libQtCore.so.4
#5  0xb4e66c1d in ?? () from /usr/lib/libQtCore.so.4
#6  0xb2eb4618 in g_main_context_prepare () from /usr/lib/libglib-2.0.so.0
#7  0xb2eb4999 in ?? () from /usr/lib/libglib-2.0.so.0
#8  0xb2eb4ebe in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#9  0xb4e6697f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#10 0xb4e3844d in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#11 0xb4e38899 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#12 0xb4d2d270 in QThread::exec() () from /usr/lib/libQtCore.so.4
#13 0xb4d300bf in ?? () from /usr/lib/libQtCore.so.4
#14 0xb46016e5 in start_thread () from /lib/libpthread.so.0
#15 0xb4601600 in ?? () from /lib/libpthread.so.0

Thread 14 (Thread 0xad676b70 (LWP 12009)):
#0  0xb2d0c1eb in clock_gettime () from /lib/librt.so.1
#1  0xb4e6377c in ?? () from /usr/lib/libQtCore.so.4
#2  0xb4e68be6 in ?? () from /usr/lib/libQtCore.so.4
#3  0xb4e68c2e in ?? () from /usr/lib/libQtCore.so.4
#4  0xb4e66b7b in ?? () from /usr/lib/libQtCore.so.4
#5  0xb4e66c1d in ?? () from /usr/lib/libQtCore.so.4
#6  0xb2eb4618 in g_main_context_prepare () from /usr/lib/libglib-2.0.so.0
#7  0xb2eb4999 in ?? () from /usr/lib/libglib-2.0.so.0
#8  0xb2eb4ebe in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#9  0xb4e6697f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#10 0xb4e3844d in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#11 0xb4e38899 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#12 0xb4d2d270 in QThread::exec() () from /usr/lib/libQtCore.so.4
#13 0xb4d300bf in ?? () from /usr/lib/libQtCore.so.4
#14 0xb46016e5 in start_thread () from /lib/libpthread.so.0
#15 0xb4601600 in ?? () from /lib/libpthread.so.0

Thread 13 (Thread 0xaa515b70 (LWP 12010)):
#0  0xffffe424 in __kernel_vsyscall ()
#1  0xb46060c2 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb4a942d4 in pthread_cond_timedwait () from /lib/libc.so.6
#3  0xab5bc19b in metronom_sync_loop () from /usr/lib/libxine.so.1
#4  0xb46016e5 in start_thread () from /lib/libpthread.so.0
#5  0xb4601600 in ?? () from /lib/libpthread.so.0

Thread 12 (Thread 0xa9909b70 (LWP 12011)):
[KCrash Handler]
#6  0xab5cb0db in video_out_loop () from /usr/lib/libxine.so.1
#7  0xb46016e5 in start_thread () from /lib/libpthread.so.0
#8  0xb4601600 in ?? () from /lib/libpthread.so.0

Thread 11 (Thread 0xa9108b70 (LWP 12012)):
#0  0xb2d0c1eb in clock_gettime () from /lib/librt.so.1
#1  0xb4e6377c in ?? () from /usr/lib/libQtCore.so.4
#2  0xb4e68be6 in ?? () from /usr/lib/libQtCore.so.4
#3  0xb4e68c2e in ?? () from /usr/lib/libQtCore.so.4
#4  0xb4e66b7b in ?? () from /usr/lib/libQtCore.so.4
#5  0xb2eb4618 in g_main_context_prepare () from /usr/lib/libglib-2.0.so.0
#6  0xb2eb4999 in ?? () from /usr/lib/libglib-2.0.so.0
#7  0xb2eb4ebe in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#8  0xb4e6697f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#9  0xb4e3844d in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#10 0xb4e38899 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#11 0xb4d2d270 in QThread::exec() () from /usr/lib/libQtCore.so.4
#12 0xab64ed68 in Phonon::MediaSource::type() const () from /usr/lib/kde4/plugins/phonon_backend/phonon_xine.so
#13 0xb4d300bf in ?? () from /usr/lib/libQtCore.so.4
#14 0xb46016e5 in start_thread () from /lib/libpthread.so.0
#15 0xb4601600 in ?? () from /lib/libpthread.so.0

Thread 10 (Thread 0xa47b0b70 (LWP 12018)):
#0  0xffffe424 in __kernel_vsyscall ()
#1  0xb4a7bd5e in poll () from /lib/libc.so.6
#2  0xab443349 in ao_alsa_handle_event_thread () from /usr/lib/xine/plugins/1.27/xineplug_ao_out_alsa.so
#3  0xb46016e5 in start_thread () from /lib/libpthread.so.0
#4  0xb4601600 in ?? () from /lib/libpthread.so.0

Thread 9 (Thread 0xa3fafb70 (LWP 12019)):
#0  0xffffe424 in __kernel_vsyscall ()
#1  0xb4605d95 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb4a9427c in pthread_cond_wait () from /lib/libc.so.6
#3  0xab5ce300 in ao_loop () from /usr/lib/libxine.so.1
#4  0xb46016e5 in start_thread () from /lib/libpthread.so.0
#5  0xb4601600 in ?? () from /lib/libpthread.so.0

Thread 8 (Thread 0xa37aeb70 (LWP 12020)):
#0  0xffffe424 in __kernel_vsyscall ()
#1  0xb4605d95 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb4a9427c in pthread_cond_wait () from /lib/libc.so.6
#3  0xb4d31110 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#4  0xb69744dc in Digikam::LoadSaveThread::run() () from /usr/lib/libdigikamcore.so.1
#5  0xb4d300bf in ?? () from /usr/lib/libQtCore.so.4
#6  0xb46016e5 in start_thread () from /lib/libpthread.so.0
#7  0xb4601600 in ?? () from /lib/libpthread.so.0

Thread 7 (Thread 0xa5f0cb70 (LWP 12028)):
#0  0xffffe424 in __kernel_vsyscall ()
#1  0xb4605d95 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb4a9427c in pthread_cond_wait () from /lib/libc.so.6
#3  0xb4d31110 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#4  0xb69744dc in Digikam::LoadSaveThread::run() () from /usr/lib/libdigikamcore.so.1
#5  0xb4d300bf in ?? () from /usr/lib/libQtCore.so.4
#6  0xb46016e5 in start_thread () from /lib/libpthread.so.0
#7  0xb4601600 in ?? () from /lib/libpthread.so.0

Thread 6 (Thread 0x9dee7b70 (LWP 12071)):
#0  0xffffe424 in __kernel_vsyscall ()
#1  0xb4605d95 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb4a9427c in pthread_cond_wait () from /lib/libc.so.6
#3  0xb4d31110 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#4  0xb69744dc in Digikam::LoadSaveThread::run() () from /usr/lib/libdigikamcore.so.1
#5  0xb4d300bf in ?? () from /usr/lib/libQtCore.so.4
#6  0xb46016e5 in start_thread () from /lib/libpthread.so.0
#7  0xb4601600 in ?? () from /lib/libpthread.so.0

Thread 5 (Thread 0x9d6e6b70 (LWP 12072)):
#0  0xffffe424 in __kernel_vsyscall ()
#1  0xb4605d95 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb4a9427c in pthread_cond_wait () from /lib/libc.so.6
#3  0xb4d31110 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#4  0xb69744dc in Digikam::LoadSaveThread::run() () from /usr/lib/libdigikamcore.so.1
#5  0xb4d300bf in ?? () from /usr/lib/libQtCore.so.4
#6  0xb46016e5 in start_thread () from /lib/libpthread.so.0
#7  0xb4601600 in ?? () from /lib/libpthread.so.0

Thread 4 (Thread 0xa670db70 (LWP 12076)):
#0  0xffffe424 in __kernel_vsyscall ()
#1  0xb4605d95 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb4a9427c in pthread_cond_wait () from /lib/libc.so.6
#3  0xab5bfd38 in fifo_buffer_get () from /usr/lib/libxine.so.1
#4  0xab5c6349 in video_decoder_loop () from /usr/lib/libxine.so.1
#5  0xb46016e5 in start_thread () from /lib/libpthread.so.0
#6  0xb4601600 in ?? () from /lib/libpthread.so.0

Thread 3 (Thread 0xa770fb70 (LWP 12077)):
#0  0xffffe424 in __kernel_vsyscall ()
#1  0xb4605d95 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb4a9427c in pthread_cond_wait () from /lib/libc.so.6
#3  0xab5bfd38 in fifo_buffer_get () from /usr/lib/libxine.so.1
#4  0xab5c7461 in audio_decoder_loop () from /usr/lib/libxine.so.1
#5  0xb46016e5 in start_thread () from /lib/libpthread.so.0
#6  0xb4601600 in ?? () from /lib/libpthread.so.0

Thread 2 (Thread 0xa17aab70 (LWP 12078)):
#0  0xffffe424 in __kernel_vsyscall ()
#1  0xb4605d95 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb4a9427c in pthread_cond_wait () from /lib/libc.so.6
#3  0xab5d1594 in xine_event_wait () from /usr/lib/libxine.so.1
#4  0xab5d1615 in listener_loop () from /usr/lib/libxine.so.1
#5  0xb46016e5 in start_thread () from /lib/libpthread.so.0
#6  0xb4601600 in ?? () from /lib/libpthread.so.0

Thread 1 (Thread 0xb23b5740 (LWP 12002)):
#0  0xffffe424 in __kernel_vsyscall ()
#1  0xb46060c2 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb4a942d4 in pthread_cond_timedwait () from /lib/libc.so.6
#3  0xb4d2f9bc in ?? () from /usr/lib/libQtCore.so.4
#4  0xb4d2fb00 in QThread::msleep(unsigned long) () from /usr/lib/libQtCore.so.4
#5  0xab66bf0c in ?? () from /usr/lib/kde4/plugins/phonon_backend/phonon_xine.so
#6  0xb779cadf in ?? () from /usr/lib/libphonon.so.4
#7  0xb779c032 in ?? () from /usr/lib/libphonon.so.4
#8  0xb7798729 in ?? () from /usr/lib/libphonon.so.4
#9  0xb49e2111 in ?? () from /lib/libc.so.6
#10 0xb49e216d in exit () from /lib/libc.so.6
#11 0xb5394f98 in ?? () from /usr/lib/libQtGui.so.4
#12 0xb5da4df9 in KApplication::xioErrhandler(_XDisplay*) () from /usr/lib/libkdeui.so.5
#13 0xb5da4e34 in ?? () from /usr/lib/libkdeui.so.5
#14 0xb477cd94 in _XIOError () from /usr/lib/libX11.so.6
#15 0xb4784990 in ?? () from /usr/lib/libX11.so.6
#16 0xb4785307 in _XEventsQueued () from /usr/lib/libX11.so.6
#17 0xb476dda4 in XEventsQueued () from /usr/lib/libX11.so.6
#18 0xb53d1ff5 in ?? () from /usr/lib/libQtGui.so.4
#19 0xb2eb4392 in g_main_context_check () from /usr/lib/libglib-2.0.so.0
#20 0xb2eb4ac0 in ?? () from /usr/lib/libglib-2.0.so.0
#21 0xb2eb4ebe in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#22 0xb4e66931 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#23 0xb53d1e0a in ?? () from /usr/lib/libQtGui.so.4
#24 0xb4e3844d in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#25 0xb4e38899 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#26 0xb4e3ca10 in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
#27 0xb53114a4 in QApplication::exec() () from /usr/lib/libQtGui.so.4
#28 0x083db095 in ?? ()
#29 0xb49caace in __libc_start_main () from /lib/libc.so.6
#30 0x080a6f41 in _start ()

Possible duplicates by query: bug 234406, bug 234112, bug 234021, bug 233987, bug 233766.

Reported using DrKonqi
Comment 1 caulier.gilles 2010-04-18 20:51:32 UTC
There is no debug info to handle properly this entry. lease install digiKam-debug, phonon-debug, and others stuff.

Gilles Caulier
Comment 2 caulier.gilles 2015-07-04 06:01:29 UTC
New digiKam 4.11.0 is available.

https://www.digikam.org/node/740

Can you reproduce the problem with this release ?
Comment 3 caulier.gilles 2016-07-09 12:26:43 UTC
This problem is not reproducible with last 5.0.0.
I close this file now. Don't hesitate to re-open it if necessary.
Gilles Caulier
Comment 4 caulier.gilles 2016-12-17 17:04:40 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 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