[Digikam-devel] [Bug 287646] Digikam import dialog locks if main window closed. Needs to be killed.

Cristian Tibirna tibirna at kde.org
Sun Nov 27 19:34:37 GMT 2011


https://bugs.kde.org/show_bug.cgi?id=287646





--- Comment #2 from Cristian Tibirna <tibirna kde org>  2011-11-27 19:34:37 ---
It seems I'm not very good with console gdb. The sole relevant bit of trace I
get is 

#0  0x00007fffef4d5e6c in pthread_cond_wait@@GLIBC_2.3.2 () from
/lib64/libpthread.so.0
#1  0x00007ffff31224bb in QWaitCondition::wait(QMutex*, unsigned long) () from
/usr/lib64/libQtCore.so.4
#2  0x00007ffff3121d6c in QThread::wait(unsigned long) () from
/usr/lib64/libQtCore.so.4

But in kdbg, I can see (and I reconstruct by hand below) that the frames just
above these are in the destructor:
Digikam::CameraController::~CameraController()
Digikam::CameraUI::~CameraUI()
QObjectPrivate::deleteChildren()
QWidget::~QWidget()
Digikam::DigikamApp::~DigikamApp()
QObject::event()

(the event having to be my quit request -- which I did by the windowmanger
close button)

Conclusion: threads lock. I would have to learn how to observe threads in a
debugger (... yes, I know...). I wasn't able to extract anything intelligent
from gdb or kdbg related to this.

Merci pour la compréhension.

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Digikam-devel mailing list