Bug 232615 - Crash at closing image editor while importing raw
Summary: Crash at closing image editor while importing raw
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Plugin-RawImport-Native (show other bugs)
Version: 1.2.0
Platform: unspecified Linux
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-29 20:49 UTC by Johannes Wienke
Modified: 2022-01-26 04:23 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 1.3.0
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Johannes Wienke 2010-03-29 20:49:55 UTC
Application: digikam (1.2.0 (rev.: 1105786))
KDE Platform Version: 4.4.1 (KDE 4.4.1)
Qt Version: 4.6.2
Operating System: Linux 2.6.32-ARCH x86_64

-- Information about the crash:
This crash happens if the image editor is closed while a raw file is being processed for the preview.

The crash can be reproduced some of the time.

 -- Backtrace:
Application: digiKam (digikam), signal: Aborted
[Current thread is 1 (Thread 0x7f91a36df7c0 (LWP 23139))]

Thread 23 (Thread 0x7f918f614710 (LWP 23140)):
#0  0x00007f919ca4a10c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f919cccf11b in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#2  0x0000000000719ba7 in Digikam::ScanController::run (this=0x22519c0) at /home/languitar/workspace/digiKam/digikam/scancontroller.cpp:516
#3  0x00007f919ccce155 in ?? () from /usr/lib/libQtCore.so.4
#4  0x00007f919ca4588a in start_thread () from /lib/libpthread.so.0
#5  0x00007f919bd949ed in clone () from /lib/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 22 (Thread 0x7f918bbd8710 (LWP 23141)):
#0  0x00007fff8068f8f4 in clock_gettime ()
#1  0x00007f9194646e4f in clock_gettime () from /lib/librt.so.1
#2  0x00007f919cde909f in ?? () from /usr/lib/libQtCore.so.4
#3  0x00007f919cdededd in ?? () from /usr/lib/libQtCore.so.4
#4  0x00007f919cdedf05 in ?? () from /usr/lib/libQtCore.so.4
#5  0x00007f919cdebe5d in ?? () from /usr/lib/libQtCore.so.4
#6  0x00007f919cdebf05 in ?? () from /usr/lib/libQtCore.so.4
#7  0x00007f919885a49a in g_main_context_prepare () from /usr/lib/libglib-2.0.so.0
#8  0x00007f919885a871 in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0
#9  0x00007f919885ada0 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#10 0x00007f919cdebc66 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#11 0x00007f919cdc10c2 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#12 0x00007f919cdc149c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#13 0x00007f919cccb759 in QThread::exec() () from /usr/lib/libQtCore.so.4
#14 0x00007f91a011fb24 in Digikam::ImageFilterModelWorker::Thread::run (this=0x23090f0) at /home/languitar/workspace/build/digiKam/digikam/../../../digiKam/libs/models/imagefiltermodelthreads.h:66
#15 0x00007f919ccce155 in ?? () from /usr/lib/libQtCore.so.4
#16 0x00007f919ca4588a in start_thread () from /lib/libpthread.so.0
#17 0x00007f919bd949ed in clone () from /lib/libc.so.6
#18 0x0000000000000000 in ?? ()

Thread 21 (Thread 0x7f918b3d7710 (LWP 23142)):
#0  0x00007fff8068f8f4 in clock_gettime ()
#1  0x00007f9194646e4f in clock_gettime () from /lib/librt.so.1
#2  0x00007f919cde909f in ?? () from /usr/lib/libQtCore.so.4
#3  0x00007f919cdededd in ?? () from /usr/lib/libQtCore.so.4
#4  0x00007f919cdedf05 in ?? () from /usr/lib/libQtCore.so.4
#5  0x00007f919cdebe5d in ?? () from /usr/lib/libQtCore.so.4
#6  0x00007f919cdebf05 in ?? () from /usr/lib/libQtCore.so.4
#7  0x00007f919885a49a in g_main_context_prepare () from /usr/lib/libglib-2.0.so.0
#8  0x00007f919885a871 in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0
#9  0x00007f919885ada0 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#10 0x00007f919cdebc66 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#11 0x00007f919cdc10c2 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#12 0x00007f919cdc149c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#13 0x00007f919cccb759 in QThread::exec() () from /usr/lib/libQtCore.so.4
#14 0x00007f91a011fb24 in Digikam::ImageFilterModelWorker::Thread::run (this=0x22ff260) at /home/languitar/workspace/build/digiKam/digikam/../../../digiKam/libs/models/imagefiltermodelthreads.h:66
#15 0x00007f919ccce155 in ?? () from /usr/lib/libQtCore.so.4
#16 0x00007f919ca4588a in start_thread () from /lib/libpthread.so.0
#17 0x00007f919bd949ed in clone () from /lib/libc.so.6
#18 0x0000000000000000 in ?? ()

