Bug 352295

Summary: Launching Digikam crash
Product: [Applications] digikam Reporter: Rafael Linux User <rafael.linux.user>
Component: Preview-ImageAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: crash CC: caulier.gilles, myriam, rafael.linux.user, romain.perier
Priority: NOR Keywords: drkonqi
Version: unspecified   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In: 5.4.0
Sentry Crash Report:
Attachments: New crash information added by DrKonqi
New crash information added by DrKonqi
New crash information added by DrKonqi

Description Rafael Linux User 2015-09-04 23:52:58 UTC
Application: digikam (4.6.0)
KDE Platform Version: 4.14.9
Qt Version: 4.8.6
Operating System: Linux 3.16.7-21-desktop x86_64
Distribution: "openSUSE 13.2 (Harlequin) (x86_64)"

-- Information about the crash:
- What I was doing when the application crashed: I tried to launch Digikam to access my photos database, but always crash on launching Digikam.

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 0x7f5e7ed2a880 (LWP 3285))]

Thread 5 (Thread 0x7f5e5e150700 (LWP 3286)):
#0  0x00007f5e777f3c5d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f5e5eacf268 in ?? () from /usr/lib64/libusb-1.0.so.0
#2  0x00007f5e7574a0a4 in start_thread (arg=0x7f5e5e150700) at pthread_create.c:309
#3  0x00007f5e777fc08d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 4 (Thread 0x7f5e5364d700 (LWP 3287)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f5e782dbc86 in wait (time=18446744073709551615, this=0x2b3d050) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x2b3cf88, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00000000005e42ee in ?? ()
#4  0x00007f5e782db79f in QThreadPrivate::start (arg=0x2a80510) at thread/qthread_unix.cpp:349
#5  0x00007f5e7574a0a4 in start_thread (arg=0x7f5e5364d700) at pthread_create.c:309
#6  0x00007f5e777fc08d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 3 (Thread 0x7f5e52e4c700 (LWP 3288)):
#0  0x00007f5e6f8a7280 in g_main_context_prepare () from /usr/lib64/libglib-2.0.so.0
#1  0x00007f5e6f8a7b03 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f5e6f8a7cec in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f5e7840a0de in QEventDispatcherGlib::processEvents (this=0x7f5e440008e0, flags=...) at kernel/qeventdispatcher_glib.cpp:452
#4  0x00007f5e783dbe6f in QEventLoop::processEvents (this=this@entry=0x7f5e52e4bd20, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f5e783dc165 in QEventLoop::exec (this=this@entry=0x7f5e52e4bd20, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f5e782d90bf in QThread::exec (this=this@entry=0x2b84e50) at thread/qthread.cpp:538
#7  0x00007f5e783bd783 in QInotifyFileSystemWatcherEngine::run (this=0x2b84e50) at io/qfilesystemwatcher_inotify.cpp:265
#8  0x00007f5e782db79f in QThreadPrivate::start (arg=0x2b84e50) at thread/qthread_unix.cpp:349
#9  0x00007f5e7574a0a4 in start_thread (arg=0x7f5e52e4c700) at pthread_create.c:309
#10 0x00007f5e777fc08d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 2 (Thread 0x7f5e5264b700 (LWP 3291)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f5e782dbc86 in wait (time=18446744073709551615, this=0x2d82750) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x2e30a88, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f5e7cad93fa in ?? () from /usr/lib64/libdigikamcore.so.4.6.0
#4  0x00007f5e782db79f in QThreadPrivate::start (arg=0x2e30a70) at thread/qthread_unix.cpp:349
#5  0x00007f5e7574a0a4 in start_thread (arg=0x7f5e5264b700) at pthread_create.c:309
#6  0x00007f5e777fc08d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 1 (Thread 0x7f5e7ed2a880 (LWP 3285)):
[KCrash Handler]
#6  __strcmp_sse2_unaligned () at ../sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S:29
#7  0x00007f5e3d4f1fee in qMetaTypeStaticType (length=22, typeName=0x8426918 <error: Cannot access memory at address 0x8426918>) at kernel/qmetatype.cpp:806
#8  QMetaType::registerNormalizedType (normalizedTypeName=..., deleter=deleter@entry=0x7f5e3dca8930 <QtMetaTypePrivate::QMetaTypeFunctionHelper<QPaintBufferCacheEntry, true>::Delete(void*)>, creator=creator@entry=0x7f5e3dca8ab0 <QtMetaTypePrivate::QMetaTypeFunctionHelper<QPaintBufferCacheEntry, true>::Create(void const*)>, destructor=destructor@entry=0x7f5e3dca8890 <QtMetaTypePrivate::QMetaTypeFunctionHelper<QPaintBufferCacheEntry, true>::Destruct(void*)>, constructor=constructor@entry=0x7f5e3dca88a0 <QtMetaTypePrivate::QMetaTypeFunctionHelper<QPaintBufferCacheEntry, true>::Construct(void*, void const*)>, size=size@entry=16, flags=flags@entry=..., metaObject=metaObject@entry=0x0) at kernel/qmetatype.cpp:896
#9  0x00007f5e3d9f1f57 in qRegisterNormalizedMetaType<QPaintBufferCacheEntry> (defined=QtPrivate::MetaTypeDefinedHelper<QPaintBufferCacheEntry, true>::Defined, dummy=0xffffffffffffffff, normalizedTypeName=...) at ../../src/corelib/kernel/qmetatype.h:1603
#10 qRegisterMetaType<QPaintBufferCacheEntry> (defined=QtPrivate::MetaTypeDefinedHelper<QPaintBufferCacheEntry, true>::Defined, dummy=0xffffffffffffffff, typeName=0x7f5e3dd849de "QPaintBufferCacheEntry") at ../../src/corelib/kernel/qmetatype.h:1628
#11 qt_metatype_id () at painting/qpaintbuffer.cpp:2081
#12 qt_metatype_id () at ../../src/corelib/kernel/qmetatype.h:1509
#13 qMetaTypeId<QPaintBufferCacheEntry> () at ../../src/corelib/kernel/qmetatype.h:1649
#14 qRegisterMetaTypeStreamOperators<QPaintBufferCacheEntry> () at ../../src/corelib/kernel/qmetatype.h:1698
#15 qRegisterPaintBufferMetaTypes () at painting/qpaintbuffer.cpp:2107
#16 qRegisterPaintBufferMetaTypes_ctor_class_ (this=<optimized out>) at painting/qpaintbuffer.cpp:2111
#17 __static_initialization_and_destruction_0 (__priority=65535, __initialize_p=1) at painting/qpaintbuffer.cpp:2111
#18 _GLOBAL__sub_I_qpaintbuffer.cpp(void) () at painting/qpaintbuffer.cpp:2207
#19 0x00007f5e7ebd592a in call_init (l=<optimized out>, argc=argc@entry=5, argv=argv@entry=0x7ffd6bcb18f8, env=env@entry=0x2b07120) at dl-init.c:78
#20 0x00007f5e7ebd5a13 in call_init (env=0x2b07120, argv=0x7ffd6bcb18f8, argc=5, l=<optimized out>) at dl-init.c:36
#21 _dl_init (main_map=main_map@entry=0x417ddf0, argc=5, argv=0x7ffd6bcb18f8, env=0x2b07120) at dl-init.c:126
#22 0x00007f5e7ebd9b48 in dl_open_worker (a=a@entry=0x7ffd6bcafe38) at dl-open.c:566
#23 0x00007f5e7ebd57e4 in _dl_catch_error (objname=objname@entry=0x7ffd6bcafe28, errstring=errstring@entry=0x7ffd6bcafe30, mallocedp=mallocedp@entry=0x7ffd6bcafe27, operate=operate@entry=0x7f5e7ebd9870 <dl_open_worker>, args=args@entry=0x7ffd6bcafe38) at dl-error.c:187
#24 0x00007f5e7ebd933b in _dl_open (file=0x41cbcc0 "/usr/lib64/vlc/plugins/gui/libqt4_plugin.so", mode=-2147483647, caller_dlopen=<optimized out>, nsid=-2, argc=5, argv=0x7ffd6bcb18f8, env=0x2b07120) at dl-open.c:650
#25 0x00007f5e6e2cf02b in dlopen_doit (a=a@entry=0x7ffd6bcb0050) at dlopen.c:66
#26 0x00007f5e7ebd57e4 in _dl_catch_error (objname=0x288fe40, errstring=0x288fe48, mallocedp=0x288fe38, operate=0x7f5e6e2cefd0 <dlopen_doit>, args=0x7ffd6bcb0050) at dl-error.c:187
#27 0x00007f5e6e2cf5dd in _dlerror_run (operate=operate@entry=0x7f5e6e2cefd0 <dlopen_doit>, args=args@entry=0x7ffd6bcb0050) at dlerror.c:163
#28 0x00007f5e6e2cf0c1 in __dlopen (file=file@entry=0x41cbcc0 "/usr/lib64/vlc/plugins/gui/libqt4_plugin.so", mode=<optimized out>) at dlopen.c:87
#29 0x00007f5e43b6959f in module_Load (p_this=0x41246c8, path=0x41cbcc0 "/usr/lib64/vlc/plugins/gui/libqt4_plugin.so", p_handle=0x7ffd6bcb00a8, lazy=<optimized out>) at posix/plugin.c:60
#30 0x00007f5e43b52d5d in module_InitDynamic (obj=0x41246c8, path=0x41cbcc0 "/usr/lib64/vlc/plugins/gui/libqt4_plugin.so", fast=<optimized out>) at modules/bank.c:586
#31 0x00007f5e43b53057 in AllocatePluginFile (st=<optimized out>, relpath=<optimized out>, abspath=<optimized out>, bank=<optimized out>) at modules/bank.c:529
#32 AllocatePluginDir (bank=0x7ffd6bcb0300, maxdepth=1029867528, absdir=0x0, reldir=0x414d6b0 "gui") at modules/bank.c:490
#33 0x00007f5e43b532c9 in AllocatePluginDir (bank=0x7ffd6bcb0300, maxdepth=1029867528, maxdepth@entry=5, absdir=0x0, absdir@entry=0x4150fa0 "/usr/lib64/vlc/plugins", reldir=0x0) at modules/bank.c:494
#34 0x00007f5e43b53534 in AllocatePluginPath (p_this=p_this@entry=0x41246c8, path=0x4150fa0 "/usr/lib64/vlc/plugins", mode=mode@entry=CACHE_USE) at modules/bank.c:403
#35 0x00007f5e43b53a87 in AllocateAllPlugins (p_this=0x41246c8) at modules/bank.c:330
#36 module_LoadPlugins (obj=0x41246c8) at modules/bank.c:186
#37 0x00007f5e43aeb49d in libvlc_InternalInit (p_libvlc=p_libvlc@entry=0x41246c8, i_argc=i_argc@entry=11, ppsz_argv=ppsz_argv@entry=0x7ffd6bcb0480) at libvlc.c:159
#38 0x00007f5e438bc623 in libvlc_new (argc=10, argv=<optimized out>) at core.c:59
#39 0x00007f5e43dedec9 in LibVLC::init () at /usr/src/debug/phonon-backend-vlc-0.8.0/src/utils/libvlc.cpp:117
#40 0x00007f5e43dd3728 in Phonon::VLC::Backend::Backend (this=0x4083180, parent=<optimized out>) at /usr/src/debug/phonon-backend-vlc-0.8.0/src/backend.cpp:89
#41 0x00007f5e43dd41eb in qt_plugin_instance () at /usr/src/debug/phonon-backend-vlc-0.8.0/src/backend.cpp:55
#42 0x00007f5e783c1641 in QPluginLoader::instance (this=this@entry=0x7ffd6bcb0a60) at plugin/qpluginloader.cpp:204
#43 0x00007f5e50438f8b in Phonon::KdePlatformPlugin::createBackend (this=this@entry=0x4058960, newService=...) at /usr/src/debug/kde-runtime-14.12.3/phonon/platform_kde/kdeplatformplugin.cpp:130
#44 0x00007f5e50439773 in Phonon::KdePlatformPlugin::createBackend (this=0x4058960) at /usr/src/debug/kde-runtime-14.12.3/phonon/platform_kde/kdeplatformplugin.cpp:183
#45 0x00007f5e7e4f0c76 in Phonon::FactoryPrivate::createBackend (this=0x4057cb0) at /usr/src/debug/phonon-4.8.1/phonon/factory.cpp:252
#46 0x00007f5e7e4f1317 in Phonon::Factory::backend (createWhenNull=24, createWhenNull@entry=true) at /usr/src/debug/phonon-4.8.1/phonon/factory.cpp:576
#47 0x00007f5e7e4f18e3 in Phonon::Factory::createAudioOutput (parent=0x40fc740) at /usr/src/debug/phonon-4.8.1/phonon/factory.cpp:470
#48 0x00007f5e7e4e99b9 in Phonon::AudioOutputPrivate::createBackendObject (this=0x407b540) at /usr/src/debug/phonon-4.8.1/phonon/audiooutput.cpp:130
#49 0x00007f5e7e4e7896 in Phonon::AudioOutputPrivate::init (this=0x407b540, c=Phonon::VideoCategory) at /usr/src/debug/phonon-4.8.1/phonon/audiooutput.cpp:97
#50 0x00007f5e7e5174b0 in Phonon::VideoPlayerPrivate::ensureCreated (this=0x4053d70) at /usr/src/debug/phonon-4.8.1/phonon/videoplayer.cpp:65
#51 0x00007f5e7e5176c3 in ensureCreated (this=<optimized out>) at /usr/src/debug/phonon-4.8.1/phonon/videoplayer.cpp:60
#52 Phonon::VideoPlayer::mediaObject (this=0x4053cb0) at /usr/src/debug/phonon-4.8.1/phonon/videoplayer.cpp:100
#53 0x0000000000686d10 in ?? ()
#54 0x0000000000679010 in ?? ()
#55 0x0000000000680853 in ?? ()
#56 0x000000000057e16a in ?? ()
#57 0x0000000000598b68 in ?? ()
#58 0x00000000004a0f2a in ?? ()
#59 0x00007f5e77738b05 in __libc_start_main (main=0x4a0000, argc=5, argv=0x7ffd6bcb18f8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffd6bcb18e8) at libc-start.c:285
#60 0x00000000004a3b4f in _start ()

