I try since a while to get above function running in two threads using 
OpenMP. But it randomly fails.

The function is feeded with two cmsCreateLab4Profiles and a Cmyk file 
based one. I have isolated code which runs just fine. But inside the 
library it crashes, messes up the transformation, lcms says sometimes:
"Couldn't read profile from NULL pointer" cmsxform.c:551 and other,
or operates correctly. Omitting the OpenMP pragma and all is fine.

Valgrind keeps completly silent except for some uninitialised values. 
However filling them does not help. I tried on two multi core intel
machines on Linux.

Any idea?


kind regards
Kai-Uwe Behrmann
-- 
developing for colour management 
www.behrmann.name + www.oyranos.org


------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
_______________________________________________
Lcms-user mailing list
Lcms-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lcms-user

Reply via email to