Bug 319702 - Digikam crashed dhuring opening an .avi movie
Summary: Digikam crashed dhuring opening an .avi movie
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Preview-Video (show other bugs)
Version: unspecified
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-05-12 06:41 UTC by borsoi
Modified: 2017-07-27 10:34 UTC (History)
6 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description borsoi 2013-05-12 06:41:23 UTC
Application: digikam (3.1.0)
KDE Platform Version: 4.10.2
Qt Version: 4.8.4
Operating System: Linux 3.8.11-200.fc18.x86_64 x86_64
Distribution (Platform): Fedora RPMs

-- Information about the crash:
- What I was doing when the application crashed:
I double-clicked on a .avi file present among my photos. The film seemed to launch and then crash.

The crash can be reproduced every time.

-- Backtrace:
Application: digiKam (digikam), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
81	T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS)
[Current thread is 1 (Thread 0x7f680e388a80 (LWP 15932))]

Thread 7 (Thread 0x7f6803970700 (LWP 15933)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:165
#1  0x0000003ac507bebb in wait (time=18446744073709551615, this=0x1ee8ba0) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x1ee8a98, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00000000005cb948 in Digikam::ScanController::run (this=0x1ee8830) at /usr/src/debug/digikam-3.1.0/core/digikam/database/scancontroller.cpp:705
#4  0x0000003ac507b95c in QThreadPrivate::start (arg=0x1ee8830) at thread/qthread_unix.cpp:338
#5  0x0000003ad90aa764 in ?? () from /usr/lib64/nvidia/libGL.so.1
#6  0x000000361ec07d15 in start_thread (arg=0x7f6803970700) at pthread_create.c:308
#7  0x000000361e4f248d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:114

Thread 6 (Thread 0x7f680316f700 (LWP 15934)):
#0  0x000000361ec0aacf in __pthread_mutex_unlock_usercnt (mutex=0x7f67f4000a90, decr=decr@entry=1) at pthread_mutex_unlock.c:52
#1  0x000000361ec0ab2a in __GI___pthread_mutex_unlock (mutex=<optimized out>) at pthread_mutex_unlock.c:297
#2  0x0000003620c84dd1 in g_mutex_unlock (mutex=mutex@entry=0x7f67f40009d0) at gthread-posix.c:229
#3  0x0000003620c475ab in g_main_context_prepare (context=context@entry=0x7f67f40009d0, priority=priority@entry=0x7f680316e8b8) at gmain.c:2984
#4  0x0000003620c47c4b in g_main_context_iterate (context=context@entry=0x7f67f40009d0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3270
#5  0x0000003620c47e44 in g_main_context_iteration (context=0x7f67f40009d0, may_block=1) at gmain.c:3351
#6  0x0000003ac51a5fa6 in QEventDispatcherGlib::processEvents (this=0x7f67f40008f0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#7  0x0000003ac51765ef in QEventLoop::processEvents (this=this@entry=0x7f680316ea10, flags=...) at kernel/qeventloop.cpp:149
#8  0x0000003ac5176878 in QEventLoop::exec (this=0x7f680316ea10, flags=...) at kernel/qeventloop.cpp:204
#9  0x0000003ac5078980 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:542
#10 0x0000003ac5156e1f in QInotifyFileSystemWatcherEngine::run (this=0x209feb0) at io/qfilesystemwatcher_inotify.cpp:256
#11 0x0000003ac507b95c in QThreadPrivate::start (arg=0x209feb0) at thread/qthread_unix.cpp:338
#12 0x0000003ad90aa764 in ?? () from /usr/lib64/nvidia/libGL.so.1
#13 0x000000361ec07d15 in start_thread (arg=0x7f680316f700) at pthread_create.c:308
#14 0x000000361e4f248d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:114

Thread 5 (Thread 0x7f680296e700 (LWP 15936)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:165
#1  0x0000003ac507bebb in wait (time=18446744073709551615, this=0x2224280) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x2222898, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x0000003ac713e399 in Digikam::ParkingThread::run (this=0x2222880) at /usr/src/debug/digikam-3.1.0/core/libs/threads/threadmanager.cpp:119
#4  0x0000003ac507b95c in QThreadPrivate::start (arg=0x2222880) at thread/qthread_unix.cpp:338
#5  0x0000003ad90aa764 in ?? () from /usr/lib64/nvidia/libGL.so.1
#6  0x000000361ec07d15 in start_thread (arg=0x7f680296e700) at pthread_create.c:308
#7  0x000000361e4f248d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:114

Thread 4 (Thread 0x7f67eccc3700 (LWP 15944)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:217
#1  0x0000003ac507be17 in wait (time=30000, this=0x20efd80) at thread/qwaitcondition_unix.cpp:84
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x2226fb8, time=30000) at thread/qwaitcondition_unix.cpp:158
#3  0x0000003ac506f69f in QThreadPoolThread::run (this=0x47815a0) at concurrent/qthreadpool.cpp:141
#4  0x0000003ac507b95c in QThreadPrivate::start (arg=0x47815a0) at thread/qthread_unix.cpp:338
#5  0x0000003ad90aa764 in ?? () from /usr/lib64/nvidia/libGL.so.1
#6  0x000000361ec07d15 in start_thread (arg=0x7f67eccc3700) at pthread_create.c:308
#7  0x000000361e4f248d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:114

Thread 3 (Thread 0x7f67ae7f4700 (LWP 15992)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:217
#1  0x0000003620c85115 in g_cond_wait_until (cond=cond@entry=0x342a578, mutex=mutex@entry=0x342a570, end_time=end_time@entry=9518083536) at gthread-posix.c:857
#2  0x0000003620c1ea01 in g_async_queue_pop_intern_unlocked (queue=queue@entry=0x342a570, wait=wait@entry=1, end_time=end_time@entry=9518083536) at gasyncqueue.c:424
#3  0x0000003620c1f04a in g_async_queue_timeout_pop (queue=0x342a570, timeout=timeout@entry=15000000) at gasyncqueue.c:545
#4  0x0000003620c6bde2 in g_thread_pool_wait_for_new_pool () at gthreadpool.c:169
#5  g_thread_pool_thread_proxy (data=<optimized out>) at gthreadpool.c:366
#6  0x0000003620c6b605 in g_thread_proxy (data=0x53e3a80) at gthread.c:797
#7  0x0000003ad90aa764 in ?? () from /usr/lib64/nvidia/libGL.so.1
#8  0x000000361ec07d15 in start_thread (arg=0x7f67ae7f4700) at pthread_create.c:308
#9  0x000000361e4f248d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:114

Thread 2 (Thread 0x7f67b2ffd700 (LWP 16001)):
#0  __lll_lock_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:135
#1  0x000000361ec09cc1 in _L_lock_885 () from /lib64/libpthread.so.0
#2  0x000000361ec09bda in __GI___pthread_mutex_lock (mutex=0x37f0010) at pthread_mutex_lock.c:85
#3  0x0000003620c1cad1 in g_static_rec_mutex_lock (mutex=0x38d64c0) at deprecated/gthread-deprecated.c:712
#4  0x0000003adda29938 in gst_bin_continue_func (data=0x7f67d408ce00) at gstbin.c:2741
#5  0x0000003620c6be22 in g_thread_pool_thread_proxy (data=<optimized out>) at gthreadpool.c:309
#6  0x0000003620c6b605 in g_thread_proxy (data=0x7f67e80d8540) at gthread.c:797
#7  0x0000003ad90aa764 in ?? () from /usr/lib64/nvidia/libGL.so.1
#8  0x000000361ec07d15 in start_thread (arg=0x7f67b2ffd700) at pthread_create.c:308
#9  0x000000361e4f248d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:114

Thread 1 (Thread 0x7f680e388a80 (LWP 15932)):
[KCrash Handler]
#6  0x0000003ac5187d14 in QObject::metaObject (this=0x7f6800ea1fd0 <devnull>) at .moc/release-shared/moc_qobject.cpp:94
#7  0x0000003ac5190bba in QObject::connect (sender=0x7f6800ea1fd0 <devnull>, signal=0x3ac524ded4 "2aboutToClose()", receiver=0x1ee1228, method=0x3ac524dec5 "1flushStream()", type=Qt::AutoConnection) at kernel/qobject.cpp:2550
#8  0x0000003ac511e921 in setupDevice (device=0x7f6800ea1fd0 <devnull>, stream=0x24667e0, this=0x1ee1228) at io/qtextstream.cpp:329
#9  QTextStream::QTextStream (this=0x24667e0, device=0x7f6800ea1fd0 <devnull>) at io/qtextstream.cpp:1032
#10 0x00007f6800c6f89d in Stream (device=0x7f6800ea1fd0 <devnull>, this=0x24667e0) at /usr/include/QtCore/qdebug.h:65
#11 QDebug (device=0x7f6800ea1fd0 <devnull>, this=0x7fff691cde40) at /usr/include/QtCore/qdebug.h:76
#12 nullDebug () at /usr/src/debug/phonon-backend-gstreamer-4.6.3/gstreamer/debug_p.h:54
#13 0x00007f6800c6fced in Debug::dbgstream (level=Debug::DEBUG_INFO) at /usr/src/debug/phonon-backend-gstreamer-4.6.3/gstreamer/debug.cpp:148
#14 0x00007f6800c82a5c in dbgstreamwrapper (level=Debug::DEBUG_INFO) at /usr/src/debug/phonon-backend-gstreamer-4.6.3/gstreamer/debug.h:94
#15 debug () at /usr/src/debug/phonon-backend-gstreamer-4.6.3/gstreamer/debug.h:96
#16 Phonon::Gstreamer::Pipeline::cb_state (bus=<optimized out>, gstMessage=<optimized out>, data=0x38d4a20) at /usr/src/debug/phonon-backend-gstreamer-4.6.3/gstreamer/pipeline.cpp:356
#17 0x000000362180f910 in g_closure_invoke (closure=0x38dd540, return_value=return_value@entry=0x0, n_param_values=2, param_values=param_values@entry=0x7fff691ce090, invocation_hint=invocation_hint@entry=0x7fff691ce030) at gclosure.c:777
#18 0x0000003621820d08 in signal_emit_unlocked_R (node=node@entry=0x34285c0, detail=detail@entry=245, instance=instance@entry=0x344f4a0, emission_return=emission_return@entry=0x0, instance_and_params=instance_and_params@entry=0x7fff691ce090) at gsignal.c:3551
#19 0x0000003621828c8d in g_signal_emit_valist (instance=0x344f4a0, signal_id=<optimized out>, detail=245, var_args=var_args@entry=0x7fff691ce2e8) at gsignal.c:3300
#20 0x0000003621828de2 in g_signal_emit (instance=instance@entry=0x344f4a0, signal_id=<optimized out>, detail=<optimized out>) at gsignal.c:3356
#21 0x0000003adda32b3a in gst_bus_sync_signal_handler (bus=bus@entry=0x344f4a0, message=message@entry=0x32e1910, data=data@entry=0x0) at gstbus.c:1145
#22 0x0000003adda32f52 in gst_bus_post (bus=bus@entry=0x344f4a0, message=message@entry=0x32e1910) at gstbus.c:322
#23 0x0000003adda40ec3 in gst_element_post_message (element=element@entry=0x343e310, message=0x32e1910) at gstelement.c:1853
#24 0x0000003adda4189c in _priv_gst_element_state_changed (element=element@entry=0x343e310, oldstate=oldstate@entry=GST_STATE_PAUSED, newstate=newstate@entry=GST_STATE_READY, pending=pending@entry=GST_STATE_NULL) at gstelement.c:2372
#25 0x0000003adda42190 in gst_element_continue_state (element=element@entry=0x343e310, ret=ret@entry=GST_STATE_CHANGE_SUCCESS) at gstelement.c:2437
#26 0x0000003adda41e0f in gst_element_change_state (element=element@entry=0x343e310, transition=transition@entry=GST_STATE_CHANGE_PAUSED_TO_READY) at gstelement.c:2798
#27 0x0000003adda426d8 in gst_element_set_state_func (element=0x343e310, state=GST_STATE_NULL) at gstelement.c:2717
#28 0x00007f6800c82d8c in Phonon::Gstreamer::Pipeline::~Pipeline (this=0x38d4a20, __in_chrg=<optimized out>) at /usr/src/debug/phonon-backend-gstreamer-4.6.3/gstreamer/pipeline.cpp:224
#29 0x00007f6800c82de9 in Phonon::Gstreamer::Pipeline::~Pipeline (this=0x38d4a20, __in_chrg=<optimized out>) at /usr/src/debug/phonon-backend-gstreamer-4.6.3/gstreamer/pipeline.cpp:226
#30 0x00007f6800c7bd46 in Phonon::Gstreamer::MediaObject::~MediaObject (this=0x38c3600, __in_chrg=<optimized out>) at /usr/src/debug/phonon-backend-gstreamer-4.6.3/gstreamer/mediaobject.cpp:135
#31 0x00007f6800c7c0e9 in Phonon::Gstreamer::MediaObject::~MediaObject (this=0x38c3600, __in_chrg=<optimized out>) at /usr/src/debug/phonon-backend-gstreamer-4.6.3/gstreamer/mediaobject.cpp:138
#32 0x0000003abbe40364 in Phonon::MediaNodePrivate::deleteBackendObject (this=0x38cf740) at /usr/src/debug/phonon-4.6.0/phonon/medianode.cpp:81
#33 0x0000003abbe2baae in Phonon::FactoryPrivate::~FactoryPrivate (this=0x32d3440, __in_chrg=<optimized out>) at /usr/src/debug/phonon-4.6.0/phonon/factory.cpp:236
#34 0x0000003abbe2bd79 in Phonon::FactoryPrivate::~FactoryPrivate (this=0x32d3440, __in_chrg=<optimized out>) at /usr/src/debug/phonon-4.6.0/phonon/factory.cpp:246
#35 0x000000361e438df1 in __run_exit_handlers (status=1, listp=0x361e7b16a8 <__exit_funcs>, run_list_atexit=run_list_atexit@entry=true) at exit.c:77
#36 0x000000361e438e75 in __GI_exit (status=<optimized out>) at exit.c:99
#37 0x0000003ade034238 in qt_xio_errhandler () at kernel/qapplication_x11.cpp:772
#38 0x0000003ad2e45cf8 in KApplication::xioErrhandler (this=0x7fff691cfca0, dpy=0x1e39f90) at /usr/src/debug/kdelibs-4.10.2/kdeui/kernel/kapplication.cpp:419
#39 0x0000003ac18455fe in _XIOError (dpy=dpy@entry=0x1e39f90) at XlibInt.c:1618
#40 0x0000003ac18435dc in _XReply (dpy=dpy@entry=0x1e39f90, rep=rep@entry=0x7fff691ce840, extra=extra@entry=0, discard=discard@entry=1) at xcb_io.c:707
#41 0x0000003ac183ed8d in XSync (dpy=0x1e39f90, discard=0) at Sync.c:44
#42 0x0000003ade1c2925 in syncX (this=0x201a1e0) at painting/qwindowsurface_raster.cpp:134
#43 QRasterWindowSurface::syncX (this=0x201a1e0) at painting/qwindowsurface_raster.cpp:130
#44 0x0000003ade1c2e21 in QRasterWindowSurface::beginPaint (this=0x201a1e0, rgn=...) at painting/qwindowsurface_raster.cpp:143
#45 0x0000003ade1dfad8 in QWidgetBackingStore::sync (this=0x2191470) at painting/qbackingstore.cpp:1304
#46 0x0000003ade00a5f0 in QWidgetPrivate::syncBackingStore (this=0x1fc7520) at kernel/qwidget.cpp:1896
#47 0x0000003ade01a3a4 in QWidget::event (this=0x218dcf0, event=0x7c17fe0) at kernel/qwidget.cpp:8679
#48 0x0000003ade3ddf2b in QMainWindow::event (this=0x218dcf0, event=0x7c17fe0) at widgets/qmainwindow.cpp:1478
#49 0x0000003ad2f392a8 in KXmlGuiWindow::event (this=0x218dcf0, ev=0x7c17fe0) at /usr/src/debug/kdelibs-4.10.2/kdeui/xmlgui/kxmlguiwindow.cpp:126
#50 0x0000003addfca5cc in QApplicationPrivate::notify_helper (this=0x1e40570, receiver=0x218dcf0, e=0x7c17fe0) at kernel/qapplication.cpp:4562
#51 0x0000003addfcea4a in QApplication::notify (this=0x7fff691cfca0, receiver=0x218dcf0, e=0x7c17fe0) at kernel/qapplication.cpp:4423
#52 0x0000003ad2e46f16 in KApplication::notify (this=0x7fff691cfca0, receiver=0x218dcf0, event=0x7c17fe0) at /usr/src/debug/kdelibs-4.10.2/kdeui/kernel/kapplication.cpp:311
#53 0x0000003ac517793e in QCoreApplication::notifyInternal (this=0x7fff691cfca0, receiver=receiver@entry=0x218dcf0, event=event@entry=0x7c17fe0) at kernel/qcoreapplication.cpp:949
#54 0x0000003ac517b3f1 in sendEvent (event=0x7c17fe0, receiver=0x218dcf0) at kernel/qcoreapplication.h:231
#55 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x1dbeb10) at kernel/qcoreapplication.cpp:1573
#56 0x0000003ac51a5df3 in sendPostedEvents () at kernel/qcoreapplication.h:236
#57 postEventSourceDispatch (s=s@entry=0x1e324c0) at kernel/qeventdispatcher_glib.cpp:279
#58 0x0000003620c47a55 in g_main_dispatch (context=0x1e41640) at gmain.c:2715
#59 g_main_context_dispatch (context=context@entry=0x1e41640) at gmain.c:3219
#60 0x0000003620c47d88 in g_main_context_iterate (context=context@entry=0x1e41640, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3290
#61 0x0000003620c47e44 in g_main_context_iteration (context=0x1e41640, may_block=1) at gmain.c:3351
#62 0x0000003ac51a5f86 in QEventDispatcherGlib::processEvents (this=0x1dc0470, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#63 0x0000003ade06a73e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:207
#64 0x0000003ac51765ef in QEventLoop::processEvents (this=this@entry=0x7fff691cf690, flags=...) at kernel/qeventloop.cpp:149
#65 0x0000003ac5176878 in QEventLoop::exec (this=0x7fff691cf690, flags=...) at kernel/qeventloop.cpp:204
#66 0x0000003ac517b708 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1221
#67 0x000000000048fc1b in main (argc=5, argv=0x7fff691cfed8) at /usr/src/debug/digikam-3.1.0/core/digikam/main/main.cpp:235

Reported using DrKonqi
Comment 1 Jekyll Wu 2014-02-07 02:15:26 UTC

*** This bug has been marked as a duplicate of bug 321531 ***
Comment 2 caulier.gilles 2017-01-06 22:17:41 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