Thread 20 (Thread 0x7f918abd6710 (LWP 23143)):
#0  0x00007f919ca4a10c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f919cccf11b in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#2  0x00007f91a068d124 in Digikam::LoadSaveThread::run (this=0x22797b0) at /home/languitar/workspace/digiKam/libs/threadimageio/loadsavethread.cpp:131
#3  0x00007f919ccce155 in ?? () from /usr/lib/libQtCore.so.4
#4  0x00007f919ca4588a in start_thread () from /lib/libpthread.so.0
#5  0x00007f919bd949ed in clone () from /lib/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 19 (Thread 0x7f918a3d5710 (LWP 23144)):
#0  0x00007f919ca493f6 in __pthread_mutex_unlock_usercnt () from /lib/libpthread.so.0
#1  0x00007f919885a48e in g_main_context_prepare () from /usr/lib/libglib-2.0.so.0
#2  0x00007f919885a871 in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0
#3  0x00007f919885ada0 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#4  0x00007f919cdebc66 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#5  0x00007f919cdc10c2 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#6  0x00007f919cdc149c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#7  0x00007f919cccb759 in QThread::exec() () from /usr/lib/libQtCore.so.4
#8  0x000000000070fc2c in Digikam::MetadataManagerWorker::Thread::run (this=0x230ec90) at /home/languitar/workspace/build/digiKam/digikam/../../../digiKam/digikam/metadatamanager_p.h:143
#9  0x00007f919ccce155 in ?? () from /usr/lib/libQtCore.so.4
#10 0x00007f919ca4588a in start_thread () from /lib/libpthread.so.0
#11 0x00007f919bd949ed in clone () from /lib/libc.so.6
#12 0x0000000000000000 in ?? ()

Thread 18 (Thread 0x7f9189bd4710 (LWP 23145)):
#0  0x00007f919ca49401 in __pthread_mutex_unlock_usercnt () from /lib/libpthread.so.0
#1  0x00007f919885a48e in g_main_context_prepare () from /usr/lib/libglib-2.0.so.0
#2  0x00007f919885a871 in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0
#3  0x00007f919885ada0 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#4  0x00007f919cdebc66 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#5  0x00007f919cdc10c2 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#6  0x00007f919cdc149c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#7  0x00007f919cccb759 in QThread::exec() () from /usr/lib/libQtCore.so.4
#8  0x000000000070fc2c in Digikam::MetadataManagerWorker::Thread::run (this=0x232b5b0) at /home/languitar/workspace/build/digiKam/digikam/../../../digiKam/digikam/metadatamanager_p.h:143
#9  0x00007f919ccce155 in ?? () from /usr/lib/libQtCore.so.4
#10 0x00007f919ca4588a in start_thread () from /lib/libpthread.so.0
#11 0x00007f919bd949ed in clone () from /lib/libc.so.6
#12 0x0000000000000000 in ?? ()

Thread 17 (Thread 0x7f917dd6c710 (LWP 23146)):
#0  0x00007f919ca4a479 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f91834f1af1 in metronom_sync_loop () from /usr/lib/libxine.so.1
#2  0x00007f919ca4588a in start_thread () from /lib/libpthread.so.0
#3  0x00007f919bd949ed in clone () from /lib/libc.so.6
#4  0x0000000000000000 in ?? ()

