Bug 243107

Summary: Crashed when opening preferences
Product: [Applications] digikam Reporter: bcr
Component: Setup-TemplatesAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED WORKSFORME    
Severity: crash CC: bulldogface, caulier.gilles, hill.phil, martin, mike_fowler, pmanousis, radlpix, wap.jpn
Priority: NOR    
Version: 1.3.0   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In: 7.6.0
Attachments: New crash information added by DrKonqi
New crash information added by DrKonqi

Description bcr 2010-06-29 07:12:07 UTC
Application: digikam (1.3.0)
KDE Platform Version: 4.4.4 (KDE 4.4.4)
Qt Version: 4.6.3
Operating System: Linux 2.6.32-22-generic i686
Distribution: Ubuntu 10.04 LTS

-- Information about the crash:
Upon opening the preferences screen the application promptly died, not much else to say.

The crash can be reproduced every time.

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

Thread 13 (Thread 0xb620bb70 (LWP 27872)):
#0  0x009bc422 in __kernel_vsyscall ()
#1  0x00202015 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0x024a8997 in QWaitConditionPrivate::wait (this=0x86b1138, mutex=0x86b1134, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#3  QWaitCondition::wait (this=0x86b1138, mutex=0x86b1134, time=4294967295) at thread/qwaitcondition_unix.cpp:159
#4  0x0832cff4 in Digikam::ScanController::run (this=0x85933f0) at /build/buildd/digikam-1.3.0/digikam/scancontroller.cpp:516
#5  0x024a797e in QThreadPrivate::start (arg=0x85933f0) at thread/qthread_unix.cpp:248
#6  0x001fd96e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#7  0x020aea4e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 12 (Thread 0xb5a0ab70 (LWP 27875)):
#0  0x0241ce16 in clock_gettime () from /lib/tls/i686/cmov/librt.so.1
#1  0x025cdf5b in qt_gettime () at kernel/qcore_unix.cpp:111
#2  0x025d3085 in QTimerInfoList::updateCurrentTime (this=0x88a767c) at kernel/qeventdispatcher_unix.cpp:340
#3  0x025d30ca in QTimerInfoList::timerWait (this=0x88a767c, tm=...) at kernel/qeventdispatcher_unix.cpp:443
#4  0x025d1078 in timerSourcePrepareHelper (src=<value optimized out>, timeout=0xb5a0a0bc) at kernel/qeventdispatcher_glib.cpp:136
#5  0x025d1105 in timerSourcePrepare (source=0x0, timeout=0x2420ff4) at kernel/qeventdispatcher_glib.cpp:169
#6  0x05569aca in g_main_context_prepare () from /lib/libglib-2.0.so.0
#7  0x05569ee9 in ?? () from /lib/libglib-2.0.so.0
#8  0x0556a4b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#9  0x025d0e6f in QEventDispatcherGlib::processEvents (this=0x88af978, flags=...) at kernel/qeventdispatcher_glib.cpp:414
#10 0x025a3759 in QEventLoop::processEvents (this=0xb5a0a280, flags=) at kernel/qeventloop.cpp:149
#11 0x025a3baa in QEventLoop::exec (this=0xb5a0a280, flags=...) at kernel/qeventloop.cpp:201
#12 0x024a4fc9 in QThread::exec (this=0x88a5a28) at thread/qthread.cpp:487
#13 0x005b1ccd in Digikam::ImageFilterModelWorker::Thread::run (this=0x88a5a28) at /build/buildd/digikam-1.3.0/obj-i486-linux-gnu/digikam/../../libs/models/imagefiltermodelthreads.h:66
#14 0x024a797e in QThreadPrivate::start (arg=0x88a5a28) at thread/qthread_unix.cpp:248
#15 0x001fd96e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#16 0x020aea4e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 11 (Thread 0xb5209b70 (LWP 27876)):
#0  0x0241ce16 in clock_gettime () from /lib/tls/i686/cmov/librt.so.1
#1  0x025cdf5b in qt_gettime () at kernel/qcore_unix.cpp:111
#2  0x025d3085 in QTimerInfoList::updateCurrentTime (this=0x88a978c) at kernel/qeventdispatcher_unix.cpp:340
#3  0x025d30ca in QTimerInfoList::timerWait (this=0x88a978c, tm=...) at kernel/qeventdispatcher_unix.cpp:443
#4  0x025d1078 in timerSourcePrepareHelper (src=<value optimized out>, timeout=0xb52090bc) at kernel/qeventdispatcher_glib.cpp:136
#5  0x025d1105 in timerSourcePrepare (source=0x0, timeout=0x2420ff4) at kernel/qeventdispatcher_glib.cpp:169
#6  0x05569aca in g_main_context_prepare () from /lib/libglib-2.0.so.0
#7  0x05569ee9 in ?? () from /lib/libglib-2.0.so.0
#8  0x0556a4b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#9  0x025d0e6f in QEventDispatcherGlib::processEvents (this=0x88af9c8, flags=...) at kernel/qeventdispatcher_glib.cpp:414
#10 0x025a3759 in QEventLoop::processEvents (this=0xb5209280, flags=) at kernel/qeventloop.cpp:149
#11 0x025a3baa in QEventLoop::exec (this=0xb5209280, flags=...) at kernel/qeventloop.cpp:201
#12 0x024a4fc9 in QThread::exec (this=0x88af6d0) at thread/qthread.cpp:487
#13 0x005b1ccd in Digikam::ImageFilterModelWorker::Thread::run (this=0x88af6d0) at /build/buildd/digikam-1.3.0/obj-i486-linux-gnu/digikam/../../libs/models/imagefiltermodelthreads.h:66
#14 0x024a797e in QThreadPrivate::start (arg=0x88af6d0) at thread/qthread_unix.cpp:248
#15 0x001fd96e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#16 0x020aea4e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 10 (Thread 0xb46ffb70 (LWP 27877)):
#0  0x009bc422 in __kernel_vsyscall ()
#1  0x00202015 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0x024a8997 in QWaitConditionPrivate::wait (this=0x89020e8, mutex=0x89020e4, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#3  QWaitCondition::wait (this=0x89020e8, mutex=0x89020e4, time=4294967295) at thread/qwaitcondition_unix.cpp:159
#4  0x01274f1a in Digikam::ParkingThread::run (this=0x89020d8) at /build/buildd/digikam-1.3.0/libs/threads/threadmanager.cpp:101
#5  0x024a797e in QThreadPrivate::start (arg=0x89020d8) at thread/qthread_unix.cpp:248
#6  0x001fd96e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#7  0x020aea4e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 9 (Thread 0xb3efeb70 (LWP 27878)):
#0  0x001fff6f in pthread_mutex_lock () from /lib/tls/i686/cmov/libpthread.so.0
#1  0x0556a49e in g_main_context_iteration () from /lib/libglib-2.0.so.0
#2  0x025d0e6f in QEventDispatcherGlib::processEvents (this=0x89125a8, flags=...) at kernel/qeventdispatcher_glib.cpp:414
#3  0x025a3759 in QEventLoop::processEvents (this=0xb3efe2a0, flags=) at kernel/qeventloop.cpp:149
#4  0x025a3baa in QEventLoop::exec (this=0xb3efe2a0, flags=...) at kernel/qeventloop.cpp:201
#5  0x024a4fc9 in QThread::exec (this=0x8911a18) at thread/qthread.cpp:487
#6  0x024a797e in QThreadPrivate::start (arg=0x8911a18) at thread/qthread_unix.cpp:248
#7  0x001fd96e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#8  0x020aea4e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 8 (Thread 0xb36fdb70 (LWP 27879)):
#0  0x0020134f in __pthread_mutex_unlock_usercnt () from /lib/tls/i686/cmov/libpthread.so.0
#1  0x0556a169 in ?? () from /lib/libglib-2.0.so.0
#2  0x0556a4b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#3  0x025d0e6f in QEventDispatcherGlib::processEvents (this=0x89126b8, flags=...) at kernel/qeventdispatcher_glib.cpp:414
#4  0x025a3759 in QEventLoop::processEvents (this=0xb36fd2a0, flags=) at kernel/qeventloop.cpp:149
#5  0x025a3baa in QEventLoop::exec (this=0xb36fd2a0, flags=...) at kernel/qeventloop.cpp:201
#6  0x024a4fc9 in QThread::exec (this=0x8911838) at thread/qthread.cpp:487
#7  0x024a797e in QThreadPrivate::start (arg=0x8911838) at thread/qthread_unix.cpp:248
#8  0x001fd96e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#9  0x020aea4e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 7 (Thread 0xb1a66b70 (LWP 27881)):
#0  0x009bc422 in __kernel_vsyscall ()
#1  0x00202342 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0x0547ace7 in ?? () from /usr/lib/libxine.so.1
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 6 (Thread 0xb0e5ab70 (LWP 27882)):
#0  0x009bc422 in __kernel_vsyscall ()
#1  0x020a7971 in select () from /lib/tls/i686/cmov/libc.so.6
#2  0x054a45cc in xine_usec_sleep () from /usr/lib/libxine.so.1
#3  0x00000000 in ?? ()

