Bug 358092 - digikam crashed on trying dot downloadf photos from Fairphone 2 in PTP mode
Summary: digikam crashed on trying dot downloadf photos from Fairphone 2 in PTP mode
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Preview-Image (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2016-01-16 20:21 UTC by Martin Jost
Modified: 2017-01-06 18:18 UTC (History)
3 users (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 Martin Jost 2016-01-16 20:21:02 UTC
Application: digikam (4.6.0)
KDE Platform Version: 4.14.9
Qt Version: 4.8.6
Operating System: Linux 3.16.7-29-desktop x86_64
Distribution: "openSUSE 13.2 (Harlequin) (x86_64)"

-- Information about the crash:
I tried to download photos from my Fairphone 2 in MTP mode.
KDE offered dolphin, gwenview and digikam to download the photos.
While dolphin and gwenview can show and download the images, digikam crashed 3 times in succession, when trying to start digikam to download the photos.

The crash can be reproduced every time.

-- Backtrace:
Application: digiKam (digikam), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fba09e6c880 (LWP 7598))]

Thread 5 (Thread 0x7fb9ea969700 (LWP 7600)):
#0  0x00007fba0294effd in recvmsg () at /lib64/libc.so.6
#1  0x00007fba09ee4fb9 in udev_monitor_receive_device () at /usr/lib64/libudev.so.1
#2  0x00007fb9eb2e82eb in  () at /usr/lib64/libusb-1.0.so.0
#3  0x00007fba0089c0a4 in start_thread () at /lib64/libpthread.so.0
#4  0x00007fba0294e08d in clone () at /lib64/libc.so.6

Thread 4 (Thread 0x7fb9e3daf700 (LWP 7601)):
#0  0x00007fba008a005f in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007fba0342dc86 in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib64/libQtCore.so.4
#2  0x00000000005e44ae in  ()
#3  0x00007fba0342d79f in  () at /usr/lib64/libQtCore.so.4
#4  0x00007fba0089c0a4 in start_thread () at /lib64/libpthread.so.0
#5  0x00007fba0294e08d in clone () at /lib64/libc.so.6

Thread 3 (Thread 0x7fb9e35ae700 (LWP 7602)):
#0  0x00007fba02945c5d in poll () at /lib64/libc.so.6
#1  0x00007fb9faa99be4 in  () at /usr/lib64/libglib-2.0.so.0
#2  0x00007fb9faa99cec in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#3  0x00007fba0355c0de in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQtCore.so.4
#4  0x00007fba0352de6f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQtCore.so.4
#5  0x00007fba0352e165 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQtCore.so.4
#6  0x00007fba0342b0bf in QThread::exec() () at /usr/lib64/libQtCore.so.4
#7  0x00007fba0350f783 in  () at /usr/lib64/libQtCore.so.4
#8  0x00007fba0342d79f in  () at /usr/lib64/libQtCore.so.4
#9  0x00007fba0089c0a4 in start_thread () at /lib64/libpthread.so.0
#10 0x00007fba0294e08d in clone () at /lib64/libc.so.6

Thread 2 (Thread 0x7fb9e2dad700 (LWP 7604)):
#0  0x00007fba008a005f in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007fba0342dc86 in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib64/libQtCore.so.4
#2  0x00007fba07c2b3fa in  () at /usr/lib64/libdigikamcore.so.4.6.0
#3  0x00007fba0342d79f in  () at /usr/lib64/libQtCore.so.4
#4  0x00007fba0089c0a4 in start_thread () at /lib64/libpthread.so.0
#5  0x00007fba0294e08d in clone () at /lib64/libc.so.6

