Bug 320725 - Video Slideshow segfaults
Summary: Video Slideshow segfaults
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Plugin-Generic-VideoSlideshow (show other bugs)
Version: 5.5.0
Platform: Other Linux
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-06-04 15:43 UTC by Antonio Rojas
Modified: 2017-06-02 13:16 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Antonio Rojas 2013-06-04 15:43:23 UTC
Segmantation fault when trying to export to video slideshow in Digikam

Backtrace:
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffb7a6c700 (LWP 24084)]
KIPIPlugins::MagickImage::getImage (this=this@entry=0x0)
    at /home/antonio/Software/abs/extra/digikam/src/digikam-3.3.0-beta1/extra/kipi-plugins/videoslideshow/magickiface/magickiface.cpp:92
92          return m_image;
(gdb) bt
#0  KIPIPlugins::MagickImage::getImage (this=this@entry=0x0)
    at /home/antonio/Software/abs/extra/digikam/src/digikam-3.3.0-beta1/extra/kipi-plugins/videoslideshow/magickiface/magickiface.cpp:92
#1  0x00007fff6f28c29b in KIPIPlugins::MagickApi::saveToFile (this=0x701cba0, img=..., file=...)
    at /home/antonio/Software/abs/extra/digikam/src/digikam-3.3.0-beta1/extra/kipi-plugins/videoslideshow/magickiface/magickiface.cpp:347
#2  0x00007fff6f282957 in KIPIVideoSlideShowPlugin::ActionThread::WriteFrame (this=this@entry=0x44e98c0, frame=frame@entry=0x7fff88036cb0)
    at /home/antonio/Software/abs/extra/digikam/src/digikam-3.3.0-beta1/extra/kipi-plugins/videoslideshow/manager/actionthread.cpp:410
#3  0x00007fff6f282a26 in KIPIVideoSlideShowPlugin::ActionThread::processItem (this=this@entry=0x44e98c0, upperBound=upperBound@entry=50, 
    img=img@entry=0x0, imgNext=imgNext@entry=0x0, action=action@entry=KIPIVideoSlideShowPlugin::TYPE_IMAGE)
    at /home/antonio/Software/abs/extra/digikam/src/digikam-3.3.0-beta1/extra/kipi-plugins/videoslideshow/manager/actionthread.cpp:195
#4  0x00007fff6f282d8c in KIPIVideoSlideShowPlugin::ActionThread::run (this=0x44e98c0)
    at /home/antonio/Software/abs/extra/digikam/src/digikam-3.3.0-beta1/extra/kipi-plugins/videoslideshow/manager/actionthread.cpp:119
#5  0x00007ffff2495d1f in ?? () from /usr/lib/libQtCore.so.4
#6  0x00007fffef402dd2 in start_thread () from /usr/lib/libpthread.so.0
#7  0x00007ffff16c0cdd in clone () from /usr/lib/libc.so.6
(gdb) 


Reproducible: Always
Comment 1 Jekyll Wu 2014-03-01 03:08:15 UTC

*** This bug has been marked as a duplicate of bug 331625 ***
Comment 2 caulier.gilles 2017-06-02 13:16:51 UTC
Git commit 8dda686cf8c9409c03786007e47e1f15e1419097 by Gilles Caulier.
Committed on 02/06/2017 at 12:55.
Pushed by cgilles into branch 'master'.

New digiKam Video SlideShow tool based on QtAV/FFMpeg encoder.

The tool replace the older Qt4 kipi plugin based on ImageMagick and GStreamer which never
work as expected due to run time dependencies with GStreamer which are a big puzzle to resolve
and don't work under MacOS and Windows.
The tool permit to encode images as a video diaporama.
The tool support many video codecs as X264 or MPEG4 provided by FFMpeg and
is able to store stream as AVI, MKV, or MP4 media.
The tool permit to apply a transition effect between images (same effects than presentation tool non-OpenGL).
The tool permit to export image from current select or a set of albums selection (as HTMLGallery tool).
The tool do not permit to encode an audio soundtrack with the video stream due a bug in QtAV which
have been reported and must be fixed in next QtAV release 1.12.0.
The tool is available currently under digiKam album GUI, but it will be also available into
ImageEditor, LightTable, and Showfoto (as HTMLGallery, Panorama, Calendar, etc... tools.)

Screeshots of tool in action : https://www.flickr.com/photos/digikam/albums/72157684569983835
Related: bug 316791, bug 337605, bug 331625, bug 324646, bug 176727, bug 318297, bug 153061, bug 334089, bug 271751
FIXED-IN: 5.6.0

M  +17   -0    app/main/digikamapp.cpp
M  +1    -0    app/main/digikamapp.h
M  +2    -1    app/main/digikamui5.rc
M  +14   -0    libs/widgets/mainview/dxmlguiwindow.cpp
M  +9    -1    libs/widgets/mainview/dxmlguiwindow.h

https://commits.kde.org/digikam/8dda686cf8c9409c03786007e47e1f15e1419097