Bug 294432 - Digikam crashes on startup
Summary: Digikam crashes on startup
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Preview-Image (show other bugs)
Version: 2.5.0
Platform: unspecified Linux
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-02-19 14:09 UTC by Andreas Greif
Modified: 2016-12-24 10:08 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 Andreas Greif 2012-02-19 14:09:21 UTC
Application: digikam (2.5.0)
KDE Platform Version: 4.7.4 (4.7.4)
Qt Version: 4.8.0
Operating System: Linux 3.2.6-3.fc16.i686.PAE i686

-- Information about the crash:
The crash occured after the installation of VirtualBox-OSE from the f16-repository.
This behaviour can be reproduced - I installed f16 several times new, tested for a longer time, and each time after I installed VirtualBox-OSE, this happens.
Also Firefox reports suddenly errors, when starting, even when it's coming up, but without flash.

The crash can be reproduced every time.

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

Thread 4 (Thread 0xb5557b40 (LWP 1741)):
#0  0xb77da424 in __kernel_vsyscall ()
#1  0x4649185c in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S:172
#2  0x46ec6638 in wait (time=4294967295, this=0x91f3e90) at thread/qwaitcondition_unix.cpp:86
#3  QWaitCondition::wait (this=0x91f3dfc, mutex=0x91f3df8, time=4294967295) at thread/qwaitcondition_unix.cpp:158
#4  0x08204616 in Digikam::ScanController::run (this=0x91c96e8) at /usr/src/debug/digikam-2.5.0/core/digikam/database/scancontroller.cpp:647
#5  0x46ec60b1 in QThreadPrivate::start (arg=0x91c96e8) at thread/qthread_unix.cpp:298
#6  0x4648dcd3 in start_thread (arg=0xb5557b40) at pthread_create.c:309
#7  0x463c483e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:133

Thread 3 (Thread 0xb4bffb40 (LWP 1742)):
#0  0x464a8001 in __GI_clock_gettime (clock_id=1, tp=0xb4bfede8) at ../sysdeps/unix/clock_gettime.c:116
#1  0x46f24e06 in do_gettime (frac=0xb4bfede0, sec=0xb4bfedd8) at tools/qelapsedtimer_unix.cpp:123
#2  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#3  0x4700ebf7 in QTimerInfoList::updateCurrentTime (this=0xb42018bc) at kernel/qeventdispatcher_unix.cpp:343
#4  0x4700ef5b in QTimerInfoList::timerWait (this=0xb42018bc, tm=...) at kernel/qeventdispatcher_unix.cpp:450
#5  0x4700d7a3 in timerSourcePrepareHelper (src=<optimized out>, timeout=0xb4bfeeec) at kernel/qeventdispatcher_glib.cpp:136
#6  0x4700d83d in timerSourcePrepare (source=0xb4201888, timeout=<optimized out>) at kernel/qeventdispatcher_glib.cpp:169
#7  0x46578c4c in g_main_context_prepare (context=0xb42004e0, priority=0xb4bfef48) at gmain.c:2762
#8  0x46579a08 in g_main_context_iterate (context=0xb42004e0, block=1, dispatch=1, self=0xb4200d70) at gmain.c:3069
#9  0x4657a01f in g_main_context_iteration (context=0xb42004e0, may_block=1) at gmain.c:3152
#10 0x4700e317 in QEventDispatcherGlib::processEvents (this=0xb4200468, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#11 0x46fda4ee in QEventLoop::processEvents (this=0xb4bff080, flags=...) at kernel/qeventloop.cpp:149
#12 0x46fda799 in QEventLoop::exec (this=0xb4bff080, flags=...) at kernel/qeventloop.cpp:204
#13 0x46ec2b2c in QThread::exec (this=0x91c6870) at thread/qthread.cpp:501
#14 0x46fb735e in QInotifyFileSystemWatcherEngine::run (this=0x91c6870) at io/qfilesystemwatcher_inotify.cpp:248
#15 0x46ec60b1 in QThreadPrivate::start (arg=0x91c6870) at thread/qthread_unix.cpp:298
#16 0x4648dcd3 in start_thread (arg=0xb4bffb40) at pthread_create.c:309
#17 0x463c483e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:133

Thread 2 (Thread 0xb41ffb40 (LWP 1744)):
#0  0xb77da424 in __kernel_vsyscall ()
#1  0x4649185c in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S:172
#2  0x46ec6638 in wait (time=4294967295, this=0x938b7e8) at thread/qwaitcondition_unix.cpp:86
#3  QWaitCondition::wait (this=0x938b628, mutex=0x938b624, time=4294967295) at thread/qwaitcondition_unix.cpp:158
#4  0x4e325824 in Digikam::ParkingThread::run (this=0x938b618) at /usr/src/debug/digikam-2.5.0/core/libs/threads/threadmanager.cpp:119
#5  0x46ec60b1 in QThreadPrivate::start (arg=0x938b618) at thread/qthread_unix.cpp:298
#6  0x4648dcd3 in start_thread (arg=0xb41ffb40) at pthread_create.c:309
#7  0x463c483e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:133