Possible duplicates by query: bug 349839, bug 348469, bug 348087.

Reported using DrKonqi
Comment 1 Rafael Linux User 2015-09-05 10:25:53 UTC
Created attachment 94408 [details]
New crash information added by DrKonqi

digikam (4.6.0) on KDE Platform 4.14.9 using Qt 4.8.6

Using Nouveau drivers and plasma 5

-- Backtrace (Reduced):
#5  __strcmp_sse2_unaligned () at ../sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S:29
#6  0x00007ffb3aa3bfee in qMetaTypeStaticType (length=22, typeName=0x7bd2478 <error: Cannot access memory at address 0x7bd2478>) at kernel/qmetatype.cpp:806
#7  QMetaType::registerNormalizedType (normalizedTypeName=..., deleter=deleter@entry=0x7ffb3b1f2930 <QtMetaTypePrivate::QMetaTypeFunctionHelper<QPaintBufferCacheEntry, true>::Delete(void*)>, creator=creator@entry=0x7ffb3b1f2ab0 <QtMetaTypePrivate::QMetaTypeFunctionHelper<QPaintBufferCacheEntry, true>::Create(void const*)>, destructor=destructor@entry=0x7ffb3b1f2890 <QtMetaTypePrivate::QMetaTypeFunctionHelper<QPaintBufferCacheEntry, true>::Destruct(void*)>, constructor=constructor@entry=0x7ffb3b1f28a0 <QtMetaTypePrivate::QMetaTypeFunctionHelper<QPaintBufferCacheEntry, true>::Construct(void*, void const*)>, size=size@entry=16, flags=flags@entry=..., metaObject=metaObject@entry=0x0) at kernel/qmetatype.cpp:896
#8  0x00007ffb3af3bf57 in qRegisterNormalizedMetaType<QPaintBufferCacheEntry> (defined=QtPrivate::MetaTypeDefinedHelper<QPaintBufferCacheEntry, true>::Defined, dummy=0xffffffffffffffff, normalizedTypeName=...) at ../../src/corelib/kernel/qmetatype.h:1603
#9  qRegisterMetaType<QPaintBufferCacheEntry> (defined=QtPrivate::MetaTypeDefinedHelper<QPaintBufferCacheEntry, true>::Defined, dummy=0xffffffffffffffff, typeName=0x7ffb3b2ce9de "QPaintBufferCacheEntry") at ../../src/corelib/kernel/qmetatype.h:1628
Comment 2 Rafael Linux User 2015-09-17 20:35:50 UTC
Created attachment 94616 [details]
New crash information added by DrKonqi

