After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 769050 - Shotwell crashes on import
Shotwell crashes on import
Status: RESOLVED OBSOLETE
Product: GStreamer
Classification: Platform
Component: gst-libav
1.8.2
Other Linux
: Normal critical
: NONE
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2016-07-21 18:05 UTC by geert jordaens
Modified: 2018-11-03 12:57 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Log file produced with SHOTWELL_LOG=1 gdb shotwell 2>&1 | tee shotwell.gdb (40.42 KB, text/x-log)
2016-07-21 18:05 UTC, geert jordaens
Details
trace generated with gdb (21.89 KB, text/plain)
2016-07-21 18:06 UTC, geert jordaens
Details

Description geert jordaens 2016-07-21 18:05:31 UTC
Created attachment 331903 [details]
Log file produced with SHOTWELL_LOG=1 gdb shotwell 2>&1 | tee shotwell.gdb

Shotwell crashes on import from camera.
After copying the files manually in the libray shotwell crashes when updating the library.

Photos taken with Canon 30D
Comment 1 geert jordaens 2016-07-21 18:06:15 UTC
Created attachment 331904 [details]
trace generated with gdb
Comment 2 geert jordaens 2016-07-21 18:30:10 UTC
The source of the crash seemed to be some VOB files (backtrace) in my library.
I moved them away from the library and now shotwell is starting again. 
The source of the error is not the photo's taken by the canon 30D.
Comment 3 Jens Georg 2016-07-21 19:34:29 UTC
that's a crash in gst-libav or rather the version of the ffmpeg library/libav it uses.
Comment 4 Sebastian Dröge (slomo) 2016-07-22 07:18:02 UTC
It's also with an external libav/ffmpeg build. Which is the exact version that is used of gst-libav and libav/ffmpeg? Can you reproduce the crash with the internal ffmpeg version used in gst-libav?
Comment 5 geert jordaens 2016-07-22 08:01:38 UTC
The ffmpeg version is :

ffmpeg version 3.1.1 Copyright (c) 2000-2016 the FFmpeg developers
built with gcc 6.1.1 (GCC) 20160621 (Red Hat 6.1.1-3)
configuration: --arch=x86_64 --bindir=/usr/bin --datadir=/usr/share/ffmpeg --disable-debug --disable-static --disable-stripping --enable-avfilter --enable-avresample --enable-bzlib --enable-doc --enable-fontconfig --enable-frei0r --enable-gnutls --enable-gpl --enable-iconv --enable-libass --enable-libbluray --enable-libcdio --enable-libdc1394 --enable-libfaac --enable-libfdk-aac --enable-libfreetype --enable-libfribidi --enable-libgsm --enable-libkvazaar --enable-libmfx --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenh264 --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libv4l2 --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxcb --enable-libxcb-shm --enable-libxcb-xfixes --enable-libxcb-shape --enable-libxvid --enable-libzvbi --enable-lzma --enable-nonfree --enable-openal --enable-opencl --enable-nvenc --enable-opengl --enable-postproc --enable-pthreads --enable-sdl --enable-shared --enable-version3 --enable-x11grab --enable-xlib --enable-zlib --extra-cflags=-I/usr/include/nvenc --incdir=/usr/include/ffmpeg --libdir=/usr/lib64 --mandir=/usr/share/man --optflags='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic' --prefix=/usr --shlibdir=/usr/lib64 --enable-runtime-cpudetect
libavutil      55. 28.100 / 55. 28.100
libavcodec     57. 48.101 / 57. 48.101
libavformat    57. 41.100 / 57. 41.100
libavdevice    57.  0.101 / 57.  0.101
libavfilter     6. 47.100 /  6. 47.100
libavresample   3.  0.  0 /  3.  0.  0
libswscale      4.  1.100 /  4.  1.100
libswresample   2.  1.100 /  2.  1.100
libpostproc    54.  0.100 / 54.  0.100

