Bug 265058 - Digikam crash when editing picture
Summary: Digikam crash when editing picture
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: ImageEditor-Undo (show other bugs)
Version: 2.0.0
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-01 09:06 UTC by Sergey Salnikov
Modified: 2017-08-08 09:44 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 2.0.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sergey Salnikov 2011-02-01 09:06:55 UTC
Application: digikam (2.0.0-beta2)
KDE Platform Version: 4.6.00 (4.6.0)
Qt Version: 4.7.1
Operating System: Linux 2.6.34.7-0.7-desktop i686
Distribution: "openSUSE 11.3 (i586)"

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

Editor (and ShowFoto) always crashes when I am using any editing tool. I set parameters, press OK button, and DIgikam crashes.
I have compliled digikam from source.

The crash can be reproduced every time.

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

Thread 10 (Thread 0xadb7bb70 (LWP 3960)):
#0  0xffffe424 in __kernel_vsyscall ()
#1  0xb4d7b125 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb4df1aa0 in wait (this=0x868b464, mutex=0x868b460, time=4294967295) at thread/qwaitcondition_unix.cpp:88
#3  QWaitCondition::wait (this=0x868b464, mutex=0x868b460, time=4294967295) at thread/qwaitcondition_unix.cpp:160
#4  0x08259409 in Digikam::ScanController::run (this=0x8764118) at /home/sergey/Downloads/digikam-2.0.0-beta2/core/digikam/scancontroller.cpp:602
#5  0xb4df139a in QThreadPrivate::start (arg=0x8764118) at thread/qthread_unix.cpp:285
#6  0xb4d76b25 in start_thread () from /lib/libpthread.so.0
#7  0xb400a46e in clone () from /lib/libc.so.6

Thread 9 (Thread 0xad37ab70 (LWP 3961)):
#0  0xb4d78fed in pthread_mutex_lock () from /lib/libpthread.so.0
#1  0xb2c0914f in ?? () from /usr/lib/libglib-2.0.so.0
#2  0xb2c0960e in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#3  0xb4f1eda7 in QEventDispatcherGlib::processEvents (this=0x878f740, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#4  0xb4eef89d in QEventLoop::processEvents (this=0xad37a130, flags=...) at kernel/qeventloop.cpp:149
#5  0xb4eefac9 in QEventLoop::exec (this=0xad37a130, flags=...) at kernel/qeventloop.cpp:201
#6  0xb4dee7a9 in QThread::exec (this=0x882ac38) at thread/qthread.cpp:490
#7  0xb4ecf4ad in QInotifyFileSystemWatcherEngine::run (this=0x882ac38) at io/qfilesystemwatcher_inotify.cpp:248
#8  0xb4df139a in QThreadPrivate::start (arg=0x882ac38) at thread/qthread_unix.cpp:285
#9  0xb4d76b25 in start_thread () from /lib/libpthread.so.0
#10 0xb400a46e in clone () from /lib/libc.so.6

Thread 8 (Thread 0xac9ffb70 (LWP 4024)):
#0  0xffffe424 in __kernel_vsyscall ()
#1  0xb4d7b125 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb4df1aa0 in wait (this=0xab5e1d80, mutex=0xab5e1d7c, time=4294967295) at thread/qwaitcondition_unix.cpp:88
#3  QWaitCondition::wait (this=0xab5e1d80, mutex=0xab5e1d7c, time=4294967295) at thread/qwaitcondition_unix.cpp:160
#4  0xb64bd512 in Digikam::ParkingThread::run (this=0xab5e1d70) at /home/sergey/Downloads/digikam-2.0.0-beta2/core/libs/threads/threadmanager.cpp:119
#5  0xb4df139a in QThreadPrivate::start (arg=0xab5e1d70) at thread/qthread_unix.cpp:285
#6  0xb4d76b25 in start_thread () from /lib/libpthread.so.0
#7  0xb400a46e in clone () from /lib/libc.so.6

Thread 7 (Thread 0xac1feb70 (LWP 4030)):
#0  0xffffe424 in __kernel_vsyscall ()
#1  0xb4d7b452 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb1fea1d7 in metronom_sync_loop () from /usr/lib/libxine.so.1
#3  0xb4d76b25 in start_thread () from /lib/libpthread.so.0
#4  0xb400a46e in clone () from /lib/libc.so.6

Thread 6 (Thread 0xa6e76b70 (LWP 4031)):
#0  0xffffe424 in __kernel_vsyscall ()
#1  0xb4d7b452 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb1ff8c41 in video_out_loop () from /usr/lib/libxine.so.1
#3  0xb4d76b25 in start_thread () from /lib/libpthread.so.0
#4  0xb400a46e in clone () from /lib/libc.so.6