digikam (4.6.0) on KDE Platform 4.14.9 using Qt 4.8.6

- Unusual behavior I noticed: Knotify crashed when deleting files.

-- Backtrace (Reduced):
#6  __strcmp_sse2_unaligned () at ../sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S:29
#7  0x00007fc9fb4b4fee in qMetaTypeStaticType (length=22, typeName=0x5bbdf58 <error: Cannot access memory at address 0x5bbdf58>) at kernel/qmetatype.cpp:806
#8  QMetaType::registerNormalizedType (normalizedTypeName=..., deleter=deleter@entry=0x7fc9fbc6b930 <QtMetaTypePrivate::QMetaTypeFunctionHelper<QPaintBufferCacheEntry, true>::Delete(void*)>, creator=creator@entry=0x7fc9fbc6bab0 <QtMetaTypePrivate::QMetaTypeFunctionHelper<QPaintBufferCacheEntry, true>::Create(void const*)>, destructor=destructor@entry=0x7fc9fbc6b890 <QtMetaTypePrivate::QMetaTypeFunctionHelper<QPaintBufferCacheEntry, true>::Destruct(void*)>, constructor=constructor@entry=0x7fc9fbc6b8a0 <QtMetaTypePrivate::QMetaTypeFunctionHelper<QPaintBufferCacheEntry, true>::Construct(void*, void const*)>, size=size@entry=16, flags=flags@entry=..., metaObject=metaObject@entry=0x0) at kernel/qmetatype.cpp:896
#9  0x00007fc9fb9b4f57 in qRegisterNormalizedMetaType<QPaintBufferCacheEntry> (defined=QtPrivate::MetaTypeDefinedHelper<QPaintBufferCacheEntry, true>::Defined, dummy=0xffffffffffffffff, normalizedTypeName=...) at ../../src/corelib/kernel/qmetatype.h:1603
#10 qRegisterMetaType<QPaintBufferCacheEntry> (defined=QtPrivate::MetaTypeDefinedHelper<QPaintBufferCacheEntry, true>::Defined, dummy=0xffffffffffffffff, typeName=0x7fc9fbd479de "QPaintBufferCacheEntry") at ../../src/corelib/kernel/qmetatype.h:1628
Comment 3 Rafael Linux User 2015-09-20 08:06:56 UTC
Created attachment 94653 [details]
New crash information added by DrKonqi