Thread 5 (Thread 0xb0659b70 (LWP 27883)):
#0  0x0241ce16 in clock_gettime () from /lib/tls/i686/cmov/librt.so.1
#1  0x025cdf5b in qt_gettime () at kernel/qcore_unix.cpp:111
#2  0x025d3085 in QTimerInfoList::updateCurrentTime (this=0x8defdc4) at kernel/qeventdispatcher_unix.cpp:340
#3  0x025d30ca in QTimerInfoList::timerWait (this=0x8defdc4, tm=...) at kernel/qeventdispatcher_unix.cpp:443
#4  0x025d1078 in timerSourcePrepareHelper (src=<value optimized out>, timeout=0xb065906c) at kernel/qeventdispatcher_glib.cpp:136
#5  0x05569aca in g_main_context_prepare () from /lib/libglib-2.0.so.0
#6  0x05569ee9 in ?? () from /lib/libglib-2.0.so.0
#7  0x0556a4b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#8  0x025d0e6f in QEventDispatcherGlib::processEvents (this=0x8def1f8, flags=...) at kernel/qeventdispatcher_glib.cpp:414
#9  0x025a3759 in QEventLoop::processEvents (this=0xb0659230, flags=) at kernel/qeventloop.cpp:149
#10 0x025a3baa in QEventLoop::exec (this=0xb0659230, flags=...) at kernel/qeventloop.cpp:201
#11 0x024a4fc9 in QThread::exec (this=0x8deee08) at thread/qthread.cpp:487
#12 0x0560296a in ?? () from /usr/lib/qt4/plugins/phonon_backend/phonon_xine.so
#13 0x024a797e in QThreadPrivate::start (arg=0x8deee08) at thread/qthread_unix.cpp:248
#14 0x001fd96e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#15 0x020aea4e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 4 (Thread 0xabe57b70 (LWP 27898)):
#0  0x009bc422 in __kernel_vsyscall ()
#1  0x0020112b in __pthread_mutex_unlock_full () from /lib/tls/i686/cmov/libpthread.so.0
#2  0x057b4d61 in pa_mutex_unlock () from /usr/lib/libpulsecommon-0.9.21.so
#3  0x057684e9 in ?? () from /usr/lib/libpulse.so.0
#4  0x05754a59 in pa_mainloop_poll () from /usr/lib/libpulse.so.0
#5  0x05756a13 in pa_mainloop_iterate () from /usr/lib/libpulse.so.0
#6  0x05756ae4 in pa_mainloop_run () from /usr/lib/libpulse.so.0
#7  0x057682a3 in ?? () from /usr/lib/libpulse.so.0
#8  0x057b5e02 in ?? () from /usr/lib/libpulsecommon-0.9.21.so
#9  0x001fd96e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#10 0x020aea4e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 3 (Thread 0xaee56b70 (LWP 27899)):
#0  0x009bc422 in __kernel_vsyscall ()
#1  0x020a0b86 in poll () from /lib/tls/i686/cmov/libc.so.6
#2  0x07d1ba8f in ?? () from /usr/lib/xine/plugins/1.27/xineplug_ao_out_alsa.so
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 2 (Thread 0xab656b70 (LWP 27900)):
#0  0x009bc422 in __kernel_vsyscall ()
#1  0x00202015 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0x0548b9ee in ?? () from /usr/lib/libxine.so.1
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 1 (Thread 0xb7819760 (LWP 27871)):
[KCrash Handler]
#6  QMetaObject::changeGuard (ptr=0x15f28c4, o=0xa13c7c0) at kernel/qobject.cpp:488
#7  0x01a0d845 in QPointer<QValidator>::operator= (this=0xa77eea0, v=0xb6db87c) at ../../include/QtCore/../../src/corelib/kernel/qpointer.h:68
#8  QLineControl::setValidator (this=0xa77eea0, v=0xb6db87c) at ../../include/QtGui/private/../../../src/gui/widgets/qlinecontrol_p.h:641
#9  QLineEdit::setValidator (this=0xa77eea0, v=0xb6db87c) at widgets/qlineedit.cpp:589
#10 0x083781d1 in SubjectEdit (this=0xa7ab168, parent=0xa7aa190) at /build/buildd/digikam-1.3.0/libs/template/subjectedit.cpp:80
#11 0x08376a4f in TemplatePanel (this=0xa8370a8, parent=0xa71ff40) at /build/buildd/digikam-1.3.0/libs/template/templatepanel.cpp:419
#12 0x080f6c21 in SetupTemplate (this=0xa843258, parent=0x0) at /build/buildd/digikam-1.3.0/utilities/setup/setuptemplate.cpp:104
#13 0x080ebe3e in Setup (this=0xa79c210, parent=0x8687410) at /build/buildd/digikam-1.3.0/utilities/setup/setup.cpp:195
#14 0x080edc85 in Digikam::Setup::exec (parent=0x8687410, page=Digikam::Setup::LastPageUsed) at /build/buildd/digikam-1.3.0/utilities/setup/setup.cpp:349
#15 0x082bda39 in Digikam::DigikamApp::setup (this=0x8687410) at /build/buildd/digikam-1.3.0/digikam/digikamapp.cpp:2138
#16 0x082da52d in Digikam::DigikamApp::slotSetup (this=0x8687410, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0xbfa805e8) at /build/buildd/digikam-1.3.0/digikam/digikamapp.cpp:2133
#17 Digikam::DigikamApp::qt_metacall (this=0x8687410, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0xbfa805e8) at /build/buildd/digikam-1.3.0/obj-i486-linux-gnu/digikam/digikamapp.moc:223
#18 0x025aa47a in QMetaObject::metacall (object=0x8687410, cl=311901, idx=74, argv=0xbfa805e8) at kernel/qmetaobject.cpp:237
#19 0x025b8fbb in QMetaObject::activate (sender=0x92dfc30, m=0x84c14b8, local_signal_index=1, argv=0xbfa805e8) at kernel/qobject.cpp:3295
#20 0x0159b589 in QAction::triggered (this=0x92dfc30, _t1=false) at .moc/release-shared/moc_qaction.cpp:263
#21 0x0159d77c in QAction::activate (this=0x92dfc30, event=QAction::Trigger) at kernel/qaction.cpp:1255
#22 0x01a42bdf in QMenuPrivate::activateCausedStack (this=0x9f67bc8, causedStack=..., action=0x92dfc30, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:1002
#23 0x01a48f3b in QMenuPrivate::activateAction (this=0x9f67bc8, action=0x92dfc30, action_e=QAction::Trigger, self=<value optimized out>) at widgets/qmenu.cpp:1094
#24 0x01a49f87 in QMenu::mouseReleaseEvent (this=0x9f72cc8, e=0xbfa80e80) at widgets/qmenu.cpp:2312
#25 0x05ba7175 in KMenu::mouseReleaseEvent (this=0x9f72cc8, e=0xbfa80e80) at ../../kdeui/widgets/kmenu.cpp:471
#26 0x01600158 in QWidget::event (this=0x9f72cc8, event=0xbfa80e80) at kernel/qwidget.cpp:8044
#27 0x01a4b58c in QMenu::event (this=0x9f72cc8, e=0xbfa80e80) at widgets/qmenu.cpp:2421
#28 0x015a1e8c in QApplicationPrivate::notify_helper (this=0x854aed0, receiver=0x9f72cc8, e=0xbfa80e80) at kernel/qapplication.cpp:4302
#29 0x015a93a7 in QApplication::notify (this=0xbfa817b4, receiver=0x9f72cc8, e=0xbfa80e80) at kernel/qapplication.cpp:3867
#30 0x05ab0ffa in KApplication::notify (this=0xbfa817b4, receiver=0x9f72cc8, event=0xbfa80e80) at ../../kdeui/kernel/kapplication.cpp:302
#31 0x025a513b in QCoreApplication::notifyInternal (this=0xbfa817b4, receiver=0x9f72cc8, event=0xbfa80e80) at kernel/qcoreapplication.cpp:726
#32 0x015a8302 in QCoreApplication::sendEvent (receiver=0x9f72cc8, event=0xbfa80e80, alienWidget=0x0, nativeWidget=0x9f72cc8, buttonDown=0x1ee8058, lastMouseReceiver=..., spontaneous=true)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#33 QApplicationPrivate::sendMouseEvent (receiver=0x9f72cc8, event=0xbfa80e80, alienWidget=0x0, nativeWidget=0x9f72cc8, buttonDown=0x1ee8058, lastMouseReceiver=..., spontaneous=true)
    at kernel/qapplication.cpp:2967