Thread 16 (Thread 0x7f917c2fb710 (LWP 23147)):
#0  0x00007f919bd8e233 in select () from /lib/libc.so.6
#1  0x00007f9183519a65 in xine_usec_sleep () from /usr/lib/libxine.so.1
#2  0x00007f91834ff499 in video_out_loop () from /usr/lib/libxine.so.1
#3  0x00007f919ca4588a in start_thread () from /lib/libpthread.so.0
#4  0x00007f919bd949ed in clone () from /lib/libc.so.6
#5  0x0000000000000000 in ?? ()

Thread 15 (Thread 0x7f917bafa710 (LWP 23148)):
#0  0x00007fff8068f8f4 in clock_gettime ()
#1  0x00007f9194646e4f in clock_gettime () from /lib/librt.so.1
#2  0x00007f919cde909f in ?? () from /usr/lib/libQtCore.so.4
#3  0x00007f919cdededd in ?? () from /usr/lib/libQtCore.so.4
#4  0x00007f919cdedf05 in ?? () from /usr/lib/libQtCore.so.4
#5  0x00007f919cdebe5d in ?? () from /usr/lib/libQtCore.so.4
#6  0x00007f919885a49a in g_main_context_prepare () from /usr/lib/libglib-2.0.so.0
#7  0x00007f919885a871 in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0
#8  0x00007f919885ada0 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#9  0x00007f919cdebc66 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#10 0x00007f919cdc10c2 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#11 0x00007f919cdc149c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#12 0x00007f919cccb759 in QThread::exec() () from /usr/lib/libQtCore.so.4
#13 0x00007f918374a7c6 in Phonon::Xine::XineThread::run() () from /usr/lib/kde4/plugins/phonon_backend/phonon_xine.so
#14 0x00007f919ccce155 in ?? () from /usr/lib/libQtCore.so.4
#15 0x00007f919ca4588a in start_thread () from /lib/libpthread.so.0
#16 0x00007f919bd949ed in clone () from /lib/libc.so.6
#17 0x0000000000000000 in ?? ()

Thread 14 (Thread 0x7f917b0f0710 (LWP 23153)):
#0  0x00007f919bd8c1c3 in poll () from /lib/libc.so.6
#1  0x00007f917b0f67ae in ao_alsa_handle_event_thread () from /usr/lib/xine/plugins/1.28/xineplug_ao_out_alsa.so
#2  0x00007f919ca4588a in start_thread () from /lib/libpthread.so.0
#3  0x00007f919bd949ed in clone () from /lib/libc.so.6
#4  0x0000000000000000 in ?? ()

Thread 13 (Thread 0x7f917a8ef710 (LWP 23154)):
#0  0x00007f919ca4a10c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f91835025fb in ao_loop () from /usr/lib/libxine.so.1
#2  0x00007f919ca4588a in start_thread () from /lib/libpthread.so.0
#3  0x00007f919bd949ed in clone () from /lib/libc.so.6
#4  0x0000000000000000 in ?? ()