Thread 1 (Thread 0x7fba09e6c880 (LWP 7598)):
[KCrash Handler]
#5  0x00007fba0298cfe6 in __strcmp_ssse3 () at /lib64/libc.so.6
#6  0x00007fb9cca43fee in QMetaType::registerNormalizedType(QByteArray const&, void (*)(void*), void* (*)(void const*), void (*)(void*), void* (*)(void*, void const*), int, QFlags<QMetaType::TypeFlag>, QMetaObject const*) () at /usr/lib64/libQt5Core.so.5
#7  0x00007fb9ccf43f57 in  () at /usr/lib64/libQt5Gui.so.5
#8  0x00007fba09d278ea in call_init.part () at /lib64/ld-linux-x86-64.so.2
#9  0x00007fba09d279d3 in _dl_init_internal () at /lib64/ld-linux-x86-64.so.2
#10 0x00007fba09d2bb08 in dl_open_worker () at /lib64/ld-linux-x86-64.so.2
#11 0x00007fba09d277a4 in _dl_catch_error () at /lib64/ld-linux-x86-64.so.2
#12 0x00007fba09d2b2fb in _dl_open () at /lib64/ld-linux-x86-64.so.2
#13 0x00007fb9f94c102b in dlopen_doit () at /lib64/libdl.so.2
#14 0x00007fba09d277a4 in _dl_catch_error () at /lib64/ld-linux-x86-64.so.2
#15 0x00007fb9f94c15dd in _dlerror_run () at /lib64/libdl.so.2
#16 0x00007fb9f94c10c1 in dlopen@@GLIBC_2.2.5 () at /lib64/libdl.so.2
#17 0x00007fb9e055059f in  () at /usr/lib64/libvlccore.so.7
#18 0x00007fb9e0539d5d in  () at /usr/lib64/libvlccore.so.7
#19 0x00007fb9e053a057 in  () at /usr/lib64/libvlccore.so.7
#20 0x00007fb9e053a2c9 in  () at /usr/lib64/libvlccore.so.7
#21 0x00007fb9e053a534 in  () at /usr/lib64/libvlccore.so.7
#22 0x00007fb9e053aa87 in  () at /usr/lib64/libvlccore.so.7
#23 0x00007fb9e04d249d in libvlc_InternalInit () at /usr/lib64/libvlccore.so.7
#24 0x00007fb9e02a3623 in libvlc_new () at /usr/lib64/libvlc.so.5
#25 0x00007fb9e080dec9 in  () at /usr/lib64/kde4/plugins/phonon_backend/phonon_vlc.so
#26 0x00007fb9e07f3728 in  () at /usr/lib64/kde4/plugins/phonon_backend/phonon_vlc.so
#27 0x00007fb9e07f41eb in qt_plugin_instance () at /usr/lib64/kde4/plugins/phonon_backend/phonon_vlc.so
#28 0x00007fba03513641 in QPluginLoader::instance() () at /usr/lib64/libQtCore.so.4
#29 0x00007fb9e0d43f8b in  () at /usr/lib64/kde4/plugins/phonon_platform/kde.so
#30 0x00007fb9e0d44773 in  () at /usr/lib64/kde4/plugins/phonon_platform/kde.so
#31 0x00007fba09642c76 in  () at /usr/lib64/libphonon.so.4
#32 0x00007fba09643317 in Phonon::Factory::backend(bool) () at /usr/lib64/libphonon.so.4
#33 0x00007fba096438e3 in  () at /usr/lib64/libphonon.so.4
#34 0x00007fba0963b9b9 in  () at /usr/lib64/libphonon.so.4
#35 0x00007fba09639896 in  () at /usr/lib64/libphonon.so.4
#36 0x00007fba096694b0 in  () at /usr/lib64/libphonon.so.4
#37 0x00007fba096696c3 in Phonon::VideoPlayer::mediaObject() const () at /usr/lib64/libphonon.so.4
#38 0x0000000000686f50 in  ()
#39 0x0000000000679250 in  ()
#40 0x0000000000680a93 in  ()
#41 0x000000000057e16a in  ()
#42 0x0000000000598d28 in  ()
#43 0x00000000004a0f2a in  ()
#44 0x00007fba0288ab05 in __libc_start_main () at /lib64/libc.so.6
#45 0x00000000004a3b4f in _start ()

Reported using DrKonqi
Comment 1 Martin Jost 2016-01-17 13:20:51 UTC
This is not specifically connected to the Fairphone 2; I've seen a similar behaviour when trying to download photos from a CF card in a (USB3) card reader. That definitely worked "some time ago". (It's the usual way to get photos from my SLR)
I mentioned the FP2, because my first assumption had been "brand new HW".

Backtrace from that crash with the CF card & reader:

Application: digiKam (digikam), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f49a228f880 (LWP 7578))]

Thread 5 (Thread 0x7f4982d8c700 (LWP 7580)):
#0  0x00007f499ad71ffd in recvmsg () at /lib64/libc.so.6
#1  0x00007f49a2307fb9 in udev_monitor_receive_device () at /usr/lib64/libudev.so.1
#2  0x00007f498370b2eb in  () at /usr/lib64/libusb-1.0.so.0
#3  0x00007f4998cbf0a4 in start_thread () at /lib64/libpthread.so.0
#4  0x00007f499ad7108d in clone () at /lib64/libc.so.6

Thread 4 (Thread 0x7f497c1d2700 (LWP 7583)):
#0  0x00007f4998cc305f in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f499b850c86 in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib64/libQtCore.so.4
#2  0x00000000005e44ae in  ()
#3  0x00007f499b85079f in  () at /usr/lib64/libQtCore.so.4
#4  0x00007f4998cbf0a4 in start_thread () at /lib64/libpthread.so.0
#5  0x00007f499ad7108d in clone () at /lib64/libc.so.6

Thread 3 (Thread 0x7f497b9d1700 (LWP 7584)):
#0  0x00007f499ad68c5d in poll () at /lib64/libc.so.6
#1  0x00007f4992ebcbe4 in  () at /usr/lib64/libglib-2.0.so.0
#2  0x00007f4992ebccec in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#3  0x00007f499b97f0de in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQtCore.so.4
#4  0x00007f499b950e6f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQtCore.so.4
#5  0x00007f499b951165 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQtCore.so.4
#6  0x00007f499b84e0bf in QThread::exec() () at /usr/lib64/libQtCore.so.4
#7  0x00007f499b932783 in  () at /usr/lib64/libQtCore.so.4
#8  0x00007f499b85079f in  () at /usr/lib64/libQtCore.so.4
#9  0x00007f4998cbf0a4 in start_thread () at /lib64/libpthread.so.0
#10 0x00007f499ad7108d in clone () at /lib64/libc.so.6