#34 0x0163429f in QETWidget::translateMouseEvent (this=0x9f72cc8, event=0xbfa8139c) at kernel/qapplication_x11.cpp:4314
#35 0x016331e1 in QApplication::x11ProcessEvent (this=0xbfa817b4, event=0xbfa8139c) at kernel/qapplication_x11.cpp:3391
#36 0x016622ea in x11EventSourceDispatch (s=0x854e140, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#37 0x055665e5 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#38 0x0556a2d8 in ?? () from /lib/libglib-2.0.so.0
#39 0x0556a4b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#40 0x025d0e35 in QEventDispatcherGlib::processEvents (this=0x851e6e8, flags=...) at kernel/qeventdispatcher_glib.cpp:412
#41 0x01661e15 in QGuiEventDispatcherGlib::processEvents (this=0x851e6e8, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#42 0x025a3759 in QEventLoop::processEvents (this=0xbfa81694, flags=) at kernel/qeventloop.cpp:149
#43 0x025a3baa in QEventLoop::exec (this=0xbfa81694, flags=...) at kernel/qeventloop.cpp:201
#44 0x025a8e3f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1003
#45 0x015a1f27 in QApplication::exec () at kernel/qapplication.cpp:3581
#46 0x083b627b in main (argc=5, argv=0xbfa81c14) at /build/buildd/digikam-1.3.0/digikam/main.cpp:195

