Bug 323194 - Crash of digikam by starting as user
Summary: Crash of digikam by starting as user
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:
Depends on:
Blocks:
 
Reported: 2013-08-05 14:23 UTC by Thomas E. Schreiner
Modified: 2017-01-06 22:24 UTC (History)
7 users (show)

See Also:
Latest Commit:
Version Fixed In: 5.4.0


Attachments
New crash information added by DrKonqi (7.79 KB, text/plain)
2013-08-05 14:35 UTC, Thomas E. Schreiner
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas E. Schreiner 2013-08-05 14:23:58 UTC
Application: digikam (3.2.0)
KDE Platform Version: 4.10.90
Qt Version: 4.8.5
Operating System: Linux 3.10.0-2.gc5ad3f9-desktop x86_64
Distribution: "openSUSE 13.1 Milestone 3 (x86_64)"

-- Information about the crash:
I tried it on two different notebooks with OpenSuSE 13.1 M3 new installation, but old /home for the User.
After starting digikam the Digikam appears fpr a second and then it crashes.
I can repeat this as often as I want to.

Greetings
Thomas

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 0x7fe2299e2800 (LWP 3135))]

Thread 4 (Thread 0x7fe208e05700 (LWP 3136)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fe224b51b66 in wait (time=18446744073709551615, this=0x24ece90) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x24ecd78, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00000000005dad2c in Digikam::ScanController::run (this=0x24ecae0) at /usr/src/debug/digikam-3.2.0/core/digikam/database/scancontroller.cpp:713
#4  0x00007fe224b5168f in QThreadPrivate::start (arg=0x24ecae0) at thread/qthread_unix.cpp:338
#5  0x00007fe220ff8e0b in start_thread (arg=0x7fe208e05700) at pthread_create.c:308
#6  0x00007fe2230ad06d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 3 (Thread 0x7fe208604700 (LWP 3137)):
#0  0x00007fe2230a411d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007fe21aaae304 in g_main_context_poll (priority=2147483647, n_fds=1, fds=0x245f9f0, timeout=-1, context=0x25081d0) at gmain.c:3999
#2  g_main_context_iterate (context=context@entry=0x25081d0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3700
#3  0x00007fe21aaae40c in g_main_context_iteration (context=0x25081d0, may_block=1) at gmain.c:3766
#4  0x00007fe224c7e3c6 in QEventDispatcherGlib::processEvents (this=0x259d6d0, flags=...) at kernel/qeventdispatcher_glib.cpp:427
#5  0x00007fe224c5033f in QEventLoop::processEvents (this=this@entry=0x7fe208603da0, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007fe224c50635 in QEventLoop::exec (this=0x7fe208603da0, flags=...) at kernel/qeventloop.cpp:204
#7  0x00007fe224b4efef in QThread::exec (this=<optimized out>) at thread/qthread.cpp:536
#8  0x00007fe224c31b43 in QInotifyFileSystemWatcherEngine::run (this=0x2506730) at io/qfilesystemwatcher_inotify.cpp:256
#9  0x00007fe224b5168f in QThreadPrivate::start (arg=0x2506730) at thread/qthread_unix.cpp:338
#10 0x00007fe220ff8e0b in start_thread (arg=0x7fe208604700) at pthread_create.c:308
#11 0x00007fe2230ad06d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 2 (Thread 0x7fe207e03700 (LWP 3139)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fe224b51b66 in wait (time=18446744073709551615, this=0x24fc5f0) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x2450898, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007fe226f6416a in Digikam::ParkingThread::run (this=0x2450880) at /usr/src/debug/digikam-3.2.0/core/libs/threads/threadmanager.cpp:119
#4  0x00007fe224b5168f in QThreadPrivate::start (arg=0x2450880) at thread/qthread_unix.cpp:338
#5  0x00007fe220ff8e0b in start_thread (arg=0x7fe207e03700) at pthread_create.c:308
#6  0x00007fe2230ad06d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 1 (Thread 0x7fe2299e2800 (LWP 3135)):
[KCrash Handler]
#6  0x00007fe20f15b94f in gst_audio_clock_new () from /usr/lib64/libgstaudio-1.0.so.0
#7  0x00007fe200118c93 in ?? () from /usr/lib64/gstreamer-0.10/libgstpulse.so
#8  0x00007fe21a160c8b in g_type_create_instance () from /usr/lib64/libgobject-2.0.so.0
#9  0x00007fe21a1445a5 in ?? () from /usr/lib64/libgobject-2.0.so.0
#10 0x00007fe21a146754 in g_object_new_valist () from /usr/lib64/libgobject-2.0.so.0
#11 0x00007fe21a146b34 in g_object_new () from /usr/lib64/libgobject-2.0.so.0
#12 0x00007fe217558ea5 in gst_element_factory_create (factory=0x29e65a0, name=0x2a5c560 "autoaudiosink0-actual-sink-pulse") at gstelementfactory.c:385
#13 0x00007fe1ffab7504 in ?? () from /usr/lib64/gstreamer-0.10/libgstautodetect.so
#14 0x00007fe217557e42 in gst_element_change_state (element=element@entry=0x2a5d020, transition=transition@entry=GST_STATE_CHANGE_NULL_TO_READY) at gstelement.c:2761
#15 0x00007fe2175584b3 in gst_element_set_state_func (element=0x2a5d020, state=GST_STATE_READY) at gstelement.c:2717
#16 0x00007fe204fde328 in Phonon::Gstreamer::DeviceManager::canOpenDevice (this=<optimized out>, element=0x2a5d020) at /usr/src/debug/phonon-backend-gstreamer-4.6.3/gstreamer/devicemanager.cpp:176
#17 0x00007fe204fde51d in Phonon::Gstreamer::DeviceManager::createAudioSink (this=this@entry=0x23f9a10, category=category@entry=Phonon::NoCategory) at /usr/src/debug/phonon-backend-gstreamer-4.6.3/gstreamer/devicemanager.cpp:233
#18 0x00007fe204fde6ca in Phonon::Gstreamer::DeviceManager::createAudioSink (this=this@entry=0x23f9a10, category=category@entry=Phonon::NoCategory) at /usr/src/debug/phonon-backend-gstreamer-4.6.3/gstreamer/devicemanager.cpp:267
#19 0x00007fe204fdefc1 in Phonon::Gstreamer::DeviceManager::updateDeviceList (this=this@entry=0x23f9a10) at /usr/src/debug/phonon-backend-gstreamer-4.6.3/gstreamer/devicemanager.cpp:417
#20 0x00007fe204fdfc65 in Phonon::Gstreamer::DeviceManager::DeviceManager (this=0x23f9a10, backend=<optimized out>) at /usr/src/debug/phonon-backend-gstreamer-4.6.3/gstreamer/devicemanager.cpp:133
#21 0x00007fe204fdaffc in Phonon::Gstreamer::Backend::Backend (this=0x2905fe0, parent=<optimized out>) at /usr/src/debug/phonon-backend-gstreamer-4.6.3/gstreamer/backend.cpp:116
#22 0x00007fe204fdb2eb in qt_plugin_instance () at /usr/src/debug/phonon-backend-gstreamer-4.6.3/gstreamer/backend.cpp:44
#23 0x00007fe224c35a0d in QPluginLoader::instance (this=0x7fff00687000) at plugin/qpluginloader.cpp:204
#24 0x00007fe2054f6fab in ?? () from /usr/lib64/kde4/plugins/phonon_platform/kde.so
#25 0x00007fe2054f7793 in ?? () from /usr/lib64/kde4/plugins/phonon_platform/kde.so
#26 0x00007fe229154476 in ?? () from /usr/lib64/libphonon.so.4
#27 0x00007fe229154c87 in Phonon::Factory::backend(bool) () from /usr/lib64/libphonon.so.4
#28 0x00007fe229155123 in ?? () from /usr/lib64/libphonon.so.4
#29 0x00007fe22914d619 in ?? () from /usr/lib64/libphonon.so.4
#30 0x00007fe22914b696 in ?? () from /usr/lib64/libphonon.so.4
#31 0x00007fe229177130 in ?? () from /usr/lib64/libphonon.so.4
#32 0x00007fe229177343 in Phonon::VideoPlayer::mediaObject() const () from /usr/lib64/libphonon.so.4
#33 0x0000000000668f30 in Digikam::MediaPlayerView::MediaPlayerView (this=0x28d8080, parent=<optimized out>) at /usr/src/debug/digikam-3.2.0/core/digikam/views/mediaplayerview.cpp:169
#34 0x000000000065c570 in Digikam::StackedView::StackedView (this=0x25f1020, parent=<optimized out>) at /usr/src/debug/digikam-3.2.0/core/digikam/views/stackedview.cpp:115
#35 0x0000000000662daa in Digikam::DigikamView::DigikamView (this=0x268f4b0, parent=0x261cef0, modelCollection=0x24538c0) at /usr/src/debug/digikam-3.2.0/core/digikam/views/digikamview.cpp:254
#36 0x000000000058569a in Digikam::DigikamApp::setupView (this=this@entry=0x261cef0) at /usr/src/debug/digikam-3.2.0/core/digikam/main/digikamapp.cpp:528
#37 0x000000000059edf0 in Digikam::DigikamApp::DigikamApp (this=0x261cef0, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at /usr/src/debug/digikam-3.2.0/core/digikam/main/digikamapp.cpp:262
#38 0x000000000049a3aa in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/digikam-3.2.0/core/digikam/main/main.cpp:189

Possible duplicates by query: bug 321904.

Reported using DrKonqi
Comment 1 caulier.gilles 2013-08-05 14:34:08 UTC
Another crash in GStreamer...

Gilles Caulier
Comment 2 Thomas E. Schreiner 2013-08-05 14:35:16 UTC
Created attachment 81563 [details]
New crash information added by DrKonqi

digikam (3.2.0) on KDE Platform 4.10.90 using Qt 4.8.5

Now I tried as User root.
After first start I got through digikam setup without errors. Than digikam tries to start and crashes a second after showing the logo.

-- Backtrace (Reduced):
#6  0x00007f429068894f in gst_audio_clock_new () from /usr/lib64/libgstaudio-1.0.so.0
[...]
#8  0x00007f429b68dc8b in g_type_create_instance () from /usr/lib64/libgobject-2.0.so.0
[...]
#10 0x00007f429b673754 in g_object_new_valist () from /usr/lib64/libgobject-2.0.so.0
#11 0x00007f429b673b34 in g_object_new () from /usr/lib64/libgobject-2.0.so.0
#12 0x00007f4298a85ea5 in gst_element_factory_create (factory=0x1a585a0, name=0x1acaeb0 "autoaudiosink0-actual-sink-pulse") at gstelementfactory.c:385
Comment 3 Jekyll Wu 2013-08-05 15:17:19 UTC
See https://bugs.kde.org/show_bug.cgi?id=321904#c1

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