Bug 288658 - DigiKam Crash on startup.
Summary: DigiKam Crash on startup.
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Preview-Image (show other bugs)
Version: unspecified
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-10 14:18 UTC by Robert Keele
Modified: 2017-01-06 18:19 UTC (History)
4 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 Robert Keele 2011-12-10 14:18:11 UTC
Application: digikam (2.3.0)
KDE Platform Version: 4.7.3 (4.7.3)
Qt Version: 4.8.0
Operating System: Linux 3.1.4-1.fc16.i686.PAE i686
Distribution: "Fedora release 16 (Verne)"

-- Information about the crash:
- What I was doing when the application crashed: Started DigiKam			
Had a similar issue in F15, and it was previously working with Fedora 16, but just started this behaviour.  Changes from working to non are that I installed the NVidia proprietary driver, moving from nouveau, and there have been some other system updates via yum.

Crashing occurs every time now.

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

Thread 4 (Thread 0xb6ac7b40 (LWP 5574)):
#0  0x00d1c424 in __kernel_vsyscall ()
#1  0x42fc984c in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S:172
#2  0x43d05b48 in wait (time=4294967295, this=0x8e01270) at thread/qwaitcondition_unix.cpp:86
#3  QWaitCondition::wait (this=0x8e011dc, mutex=0x8e011d8, time=4294967295) at thread/qwaitcondition_unix.cpp:158
#4  0x08201b86 in Digikam::ScanController::run (this=0x8dcb9f0) at /usr/src/debug/digikam-2.3.0/core/digikam/database/scancontroller.cpp:647
#5  0x43d055c1 in QThreadPrivate::start (arg=0x8dcb9f0) at thread/qthread_unix.cpp:298
#6  0x42fc5cd3 in start_thread (arg=0xb6ac7b40) at pthread_create.c:309
#7  0x42efc51e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:133

Thread 3 (Thread 0xb60ffb40 (LWP 5575)):
#0  0x4302c001 in __GI_clock_gettime (clock_id=1, tp=0xb60fede8) at ../sysdeps/unix/clock_gettime.c:116
#1  0x43d64056 in do_gettime (frac=0xb60fede0, sec=0xb60fedd8) at tools/qelapsedtimer_unix.cpp:123
#2  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#3  0x43e4caa7 in QTimerInfoList::updateCurrentTime (this=0xb57018bc) at kernel/qeventdispatcher_unix.cpp:343
#4  0x43e4ce0b in QTimerInfoList::timerWait (this=0xb57018bc, tm=...) at kernel/qeventdispatcher_unix.cpp:450
#5  0x43e4b653 in timerSourcePrepareHelper (src=<optimized out>, timeout=0xb60feeec) at kernel/qeventdispatcher_glib.cpp:136
#6  0x43e4b6ed in timerSourcePrepare (source=0xb5701888, timeout=<optimized out>) at kernel/qeventdispatcher_glib.cpp:169
#7  0x430b0bdc in g_main_context_prepare (context=0xb57004e0, priority=0xb60fef48) at gmain.c:2746
#8  0x430b1998 in g_main_context_iterate (context=0xb57004e0, block=1, dispatch=1, self=0xb5700d70) at gmain.c:3053
#9  0x430b1faf in g_main_context_iteration (context=0xb57004e0, may_block=1) at gmain.c:3136
#10 0x43e4c1c7 in QEventDispatcherGlib::processEvents (this=0xb5700468, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#11 0x43e183ae in QEventLoop::processEvents (this=0xb60ff080, flags=...) at kernel/qeventloop.cpp:149
#12 0x43e18659 in QEventLoop::exec (this=0xb60ff080, flags=...) at kernel/qeventloop.cpp:204
#13 0x43d0203c in QThread::exec (this=0x8e01370) at thread/qthread.cpp:501
#14 0x43df533e in QInotifyFileSystemWatcherEngine::run (this=0x8e01370) at io/qfilesystemwatcher_inotify.cpp:248
#15 0x43d055c1 in QThreadPrivate::start (arg=0x8e01370) at thread/qthread_unix.cpp:298
#16 0x42fc5cd3 in start_thread (arg=0xb60ffb40) at pthread_create.c:309
#17 0x42efc51e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:133