Thread 1 (Thread 0xb7793900 (LWP 1740)):
[KCrash Handler]
#7  elf_machine_rela_relative (reloc_addr_arg=0x68002315, l_addr=1720504320, 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=0x9535d18, lazy=<optimized out>) at do-rel.h:121
#9  _dl_relocate_object (scope=0x9535ed0, reloc_mode=1, consider_profiling=0) at dl-reloc.c:265
#10 0x462bd3ab in dl_open_worker (a=0xbfe8a290) at dl-open.c:338
#11 0x462b8d0f in _dl_catch_error (objname=0xbfe8a2b4, errstring=0xbfe8a2b8, mallocedp=0xbfe8a2bf, operate=0x462bd100 <dl_open_worker>, args=0xbfe8a290) at dl-error.c:178
#12 0x462bcd06 in _dl_open (file=0x9533858 "/usr/lib/kde4/plugins/phonon_backend/phonon_gstreamer.so", mode=-2147483647, caller_dlopen=0x46fcc913, nsid=-2, argc=5, argv=0xbfe8b1d4, env=0x91af898) at dl-open.c:575
#13 0x46480c09 in dlopen_doit (a=0xbfe8a460) at dlopen.c:67
#14 0x462b8d0f in _dl_catch_error (objname=0x908909c, errstring=0x90890a0, mallocedp=0x9089098, operate=0x46480b70 <dlopen_doit>, args=0xbfe8a460) at dl-error.c:178
#15 0x464813ba in _dlerror_run (operate=0x46480b70 <dlopen_doit>, args=0xbfe8a460) at dlerror.c:164
#16 0x46480cb7 in __dlopen (file=0x9533858 "/usr/lib/kde4/plugins/phonon_backend/phonon_gstreamer.so", mode=1) at dlopen.c:88
#17 0x46fcc913 in QLibraryPrivate::load_sys (this=0x9533568) at plugin/qlibrary_unix.cpp:209
#18 0x46fc8d84 in load (this=0x9533568) at plugin/qlibrary.cpp:466
#19 QLibraryPrivate::load (this=0x9533568) at plugin/qlibrary.cpp:458
#20 0x46fc914e in QLibraryPrivate::loadPlugin (this=0x9533568) at plugin/qlibrary.cpp:516
#21 0x46fbd8e3 in QPluginLoader::load (this=0xbfe8a6f0) at plugin/qpluginloader.cpp:227
#22 0x46fbd91b in QPluginLoader::instance (this=0xbfe8a6f0) at plugin/qpluginloader.cpp:201
#23 0xb4d2ff8c in Phonon::KdePlatformPlugin::createBackend (this=0x94f2140, newService=...) at /usr/src/debug/kde-runtime-4.7.4/phonon/platform_kde/kdeplatformplugin.cpp:149
#24 0xb4d30b18 in Phonon::KdePlatformPlugin::createBackend (this=0x94f2140) at /usr/src/debug/kde-runtime-4.7.4/phonon/platform_kde/kdeplatformplugin.cpp:202
#25 0x49aa9398 in Phonon::FactoryPrivate::createBackend (this=0x94f1668) at /usr/src/debug/phonon-4.6.0/phonon/factory.cpp:130
#26 0x49aaae6b in Phonon::Factory::backend (createWhenNull=true) at /usr/src/debug/phonon-4.6.0/phonon/factory.cpp:460
#27 0x49aab6c7 in Phonon::Factory::createAudioOutput (parent=0x94f22d0) at /usr/src/debug/phonon-4.6.0/phonon/factory.cpp:356
#28 0x49a9f379 in createBackendObject (this=0x94fcf08) at /usr/src/debug/phonon-4.6.0/phonon/audiooutput.cpp:138
#29 Phonon::AudioOutputPrivate::createBackendObject (this=0x94fcf08) at /usr/src/debug/phonon-4.6.0/phonon/audiooutput.cpp:133
#30 0x49a9b104 in Phonon::AudioOutputPrivate::init (this=0x94fcf08, c=Phonon::VideoCategory) at /usr/src/debug/phonon-4.6.0/phonon/audiooutput.cpp:111
#31 0x49ad96d2 in ensureCreated (this=0x94f1460) at /usr/src/debug/phonon-4.6.0/phonon/videoplayer.cpp:67
#32 Phonon::VideoPlayerPrivate::ensureCreated (this=0x94f1460) at /usr/src/debug/phonon-4.6.0/phonon/videoplayer.cpp:60
#33 0x49ad99c4 in Phonon::VideoPlayer::mediaObject (this=0x9496120) at /usr/src/debug/phonon-4.6.0/phonon/videoplayer.cpp:102
#34 0x082951ef in Digikam::MediaPlayerView::MediaPlayerView (this=0x9497270, parent=0x93815e0) at /usr/src/debug/digikam-2.5.0/core/digikam/views/mediaplayerview.cpp:169
#35 0x08287dce in Digikam::StackedView::StackedView (this=0x93815e0, parent=0x929d2e0) at /usr/src/debug/digikam-2.5.0/core/digikam/views/stackedview.cpp:111
#36 0x0828f068 in Digikam::DigikamView::DigikamView (this=0x92f3620, parent=0x91eae30, modelCollection=0x91e9bf0) at /usr/src/debug/digikam-2.5.0/core/digikam/views/digikamview.cpp:200
#37 0x081a48f0 in Digikam::DigikamApp::setupView (this=0x91eae30) at /usr/src/debug/digikam-2.5.0/core/digikam/main/digikamapp.cpp:534
#38 0x081c39e5 in Digikam::DigikamApp::DigikamApp (this=0x91eae30, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at /usr/src/debug/digikam-2.5.0/core/digikam/main/digikamapp.cpp:250
#39 0x080b6832 in main (argc=5, argv=0xbfe8b1d4) at /usr/src/debug/digikam-2.5.0/core/digikam/main/main.cpp:188

Possible duplicates by query: bug 290945, bug 289688, bug 289036, bug 288658, bug 288063.

Reported using DrKonqi
Comment 1 Myriam Schweingruber 2012-02-20 13:22:09 UTC
The problem is the NVIDIA-driver you use, not much we can do about that.

*** This bug has been marked as a duplicate of bug 286388 ***
Comment 2 caulier.gilles 2016-12-24 10: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