Bug 289626 - Crash in BQM adding a new queue
Summary: Crash in BQM adding a new queue
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: BatchQueueManager-Workflow (show other bugs)
Version: 2.5.0
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-23 01:27 UTC by Francesco Riosa
Modified: 2016-07-04 05:56 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 3.0.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Francesco Riosa 2011-12-23 01:27:29 UTC
Application: digikam (2.5.0)
KDE Platform Version: 4.7.4 (4.7.4) (Compiled from sources)
Qt Version: 4.7.4
Operating System: Linux 3.1.0-x32+ x86_64
Distribution (Platform): Gentoo Packages

-- Information about the crash:
bqm was workng on one queue, stopped it, then pressed "New queue" button

Latest rows of console output
digikam(22561)/kio (KIOJob) KIO::TransferJob::slotFinished: KUrl("digikamdates:?imgDatabaseType=QMYSQL&imgDatabaseName=digikam19&imgConnectOptions=&imgHostName=&imgPort=0&imgUserName=digikam&imgPassword=digikam&tmbDatabaseType=QMYSQL&tmbDatabaseName=digikam19t&tmbConnectOptions=&tmbHostName=&tmbPort=0&tmbUserName=digikamt&tmbPassword=digikamt")
digikam(22561)/kio (Scheduler) KIO::SchedulerPrivate::jobFinished: KIO::SpecialJob(0x70adc50) KIO::Slave(0x51a0af0)
digikam(22561)/kio (Scheduler) KIO::SchedulerPrivate::doJob: KIO::SimpleJob(0x6b9a2f0)
digikam(22561)/kio (KIOJob) KIO::TransferJob::slotFinished: KUrl("digikamdates:?imgDatabaseType=QMYSQL&imgDatabaseName=digikam19&imgConnectOptions=&imgHostName=&imgPort=0&imgUserName=digikam&imgPassword=digikam&tmbDatabaseType=QMYSQL&tmbDatabaseName=digikam19t&tmbConnectOptions=&tmbHostName=&tmbPort=0&tmbUserName=digikamt&tmbPassword=digikamt")
digikam(22561)/kio (Scheduler) KIO::SchedulerPrivate::jobFinished: KIO::SpecialJob(0x6b9a2f0) KIO::Slave(0x51a0af0)
digikam(22561)/digikam (core): Cannot find an album for  KUrl("") 
KCrash: crashing... crashRecursionCounter = 2
KCrash: Application Name = digikam path = /home/vivo/usr/bin pid = 22561
KCrash: Arguments: /home/vivo/usr/bin/digikam --nocrashhandler 
KCrash: Attempting to start /usr/lib64/kde4/libexec/drkonqi from kdeinit
sock_file=/home/vivo/.kde4/socket-monfi/kdeinit4__0

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