digikam (4.6.0) on KDE Platform 4.14.9 using Qt 4.8.6

My system updated Digikam and some libraries yesterday, but problem about crash is not solved, as you can see.

-- Backtrace (Reduced):
#6  __strcmp_sse2_unaligned () at ../sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S:29
#7  0x00007f8a949fbfee in qMetaTypeStaticType (length=22, typeName=0x81aceb8 <error: Cannot access memory at address 0x81aceb8>) at kernel/qmetatype.cpp:806
#8  QMetaType::registerNormalizedType (normalizedTypeName=..., deleter=deleter@entry=0x7f8a951b2930 <QtMetaTypePrivate::QMetaTypeFunctionHelper<QPaintBufferCacheEntry, true>::Delete(void*)>, creator=creator@entry=0x7f8a951b2ab0 <QtMetaTypePrivate::QMetaTypeFunctionHelper<QPaintBufferCacheEntry, true>::Create(void const*)>, destructor=destructor@entry=0x7f8a951b2890 <QtMetaTypePrivate::QMetaTypeFunctionHelper<QPaintBufferCacheEntry, true>::Destruct(void*)>, constructor=constructor@entry=0x7f8a951b28a0 <QtMetaTypePrivate::QMetaTypeFunctionHelper<QPaintBufferCacheEntry, true>::Construct(void*, void const*)>, size=size@entry=16, flags=flags@entry=..., metaObject=metaObject@entry=0x0) at kernel/qmetatype.cpp:896
#9  0x00007f8a94efbf57 in qRegisterNormalizedMetaType<QPaintBufferCacheEntry> (defined=QtPrivate::MetaTypeDefinedHelper<QPaintBufferCacheEntry, true>::Defined, dummy=0xffffffffffffffff, normalizedTypeName=...) at ../../src/corelib/kernel/qmetatype.h:1603
#10 qRegisterMetaType<QPaintBufferCacheEntry> (defined=QtPrivate::MetaTypeDefinedHelper<QPaintBufferCacheEntry, true>::Defined, dummy=0xffffffffffffffff, typeName=0x7f8a9528e9de "QPaintBufferCacheEntry") at ../../src/corelib/kernel/qmetatype.h:1628
Comment 4 Christoph Feck 2015-09-23 14:51:46 UTC

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