Thread 12 (Thread 0x7f91785d0710 (LWP 23155)):
#0  0x00007f919ca4a10c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f919cccf11b in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#2  0x00007f91a068d124 in Digikam::LoadSaveThread::run (this=0x2b85470) at /home/languitar/workspace/digiKam/libs/threadimageio/loadsavethread.cpp:131
#3  0x00007f919ccce155 in ?? () from /usr/lib/libQtCore.so.4
#4  0x00007f919ca4588a in start_thread () from /lib/libpthread.so.0
#5  0x00007f919bd949ed in clone () from /lib/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 11 (Thread 0x7f9177dcf710 (LWP 23163)):
#0  0x00007f919ca4a10c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f919cccf11b in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#2  0x00007f91a068d124 in Digikam::LoadSaveThread::run (this=0x2db0b30) at /home/languitar/workspace/digiKam/libs/threadimageio/loadsavethread.cpp:131
#3  0x00007f919ccce155 in ?? () from /usr/lib/libQtCore.so.4
#4  0x00007f919ca4588a in start_thread () from /lib/libpthread.so.0
#5  0x00007f919bd949ed in clone () from /lib/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 10 (Thread 0x7f9175dcb710 (LWP 23164)):
#0  0x00007f919ca4a10c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f919cccf11b in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#2  0x00007f91a068d124 in Digikam::LoadSaveThread::run (this=0x2e4cd50) at /home/languitar/workspace/digiKam/libs/threadimageio/loadsavethread.cpp:131
#3  0x00007f919ccce155 in ?? () from /usr/lib/libQtCore.so.4
#4  0x00007f919ca4588a in start_thread () from /lib/libpthread.so.0
#5  0x00007f919bd949ed in clone () from /lib/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 9 (Thread 0x7f91765cc710 (LWP 23172)):
#0  0x00007f919ca4a10c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f919cccf11b in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#2  0x00007f91a068d124 in Digikam::LoadSaveThread::run (this=0x4424190) at /home/languitar/workspace/digiKam/libs/threadimageio/loadsavethread.cpp:131
#3  0x00007f919ccce155 in ?? () from /usr/lib/libQtCore.so.4
#4  0x00007f919ca4588a in start_thread () from /lib/libpthread.so.0
#5  0x00007f919bd949ed in clone () from /lib/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 8 (Thread 0x7f916ffff710 (LWP 23279)):
#0  0x00007f919ca4a10c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f919cccf11b in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#2  0x00007f91a068d124 in Digikam::LoadSaveThread::run (this=0x2ec4ef0) at /home/languitar/workspace/digiKam/libs/threadimageio/loadsavethread.cpp:131
#3  0x00007f919ccce155 in ?? () from /usr/lib/libQtCore.so.4
#4  0x00007f919ca4588a in start_thread () from /lib/libpthread.so.0
#5  0x00007f919bd949ed in clone () from /lib/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 7 (Thread 0x7f9174d49710 (LWP 23280)):
#0  0x00007f919ca4a10c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f919cccf11b in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#2  0x00007f91a068d124 in Digikam::LoadSaveThread::run (this=0x5c14740) at /home/languitar/workspace/digiKam/libs/threadimageio/loadsavethread.cpp:131
#3  0x00007f919ccce155 in ?? () from /usr/lib/libQtCore.so.4
#4  0x00007f919ca4588a in start_thread () from /lib/libpthread.so.0
#5  0x00007f919bd949ed in clone () from /lib/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7f9160b2d710 (LWP 23394)):
#0  0x00007f919ca4a10c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f919cccf11b in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#2  0x00007f91a068d124 in Digikam::LoadSaveThread::run (this=0x2eb9410) at /home/languitar/workspace/digiKam/libs/threadimageio/loadsavethread.cpp:131
#3  0x00007f919ccce155 in ?? () from /usr/lib/libQtCore.so.4
#4  0x00007f919ca4588a in start_thread () from /lib/libpthread.so.0
#5  0x00007f919bd949ed in clone () from /lib/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7f916032c710 (LWP 23395)):
#0  0x00007f919ca4a10c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f919cccf11b in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#2  0x00007f91a068d124 in Digikam::LoadSaveThread::run (this=0x6948ad0) at /home/languitar/workspace/digiKam/libs/threadimageio/loadsavethread.cpp:131
#3  0x00007f919ccce155 in ?? () from /usr/lib/libQtCore.so.4
#4  0x00007f919ca4588a in start_thread () from /lib/libpthread.so.0
#5  0x00007f919bd949ed in clone () from /lib/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f915f9a4710 (LWP 23401)):
#0  0x00007f919ca4a10c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f919cccf11b in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#2  0x00007f91a068d124 in Digikam::LoadSaveThread::run (this=0x6405db0) at /home/languitar/workspace/digiKam/libs/threadimageio/loadsavethread.cpp:131
#3  0x00007f919ccce155 in ?? () from /usr/lib/libQtCore.so.4
#4  0x00007f919ca4588a in start_thread () from /lib/libpthread.so.0
#5  0x00007f919bd949ed in clone () from /lib/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f9161b2f710 (LWP 23402)):
#0  0x00007f919ca4a10c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f919cccf11b in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#2  0x00007f91a068d124 in Digikam::LoadSaveThread::run (this=0x6560da0) at /home/languitar/workspace/digiKam/libs/threadimageio/loadsavethread.cpp:131
#3  0x00007f919ccce155 in ?? () from /usr/lib/libQtCore.so.4
#4  0x00007f919ca4588a in start_thread () from /lib/libpthread.so.0
#5  0x00007f919bd949ed in clone () from /lib/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f916132e710 (LWP 23408)):
[KCrash Handler]
#5  0x00007f919bcf7fd5 in raise () from /lib/libc.so.6
#6  0x00007f919bcf93f0 in abort () from /lib/libc.so.6
#7  0x00007f919ccc631f in qt_message_output(QtMsgType, char const*) () from /usr/lib/libQtCore.so.4
#8  0x00007f919ccc64c2 in ?? () from /usr/lib/libQtCore.so.4
#9  0x00007f919ccc6675 in qFatal(char const*, ...) () from /usr/lib/libQtCore.so.4
#10 0x00007f91a051b989 in QVector<QPoint>::realloc (this=0x7f916132dc78, asize=110626240, aalloc=32657) at /usr/include/QtCore/qvector.h:444
#11 0x00007f91a051a56e in QVector<QPoint>::detach_helper (this=0x7f916132dc78) at /usr/include/QtCore/qvector.h:324
#12 0x00007f91a05195b1 in QVector<QPoint>::operator= (this=0x7f916132dc78, v=...) at /usr/include/QtCore/qvector.h:384
#13 0x00007f91a05181a9 in QPolygon::operator= (this=0x7f916132dc78) at /usr/include/QtGui/qpolygon.h:61
#14 0x00007f91a07fcccd in Digikam::RawPostProcessing::rawPostProcessing (this=0x814c550) at /home/languitar/workspace/digiKam/utilities/imageeditor/rawimport/rawpostprocessing.cpp:114
#15 0x00007f91a07fc794 in Digikam::RawPostProcessing::filterImage (this=0x814c550) at /home/languitar/workspace/digiKam/utilities/imageeditor/rawimport/rawpostprocessing.cpp:61
#16 0x00007f91a05500f8 in Digikam::DImgThreadedFilter::startFilterDirectly (this=0x814c550) at /home/languitar/workspace/digiKam/libs/dimg/filters/dimgthreadedfilter.cpp:142
#17 0x00007f91a05502cd in Digikam::DImgThreadedFilter::run (this=0x814c550) at /home/languitar/workspace/digiKam/libs/dimg/filters/dimgthreadedfilter.cpp:163
#18 0x00007f919ccce155 in ?? () from /usr/lib/libQtCore.so.4
#19 0x00007f919ca4588a in start_thread () from /lib/libpthread.so.0
#20 0x00007f919bd949ed in clone () from /lib/libc.so.6
#21 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f91a36df7c0 (LWP 23139)):
#0  0x00007f919ca4a10c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f919cccf11b in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#2  0x00007f919ccce1f4 in QThread::wait(unsigned long) () from /usr/lib/libQtCore.so.4
#3  0x00007f91a0550310 in Digikam::DImgThreadedFilter::cancelFilter (this=0x814c550) at /home/languitar/workspace/digiKam/libs/dimg/filters/dimgthreadedfilter.cpp:175
#4  0x00007f91a054fa4b in ~DImgThreadedFilter (this=0x814c550, __in_chrg=<value optimized out>) at /home/languitar/workspace/digiKam/libs/dimg/filters/dimgthreadedfilter.cpp:91
#5  0x00007f91a07fd1c7 in ~RawPostProcessing (this=0x814c550, __in_chrg=<value optimized out>) at /home/languitar/workspace/digiKam/utilities/imageeditor/rawimport/rawpostprocessing.h:46
#6  0x00007f91a07ddd05 in ~EditorToolThreaded (this=0x65a3c30, __in_chrg=<value optimized out>) at /home/languitar/workspace/digiKam/utilities/imageeditor/editor/editortool.cpp:313
#7  0x00007f91a07fdb12 in ~RawImport (this=0x65a3c30, __in_chrg=<value optimized out>) at /home/languitar/workspace/digiKam/utilities/imageeditor/rawimport/rawimport.cpp:85
#8  0x00007f91a07dffa8 in Digikam::EditorToolIface::unLoadTool (this=0x22b3920) at /home/languitar/workspace/digiKam/utilities/imageeditor/editor/editortooliface.cpp:149
#9  0x00007f91a07c543b in Digikam::DImgInterface::resetImage (this=0x22e9e70) at /home/languitar/workspace/digiKam/utilities/imageeditor/canvas/dimginterface.cpp:290
#10 0x00007f91a07cf357 in Digikam::Canvas::resetImage (this=0x6731570) at /home/languitar/workspace/digiKam/utilities/imageeditor/canvas/canvas.cpp:241
#11 0x000000000047a315 in Digikam::ImageWindow::closeEvent (this=0x2ea0400, e=0x7fff80678f50) at /home/languitar/workspace/digiKam/utilities/imageeditor/editor/imagewindow.cpp:273
#12 0x00007f919dcda9e4 in QWidget::event(QEvent*) () from /usr/lib/libQtGui.so.4
#13 0x00007f919e09a7bb in QMainWindow::event(QEvent*) () from /usr/lib/libQtGui.so.4
#14 0x00007f919ece7343 in KXmlGuiWindow::event(QEvent*) () from /usr/lib/libkdeui.so.5
#15 0x00007f919dc845ec in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#16 0x00007f919dc8abdb in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#17 0x00007f919ebd0d36 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#18 0x00007f919cdc279c in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#19 0x00007f919dcdf751 in QWidgetPrivate::close_helper(QWidgetPrivate::CloseMode) () from /usr/lib/libQtGui.so.4
#20 0x00007f919dcfa7f6 in QApplication::x11ClientMessage(QWidget*, _XEvent*, bool) () from /usr/lib/libQtGui.so.4
#21 0x00007f919dd08cd7 in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib/libQtGui.so.4
#22 0x00007f919dd33172 in ?? () from /usr/lib/libQtGui.so.4
#23 0x00007f91988572be in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#24 0x00007f919885ac78 in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0
#25 0x00007f919885ada0 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#26 0x00007f919cdebc13 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#27 0x00007f919dd32d6e in ?? () from /usr/lib/libQtGui.so.4
#28 0x00007f919cdc10c2 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#29 0x00007f919cdc149c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#30 0x00007f919cdc51db in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
#31 0x00000000007b33aa in main (argc=5, argv=0x7fff8067a048) at /home/languitar/workspace/digiKam/digikam/main.cpp:193

