Bug 229344 - digikam starting up - loading tool
Summary: digikam starting up - loading tool
Status: RESOLVED NOT A BUG
Alias: None
Product: digikam
Classification: Applications
Component: Plugin-Bqm-Rotate (show other bugs)
Version: 1.2.0
Platform: Unlisted Binaries Linux
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-04 03:23 UTC by frith.foottit
Modified: 2017-07-28 03:55 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 1.2.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description frith.foottit 2010-03-04 03:23:05 UTC
Application that crashed: digikam
Version of the application: 1.2.0 (rev.: 1098216)
KDE Version: 4.3.5 (KDE 4.3.5)
Qt Version: 4.5.2
Operating System: Linux 2.6.31-19-generic i686
Distribution: Ubuntu 9.10

What I was doing when the application crashed:
Not sure how I got to this state...

digikam was working (1.2.0), compiled from svn. Then I downloaded the kdegraphics package also from svn, to try to fix a bug related to TIF files.

Made a small change to the make config using ccmake (changed the CMAKE_INSTALL_PREFIX variable to /usr instead of /usr/local). Compiled kdegraphics via cmake, make, sudo make install.

Along the way I installed the build dependancies from the repos (Ubuntu Karmic) using apt-get build-dep kdegraphics

Then recompiled digikam via cmake, make, make install. Now it starts, asks me about locations of photos, (I select none), and then it shows the 'loading main view' splash screen. After a short while, it says 'loading kipi-plugins' and then crashes.

I also have the svn version 0.19.2 of exiv2 installed.

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