Thread 5 (Thread 0x7fae82d28700 (LWP 22562)):
#0  pthread_cond_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007faea60b305b in wait (time=<optimized out>, this=0x13bd150) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x1370188, time=<optimized out>) at thread/qwaitcondition_unix.cpp:160
#3  0x00000000005ecd49 in Digikam::ScanController::run (this=0x13aa7c0) at /home/vivo/digikam-devel/cppsrc/core/digikam/database/scancontroller.cpp:647
#4  0x00007faea60b2b6a in QThreadPrivate::start (arg=0x13aa7c0) at thread/qthread_unix.cpp:331
#5  0x00007faea5e1ec70 in start_thread (arg=0x7fae82d28700) at pthread_create.c:301
#6  0x00007faea4e4bacd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 4 (Thread 0x7fae82527700 (LWP 22563)):
#0  0x00007faea4e44113 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007faea468ad98 in g_main_context_poll (n_fds=1, fds=0x13b0730, timeout=-1, context=0x13708d0, priority=<optimized out>) at gmain.c:3402
#2  g_main_context_iterate (context=0x13708d0, block=<optimized out>, dispatch=1, self=<optimized out>) at gmain.c:3084
#3  0x00007faea468b259 in g_main_context_iteration (context=0x13708d0, may_block=1) at gmain.c:3152
#4  0x00007faea61d7166 in QEventDispatcherGlib::processEvents (this=0x1379100, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#5  0x00007faea61a72a2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007faea61a749f in QEventLoop::exec (this=0x7fae82526d20, flags=...) at kernel/qeventloop.cpp:201
#7  0x00007faea60afc69 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:498
#8  0x00007faea6187b33 in QInotifyFileSystemWatcherEngine::run (this=0x13a7e60) at io/qfilesystemwatcher_inotify.cpp:248
#9  0x00007faea60b2b6a in QThreadPrivate::start (arg=0x13a7e60) at thread/qthread_unix.cpp:331
#10 0x00007faea5e1ec70 in start_thread (arg=0x7fae82527700) at pthread_create.c:301
#11 0x00007faea4e4bacd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 3 (Thread 0x7fae81d26700 (LWP 22579)):
#0  pthread_cond_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007faea60b305b in wait (time=<optimized out>, this=0x144e3f0) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x1430148, time=<optimized out>) at thread/qwaitcondition_unix.cpp:160
#3  0x00007faeab68606f in Digikam::ParkingThread::run (this=0x1430130) at /home/vivo/digikam-devel/cppsrc/core/libs/threads/threadmanager.cpp:119
#4  0x00007faea60b2b6a in QThreadPrivate::start (arg=0x1430130) at thread/qthread_unix.cpp:331
#5  0x00007faea5e1ec70 in start_thread (arg=0x7fae81d26700) at pthread_create.c:301
#6  0x00007faea4e4bacd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 2 (Thread 0x7fae44a40700 (LWP 22580)):
#0  pthread_cond_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fae6eddbe34 in ?? () from /usr/lib64/libvlccore.so.4
#2  0x00007faea5e1ec70 in start_thread (arg=0x7fae44a40700) at pthread_create.c:301
#3  0x00007faea4e4bacd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 1 (Thread 0x7faeae96b820 (LWP 22561)):
[KCrash Handler]
#6  0x0000003d0000000c in ?? ()
#7  0x00000000004a92a9 in QTreeWidgetItem::setIcon (this=0x497b470, column=0, aicon=...) at /usr/include/qt4/QtGui/qtreewidget.h:230
#8  0x000000000070d265 in Digikam::AssignedListViewItem::setCanceled (this=0x497b470) at /home/vivo/digikam-devel/cppsrc/core/utilities/queuemanager/views/assignedlist.cpp:87
#9  0x0000000000703650 in Digikam::QueueMgrWindow::slotAction (this=0x25269a0, ad=...) at /home/vivo/digikam-devel/cppsrc/core/utilities/queuemanager/main/queuemgrwindow.cpp:990
#10 0x00000000006fcc19 in Digikam::QueueMgrWindow::qt_metacall (this=0x25269a0, _c=QMetaObject::InvokeMetaMethod, _id=14, _a=0x53e1370) at /home/vivo/digikam-devel/cppsrc/build/core/utilities/queuemanager/queuemgrwindow.moc:119
#11 0x00007faea61c213a in QObject::event (this=0x25269a0, e=<optimized out>) at kernel/qobject.cpp:1217
#12 0x00007faea6e736bb in QWidget::event (this=0x25269a0, event=0x68ca9a0) at kernel/qwidget.cpp:8754
#13 0x00007faea727b96b in QMainWindow::event (this=0x25269a0, event=0x68ca9a0) at widgets/qmainwindow.cpp:1478
#14 0x00007faea7ce6cf1 in KXmlGuiWindow::event (this=0x25269a0, ev=0x68ca9a0) at /usr/src/debug/kde-base/kdelibs-9999/kdelibs-9999/kdeui/xmlgui/kxmlguiwindow.cpp:126
#15 0x00007faea6e1a702 in notify_helper (e=0x68ca9a0, receiver=0x25269a0, this=0x11b2fd0) at kernel/qapplication.cpp:4481
#16 QApplicationPrivate::notify_helper (this=0x11b2fd0, receiver=0x25269a0, e=0x68ca9a0) at kernel/qapplication.cpp:4453
#17 0x00007faea6e20289 in QApplication::notify (this=0x7fff058b75d0, receiver=0x25269a0, e=0x68ca9a0) at kernel/qapplication.cpp:4360
#18 0x00007faea7bf01ad in KApplication::notify (this=0x7fff058b75d0, receiver=0x25269a0, event=0x68ca9a0) at /usr/src/debug/kde-base/kdelibs-9999/kdelibs-9999/kdeui/kernel/kapplication.cpp:311
#19 0x00007faea61a89bc in QCoreApplication::notifyInternal (this=0x7fff058b75d0, receiver=0x25269a0, event=0x68ca9a0) at kernel/qcoreapplication.cpp:787
#20 0x00007faea61ac62e in sendEvent (event=0x68ca9a0, receiver=0x25269a0) at kernel/qcoreapplication.h:215
#21 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x11561f0) at kernel/qcoreapplication.cpp:1428
#22 0x00007faea61d6c53 in sendPostedEvents () at kernel/qcoreapplication.h:220
#23 postEventSourceDispatch (s=<optimized out>) at kernel/qeventdispatcher_glib.cpp:277
#24 0x00007faea468a88d in g_main_dispatch (context=0x11b5870) at gmain.c:2441
#25 g_main_context_dispatch (context=0x11b5870) at gmain.c:3011
#26 0x00007faea468b088 in g_main_context_iterate (context=0x11b5870, block=<optimized out>, dispatch=1, self=<optimized out>) at gmain.c:3089
#27 0x00007faea468b259 in g_main_context_iteration (context=0x11b5870, may_block=1) at gmain.c:3152
#28 0x00007faea61d70ff in QEventDispatcherGlib::processEvents (this=0x11579b0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#29 0x00007faea6ecaa5e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#30 0x00007faea61a72a2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#31 0x00007faea61a749f in QEventLoop::exec (this=0x7fff058b7410, flags=...) at kernel/qeventloop.cpp:201
#32 0x00007faea61ac8e7 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1064
#33 0x00000000006c6737 in main (argc=1, argv=0x7fff058b7d28) at /home/vivo/digikam-devel/cppsrc/core/digikam/main/main.cpp:232

Reported using DrKonqi
Comment 1 caulier.gilles 2012-06-22 08:50:48 UTC
Official digiKam 2.6.0 release is out since few days now :

http://www.digikam.org/drupal/node/656

Please, check if this entry still valid, or update report accordingly.

Thanks in advance.

Gilles Caulier
Comment 2 caulier.gilles 2012-10-11 15:48:16 UTC
*** Bug 308246 has been marked as a duplicate of this bug. ***
Comment 3 caulier.gilles 2012-12-13 17:47:57 UTC
This crash is not reproducible on my computer. I currently working to improve a lots BQM features for next major release. I perform a mountain of tests, and no crash...

So i set this entry fixed for 3.0.0

Gilles Caulier