Thread 5 (Thread 0xa6675b70 (LWP 4032)):
#0  0xb28ac22b in clock_gettime () from /lib/librt.so.1
#1  0xb4e4c265 in do_gettime () at tools/qelapsedtimer_unix.cpp:123
#2  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#3  0xb4f1fd26 in updateCurrentTime (this=0xb9c8fb4, tm=...) at kernel/qeventdispatcher_unix.cpp:339
#4  QTimerInfoList::timerWait (this=0xb9c8fb4, tm=...) at kernel/qeventdispatcher_unix.cpp:442
#5  0xb4f1e55b in timerSourcePrepareHelper (src=<value optimized out>, timeout=0xa6674f9c) at kernel/qeventdispatcher_glib.cpp:136
#6  0xb4f1e5fd in timerSourcePrepare (source=0xb9c8f80, timeout=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:169
#7  0xb2c080c0 in g_main_context_prepare () from /usr/lib/libglib-2.0.so.0
#8  0xb2c08f22 in ?? () from /usr/lib/libglib-2.0.so.0
#9  0xb2c0960e in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#10 0xb4f1eda7 in QEventDispatcherGlib::processEvents (this=0xb5ac318, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#11 0xb4eef89d in QEventLoop::processEvents (this=0xa6675130, flags=...) at kernel/qeventloop.cpp:149
#12 0xb4eefac9 in QEventLoop::exec (this=0xa6675130, flags=...) at kernel/qeventloop.cpp:201
#13 0xb4dee7a9 in QThread::exec (this=0xb5abf20) at thread/qthread.cpp:490
#14 0xab937048 in ?? () from /usr/lib/kde4/plugins/phonon_backend/phonon_xine.so
#15 0xb4df139a in QThreadPrivate::start (arg=0xb5abf20) at thread/qthread_unix.cpp:285
#16 0xb4d76b25 in start_thread () from /lib/libpthread.so.0
#17 0xb400a46e in clone () from /lib/libc.so.6

Thread 4 (Thread 0xa5e74b70 (LWP 4035)):
#0  0xffffe424 in __kernel_vsyscall ()
#1  0xb3fff75e in poll () from /lib/libc.so.6
#2  0xa72e504c in ao_alsa_handle_event_thread () from /usr/lib/xine/plugins/1.29/xineplug_ao_out_alsa.so
#3  0xb4d76b25 in start_thread () from /lib/libpthread.so.0
#4  0xb400a46e in clone () from /lib/libc.so.6

Thread 3 (Thread 0xa5673b70 (LWP 4036)):
#0  0xffffe424 in __kernel_vsyscall ()
#1  0xb4d7b125 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb1ffd180 in ao_loop () from /usr/lib/libxine.so.1
#3  0xb4d76b25 in start_thread () from /lib/libpthread.so.0
#4  0xb400a46e in clone () from /lib/libc.so.6

Thread 2 (Thread 0xa190fb70 (LWP 4140)):
#0  0xb28ac22b in clock_gettime () from /lib/librt.so.1
#1  0xb4e4c265 in do_gettime () at tools/qelapsedtimer_unix.cpp:123
#2  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#3  0xb4f1fd26 in updateCurrentTime (this=0x89bbc54, tm=...) at kernel/qeventdispatcher_unix.cpp:339
#4  QTimerInfoList::timerWait (this=0x89bbc54, tm=...) at kernel/qeventdispatcher_unix.cpp:442
#5  0xb4f1e55b in timerSourcePrepareHelper (src=<value optimized out>, timeout=0xa190ef9c) at kernel/qeventdispatcher_glib.cpp:136
#6  0xb4f1e5fd in timerSourcePrepare (source=0x89bbc20, timeout=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:169
#7  0xb2c080c0 in g_main_context_prepare () from /usr/lib/libglib-2.0.so.0
#8  0xb2c08f22 in ?? () from /usr/lib/libglib-2.0.so.0
#9  0xb2c0960e in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#10 0xb4f1eda7 in QEventDispatcherGlib::processEvents (this=0x96ec550, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#11 0xb4eef89d in QEventLoop::processEvents (this=0xa190f130, flags=...) at kernel/qeventloop.cpp:149
#12 0xb4eefac9 in QEventLoop::exec (this=0xa190f130, flags=...) at kernel/qeventloop.cpp:201
#13 0xb4dee7a9 in QThread::exec (this=0x8e6d330) at thread/qthread.cpp:490
#14 0xb4ecf4ad in QInotifyFileSystemWatcherEngine::run (this=0x8e6d330) at io/qfilesystemwatcher_inotify.cpp:248
#15 0xb4df139a in QThreadPrivate::start (arg=0x8e6d330) at thread/qthread_unix.cpp:285
#16 0xb4d76b25 in start_thread () from /lib/libpthread.so.0
#17 0xb400a46e in clone () from /lib/libc.so.6

