[Digikam-devel] [digikam] [Bug 326959] Digikam crash while scanning pictures for thumnails maintenance

Gilles Caulier caulier.gilles at gmail.com
Fri Nov 1 08:54:23 GMT 2013


Gilles Caulier <caulier.gilles at gmail.com> changed:

           What    |Removed                     |Added
                 CC|                            |marcel.wiesweg at gmx.de
          Component|general                     |Progress Manager

--- Comment #15 from Gilles Caulier <caulier.gilles at gmail.com> ---

I can reproduce this crash here when digikam main window is reduced and
restored quickly while a progress task (thumbnails generator for ex) is

The trace said :

[xcb] Unknown sequence number while processing queue
[xcb] Most likely this is a multi-threaded client and XInitThreads has not been
[xcb] Aborting, sorry about that.
digikam: xcb_io.c :274 : poll_for_event:  l'assertion «
!xcb_xlib_threads_sequence_lost » a échoué.
KCrash: Application 'digikam' crashing...
X Error: BadImplementation (server does not implement operation) 17
  Major opcode: 20 (X_GetProperty)
  Resource id:  0x0
digikam: Fatal IO error: client killed

After investigations, i identified that my patch below is the problem :


... especially, the QEventLoop that i plugin in ProgressManager class here :


I use it to wait progressitems cancellation when digiKam is closed (see bug

Why i cannot use QEventLoop here ?
Or i use it in the wrong way ? 

I suspect that ProgressManager run in a separated thread, and X11 don't like
it... But it's not the case... right ?


You are receiving this mail because:
You are the assignee for the bug.

More information about the Digikam-devel mailing list