Thread 16 (Thread 0xb6184b70 (LWP 19086)):
#0  0x00e80422 in __kernel_vsyscall ()
#1  0x00b37e15 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0x01b1687d in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0x0141de67 in QWaitConditionPrivate::wait (this=0x9274120, mutex=0x927411c, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#4  QWaitCondition::wait (this=0x9274120, mutex=0x927411c, time=4294967295) at thread/qwaitcondition_unix.cpp:159
#5  0x0831b7b4 in Digikam::ScanController::run (this=0x926e5e0) at /home/frith/digikam_testing/graphics/digikam/digikam/scancontroller.cpp:516
#6  0x0141ce32 in QThreadPrivate::start (arg=0x926e5e0) at thread/qthread_unix.cpp:188
#7  0x00b3380e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#8  0x01b098de in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 15 (Thread 0xb58ebb70 (LWP 19088)):
#0  0x00e80422 in __kernel_vsyscall ()
#1  0x01afbc96 in poll () from /lib/tls/i686/cmov/libc.so.6
#2  0x05f4f54b in g_poll () from /lib/libglib-2.0.so.0
#3  0x05f4256b in ?? () from /lib/libglib-2.0.so.0
#4  0x05f42863 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#5  0x01538067 in QEventDispatcherGlib::processEvents (this=0x94aedd8, flags=...) at kernel/qeventdispatcher_glib.cpp:329
#6  0x0150bc79 in QEventLoop::processEvents (this=0xb58eb2a4, flags=) at kernel/qeventloop.cpp:149
#7  0x0150c0ca in QEventLoop::exec (this=0xb58eb2a4, flags=...) at kernel/qeventloop.cpp:201
#8  0x01419b73 in QThread::exec (this=0x94f0de8) at thread/qthread.cpp:487
#9  0x00d8937d in Digikam::ImageFilterModelWorker::Thread::run() () from /usr/local/lib/libdigikamdatabase.so.1
#10 0x0141ce32 in QThreadPrivate::start (arg=0x94f0de8) at thread/qthread_unix.cpp:188
#11 0x00b3380e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#12 0x01b098de in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 14 (Thread 0xb4cffb70 (LWP 19089)):
#0  0x05f42375 in ?? () from /lib/libglib-2.0.so.0
#1  0x05f42863 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#2  0x01538067 in QEventDispatcherGlib::processEvents (this=0x92c92c0, flags=...) at kernel/qeventdispatcher_glib.cpp:329
#3  0x0150bc79 in QEventLoop::processEvents (this=0xb4cff2a4, flags=) at kernel/qeventloop.cpp:149
#4  0x0150c0ca in QEventLoop::exec (this=0xb4cff2a4, flags=...) at kernel/qeventloop.cpp:201
#5  0x01419b73 in QThread::exec (this=0x92c9318) at thread/qthread.cpp:487
#6  0x00d8937d in Digikam::ImageFilterModelWorker::Thread::run() () from /usr/local/lib/libdigikamdatabase.so.1
#7  0x0141ce32 in QThreadPrivate::start (arg=0x92c9318) at thread/qthread_unix.cpp:188
#8  0x00b3380e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#9  0x01b098de in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 13 (Thread 0xb44feb70 (LWP 19090)):
#0  0x00e80422 in __kernel_vsyscall ()
#1  0x00b37e15 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0x01b1687d in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0x0141de67 in QWaitConditionPrivate::wait (this=0x9532d30, mutex=0x9532d2c, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#4  QWaitCondition::wait (this=0x9532d30, mutex=0x9532d2c, time=4294967295) at thread/qwaitcondition_unix.cpp:159
#5  0x0180103a in Digikam::LoadSaveThread::run (this=0x9532d20) at /home/frith/digikam_testing/graphics/digikam/libs/threadimageio/loadsavethread.cpp:131
#6  0x0141ce32 in QThreadPrivate::start (arg=0x9532d20) at thread/qthread_unix.cpp:188
#7  0x00b3380e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#8  0x01b098de in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 12 (Thread 0xb3cfdb70 (LWP 19091)):
#0  0x06cede06 in clock_gettime () from /lib/tls/i686/cmov/librt.so.1
#1  0x01539bf3 in QTimerInfoList::getTime (this=0x94e95b4, t=...) at kernel/qeventdispatcher_unix.cpp:339
#2  0x01539de1 in QTimerInfoList::updateCurrentTime (this=0x94e95b4) at kernel/qeventdispatcher_unix.cpp:297
#3  0x0153a88c in QTimerInfoList::timerWait (this=0x94e95b4, tm=...) at kernel/qeventdispatcher_unix.cpp:420
#4  0x01538210 in timerSourcePrepare (source=0x94e9580, timeout=0xb3cfd0fc) at kernel/qeventdispatcher_glib.cpp:141
#5  0x05f41f90 in g_main_context_prepare () from /lib/libglib-2.0.so.0
#6  0x05f42351 in ?? () from /lib/libglib-2.0.so.0
#7  0x05f42863 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#8  0x01538067 in QEventDispatcherGlib::processEvents (this=0x93beaf0, flags=...) at kernel/qeventdispatcher_glib.cpp:329
#9  0x0150bc79 in QEventLoop::processEvents (this=0xb3cfd2c4, flags=) at kernel/qeventloop.cpp:149
#10 0x0150c0ca in QEventLoop::exec (this=0xb3cfd2c4, flags=...) at kernel/qeventloop.cpp:201
#11 0x01419b73 in QThread::exec (this=0x93be790) at thread/qthread.cpp:487
#12 0x0141ce32 in QThreadPrivate::start (arg=0x93be790) at thread/qthread_unix.cpp:188
#13 0x00b3380e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#14 0x01b098de in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 11 (Thread 0xb34fcb70 (LWP 19092)):
#0  0x00b37144 in __pthread_mutex_unlock_usercnt () from /lib/tls/i686/cmov/libpthread.so.0
#1  0x01b16a86 in pthread_mutex_unlock () from /lib/tls/i686/cmov/libc.so.6
#2  0x05f42145 in g_main_context_prepare () from /lib/libglib-2.0.so.0
#3  0x05f42351 in ?? () from /lib/libglib-2.0.so.0
#4  0x05f42863 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#5  0x01538067 in QEventDispatcherGlib::processEvents (this=0x957a668, flags=...) at kernel/qeventdispatcher_glib.cpp:329
#6  0x0150bc79 in QEventLoop::processEvents (this=0xb34fc2c4, flags=) at kernel/qeventloop.cpp:149
#7  0x0150c0ca in QEventLoop::exec (this=0xb34fc2c4, flags=...) at kernel/qeventloop.cpp:201
#8  0x01419b73 in QThread::exec (this=0x9579c68) at thread/qthread.cpp:487
#9  0x0141ce32 in QThreadPrivate::start (arg=0x9579c68) at thread/qthread_unix.cpp:188
#10 0x00b3380e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#11 0x01b098de in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 10 (Thread 0xb0e17b70 (LWP 19093)):
#0  0x00e80422 in __kernel_vsyscall ()
#1  0x00b38142 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0x01b168d4 in pthread_cond_timedwait () from /lib/tls/i686/cmov/libc.so.6
#3  0x0361c9ff in ?? () from /usr/lib/libxine.so.1
#4  0x00b3380e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#5  0x01b098de in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 9 (Thread 0xb020bb70 (LWP 19094)):
#0  0x00e80422 in __kernel_vsyscall ()
#1  0x01b02a71 in select () from /lib/tls/i686/cmov/libc.so.6
#2  0x03645be0 in xine_usec_sleep () from /usr/lib/libxine.so.1
#3  0x0362a011 in ?? () from /usr/lib/libxine.so.1
#4  0x00b3380e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#5  0x01b098de in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 8 (Thread 0xafa0ab70 (LWP 19095)):
#0  0x05f42026 in g_main_context_prepare () from /lib/libglib-2.0.so.0
#1  0x05f42351 in ?? () from /lib/libglib-2.0.so.0
#2  0x05f42863 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#3  0x01538067 in QEventDispatcherGlib::processEvents (this=0x9b03948, flags=...) at kernel/qeventdispatcher_glib.cpp:329
#4  0x0150bc79 in QEventLoop::processEvents (this=0xafa0a274, flags=) at kernel/qeventloop.cpp:149
#5  0x0150c0ca in QEventLoop::exec (this=0xafa0a274, flags=...) at kernel/qeventloop.cpp:201
#6  0x01419b73 in QThread::exec (this=0x9b03568) at thread/qthread.cpp:487
#7  0x035bb20a in ?? () from /usr/lib/qt4/plugins/phonon_backend/phonon_xine.so
#8  0x0141ce32 in QThreadPrivate::start (arg=0x9b03568) at thread/qthread_unix.cpp:188
#9  0x00b3380e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#10 0x01b098de in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 7 (Thread 0xac9cdb70 (LWP 19110)):
#0  0x00e80422 in __kernel_vsyscall ()
#1  0x00b37e15 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0x01b1687d in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0x0141de67 in QWaitConditionPrivate::wait (this=0x9d05b38, mutex=0x9d05b34, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#4  QWaitCondition::wait (this=0x9d05b38, mutex=0x9d05b34, time=4294967295) at thread/qwaitcondition_unix.cpp:159
#5  0x0180103a in Digikam::LoadSaveThread::run (this=0x9d05b28) at /home/frith/digikam_testing/graphics/digikam/libs/threadimageio/loadsavethread.cpp:131
#6  0x0141ce32 in QThreadPrivate::start (arg=0x9d05b28) at thread/qthread_unix.cpp:188
#7  0x00b3380e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#8  0x01b098de in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 6 (Thread 0xaedffb70 (LWP 19117)):
#0  0x034db287 in ?? () from /usr/lib/libjpeg.so.62
#1  0x034da894 in ?? () from /usr/lib/libjpeg.so.62
#2  0x034d66fb in ?? () from /usr/lib/libjpeg.so.62
#3  0x034d0411 in jpeg_read_scanlines () from /usr/lib/libjpeg.so.62
#4  0x017b7f37 in Digikam::loadJPEGScaled (image=..., path=..., maximumSize=256) at /home/frith/digikam_testing/graphics/digikam/libs/jpegutils/jpegutils.cpp:223
#5  0x0181f108 in Digikam::ThumbnailCreator::createThumbnail (this=0xa05bbd8, info=...) at /home/frith/digikam_testing/graphics/digikam/libs/threadimageio/thumbnailcreator.cpp:294
#6  0x0181f978 in Digikam::ThumbnailCreator::load (this=0xa05bbd8, path=...) at /home/frith/digikam_testing/graphics/digikam/libs/threadimageio/thumbnailcreator.cpp:195
#7  0x018272a0 in Digikam::ThumbnailLoadingTask::execute (this=0xa96a3f8) at /home/frith/digikam_testing/graphics/digikam/libs/threadimageio/thumbnailtask.cpp:133
#8  0x0180100a in Digikam::LoadSaveThread::run (this=0xa059dd8) at /home/frith/digikam_testing/graphics/digikam/libs/threadimageio/loadsavethread.cpp:134
#9  0x0141ce32 in QThreadPrivate::start (arg=0xa059dd8) at thread/qthread_unix.cpp:188
#10 0x00b3380e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#11 0x01b098de in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 5 (Thread 0xadbffb70 (LWP 19118)):
#0  0x00e80422 in __kernel_vsyscall ()
#1  0x00b37e15 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0x01b1687d in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0x0141de67 in QWaitConditionPrivate::wait (this=0xa311088, mutex=0xa311084, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#4  QWaitCondition::wait (this=0xa311088, mutex=0xa311084, time=4294967295) at thread/qwaitcondition_unix.cpp:159
#5  0x0180103a in Digikam::LoadSaveThread::run (this=0xa311078) at /home/frith/digikam_testing/graphics/digikam/libs/threadimageio/loadsavethread.cpp:131
#6  0x0141ce32 in QThreadPrivate::start (arg=0xa311078) at thread/qthread_unix.cpp:188
#7  0x00b3380e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#8  0x01b098de in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 4 (Thread 0xab208b70 (LWP 19122)):
#0  0x01afbc96 in poll () from /lib/tls/i686/cmov/libc.so.6
#1  0x048f9cc2 in ?? () from /usr/lib/libpulse.so.0
#2  0x048e6e09 in pa_mainloop_poll () from /usr/lib/libpulse.so.0
#3  0x048e8c23 in pa_mainloop_iterate () from /usr/lib/libpulse.so.0
#4  0x048e8cf4 in pa_mainloop_run () from /usr/lib/libpulse.so.0
#5  0x048f9bc3 in ?? () from /usr/lib/libpulse.so.0
#6  0x05d60ac2 in ?? () from /usr/lib/libpulsecommon-0.9.19.so
#7  0x00b3380e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#8  0x01b098de in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 3 (Thread 0xaaa07b70 (LWP 19123)):
#0  0x00e80422 in __kernel_vsyscall ()
#1  0x01afbc96 in poll () from /lib/tls/i686/cmov/libc.so.6
#2  0x04a5dc3b in ?? () from /usr/lib/xine/plugins/1.26/xineplug_ao_out_alsa.so
#3  0x00b3380e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#4  0x01b098de in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 2 (Thread 0xa30d4b70 (LWP 19124)):
#0  0x00e80422 in __kernel_vsyscall ()
#1  0x00b37e15 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0x01b1687d in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0x0362d5ee in ?? () from /usr/lib/libxine.so.1
#4  0x00b3380e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#5  0x01b098de in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 1 (Thread 0xb775b9a0 (LWP 19084)):
[KCrash Handler]
#6  0x01530aac in clear (d=0xbf906f50) at kernel/qvariant.cpp:285
#7  0x024c9948 in clear (d=0xbf906f50) at kernel/qguivariant.cpp:225
#8  0x0152a956 in ~QVariant (this=0x9674838, __in_chrg=<value optimized out>) at kernel/qvariant.cpp:1360
#9  0x04e663c5 in ActionThread (this=0x9e722a8, interface=0xaa39f90, parent=0xa814c40) at /home/frith/digikam_testing/graphics/kipi-plugins/jpeglossless/actionthread.cpp:97
#10 0x04e5be27 in Plugin_JPEGLossless::setup (this=0xa814c40, widget=0x92c5fe0) at /home/frith/digikam_testing/graphics/kipi-plugins/jpeglossless/plugin_jpeglossless.cpp:171
#11 0x082b2749 in Digikam::DigikamApp::slotKipiPluginPlug (this=0x92c5fe0) at /home/frith/digikam_testing/graphics/digikam/digikam/digikamapp.cpp:2354
#12 0x082ca701 in Digikam::DigikamApp::qt_metacall (this=0x92c5fe0, _c=QMetaObject::InvokeMetaMethod, _id=12, _a=0xbf90727c)
    at /home/frith/digikam_testing/graphics/digikam/build/digikam/digikamapp.moc:221
