[Digikam-devel] [Bug 273765] replacing pgf files with an open digikam lead to reproducible crash

Gilles Caulier caulier.gilles at gmail.com
Mon Jun 20 13:49:41 BST 2011


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





--- Comment #50 from Gilles Caulier <caulier gilles gmail com>  2011-06-20 14:49:40 ---
Ok, i find the problem, but not the real solution.

I disable OpenMp support to libpgf, and now, it work fine. Thumbnails can be
loaded from database and decoded through libpgf without an error.

As thumbnail process run into a separated thread, using QThread, i suspect a
problem here.

The fact that loadpgdfdata work as well is simple : i do not run in a separate
thead, but in main thread, as it's a single a small test application.

Raphael,

Do you have tested into libpgf test collection tools a case where libpgf is
used through a separated thread, as Posix thread ?

Note that Windows thread as the same problem. It's not Unix thread in this
case...


Marcel,

Another question : image editor use a separated thread to load PGF image. Why
it work fine in this case, if libpgf is compiled with OpenMP support ?

Gilles Caulier

-- 
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