Thread 2 (Thread 0xb56ffb40 (LWP 5578)):
#0  0x00d1c424 in __kernel_vsyscall ()
#1  0x42fc984c in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S:172
#2  0x43d05b48 in wait (time=4294967295, this=0x8f7ec18) at thread/qwaitcondition_unix.cpp:86
#3  QWaitCondition::wait (this=0x8f7ea58, mutex=0x8f7ea54, time=4294967295) at thread/qwaitcondition_unix.cpp:158
#4  0x4b4640d4 in Digikam::ParkingThread::run (this=0x8f7ea48) at /usr/src/debug/digikam-2.3.0/core/libs/threads/threadmanager.cpp:119
#5  0x43d055c1 in QThreadPrivate::start (arg=0x8f7ea48) at thread/qthread_unix.cpp:298
#6  0x42fc5cd3 in start_thread (arg=0xb56ffb40) at pthread_create.c:309
#7  0x42efc51e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:133

Thread 1 (Thread 0xb76ed900 (LWP 5573)):
[KCrash Handler]
#7  elf_machine_rela_relative (reloc_addr_arg=0xbc932315, l_addr=3139424256, reloc=<optimized out>) at ../sysdeps/i386/dl-machine.h:644
#8  elf_dynamic_do_Rela (skip_ifunc=0, nrelative=558093, relsize=6782952, reladdr=<optimized out>, map=0x9132ad0, lazy=<optimized out>) at do-rel.h:121
#9  _dl_relocate_object (scope=0x9132c88, reloc_mode=1, consider_profiling=0) at dl-reloc.c:265
#10 0x42df93ab in dl_open_worker (a=0xbfbb8790) at dl-open.c:338
#11 0x42df4d0f in _dl_catch_error (objname=0xbfbb87b4, errstring=0xbfbb87b8, mallocedp=0xbfbb87bf, operate=0x42df9100 <dl_open_worker>, args=0xbfbb8790) at dl-error.c:178
#12 0x42df8d06 in _dl_open (file=0x91306d8 "/usr/lib/kde4/plugins/phonon_backend/phonon_gstreamer.so", mode=-2147483647, caller_dlopen=0x43e0a7d3, nsid=-2, argc=1, argv=0xbfbb96d4, env=0x8dbf8d8) at dl-open.c:575
#13 0x42fb8c09 in dlopen_doit (a=0xbfbb8960) at dlopen.c:67
#14 0x42df4d0f in _dl_catch_error (objname=0x8ca3db4, errstring=0x8ca3db8, mallocedp=0x8ca3db0, operate=0x42fb8b70 <dlopen_doit>, args=0xbfbb8960) at dl-error.c:178
#15 0x42fb93ba in _dlerror_run (operate=0x42fb8b70 <dlopen_doit>, args=0xbfbb8960) at dlerror.c:164
#16 0x42fb8cb7 in __dlopen (file=0x91306d8 "/usr/lib/kde4/plugins/phonon_backend/phonon_gstreamer.so", mode=1) at dlopen.c:88
#17 0x43e0a7d3 in QLibraryPrivate::load_sys (this=0x9131cc8) at plugin/qlibrary_unix.cpp:209
#18 0x43e06c44 in load (this=0x9131cc8) at plugin/qlibrary.cpp:466
#19 QLibraryPrivate::load (this=0x9131cc8) at plugin/qlibrary.cpp:458
#20 0x43e0700e in QLibraryPrivate::loadPlugin (this=0x9131cc8) at plugin/qlibrary.cpp:516
#21 0x43dfb8c3 in QPluginLoader::load (this=0xbfbb8bf0) at plugin/qpluginloader.cpp:227
#22 0x43dfbad8 in QPluginLoader::instance (this=0xbfbb8bf0) at plugin/qpluginloader.cpp:201
#23 0x004c5f8c in Phonon::KdePlatformPlugin::createBackend (this=0x90b4ed0, newService=...) at /usr/src/debug/kde-runtime-4.7.3/phonon/platform_kde/kdeplatformplugin.cpp:149
#24 0x004c6b18 in Phonon::KdePlatformPlugin::createBackend (this=0x90b4ed0) at /usr/src/debug/kde-runtime-4.7.3/phonon/platform_kde/kdeplatformplugin.cpp:202
#25 0x422b7398 in Phonon::FactoryPrivate::createBackend (this=0x90b4180) at /usr/src/debug/phonon-4.5.57/phonon/factory.cpp:130
#26 0x422b8e6b in Phonon::Factory::backend (createWhenNull=true) at /usr/src/debug/phonon-4.5.57/phonon/factory.cpp:460
#27 0x422b96c7 in Phonon::Factory::createAudioOutput (parent=0x90b4a70) at /usr/src/debug/phonon-4.5.57/phonon/factory.cpp:356
#28 0x422ad379 in createBackendObject (this=0x90b4a88) at /usr/src/debug/phonon-4.5.57/phonon/audiooutput.cpp:138
#29 Phonon::AudioOutputPrivate::createBackendObject (this=0x90b4a88) at /usr/src/debug/phonon-4.5.57/phonon/audiooutput.cpp:133
#30 0x422a9104 in Phonon::AudioOutputPrivate::init (this=0x90b4a88, c=Phonon::VideoCategory) at /usr/src/debug/phonon-4.5.57/phonon/audiooutput.cpp:111
#31 0x422e76d2 in ensureCreated (this=0x90b3f78) at /usr/src/debug/phonon-4.5.57/phonon/videoplayer.cpp:67
#32 Phonon::VideoPlayerPrivate::ensureCreated (this=0x90b3f78) at /usr/src/debug/phonon-4.5.57/phonon/videoplayer.cpp:60
#33 0x422e79c4 in Phonon::VideoPlayer::mediaObject (this=0x90b3de8) at /usr/src/debug/phonon-4.5.57/phonon/videoplayer.cpp:102
#34 0x0829224f in Digikam::MediaPlayerView::MediaPlayerView (this=0x90afac0, parent=0x8f74ba8) at /usr/src/debug/digikam-2.3.0/core/digikam/views/mediaplayerview.cpp:169
#35 0x0828501e in Digikam::StackedView::StackedView (this=0x8f74ba8, parent=0x8f76880) at /usr/src/debug/digikam-2.3.0/core/digikam/views/stackedview.cpp:111
#36 0x0828c218 in Digikam::DigikamView::DigikamView (this=0x8ea9d60, parent=0x8e548d8, modelCollection=0x8e90a40) at /usr/src/debug/digikam-2.3.0/core/digikam/views/digikamview.cpp:200
#37 0x081a2ed0 in Digikam::DigikamApp::setupView (this=0x8e548d8) at /usr/src/debug/digikam-2.3.0/core/digikam/main/digikamapp.cpp:534
#38 0x081c1c1a in Digikam::DigikamApp::DigikamApp (this=0x8e548d8, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at /usr/src/debug/digikam-2.3.0/core/digikam/main/digikamapp.cpp:250
#39 0x080b6562 in main (argc=1, argv=0xbfbb96d4) at /usr/src/debug/digikam-2.3.0/core/digikam/main/main.cpp:188

Possible duplicates by query: bug 288063, bug 286388, bug 286155.

Reported using DrKonqi
Comment 1 Myriam Schweingruber 2011-12-12 10:38:03 UTC
The problem is actually related to the NVIDIA driver, please see https://bugs.kde.org/show_bug.cgi?id=286388#c35

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