Thread 2 (Thread 0x7f497b1d0700 (LWP 7587)):
#0  0x00007f4998cc305f in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f499b850c86 in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib64/libQtCore.so.4
#2  0x00007f49a004e3fa in  () at /usr/lib64/libdigikamcore.so.4.6.0
#3  0x00007f499b85079f in  () at /usr/lib64/libQtCore.so.4
#4  0x00007f4998cbf0a4 in start_thread () at /lib64/libpthread.so.0
#5  0x00007f499ad7108d in clone () at /lib64/libc.so.6

Thread 1 (Thread 0x7f49a228f880 (LWP 7578)):
[KCrash Handler]
#5  0x00007f499adaffe6 in __strcmp_ssse3 () at /lib64/libc.so.6
#6  0x00007f4964d45fee in QMetaType::registerNormalizedType(QByteArray const&, void (*)(void*), void* (*)(void const*), void (*)(void*), void* (*)(void*, void const*), int, QFlags<QMetaType::TypeFlag>, QMetaObject const*) () at /usr/lib64/libQt5Core.so.5
#7  0x00007f4965245f57 in  () at /usr/lib64/libQt5Gui.so.5
#8  0x00007f49a214a8ea in call_init.part () at /lib64/ld-linux-x86-64.so.2
#9  0x00007f49a214a9d3 in _dl_init_internal () at /lib64/ld-linux-x86-64.so.2
#10 0x00007f49a214eb08 in dl_open_worker () at /lib64/ld-linux-x86-64.so.2
#11 0x00007f49a214a7a4 in _dl_catch_error () at /lib64/ld-linux-x86-64.so.2
#12 0x00007f49a214e2fb in _dl_open () at /lib64/ld-linux-x86-64.so.2
#13 0x00007f49918e402b in dlopen_doit () at /lib64/libdl.so.2
#14 0x00007f49a214a7a4 in _dl_catch_error () at /lib64/ld-linux-x86-64.so.2
#15 0x00007f49918e45dd in _dlerror_run () at /lib64/libdl.so.2
#16 0x00007f49918e40c1 in dlopen@@GLIBC_2.2.5 () at /lib64/libdl.so.2
#17 0x00007f497897359f in  () at /usr/lib64/libvlccore.so.7
#18 0x00007f497895cd5d in  () at /usr/lib64/libvlccore.so.7
#19 0x00007f497895d057 in  () at /usr/lib64/libvlccore.so.7
#20 0x00007f497895d2c9 in  () at /usr/lib64/libvlccore.so.7
#21 0x00007f497895d534 in  () at /usr/lib64/libvlccore.so.7
#22 0x00007f497895da87 in  () at /usr/lib64/libvlccore.so.7
#23 0x00007f49788f549d in libvlc_InternalInit () at /usr/lib64/libvlccore.so.7
#24 0x00007f49786c6623 in libvlc_new () at /usr/lib64/libvlc.so.5
#25 0x00007f4978c30ec9 in  () at /usr/lib64/kde4/plugins/phonon_backend/phonon_vlc.so
#26 0x00007f4978c16728 in  () at /usr/lib64/kde4/plugins/phonon_backend/phonon_vlc.so
#27 0x00007f4978c171eb in qt_plugin_instance () at /usr/lib64/kde4/plugins/phonon_backend/phonon_vlc.so
#28 0x00007f499b936641 in QPluginLoader::instance() () at /usr/lib64/libQtCore.so.4
#29 0x00007f4979166f8b in  () at /usr/lib64/kde4/plugins/phonon_platform/kde.so
#30 0x00007f4979167773 in  () at /usr/lib64/kde4/plugins/phonon_platform/kde.so
#31 0x00007f49a1a65c76 in  () at /usr/lib64/libphonon.so.4
#32 0x00007f49a1a66317 in Phonon::Factory::backend(bool) () at /usr/lib64/libphonon.so.4
#33 0x00007f49a1a668e3 in  () at /usr/lib64/libphonon.so.4
#34 0x00007f49a1a5e9b9 in  () at /usr/lib64/libphonon.so.4
#35 0x00007f49a1a5c896 in  () at /usr/lib64/libphonon.so.4
#36 0x00007f49a1a8c4b0 in  () at /usr/lib64/libphonon.so.4
#37 0x00007f49a1a8c6c3 in Phonon::VideoPlayer::mediaObject() const () at /usr/lib64/libphonon.so.4
#38 0x0000000000686f50 in  ()
#39 0x0000000000679250 in  ()
#40 0x0000000000680a93 in  ()
#41 0x000000000057e16a in  ()
#42 0x0000000000598d28 in  ()
#43 0x00000000004a0f2a in  ()
#44 0x00007f499acadb05 in __libc_start_main () at /lib64/libc.so.6
#45 0x00000000004a3b4f in _start ()
Comment 2 Christoph Feck 2016-01-24 03:23:48 UTC

*** This bug has been marked as a duplicate of bug 347917 ***
Comment 3 caulier.gilles 2017-01-06 18:08:30 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