Bug 274893 - digikam crashes on start
Summary: digikam crashes on start
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Preview-Image (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-04 11:04 UTC by Dimitar Petrovski
Modified: 2017-01-06 18:17 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 Dimitar Petrovski 2011-06-04 11:04:40 UTC
Application: digikam (2.0.0-beta6)
KDE Platform Version: 4.6.2 (4.6.2)
Qt Version: 4.7.2
Operating System: Linux 2.6.38-8-generic i686
Distribution: Ubuntu 11.04

-- Information about the crash:
- What I was doing when the application crashed:

just starting the applciation causes it to crash every time
i start the applicaton from gnome

The crash can be reproduced every time.

-- Backtrace:
Application: digiKam (digikam), signal: Segmentation fault
[Current thread is 1 (Thread 0xb4d598d0 (LWP 4767))]

Thread 7 (Thread 0xb4b2bb70 (LWP 4770)):
#0  0x00d6d416 in __kernel_vsyscall ()
#1  0x0579ef76 in poll () from /lib/i386-linux-gnu/libc.so.6
#2  0x0239f84b in g_poll () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0x0238f1af in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0x0238f92b in g_main_loop_run () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0x0529c304 in ?? () from /usr/lib/i386-linux-gnu/libgio-2.0.so.0
#6  0x023b82df in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#7  0x00b5fe99 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#8  0x057ad73e in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 6 (Thread 0xb432ab70 (LWP 4771)):
#0  0x00d6d416 in __kernel_vsyscall ()
#1  0x00b64834 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/i386-linux-gnu/libpthread.so.0
#2  0x057bb454 in pthread_cond_timedwait () from /lib/i386-linux-gnu/libc.so.6
#3  0x00b7af0e in ?? () from /usr/lib/i386-linux-gnu/libgthread-2.0.so.0
#4  0x0236242c in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0x02362f6d in g_async_queue_timed_pop () from /lib/i386-linux-gnu/libglib-2.0.so.0
#6  0x023ba980 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#7  0x023b82df in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#8  0x00b5fe99 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#9  0x057ad73e in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 5 (Thread 0xb1bb7b70 (LWP 4772)):
#0  0x00d6d416 in __kernel_vsyscall ()
#1  0x00b6448c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i386-linux-gnu/libpthread.so.0
#2  0x057bb3fd in pthread_cond_wait () from /lib/i386-linux-gnu/libc.so.6
#3  0x06d6a467 in wait (this=0x9fbd244, mutex=0x9fbd240, time=4294967295) at thread/qwaitcondition_unix.cpp:88
#4  QWaitCondition::wait (this=0x9fbd244, mutex=0x9fbd240, time=4294967295) at thread/qwaitcondition_unix.cpp:160
#5  0x081e40a9 in Digikam::ScanController::run (this=0x9fbd010) at /build/buildd/digikam2-2.0.0~beta6/core/digikam/database/scancontroller.cpp:618
#6  0x06d69da2 in QThreadPrivate::start (arg=0x9fbd010) at thread/qthread_unix.cpp:320
#7  0x00b5fe99 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#8  0x057ad73e in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 4 (Thread 0xb13b6b70 (LWP 4773)):
#0  0x00b653c0 in pthread_getspecific () from /lib/i386-linux-gnu/libpthread.so.0
#1  0x00b7ad75 in ?? () from /usr/lib/i386-linux-gnu/libgthread-2.0.so.0
#2  0x023b9482 in g_thread_self () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0x0238d572 in g_main_context_acquire () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0x0238edde in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0x0238f524 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#6  0x06e8b577 in QEventDispatcherGlib::processEvents (this=0x9fc1e78, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#7  0x06e5d289 in QEventLoop::processEvents (this=0xb13b60d0, flags=...) at kernel/qeventloop.cpp:149
#8  0x06e5d522 in QEventLoop::exec (this=0xb13b60d0, flags=...) at kernel/qeventloop.cpp:201
#9  0x06d672a0 in QThread::exec (this=0x9fc2e90) at thread/qthread.cpp:492
#10 0x06e3efdb in QInotifyFileSystemWatcherEngine::run (this=0x9fc2e90) at io/qfilesystemwatcher_inotify.cpp:248
#11 0x06d69da2 in QThreadPrivate::start (arg=0x9fc2e90) at thread/qthread_unix.cpp:320
#12 0x00b5fe99 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#13 0x057ad73e in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 3 (Thread 0xb0bb5b70 (LWP 4775)):
#0  0x00d6d416 in __kernel_vsyscall ()
#1  0x00b6448c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i386-linux-gnu/libpthread.so.0
#2  0x057bb3fd in pthread_cond_wait () from /lib/i386-linux-gnu/libc.so.6
#3  0x06d6a467 in wait (this=0xa067120, mutex=0xa06711c, time=4294967295) at thread/qwaitcondition_unix.cpp:88
#4  QWaitCondition::wait (this=0xa067120, mutex=0xa06711c, time=4294967295) at thread/qwaitcondition_unix.cpp:160
#5  0x018e9ada in Digikam::ParkingThread::run (this=0xa067110) at /build/buildd/digikam2-2.0.0~beta6/core/libs/threads/threadmanager.cpp:119
#6  0x06d69da2 in QThreadPrivate::start (arg=0xa067110) at thread/qthread_unix.cpp:320
#7  0x00b5fe99 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#8  0x057ad73e in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 2 (Thread 0xa9b85b70 (LWP 4786)):
#0  0x00d6d416 in __kernel_vsyscall ()
#1  0x00b64834 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/i386-linux-gnu/libpthread.so.0
#2  0x057bb454 in pthread_cond_timedwait () from /lib/i386-linux-gnu/libc.so.6
#3  0x043fc963 in ?? () from /usr/lib/libxine.so.1
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 1 (Thread 0xb4d598d0 (LWP 4767)):
[KCrash Handler]
#7  0x0a229d68 in ?? ()
#8  0x056536a5 in _load_video_driver (this=0xa1611f0, id=0x0, visual_type=11, visual=0xb3a364d0) at load_plugins.c:1727
#9  _x_load_video_output_plugin (this=0xa1611f0, id=0x0, visual_type=11, visual=0xb3a364d0) at load_plugins.c:1772
#10 0x056536f7 in xine_open_video_driver (this=0xa1611f0, id=0x4384c78 "auto", visual_type=11, visual=0xb3a364d0) at load_plugins.c:1794
#11 0x04381c09 in Phonon::Xine::VideoWidgetXT::createVideoPort (this=0xb3a364c0) at ../../xine/videowidget.cpp:185
#12 0x0438234a in Phonon::Xine::VideoWidget::VideoWidget (this=0xb3a56708, parent=0xa15a198) at ../../xine/videowidget.cpp:221
#13 0x04365509 in Phonon::Xine::Backend::createObject (this=0xa15b7a8, c=Phonon::BackendInterface::VideoWidgetClass, parent=0xa15a198, args=...) at ../../xine/backend.cpp:177
#14 0x007df711 in Phonon::Factory::createVideoWidget (parent=0xa15a198) at ../../phonon/factory.cpp:358
#15 0x0080c545 in Phonon::VideoWidgetPrivate::createBackendObject (this=0xa15e488) at ../../phonon/videowidget.cpp:78
#16 0x0080b2c1 in Phonon::VideoWidget::VideoWidget (this=0xa15a198, parent=0xa14dd98) at ../../phonon/videowidget.cpp:48
#17 0x0080a731 in Phonon::VideoPlayerPrivate::ensureCreated (this=0xb3a4ff10) at ../../phonon/videoplayer.cpp:68
#18 0x0080a9e5 in Phonon::VideoPlayer::mediaObject (this=0xa14dd98) at ../../phonon/videoplayer.cpp:102
#19 0x0826c43b in Digikam::MediaPlayerView::MediaPlayerView (this=0xa14faf8, parent=0xb3a21478) at /build/buildd/digikam2-2.0.0~beta6/core/digikam/views/mediaplayerview.cpp:169
#20 0x0825f21f in Digikam::StackedView::StackedView (this=0xb3a21478, parent=0xb3a2d130) at /build/buildd/digikam2-2.0.0~beta6/core/digikam/views/stackedview.cpp:113
#21 0x08265df7 in Digikam::DigikamView::DigikamView (this=0x9fd3628, parent=0xb3a1bcf0, modelCollection=0xa051298) at /build/buildd/digikam2-2.0.0~beta6/core/digikam/views/digikamview.cpp:191
#22 0x0818a6ad in Digikam::DigikamApp::setupView (this=0xb3a1bcf0) at /build/buildd/digikam2-2.0.0~beta6/core/digikam/main/digikamapp.cpp:516
#23 0x081a7051 in Digikam::DigikamApp::DigikamApp (this=0xb3a1bcf0, __in_chrg=<value optimized out>, __vtt_parm=<value optimized out>) at /build/buildd/digikam2-2.0.0~beta6/core/digikam/main/digikamapp.cpp:244
#24 0x082bb029 in main (argc=169213904, argv=0xa162098) at /build/buildd/digikam2-2.0.0~beta6/core/digikam/main/main.cpp:188

This bug may be a duplicate of or related to bug 219419.

Possible duplicates by query: bug 265770, bug 263138.

Reported using DrKonqi
Comment 1 Dimitar Petrovski 2011-06-04 13:25:31 UTC
managed to fix the problem by installing phonon vlc backend it seems that the xinl backend was not working properly for me
Comment 2 Myriam Schweingruber 2011-06-05 22:09:51 UTC

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