Reported using DrKonqi
Comment 1 Marcel Wiesweg 2010-03-29 21:11:37 UTC
Looks as if the threaded filter, running in its thread, starts a new threaded filter, running in its own thread, but not controlled at shutdown.
Comment 2 caulier.gilles 2010-04-04 10:47:20 UTC
digiKam and Kipi-plugins 1.2.0 are out. Please check if crash is still valid there.

Thanks in advance

Gilles Caulier
Comment 3 Johannes Wienke 2010-04-04 11:30:18 UTC
Eeeh, Gilles, I opened this report ;)
Comment 4 caulier.gilles 2010-04-04 11:59:36 UTC
Ah ah... I just go to B.K.O and run changes to crash files twice (:=)))...

Gilles
Comment 5 Marcel Wiesweg 2010-04-17 16:19:56 UTC
Ok, I think that's an easier problem. The destructor of the base class is run, deleting the member variable. The thread is stopped in the parent class destructor, but before the member variable is accessed and crashes.
I dont manage to reproduce, so please test if this is fixed.
Comment 6 Marcel Wiesweg 2010-04-17 16:19:56 UTC
SVN commit 1115800 by mwiesweg:

Stop thread before destroying data

CCBUG: 232615

 M  +5 -0      rawpostprocessing.cpp  
 M  +1 -1      rawpostprocessing.h  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1115800
Comment 7 Marcel Wiesweg 2010-05-15 22:57:10 UTC
I assume this is fixed.