#13 0x01523263 in QMetaObject::activate (sender=0xa7ff678, from_signal_index=6, to_signal_index=6, argv=0x0) at kernel/qobject.cpp:3113
#14 0x01523ec2 in QMetaObject::activate (sender=0xa7ff678, m=0x124780, local_signal_index=2, argv=0x0) at kernel/qobject.cpp:3187
#15 0x00119bf7 in KIPI::PluginLoader::replug (this=0xa7ff678) at /home/frith/digikam_testing/kdegraphics/libs/libkipi/libkipi/pluginloader.moc:97
#16 0x00119c1d in KIPI::PluginLoader::loadPlugins (this=0xa7ff678) at /home/frith/digikam_testing/kdegraphics/libs/libkipi/libkipi/pluginloader.cpp:314
#17 0x082ba3cb in Digikam::DigikamApp::loadPlugins (this=0x92c5fe0) at /home/frith/digikam_testing/graphics/digikam/digikam/digikamapp.cpp:2297
#18 0x082c8ce7 in DigikamApp (this=0x92c5fe0, __in_chrg=<value optimized out>, __vtt_parm=<value optimized out>) at /home/frith/digikam_testing/graphics/digikam/digikam/digikamapp.cpp:252
#19 0x083be32a in main (argc=5, argv=0xbf907944) at /home/frith/digikam_testing/graphics/digikam/digikam/main.cpp:172

Reported using DrKonqi
Comment 1 Julien Narboux 2010-03-04 07:40:11 UTC
I think you need to recompile not only digikam but also libkipi and kipiplugins as well.

I hope this helps

Julien
Comment 2 frith.foottit 2010-03-10 01:25:57 UTC
Hi Julien,

I did recompile kdegraphics to no avail. But it seems to have fixed itself now. For some reason (my internet connection maybe?) I needed to run 'svn up digikam' and 'svn up kdegraphics' several times until the revision number remained the same for a few tries (sometimes it stayed the same after one repeat, then changed on the next).

Now it all seems to work, so alls well!