Reported using DrKonqi
Comment 1 caulier.gilles 2010-06-29 07:21:33 UTC
Crash appear in setup metadata template. Please attach there your ~./.kde4/share/apps/digikam/template.xml to try to reproduce it.

Thanks in advance

Gilles Caulier
Comment 2 Martin 2010-07-04 19:20:30 UTC
Created attachment 48589 [details]
New crash information added by DrKonqi

I have install digicam complete new .

After i want to configure digikam the crsah comes up . 

Bye Martin
Comment 3 caulier.gilles 2010-07-04 23:34:36 UTC
Have you read my comment #1 ? 

Gilles Caulier
Comment 4 Martin 2010-07-04 23:57:07 UTC
Hello, 

I have no template.xml in this directory . 

But now digiKam work ! 

I have install all updates for my ubuntu 10.04 . After doing that, digiKam 

Bye Martin
Comment 5 caulier.gilles 2010-07-22 21:53:18 UTC
*** Bug 245472 has been marked as a duplicate of this bug. ***
Comment 6 Johannes Wienke 2010-08-04 10:17:23 UTC
*** Bug 246666 has been marked as a duplicate of this bug. ***
Comment 7 mike_fowler 2010-08-04 17:53:13 UTC
246666 is not a duplicate, thanks.  This bug (243107) refers to a crash when opening preferences.  246666 refers to a crash when launching Digikam...not sure how that makes it a duplicate.
Comment 8 caulier.gilles 2010-08-17 13:49:11 UTC
*** Bug 246666 has been marked as a duplicate of this bug. ***
Comment 9 caulier.gilles 2010-10-04 08:39:09 UTC
*** Bug 253200 has been marked as a duplicate of this bug. ***
Comment 10 radlpix 2010-10-13 22:35:46 UTC
Created attachment 52492 [details]
New crash information added by DrKonqi

Clicking on the settings crashes also in version 1.5.
Comment 11 caulier.gilles 2010-10-13 22:51:33 UTC
radlpix, 

crash is in KDELibs, not digiKam. update KDE and try again.

Gilles Caulier
Comment 12 radlpix 2010-10-14 19:04:11 UTC
@ Gilles,

manual update of the KDE-files was not sufficient, but the big iron <zypper dup> worked. Now digikam is up and running again.

Thanks
radlpix
Comment 13 caulier.gilles 2010-11-08 20:16:03 UTC
*** Bug 256391 has been marked as a duplicate of this bug. ***
Comment 14 pmanousis 2010-12-22 19:57:47 UTC
*** Bug 260864 has been marked as a duplicate of this bug. ***