Thread 1 (Thread 0xb0285890 (LWP 3600)):
[KCrash Handler]
#7  0xa2d95a46 in Digikam::UndoManager::anyMoreRedo() () from /usr/lib/libdigikamcore.so.1
#8  0xa2d95a9e in Digikam::UndoManager::clearRedoActions() () from /usr/lib/libdigikamcore.so.1
#9  0xa2d95ba2 in Digikam::UndoManager::addAction(Digikam::UndoAction*) () from /usr/lib/libdigikamcore.so.1
#10 0xa2da1601 in Digikam::DImgInterface::putImage(QString const&, unsigned char*, int, int, bool) () from /usr/lib/libdigikamcore.so.1
#11 0xa2da16a7 in Digikam::DImgInterface::putImage(QString const&, unsigned char*, int, int) () from /usr/lib/libdigikamcore.so.1
#12 0xa2db4187 in Digikam::ImageIface::putOriginalImage(QString const&, unsigned char*, int, int) () from /usr/lib/libdigikamcore.so.1
#13 0xa2ee4005 in ?? () from /usr/lib/kde4/digikamimageplugin_color.so
#14 0xb65a441f in Digikam::EditorToolThreaded::slotFilterFinished (this=0x993e2d8, success=true) at /home/sergey/Downloads/digikam-2.0.0-beta2/core/utilities/imageeditor/editor/editortool.cpp:467
#15 0xb65a47a0 in Digikam::EditorToolThreaded::qt_metacall (this=0x993e2d8, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x9ee54780)
    at /home/sergey/Downloads/digikam-2.0.0-beta2/core/digikam/editortool.moc:199
#16 0xa2ee3e9e in ?? () from /usr/lib/kde4/digikamimageplugin_color.so
#17 0xb4ef6e5d in QMetaObject::metacall (object=0x993e2d8, cl=QMetaObject::InvokeMetaMethod, idx=25, argv=0x9ee54780) at kernel/qmetaobject.cpp:237
#18 0xb4f01945 in QMetaCallEvent::placeMetaCall (this=0x9ee6b020, object=0x993e2d8) at kernel/qobject.cpp:534
#19 0xb4f05b7f in QObject::event (this=0x993e2d8, e=0x9ee6b020) at kernel/qobject.cpp:1211
#20 0xb4371414 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#21 0xb437a137 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#22 0xb54246c1 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#23 0xb4ef05be in QCoreApplication::notifyInternal (this=0xbfe5b79c, receiver=0x993e2d8, event=0x9ee6b020) at kernel/qcoreapplication.cpp:732
#24 0xb4ef434c in sendEvent (receiver=0x0, event_type=0, data=0x8525290) at kernel/qcoreapplication.h:215
#25 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x8525290) at kernel/qcoreapplication.cpp:1373
#26 0xb4ef449c in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1266
#27 0xb4f1ebd4 in sendPostedEvents (s=0x8565310) at kernel/qcoreapplication.h:220
#28 postEventSourceDispatch (s=0x8565310) at kernel/qeventdispatcher_glib.cpp:277
#29 0xb2c08b49 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#30 0xb2c09350 in ?? () from /usr/lib/libglib-2.0.so.0
#31 0xb2c0960e in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#32 0xb4f1ed5b in QEventDispatcherGlib::processEvents (this=0x8528ca8, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#33 0xb44279aa in ?? () from /usr/lib/libQtGui.so.4
#34 0xb4eef89d in QEventLoop::processEvents (this=0xbfe5b674, flags=...) at kernel/qeventloop.cpp:149
#35 0xb4eefac9 in QEventLoop::exec (this=0xbfe5b674, flags=...) at kernel/qeventloop.cpp:201
#36 0xb4ef4570 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#37 0xb436f114 in QApplication::exec() () from /usr/lib/libQtGui.so.4
#38 0x082c2e4b in main (argc=72, argv=0x10) at /home/sergey/Downloads/digikam-2.0.0-beta2/core/digikam/main.cpp:232

Reported using DrKonqi
Comment 1 Sergey Salnikov 2011-02-01 13:38:45 UTC
I'm sorry. It seems to me that the mistake was in trying to use two versions of Digikam. I had digikam-1.8.0 at /usr/ and digikam-2.0.0-beta2 at /usr/local/. I have deleted all digikam settings in $HOME, but this wasn't sufficient.
After that I have uninstalled old version of digikam and kipi-plugins and now digikam-2.0 works without crashes.

Thank you for making Digikam better!