Bug 275931 - Digikam crashed when trying to stop a batch queue
Summary: Digikam crashed when trying to stop a batch queue
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: BatchQueueManager-Workflow (show other bugs)
Version: 2.0.0
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-17 18:53 UTC by nospamforaxel-1
Modified: 2018-08-23 13:33 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 6.0.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description nospamforaxel-1 2011-06-17 18:53:53 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 x86_64
Distribution: Ubuntu 11.04

-- Information about the crash:
- What I was doing when the application crashed:
Running a batch queue resizing and saving pictures. I wanted to stop the batch. Then digikam crashed

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

Thread 12 (Thread 0x7f32fd46f700 (LWP 2693)):
#0  0x00007f3314b85f03 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=<value optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f330eac5104 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f330eac59f2 in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f3309a91c44 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#4  0x00007f330eaec3e4 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f330aaeabc3 in ?? () from /usr/lib/nvidia-current/libGL.so.1
#6  0x00007f3314895d8c in start_thread (arg=0x7f32fd46f700) at pthread_create.c:304
#7  0x00007f3314b9304d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#8  0x0000000000000000 in ?? ()

Thread 11 (Thread 0x7f32ee8ed700 (LWP 2697)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f3315bbe82b in wait (this=<value optimized out>, mutex=0x2dfa0f8, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x2dfa0f8, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00000000005b64a8 in Digikam::ScanController::run (this=0x2dcd5c0) at /build/buildd/digikam2-2.0.0~beta6/core/digikam/database/scancontroller.cpp:618
#4  0x00007f3315bbe175 in QThreadPrivate::start (arg=0x2dcd5c0) at thread/qthread_unix.cpp:320
#5  0x00007f330aaeabc3 in ?? () from /usr/lib/nvidia-current/libGL.so.1
#6  0x00007f3314895d8c in start_thread (arg=0x7f32ee8ed700) at pthread_create.c:304
#7  0x00007f3314b9304d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#8  0x0000000000000000 in ?? ()

Thread 10 (Thread 0x7f32ee0ec700 (LWP 2698)):
#0  0x00007f33148983c4 in __pthread_mutex_lock (mutex=0x2dfed78) at pthread_mutex_lock.c:61
#1  0x00007f330eac40d3 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f330eac4f9d in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f330eac5639 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f3315cd0446 in QEventDispatcherGlib::processEvents (this=0x2dfe6f0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#5  0x00007f3315ca4882 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007f3315ca4abc in QEventLoop::exec (this=0x7f32ee0eba50, flags=...) at kernel/qeventloop.cpp:201
#7  0x00007f3315bbb924 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:492
#8  0x00007f3315c86c2f in QInotifyFileSystemWatcherEngine::run (this=0x2dfe080) at io/qfilesystemwatcher_inotify.cpp:248
#9  0x00007f3315bbe175 in QThreadPrivate::start (arg=0x2dfe080) at thread/qthread_unix.cpp:320
#10 0x00007f330aaeabc3 in ?? () from /usr/lib/nvidia-current/libGL.so.1
#11 0x00007f3314895d8c in start_thread (arg=0x7f32ee0ec700) at pthread_create.c:304
#12 0x00007f3314b9304d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#13 0x0000000000000000 in ?? ()

Thread 9 (Thread 0x7f32f403e700 (LWP 2797)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f3315bbe82b in wait (this=<value optimized out>, mutex=0x3030878, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x3030878, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007f331a01ff77 in Digikam::ParkingThread::run (this=0x3030860) at /build/buildd/digikam2-2.0.0~beta6/core/libs/threads/threadmanager.cpp:119
#4  0x00007f3315bbe175 in QThreadPrivate::start (arg=0x3030860) at thread/qthread_unix.cpp:320
#5  0x00007f330aaeabc3 in ?? () from /usr/lib/nvidia-current/libGL.so.1
#6  0x00007f3314895d8c in start_thread (arg=0x7f32f403e700) at pthread_create.c:304
#7  0x00007f3314b9304d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#8  0x0000000000000000 in ?? ()

Thread 8 (Thread 0x7f32e4bee700 (LWP 2813)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:216
#1  0x00007f32ea554f41 in ?? () from /usr/lib/libxine.so.1
#2  0x00007f330aaeabc3 in ?? () from /usr/lib/nvidia-current/libGL.so.1
#3  0x00007f3314895d8c in start_thread (arg=0x7f32e4bee700) at pthread_create.c:304
#4  0x00007f3314b9304d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 7 (Thread 0x7f32e3dd8700 (LWP 2814)):
#0  0x00007f3314b8b143 in select () at ../sysdeps/unix/syscall-template.S:82
#1  0x00007f32ea57e044 in xine_usec_sleep () from /usr/lib/libxine.so.1
#2  0x00007f32ea562a69 in ?? () from /usr/lib/libxine.so.1
#3  0x00007f330aaeabc3 in ?? () from /usr/lib/nvidia-current/libGL.so.1
#4  0x00007f3314895d8c in start_thread (arg=0x7f32e3dd8700) at pthread_create.c:304
#5  0x00007f3314b9304d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#6  0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7f32e35d7700 (LWP 2815)):
#0  0x00007f3314b85f12 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=<value optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:89
#1  0x00007f330eac5104 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f330eac5639 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f3315cd0446 in QEventDispatcherGlib::processEvents (this=0x3a8aaf0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007f3315ca4882 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f3315ca4abc in QEventLoop::exec (this=0x7f32e35d6a30, flags=...) at kernel/qeventloop.cpp:201
#6  0x00007f3315bbb924 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:492
#7  0x00007f32ea7b339e in ?? () from /usr/lib/qt4/plugins/phonon_backend/phonon_xine.so
#8  0x00007f3315bbe175 in QThreadPrivate::start (arg=0x3a8a480) at thread/qthread_unix.cpp:320
#9  0x00007f330aaeabc3 in ?? () from /usr/lib/nvidia-current/libGL.so.1
#10 0x00007f3314895d8c in start_thread (arg=0x7f32e35d7700) at pthread_create.c:304
#11 0x00007f3314b9304d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7f32e2bd1700 (LWP 2816)):
#0  0x00007f3314b85f03 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=<value optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f331467932f in ?? () from /usr/lib/libpulse.so.0
#2  0x00007f331466b116 in pa_mainloop_poll () from /usr/lib/libpulse.so.0
#3  0x00007f331466b749 in pa_mainloop_iterate () from /usr/lib/libpulse.so.0
#4  0x00007f331466b800 in pa_mainloop_run () from /usr/lib/libpulse.so.0
#5  0x00007f33146792df in ?? () from /usr/lib/libpulse.so.0
#6  0x00007f330affea88 in ?? () from /usr/lib/libpulsecommon-0.9.22.so
#7  0x00007f330aaeabc3 in ?? () from /usr/lib/nvidia-current/libGL.so.1
#8  0x00007f3314895d8c in start_thread (arg=0x7f32e2bd1700) at pthread_create.c:304
#9  0x00007f3314b9304d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f32de3cf700 (LWP 2817)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f32ea566d63 in ?? () from /usr/lib/libxine.so.1
#2  0x00007f330aaeabc3 in ?? () from /usr/lib/nvidia-current/libGL.so.1
#3  0x00007f3314895d8c in start_thread (arg=0x7f32de3cf700) at pthread_create.c:304
#4  0x00007f3314b9304d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f32d2661700 (LWP 3126)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f3315bbe82b in wait (this=<value optimized out>, mutex=0x43a77d8, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x43a77d8, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00000000006ca63b in Digikam::ActionThread::run (this=0x43a2920) at /build/buildd/digikam2-2.0.0~beta6/core/utilities/queuemanager/manager/actionthread.cpp:164
#4  0x00007f3315bbe175 in QThreadPrivate::start (arg=0x43a2920) at thread/qthread_unix.cpp:320
#5  0x00007f330aaeabc3 in ?? () from /usr/lib/nvidia-current/libGL.so.1
#6  0x00007f3314895d8c in start_thread (arg=0x7f32d2661700) at pthread_create.c:304
#7  0x00007f3314b9304d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#8  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f32d3e64700 (LWP 3129)):
#0  QString::realloc (this=0x7f32d3e63110, alloc=91) at tools/qstring.cpp:1301
#1  0x00007f331d133799 in reserve (this=0x7f32cc159ae0) at ../../include/QtCore/../../src/corelib/tools/qstring.h:884
#2  QSqlResultPrivate::namedToPositionalBinding (this=0x7f32cc159ae0) at kernel/qsqlresult.cpp:177
#3  0x00007f331d133dfe in QSqlResult::savePrepare (this=0x7f32cc0c4870, query=...) at kernel/qsqlresult.cpp:598
#4  0x00007f331d126d9b in QSqlQuery::prepare (this=0x7f32d3e63238, query=...) at kernel/qsqlquery.cpp:924
#5  0x00007f3319fcd772 in Digikam::SqlQuery::prepare (this=0x7f32d3e63230, query=...) at /build/buildd/digikam2-2.0.0~beta6/core/libs/database/sqlquery.cpp:52
#6  0x00007f3319fb8150 in Digikam::DatabaseCoreBackend::prepareQuery (this=0x2e6e620, sql=...) at /build/buildd/digikam2-2.0.0~beta6/core/libs/database/databasecorebackend.cpp:1459
#7  0x00007f3319fb8571 in Digikam::DatabaseCoreBackend::execQuery (this=0x2e6e620, sql=<value optimized out>, boundValue1=..., boundValue2=..., boundValue3=..., boundValue4=...) at /build/buildd/digikam2-2.0.0~beta6/core/libs/database/databasecorebackend.cpp:1021
#8  0x00007f3319fba445 in Digikam::DatabaseCoreBackend::execSql (this=0x2e6e620, sql=<value optimized out>, boundValue1=<value optimized out>, boundValue2=<value optimized out>, boundValue3=<value optimized out>, boundValue4=<value optimized out>, values=0x0, lastInsertId=0x7f32d3e63370) at /build/buildd/digikam2-2.0.0~beta6/core/libs/database/databasecorebackend.cpp:921
#9  0x00007f3319fc5733 in Digikam::ThumbnailDB::insertThumbnail (this=0x2e4c7e0, info=..., lastInsertId=0x7f32d3e633e0) at /build/buildd/digikam2-2.0.0~beta6/core/libs/database/thumbnaildb.cpp:262
#10 0x00007f3319ff9018 in Digikam::ThumbnailCreator::storeInDatabase (this=<value optimized out>, info=..., image=<value optimized out>) at /build/buildd/digikam2-2.0.0~beta6/core/libs/threadimageio/thumbnailcreator.cpp:755
#11 0x00007f3319ffe7e3 in Digikam::ThumbnailCreator::load (this=0x3d26690, path=..., rect=..., pregenerate=false) at /build/buildd/digikam2-2.0.0~beta6/core/libs/threadimageio/thumbnailcreator.cpp:264
#12 0x00007f3319fff0a2 in Digikam::ThumbnailCreator::load (this=<value optimized out>, path=<value optimized out>) at /build/buildd/digikam2-2.0.0~beta6/core/libs/threadimageio/thumbnailcreator.cpp:196
#13 0x00007f331a00e62b in Digikam::ThumbnailLoadingTask::execute (this=0x58341a0) at /build/buildd/digikam2-2.0.0~beta6/core/libs/threadimageio/thumbnailtask.cpp:169
#14 0x00007f3319fe0e96 in Digikam::LoadSaveThread::run (this=0x3d26310) at /build/buildd/digikam2-2.0.0~beta6/core/libs/threadimageio/loadsavethread.cpp:118
#15 0x00007f331a02157e in Digikam::DynamicThread::DynamicThreadPriv::run (this=0x3d26420) at /build/buildd/digikam2-2.0.0~beta6/core/libs/threads/dynamicthread.cpp:328
#16 0x00007f3315bb3188 in QThreadPoolThread::run (this=0x54e65e0) at concurrent/qthreadpool.cpp:106
#17 0x00007f3315bbe175 in QThreadPrivate::start (arg=0x54e65e0) at thread/qthread_unix.cpp:320
#18 0x00007f330aaeabc3 in ?? () from /usr/lib/nvidia-current/libGL.so.1
#19 0x00007f3314895d8c in start_thread (arg=0x7f32d3e64700) at pthread_create.c:304
#20 0x00007f3314b9304d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#21 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f331d501a40 (LWP 2686)):
[KCrash Handler]
#6  0x00000000042327a0 in ?? ()
#7  0x00000000006cf8b5 in setIcon (this=0x58e09b0) at /usr/include/qt4/QtGui/qtreewidget.h:230
#8  Digikam::AssignedListViewItem::setDone (this=0x58e09b0) at /build/buildd/digikam2-2.0.0~beta6/core/utilities/queuemanager/views/assignedlist.cpp:97
#9  0x00000000006c8710 in Digikam::QueueMgrWindow::slotAction (this=0x407e230, ad=...) at /build/buildd/digikam2-2.0.0~beta6/core/utilities/queuemanager/main/queuemgrwindow.cpp:965
#10 0x00000000006c8eb1 in Digikam::QueueMgrWindow::qt_metacall (this=0x407e230, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7f32f887ce60) at /build/buildd/digikam2-2.0.0~beta6/obj-x86_64-linux-gnu/core/utilities/queuemanager/queuemgrwindow.moc:117
#11 0x00007f3315cb949a in QObject::event (this=0x407e230, e=<value optimized out>) at kernel/qobject.cpp:1226
#12 0x00007f331690d66d in QWidget::event (this=0x407e230, event=0x7f32f874dc30) at kernel/qwidget.cpp:8718
#13 0x00007f3316cd751b in QMainWindow::event (this=0x407e230, event=0x7f32f874dc30) at widgets/qmainwindow.cpp:1480
#14 0x00007f33176d6d8e in KXmlGuiWindow::event (this=0x407e230, ev=0x7f32f874dc30) at ../../kdeui/xmlgui/kxmlguiwindow.cpp:126
#15 0x00007f33168bc9e4 in QApplicationPrivate::notify_helper (this=0x2af22b0, receiver=0x407e230, e=0x7f32f874dc30) at kernel/qapplication.cpp:4462
#16 0x00007f33168c13aa in QApplication::notify (this=<value optimized out>, receiver=0x407e230, e=0x7f32f874dc30) at kernel/qapplication.cpp:4341
#17 0x00007f33175db866 in KApplication::notify (this=0x7fffc56ada00, receiver=0x407e230, event=0x7f32f874dc30) at ../../kdeui/kernel/kapplication.cpp:311
#18 0x00007f3315ca549c in QCoreApplication::notifyInternal (this=0x7fffc56ada00, receiver=0x407e230, event=0x7f32f874dc30) at kernel/qcoreapplication.cpp:731
#19 0x00007f3315ca8c25 in sendEvent (receiver=0x0, event_type=0, data=0x2a6e790) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#20 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x2a6e790) at kernel/qcoreapplication.cpp:1372
#21 0x00007f3315cd0253 in sendPostedEvents (s=0x2af5960) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#22 postEventSourceDispatch (s=0x2af5960) at kernel/qeventdispatcher_glib.cpp:277
#23 0x00007f330eac4bcd in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#24 0x00007f330eac53a8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#25 0x00007f330eac5639 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#26 0x00007f3315cd03ef in QEventDispatcherGlib::processEvents (this=0x2a6df30, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#27 0x00007f3316963dfe in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#28 0x00007f3315ca4882 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#29 0x00007f3315ca4abc in QEventLoop::exec (this=0x7fffc56ad850, flags=...) at kernel/qeventloop.cpp:201
#30 0x00007f3315ca8ecb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#31 0x000000000068ae34 in main (argc=5, argv=0x7fffc56ae258) at /build/buildd/digikam2-2.0.0~beta6/core/digikam/main/main.cpp:232

Possible duplicates by query: bug 252130.

Reported using DrKonqi
Comment 1 Marcel Wiesweg 2011-06-19 16:00:44 UTC
Can you reproduce the crash?
Comment 2 caulier.gilles 2011-06-19 19:28:26 UTC
Marcel,

I cannot reproduce it. But my linux box still an older version : QT 4.6, KDE 4.4.5. I'm waiting next Mandriva release to update.

Perhaps it's relevant of last Qt/KDE release. Can you reproduce ?

Gilles Caulier
Comment 3 nospamforaxel-1 2011-06-20 16:41:57 UTC
Hi,

It was only one time chrashing while running this batch job.
I ran that job meanwhile some times more and I stopped it once - it did not crash when I stopped it.

Regards
Axel
Comment 4 caulier.gilles 2011-07-02 10:02:24 UTC
digiKam 2.0.0 RC is out. Please check if crash is reproducible with this version.

Thanks in advance

Gilles Caulier
Comment 5 caulier.gilles 2018-08-23 13:33:41 UTC
Not reproducible with 6.0.0

Gilles Caulier