Bug 369595 - Crash on startup with segmentation vault
Summary: Crash on startup with segmentation vault
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Preview-Image (show other bugs)
Version: 5.2.0
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-10-01 10:22 UTC by Adam Misztal
Modified: 2020-08-12 08:17 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 5.4.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Adam Misztal 2016-10-01 10:22:47 UTC
Application: digiKam (digikam), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fb4436af880 (LWP 6829))]

Thread 5 (Thread 0x7fb40963b700 (LWP 6843)):
#0  0x00007fb43b1eb03f in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007fb433d0e733 in  () at /usr/lib64/libQt5WebKit.so.5
#2  0x00007fb433d0e759 in  () at /usr/lib64/libQt5WebKit.so.5
#3  0x00007fb43b1e70a4 in start_thread () at /lib64/libpthread.so.0
#4  0x00007fb43ea9602d in clone () at /lib64/libc.so.6

Thread 4 (Thread 0x7fb41cb76700 (LWP 6836)):
#0  0x00007fb43b1eb03f in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007fb43f3a034b in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib64/libQt5Core.so.5
#2  0x00007fb44200b931 in Digikam::ParkingThread::run() (this=0x24ed220) at /usr/src/debug/digikam-5.2.0/core/libs/threads/threadmanager.cpp:115
#3  0x00007fb43f39f32f in  () at /usr/lib64/libQt5Core.so.5
#4  0x00007fb43b1e70a4 in start_thread () at /lib64/libpthread.so.0
#5  0x00007fb43ea9602d in clone () at /lib64/libc.so.6

Thread 3 (Thread 0x7fb41d377700 (LWP 6831)):
#0  0x00007fb43b1eb03f in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007fb43f3a034b in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib64/libQt5Core.so.5
#2  0x00007fb442c10f00 in Digikam::ScanController::run() (this=0x7fb443522a60 <_ZZN7Digikam12_GLOBAL__N_113Q_QGS_creator13innerFunctionEvE6holder>) at /usr/src/debug/digikam-5.2.0/core/libs/database/utils/scancontroller.cpp:677
#3  0x00007fb43f39f32f in  () at /usr/lib64/libQt5Core.so.5
#4  0x00007fb43b1e70a4 in start_thread () at /lib64/libpthread.so.0
#5  0x00007fb43ea9602d in clone () at /lib64/libc.so.6

Thread 2 (Thread 0x7fb41ef4c700 (LWP 6830)):
#0  0x00007fb43ea8dbfd in poll () at /lib64/libc.so.6
#1  0x00007fb430078422 in  () at /usr/lib64/libxcb.so.1
#2  0x00007fb43007a00f in xcb_wait_for_event () at /usr/lib64/libxcb.so.1
#3  0x00007fb4210803c9 in  () at /usr/lib64/libQt5XcbQpa.so.5
#4  0x00007fb43f39f32f in  () at /usr/lib64/libQt5Core.so.5
#5  0x00007fb43b1e70a4 in start_thread () at /lib64/libpthread.so.0
#6  0x00007fb43ea9602d in clone () at /lib64/libc.so.6

Thread 1 (Thread 0x7fb4436af880 (LWP 6829)):
[KCrash Handler]
#6  0x00007fb40b13f414 in QGstreamerBusHelper::installMessageFilter(QObject*) () at /usr/lib64/libqgsttools_p.so.1
#7  0x00007fb40b3af37b in  () at /usr/lib64/qt5/plugins/mediaservice/libgstmediaplayer.so
#8  0x00007fb40b3adbda in  () at /usr/lib64/qt5/plugins/mediaservice/libgstmediaplayer.so
#9  0x00007fb43e32fa51 in  () at /usr/lib64/libQt5MultimediaWidgets.so.5
#10 0x00007fb43e32fd28 in QVideoWidget::setMediaObject(QMediaObject*) () at /usr/lib64/libQt5MultimediaWidgets.so.5
#11 0x00007fb43d1adc41 in QMediaPlayer::setVideoOutput(QVideoWidget*) () at /usr/lib64/libQt5Multimedia.so.5
#12 0x00007fb442d01168 in Digikam::MediaPlayerView::MediaPlayerView(QWidget*) (this=0x25f2910, parent=<optimized out>) at /usr/src/debug/digikam-5.2.0/core/app/views/mediaplayerview.cpp:168
#13 0x00007fb442cffdb6 in Digikam::StackedView::StackedView(QWidget*) (this=0x25079d0, parent=<optimized out>) at /usr/src/debug/digikam-5.2.0/core/app/views/stackedview.cpp:146
#14 0x00007fb442cfa969 in Digikam::DigikamView::DigikamView(QWidget*, Digikam::DigikamModelCollection*) (this=0x24a4880, parent=<optimized out>, modelCollection=0x2476df0) at /usr/src/debug/digikam-5.2.0/core/app/views/digikamview.cpp:272
#15 0x00007fb442c4330a in Digikam::DigikamApp::setupView() (this=this@entry=0x21c1190) at /usr/src/debug/digikam-5.2.0/core/app/main/digikamapp.cpp:550
#16 0x00007fb442c5e8a8 in Digikam::DigikamApp::DigikamApp() (this=0x21c1190, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at /usr/src/debug/digikam-5.2.0/core/app/main/digikamapp.cpp:234
#17 0x000000000040876a in main(int, char**) (argc=1, argv=<optimized out>) at /usr/src/debug/digikam-5.2.0/core/app/main/main.cpp:199


Reproducible: Always
Comment 1 caulier.gilles 2016-10-03 08:20:40 UTC
It crash in GStreamer backend, called by Qt5::Multimedia framework when you want to preview a video file.

This can be due to a packaging problem. Report this bug to OpenSuse Bugzilla.

Gilles Caulier
Comment 2 caulier.gilles 2016-10-03 15:26:27 UTC
*** Bug 369681 has been marked as a duplicate of this bug. ***
Comment 3 caulier.gilles 2016-12-24 10:15:20 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