Code: Select all
example: magick/cache.c:4536: QueueAuthenticPixels: Assertion `id < (int) cache_info->number_threads' failed.
Code: Select all
$ convert -version
Version: ImageMagick 6.7.7-10 2013-02-25 Q16 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2012 ImageMagick Studio LLC
Features: OpenMP
Code: Select all
$ identify -list resource
resourceFile Area Memory Map Disk Thread Time
-------------------------------------------------------------------------------
768 33.559GB 15.627GiB 31.254GiB unlimited 8 unlimited
The only way I can invoke a new Image() instance without trigging the assertion failure is by first invoking: omp_set_num_threads(4). Strangely, if I use any value greater than 4 it throws the assertion failure. Any value less than or equal to 4, it works fine. I have spent a few hours debugging this issue without much success. Any thoughts or suggestions would be most appreciated. Thanks!