The installed rpm's are:
clutter-gst2-2.0.18-1.fc24.x86_64
clutter-gst3-3.0.18-1.fc24.x86_64
clutter-gst-1.6.0-16.fc24.x86_64
gst123-0.3.3-7.1.8473c29.fc24.x86_64
ffmpeg-libs-3.1.1-1.fc24.x86_64
ffmpegthumbnailer-2.1.1-1.fc24.x86_64
ffmpeg-compat-0.6.7-9.fc24.x86_64
gstreamer1-libav-1.8.2-1.fc24.x86_64
gstreamer-plugins-good-extras-0.10.31-16.fc24.x86_64
gstreamer1-plugins-fc-0.2-12.fc24.x86_64
gstreamer-plugins-espeak-0.4.0-9.fc24.x86_64
gstreamer-python-0.10.22-10.fc24.x86_64
gstreamer-ffmpeg-0.10.13-15.fc24.x86_64
gstreamer1-plugins-bad-1.8.2-1.fc24.x86_64
gstreamer1-plugins-ugly-1.8.2-1.fc24.x86_64
gstreamer1-libav-1.8.2-1.fc24.x86_64
gstreamer-plugins-fc-0.2-12.fc24.x86_64
gstreamer-0.10.36-14.fc24.i686
gstreamer-plugins-good-0.10.31-16.fc24.x86_64
gstreamer1-1.8.2-1.fc24.x86_64
gstreamer-0.10.36-14.fc24.x86_64
gstreamer1-1.8.2-1.fc24.i686
gstreamer-plugins-bad-free-0.10.23-32.fc24.x86_64
gstreamer-tools-0.10.36-14.fc24.x86_64
gstreamer-plugins-base-0.10.36-14.fc24.i686
gstreamer-plugins-ugly-0.10.19-19.fc24.x86_64
gstreamer-plugins-bad-0.10.23-7.fc24.x86_64
gstreamer1-plugins-base-1.8.2-1.fc24.i686
gstreamer1-plugins-good-1.8.2-1.fc24.x86_64
gstreamer-plugins-base-0.10.36-14.fc24.x86_64
gstreamer-plugins-base-tools-0.10.36-14.fc24.x86_64
gstreamer-plugin-crystalhd-3.10.0-12.fc24.x86_64
gstreamer1-plugins-good-extras-1.8.2-1.fc24.x86_64
gstreamer1-plugins-base-1.8.2-1.fc24.x86_64
libavdevice-3.1.1-1.fc24.x86_64
libavc1394-0.5.3-19.fc24.x86_64
libnice-gstreamer1-0.1.13-4.fc24.x86_64
phonon-qt5-backend-gstreamer-4.9.0-1.fc24.x86_64
phonon-backend-gstreamer-4.9.0-1.fc24.i686
phonon-backend-gstreamer-4.9.0-1.fc24.x86_64
PackageKit-gstreamer-plugin-1.1.3-1.fc24.x86_64

and libraries:

/usr/lib64/libavformat.so
/usr/lib64/libavutil.so.50.15.1
/usr/lib64/libavdevice.so.52
/usr/lib64/ffmpeg-compat/libavformat.so
/usr/lib64/ffmpeg-compat/libavcodec.so
/usr/lib64/ffmpeg-compat/libavdevice.so
/usr/lib64/ffmpeg-compat/libavfilter.so
/usr/lib64/ffmpeg-compat/libavutil.so
/usr/lib64/libavc1394.so
/usr/lib64/libavcodec.so
/usr/lib64/libavresample.so
/usr/lib64/libavcodec.so.57.48.101
/usr/lib64/libavcodec.so.52
/usr/lib64/libavfilter.so.6
/usr/lib64/libavfilter.so.6.47.100
/usr/lib64/libavresample.so.3
/usr/lib64/libavutil.so.50
/usr/lib64/libavdevice.so.52.2.0
/usr/lib64/libavdevice.so.57
/usr/lib64/libavc1394.so.0.3.0
/usr/lib64/libavdevice.so
/usr/lib64/libavformat.so.52
/usr/lib64/libavcodec.so.52.72.2
/usr/lib64/libavresample.so.3.0.0
/usr/lib64/libavfilter.so
/usr/lib64/libavdevice.so.57.0.101
/usr/lib64/libavc1394.so.0
/usr/lib64/libavutil.so
/usr/lib64/libavutil.so.55.28.100
/usr/lib64/libavformat.so.57
/usr/lib64/libavfilter.so.1
/usr/lib64/libavcodec.so.57
/usr/lib64/libavformat.so.57.41.100
/usr/lib64/vlc/plugins/demux/libavformat_plugin.so
/usr/lib64/vlc/plugins/demux/libavi_plugin.so
/usr/lib64/vlc/plugins/codec/libavcodec_plugin.so
/usr/lib64/vlc/plugins/access/libavio_plugin.so
/usr/lib64/libavfilter.so.1.19.0
/usr/lib64/libavutil.so.55
/usr/lib64/libavformat.so.52.64.2
/usr/java/jre1.8.0_60/lib/amd64/libavplugin-53.so
/usr/java/jre1.8.0_60/lib/amd64/libavplugin-54.so
/usr/java/jre1.8.0_66/lib/amd64/libavplugin-53.so
/usr/java/jre1.8.0_66/lib/amd64/libavplugin-54.so

That's what I can provide now. 
I would need some help (instructions) to reproduce the crash with the internal ffmpeg version of gst-libav.
Comment 6 Tim-Philipp Müller 2018-01-13 11:29:45 UTC
Thanks, but it's difficult for us to know how to proceed here.

Since it's been a while, have you had a chance to retry with a more recent version of GStreamer?

You would have to build gst-libav from source and make it use the internal ffmpeg snapshot. This can be done with the 'gst-uninstalled' setup for example, but it's a bit of work.

Perhaps you could share the file it crashes on somewhere?

Does  gst-discoverer-1.0 file.vob  also crash?
Comment 7 GStreamer system administrator 2018-11-03 12:57:45 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/gstreamer/gst-libav/issues/27.