Bug 147619

Summary: crash when viewing video
Product: [Applications] kaffeine Reporter: Daniel Faust <hessijames>
Component: generalAssignee: Christophe Thommeret <hftom>
Status: RESOLVED FIXED    
Severity: crash CC: bluedzins, caulier.gilles
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In: 0.9.4

Description Daniel Faust 2007-07-06 18:59:43 UTC
Version:           0.9.2 (using KDE KDE 3.5.5)
Installed from:    SuSE RPMs
OS:                Linux

there are some video files where digikam always crashes when trying to view them.
so please make an option to view videos always with an external player.
Comment 1 Arnd Baecker 2007-11-27 08:17:28 UTC
Hi Daniel,

digikam shouldn't crash in the first place.
To fix the crash we need a full backtrace which includes debugging
symbols. This means that you will have to recompile digikam, 
libkexiv, exiv2, ... and so with debugging enabled.
See http://www.digikam.org/?q=contrib under
"If you are experiencing crashes with digiKam" and
for installation instructions "http://www.digikam.org/?q=download/svn"
under "Install digiKam in your Home Directory".

Of course you could try the more recent SUSE 10.3 
and see if the problem persists.

Many thanks in advance for any feedback,

Arnd
Comment 2 Daniel Faust 2007-12-25 15:18:58 UTC
Hi, more exactly digikam freezes (I couldn't make a backtrace). So I updated to 0.9.3-rc1 and the video support works much better (great!). Wowever it still crashes sometimes (eg. .asf files). I'll have a more detailed look at it upcoming.
Another problem is that the videos of my camera aren't supported by xine so an option to open them eg. with vlc would still be nice but that's not so important at the moment (since digikam doesn't crash anymore).
Ah and btw. seems like .3gp files are supported by xine - at least video - (but digikam just shows "no media player available.")
And yeah, suse 10.3 runs on my laptop and has the same behaviour.
Thank you very much, and merry Christmas!
Comment 3 caulier.gilles 2008-03-19 07:58:47 UTC
Daniel,

Can you try to reproduce the problem with last stable 0.9.3 ?

Thanks in advance

Gilles Caulier
Comment 4 Daniel Faust 2008-03-19 17:47:56 UTC
Hi,

sorry for the long delay.
I tested it with 0.9.3 and digikam didn't crash.

So thank you for this great app!

Greetings
Daniel
Comment 5 Ferdinand Gassauer 2008-06-13 06:59:54 UTC
I had the problem avi files  and 0.9.3. too.
 [?1034hUsing host libthread_db library "/lib64/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread 0x2b5b5702b850 (LWP 21803)]
[New Thread 0x41001950 (LWP 3991)]
[KCrash handler]
#5  0x00002b5b4dd2da98 in KXMLGUIFactory::container ()
   from /opt/kde3/lib64/libkdeui.so.4
#6  0x00002aaab63528b0 in GStreamerPart::openURL ()
   from /opt/kde3/lib64/kde3/libgstreamerpart.so
#7  0x00002aaab63577be in KaffeinePart::openURL ()
   from /opt/kde3/lib64/kde3/libgstreamerpart.so
#8  0x00002b5b4cc2da02 in Digikam::MediaPlayerView::setMediaPlayerFromUrl ()
   from /opt/kde3/lib64/libdigikam.so.0
#9  0x00002b5b4cc08578 in Digikam::AlbumWidgetStack::setPreviewItem ()
   from /opt/kde3/lib64/libdigikam.so.0
#10 0x00002b5b4cc140a7 in Digikam::DigikamView::qt_invoke ()
   from /opt/kde3/lib64/libdigikam.so.0
#11 0x00002b5b4e877f9c in QObject::activate_signal ()
   from /usr/lib/qt3/lib64/libqt-mt.so.3
#12 0x00002b5b4cbd8112 in Digikam::AlbumIconView::signalPreviewItem ()
   from /opt/kde3/lib64/libdigikam.so.0
#13 0x00002b5b4cbe1d55 in Digikam::AlbumIconView::slotRightButtonClicked ()
   from /opt/kde3/lib64/libdigikam.so.0
#14 0x00002b5b4cbe317a in Digikam::AlbumIconView::qt_invoke ()
   from /opt/kde3/lib64/libdigikam.so.0
#15 0x00002b5b4e877f9c in QObject::activate_signal ()
   from /usr/lib/qt3/lib64/libqt-mt.so.3
#16 0x00002b5b4cc1b5ae in Digikam::IconView::signalRightButtonClicked ()
   from /opt/kde3/lib64/libdigikam.so.0
#17 0x00002b5b4cc1f45b in Digikam::IconView::contentsMousePressEvent ()
   from /opt/kde3/lib64/libdigikam.so.0
#18 0x00002b5b4e97580e in QScrollView::viewportMousePressEvent ()
   from /usr/lib/qt3/lib64/libqt-mt.so.3
#19 0x00002b5b4e9736d5 in QScrollView::eventFilter ()
   from /usr/lib/qt3/lib64/libqt-mt.so.3
#20 0x00002b5b4e8775a2 in QObject::activate_filters ()
   from /usr/lib/qt3/lib64/libqt-mt.so.3
#21 0x00002b5b4e8775f7 in QObject::event ()
   from /usr/lib/qt3/lib64/libqt-mt.so.3
#22 0x00002b5b4e8a95a3 in QWidget::event ()
   from /usr/lib/qt3/lib64/libqt-mt.so.3
#23 0x00002b5b4e82180d in QApplication::internalNotify ()
   from /usr/lib/qt3/lib64/libqt-mt.so.3
#24 0x00002b5b4e822722 in QApplication::notify ()
   from /usr/lib/qt3/lib64/libqt-mt.so.3
#25 0x00002b5b4e244b3d in KApplication::notify ()
   from /opt/kde3/lib64/libkdecore.so.4
#26 0x00002b5b4e7c96e3 in QETWidget::translateMouseEvent ()
   from /usr/lib/qt3/lib64/libqt-mt.so.3
#27 0x00002b5b4e7c8625 in QApplication::x11ProcessEvent ()
   from /usr/lib/qt3/lib64/libqt-mt.so.3
#28 0x00002b5b4e7d79d2 in QEventLoop::processEvents ()
   from /usr/lib/qt3/lib64/libqt-mt.so.3
#29 0x00002b5b4e836083 in QEventLoop::enterLoop ()
   from /usr/lib/qt3/lib64/libqt-mt.so.3
#30 0x00002b5b4e835f32 in QEventLoop::exec ()
   from /usr/lib/qt3/lib64/libqt-mt.so.3
#31 0x00000000004032ef in main ()
Comment 6 caulier.gilles 2008-06-13 07:55:17 UTC
The crash is not relevant of digiKam, but of Kaffeine...

There is no video player code in digiKam. We use the right KParts component available from KDE desktop

Gilles Caulier
Comment 7 caulier.gilles 2008-06-13 07:57:17 UTC
bluedzins, i reassign to you. I cannot find a kaffeine devel mailing list...

Gilles Caulier
Comment 8 Maciej Pilichowski 2008-06-13 11:38:53 UTC
Gilles, what are you talking about? (#7)
Comment 9 caulier.gilles 2008-06-13 12:02:21 UTC
Just that i can find who i must assign to this file. In Kaffeine B.K.O entry, you is the guy who have the most files assigned (:=)))

Gilles
Comment 10 Maciej Pilichowski 2008-06-13 12:24:48 UTC
It is a bug in bko then, I am just a reporter, not a developer.
Comment 11 Christoph Pfister 2009-10-25 14:34:42 UTC
kaffeine 1.x no longer provides a kpart