Bug 284731 - crashed when work batch convert
Summary: crashed when work batch convert
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Plugin-Bqm-Convert (show other bugs)
Version: 1.9.0
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-22 19:06 UTC by vikimaus
Modified: 2017-07-28 03:47 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 2.3.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description vikimaus 2011-10-22 19:06:20 UTC
Application: digikam (1.9.0)
KDE Platform Version: 4.6.5 (4.6.5)
Qt Version: 4.7.4
Operating System: Linux 2.6.40.7-0.fc15.x86_64 x86_64
Distribution (Platform): Fedora RPMs

-- Information about the crash:
batch convert to degrese resolution and input somethink to exif

-- Backtrace:
Application: digiKam (digikam), signal: Segmentation fault
82	T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS)
[Current thread is 1 (Thread 0x7f387bb7d8c0 (LWP 2130))]

Thread 13 (Thread 0x7f3870018700 (LWP 2132)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:165
#1  0x000000370fa746fb in wait (time=18446744073709551615, this=0xfe2b10) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x1023b90, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00000000005f569d in Digikam::ScanController::run (this=0x1015380) at /usr/src/debug/digikam-1.9.0/digikam/scancontroller.cpp:571
#4  0x000000370fa74265 in QThreadPrivate::start (arg=0x1015380) at thread/qthread_unix.cpp:331
#5  0x0000003d58a07b31 in start_thread (arg=0x7f3870018700) at pthread_create.c:305
#6  0x0000003d582dfd2d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 12 (Thread 0x7f386f817700 (LWP 2134)):
#0  0x0000003d582d7423 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x0000003d57e42d24 in g_main_context_poll (n_fds=1, fds=0x7f3860002580, priority=<optimized out>, timeout=-1, context=0x7f38600033f0) at gmain.c:3405
#2  g_main_context_iterate (context=0x7f38600033f0, block=<optimized out>, dispatch=1, self=<optimized out>) at gmain.c:3087
#3  0x0000003d57e4325c in g_main_context_iteration (context=0x7f38600033f0, may_block=1) at gmain.c:3155
#4  0x000000370fb84e36 in QEventDispatcherGlib::processEvents (this=0x7f3860002560, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#5  0x000000370fb59722 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#6  0x000000370fb5991f in QEventLoop::exec (this=0x7f386f816cc0, flags=...) at kernel/qeventloop.cpp:201
#7  0x000000370fa717ef in QThread::exec (this=<optimized out>) at thread/qthread.cpp:498
#8  0x000000370fa74265 in QThreadPrivate::start (arg=0x122efc0) at thread/qthread_unix.cpp:331
#9  0x0000003d58a07b31 in start_thread (arg=0x7f386f817700) at pthread_create.c:305
#10 0x0000003d582dfd2d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 11 (Thread 0x7f386ecb5700 (LWP 2135)):
#0  0x000000370fb85893 in QTimerInfoList::timerWait (this=0x7f38640018a0, tm=...) at kernel/qeventdispatcher_unix.cpp:441
#1  0x000000370fb8437c in timerSourcePrepareHelper (src=<optimized out>, timeout=0x7f386ecb4b2c) at kernel/qeventdispatcher_glib.cpp:136
#2  0x000000370fb84425 in timerSourcePrepare (source=<optimized out>, timeout=<optimized out>) at kernel/qeventdispatcher_glib.cpp:169
#3  0x0000003d57e41cc2 in g_main_context_prepare (context=0x7f38640009b0, priority=0x7f386ecb4b98) at gmain.c:2762
#4  0x0000003d57e42bbd in g_main_context_iterate (context=0x7f38640009b0, block=1, dispatch=1, self=<optimized out>) at gmain.c:3072
#5  0x0000003d57e4325c in g_main_context_iteration (context=0x7f38640009b0, may_block=1) at gmain.c:3155
#6  0x000000370fb84e36 in QEventDispatcherGlib::processEvents (this=0x7f38640008c0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#7  0x000000370fb59722 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#8  0x000000370fb5991f in QEventLoop::exec (this=0x7f386ecb4cc0, flags=...) at kernel/qeventloop.cpp:201
#9  0x000000370fa717ef in QThread::exec (this=<optimized out>) at thread/qthread.cpp:498
#10 0x000000370fa74265 in QThreadPrivate::start (arg=0x122f460) at thread/qthread_unix.cpp:331
#11 0x0000003d58a07b31 in start_thread (arg=0x7f386ecb5700) at pthread_create.c:305
#12 0x0000003d582dfd2d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 10 (Thread 0x7f386e41e700 (LWP 2136)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:165
#1  0x000000370fa746fb in wait (time=18446744073709551615, this=0x1279140) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x1275898, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00000033268c1057 in Digikam::ParkingThread::run (this=0x1275880) at /usr/src/debug/digikam-1.9.0/libs/threads/threadmanager.cpp:119
#4  0x000000370fa74265 in QThreadPrivate::start (arg=0x1275880) at thread/qthread_unix.cpp:331
#5  0x0000003d58a07b31 in start_thread (arg=0x7f386e41e700) at pthread_create.c:305
#6  0x0000003d582dfd2d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 9 (Thread 0x7f386dc1d700 (LWP 2137)):
#0  0x0000003d582d7423 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x0000003d57e42d24 in g_main_context_poll (n_fds=1, fds=0x7f3850002030, priority=<optimized out>, timeout=-1, context=0x7f38500009b0) at gmain.c:3405
#2  g_main_context_iterate (context=0x7f38500009b0, block=<optimized out>, dispatch=1, self=<optimized out>) at gmain.c:3087
#3  0x0000003d57e4325c in g_main_context_iteration (context=0x7f38500009b0, may_block=1) at gmain.c:3155
#4  0x000000370fb84e36 in QEventDispatcherGlib::processEvents (this=0x7f38500008c0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#5  0x000000370fb59722 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#6  0x000000370fb5991f in QEventLoop::exec (this=0x7f386dc1ccc0, flags=...) at kernel/qeventloop.cpp:201
#7  0x000000370fa717ef in QThread::exec (this=<optimized out>) at thread/qthread.cpp:498
#8  0x000000370fa74265 in QThreadPrivate::start (arg=0x1277cd0) at thread/qthread_unix.cpp:331
#9  0x0000003d58a07b31 in start_thread (arg=0x7f386dc1d700) at pthread_create.c:305
#10 0x0000003d582dfd2d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 8 (Thread 0x7f386d41c700 (LWP 2138)):
#0  0xffffffffff60010c in ?? ()
#1  0x00007f386d41b9e0 in ?? ()
#2  0x00007fffb29677e7 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 7 (Thread 0x7f384b9d6700 (LWP 2142)):
#0  __pthread_mutex_lock (mutex=0x7f38440026c8) at pthread_mutex_lock.c:65
#1  0x0000003d57e41cf3 in g_main_context_prepare (context=0x7f38440026c0, priority=0x7f384b9d5b68) at gmain.c:2764
#2  0x0000003d57e42bbd in g_main_context_iterate (context=0x7f38440026c0, block=1, dispatch=1, self=<optimized out>) at gmain.c:3072
#3  0x0000003d57e4325c in g_main_context_iteration (context=0x7f38440026c0, may_block=1) at gmain.c:3155
#4  0x000000370fb84e36 in QEventDispatcherGlib::processEvents (this=0x7f38440025a0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#5  0x000000370fb59722 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#6  0x000000370fb5991f in QEventLoop::exec (this=0x7f384b9d5c90, flags=...) at kernel/qeventloop.cpp:201
#7  0x000000370fa717ef in QThread::exec (this=<optimized out>) at thread/qthread.cpp:498
#8  0x000000370fb3c78f in QInotifyFileSystemWatcherEngine::run (this=0x1902240) at io/qfilesystemwatcher_inotify.cpp:248
#9  0x000000370fa74265 in QThreadPrivate::start (arg=0x1902240) at thread/qthread_unix.cpp:331
#10 0x0000003d58a07b31 in start_thread (arg=0x7f384b9d6700) at pthread_create.c:305
#11 0x0000003d582dfd2d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 6 (Thread 0x7f385525b700 (LWP 2149)):
#0  0x0000003d58a099d1 in __pthread_mutex_lock (mutex=0x7f383c0026c8) at pthread_mutex_lock.c:65
#1  0x0000003d57e4249f in g_main_context_check (context=0x7f383c0026c0, max_priority=2147483647, fds=<optimized out>, n_fds=<optimized out>) at gmain.c:2964
#2  0x0000003d57e42d42 in g_main_context_iterate (context=0x7f383c0026c0, block=<optimized out>, dispatch=1, self=<optimized out>) at gmain.c:3089
#3  0x0000003d57e4325c in g_main_context_iteration (context=0x7f383c0026c0, may_block=1) at gmain.c:3155
#4  0x000000370fb84e36 in QEventDispatcherGlib::processEvents (this=0x7f383c0008c0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#5  0x000000370fb59722 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#6  0x000000370fb5991f in QEventLoop::exec (this=0x7f385525ac90, flags=...) at kernel/qeventloop.cpp:201
#7  0x000000370fa717ef in QThread::exec (this=<optimized out>) at thread/qthread.cpp:498
#8  0x000000370fb3c78f in QInotifyFileSystemWatcherEngine::run (this=0x1da2840) at io/qfilesystemwatcher_inotify.cpp:248
#9  0x000000370fa74265 in QThreadPrivate::start (arg=0x1da2840) at thread/qthread_unix.cpp:331
#10 0x0000003d58a07b31 in start_thread (arg=0x7f385525b700) at pthread_create.c:305
#11 0x0000003d582dfd2d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 5 (Thread 0x7f380b7fe700 (LWP 2198)):
#0  0x0000003d582d7423 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x0000003d57e42d24 in g_main_context_poll (n_fds=1, fds=0x7f37c0014090, priority=<optimized out>, timeout=-1, context=0x7f37c0012990) at gmain.c:3405
#2  g_main_context_iterate (context=0x7f37c0012990, block=<optimized out>, dispatch=1, self=<optimized out>) at gmain.c:3087
#3  0x0000003d57e4325c in g_main_context_iteration (context=0x7f37c0012990, may_block=1) at gmain.c:3155
#4  0x000000370fb84e36 in QEventDispatcherGlib::processEvents (this=0x7f37c00128a0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#5  0x000000370fb59722 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#6  0x000000370fb5991f in QEventLoop::exec (this=0x7f380b7fdc90, flags=...) at kernel/qeventloop.cpp:201
#7  0x000000370fa717ef in QThread::exec (this=<optimized out>) at thread/qthread.cpp:498
#8  0x000000370fb3c78f in QInotifyFileSystemWatcherEngine::run (this=0x3189ef0) at io/qfilesystemwatcher_inotify.cpp:248
#9  0x000000370fa74265 in QThreadPrivate::start (arg=0x3189ef0) at thread/qthread_unix.cpp:331
#10 0x0000003d58a07b31 in start_thread (arg=0x7f380b7fe700) at pthread_create.c:305
#11 0x0000003d582dfd2d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 4 (Thread 0x7f380affd700 (LWP 2205)):
#0  0x0000003d57e422bd in g_main_context_check (context=0x7f37d8014200, max_priority=2147483647, fds=<optimized out>, n_fds=<optimized out>) at gmain.c:2949
#1  0x0000003d57e42d42 in g_main_context_iterate (context=0x7f37d8014200, block=<optimized out>, dispatch=1, self=<optimized out>) at gmain.c:3089
#2  0x0000003d57e4325c in g_main_context_iteration (context=0x7f37d8014200, may_block=1) at gmain.c:3155
#3  0x000000370fb84e36 in QEventDispatcherGlib::processEvents (this=0x7f37d8012aa0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#4  0x000000370fb59722 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x000000370fb5991f in QEventLoop::exec (this=0x7f380affcc90, flags=...) at kernel/qeventloop.cpp:201
#6  0x000000370fa717ef in QThread::exec (this=<optimized out>) at thread/qthread.cpp:498
#7  0x000000370fb3c78f in QInotifyFileSystemWatcherEngine::run (this=0x375d0d0) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x000000370fa74265 in QThreadPrivate::start (arg=0x375d0d0) at thread/qthread_unix.cpp:331
#9  0x0000003d58a07b31 in start_thread (arg=0x7f380affd700) at pthread_create.c:305
#10 0x0000003d582dfd2d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 3 (Thread 0x7f3803fff700 (LWP 2212)):
#0  0x0000003d57e4249d in g_main_context_check (context=0x7f37a80149f0, max_priority=2147483647, fds=<optimized out>, n_fds=<optimized out>) at gmain.c:2964
#1  0x0000003d57e42d42 in g_main_context_iterate (context=0x7f37a80149f0, block=<optimized out>, dispatch=1, self=<optimized out>) at gmain.c:3089
#2  0x0000003d57e4325c in g_main_context_iteration (context=0x7f37a80149f0, may_block=1) at gmain.c:3155
#3  0x000000370fb84e36 in QEventDispatcherGlib::processEvents (this=0x7f37a80127a0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#4  0x000000370fb59722 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x000000370fb5991f in QEventLoop::exec (this=0x7f3803ffec90, flags=...) at kernel/qeventloop.cpp:201
#6  0x000000370fa717ef in QThread::exec (this=<optimized out>) at thread/qthread.cpp:498
#7  0x000000370fb3c78f in QInotifyFileSystemWatcherEngine::run (this=0x3c2b100) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x000000370fa74265 in QThreadPrivate::start (arg=0x3c2b100) at thread/qthread_unix.cpp:331
#9  0x0000003d58a07b31 in start_thread (arg=0x7f3803fff700) at pthread_create.c:305
#10 0x0000003d582dfd2d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 2 (Thread 0x7f38177fe700 (LWP 2906)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:165
#1  0x000000370fa746fb in wait (time=18446744073709551615, this=0x2b945b0) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x2b94418, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x000000000067ad99 in Digikam::ActionThread::run (this=0x2bc40d0) at /usr/src/debug/digikam-1.9.0/utilities/queuemanager/actionthread.cpp:163
#4  0x000000370fa74265 in QThreadPrivate::start (arg=0x2bc40d0) at thread/qthread_unix.cpp:331
#5  0x0000003d58a07b31 in start_thread (arg=0x7f38177fe700) at pthread_create.c:305
#6  0x0000003d582dfd2d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 1 (Thread 0x7f387bb7d8c0 (LWP 2130)):
[KCrash Handler]
#6  setIcon (aicon=..., column=0, this=0x0) at /usr/include/QtGui/qtreewidget.h:230
#7  Digikam::AssignedListViewItem::setDone (this=0x0) at /usr/src/debug/digikam-1.9.0/utilities/queuemanager/assignedlist.cpp:97
#8  0x0000000000673850 in Digikam::QueueMgrWindow::slotAction (this=0x1fe5140, ad=...) at /usr/src/debug/digikam-1.9.0/utilities/queuemanager/queuemgrwindow.cpp:1019
#9  0x0000000000673dce in Digikam::QueueMgrWindow::qt_metacall (this=0x1fe5140, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7f37a017c8f0) at /usr/src/debug/digikam-1.9.0/x86_64-redhat-linux-gnu/utilities/queuemanager/queuemgrwindow.moc:128
#10 0x000000370fb70baa in QObject::event (this=0x1fe5140, e=<optimized out>) at kernel/qobject.cpp:1217
#11 0x0000003ea08094bb in QWidget::event (this=0x1fe5140, event=0x7f37a1be3b90) at kernel/qwidget.cpp:8754
#12 0x0000003ea0bc34bb in QMainWindow::event (this=0x1fe5140, event=0x7f37a1be3b90) at widgets/qmainwindow.cpp:1478
#13 0x0000003320d3fcfe in KXmlGuiWindow::event(QEvent*) () from /usr/lib64/libkdeui.so.5
#14 0x0000003ea07b9324 in notify_helper (e=0x7f37a1be3b90, receiver=0x1fe5140, this=0xf409a0) at kernel/qapplication.cpp:4481
#15 QApplicationPrivate::notify_helper (this=0xf409a0, receiver=0x1fe5140, e=0x7f37a1be3b90) at kernel/qapplication.cpp:4453
#16 0x0000003ea07be1b1 in QApplication::notify (this=0x7fffb2808140, receiver=0x1fe5140, e=0x7f37a1be3b90) at kernel/qapplication.cpp:4360
#17 0x0000003320c431c6 in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5
#18 0x000000370fb5a20c in QCoreApplication::notifyInternal (this=0x7fffb2808140, receiver=0x1fe5140, event=0x7f37a1be3b90) at kernel/qcoreapplication.cpp:787
#19 0x000000370fb5d7d4 in sendEvent (event=0x7f37a1be3b90, receiver=0x1fe5140) at kernel/qcoreapplication.h:215
#20 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0xed2210) at kernel/qcoreapplication.cpp:1428
#21 0x000000370fb84973 in sendPostedEvents () at kernel/qcoreapplication.h:220
#22 postEventSourceDispatch (s=0xf4b0e0) at kernel/qeventdispatcher_glib.cpp:277
#23 0x0000003d57e427ed in g_main_dispatch (context=0xf4a0e0) at gmain.c:2441
#24 g_main_context_dispatch (context=0xf4a0e0) at gmain.c:3014
#25 0x0000003d57e42fc8 in g_main_context_iterate (context=0xf4a0e0, block=<optimized out>, dispatch=1, self=<optimized out>) at gmain.c:3092
#26 0x0000003d57e4325c in g_main_context_iteration (context=0xf4a0e0, may_block=1) at gmain.c:3155
#27 0x000000370fb84dcf in QEventDispatcherGlib::processEvents (this=0xed3900, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#28 0x0000003ea085c12e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:207
#29 0x000000370fb59722 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#30 0x000000370fb5991f in QEventLoop::exec (this=0x7fffb2807fc0, flags=...) at kernel/qeventloop.cpp:201
#31 0x000000370fb5da67 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1064
#32 0x0000000000478eb7 in main (argc=3, argv=<optimized out>) at /usr/src/debug/digikam-1.9.0/digikam/main.cpp:216

This bug may be a duplicate of or related to bug 252130.

Possible duplicates by query: bug 275931, bug 252130, bug 220559.

Reported using DrKonqi
Comment 1 caulier.gilles 2011-10-24 08:27:03 UTC
*** Bug 284785 has been marked as a duplicate of this bug. ***
Comment 2 caulier.gilles 2011-10-24 09:55:39 UTC
Git commit 42a2f8c95c6f27f1d28bdef310d1f95aad635f27 by Gilles Caulier.
Committed on 24/10/2011 at 11:54.
Pushed by cgilles into branch 'master'.

prevent crash if current task item is null.
BUGS: 284731

M  +18   -9    utilities/queuemanager/main/queuemgrwindow.cpp

http://commits.kde.org/digikam/42a2f8c95c6f27f1d28bdef310d1f95aad635f27