we have video renderer that uses graphicsmagick in c++, after the
program is done, and is about to exit, we get this error:
magick/semaphore.c:525: LockSemaphoreInfo: Assertion `semaphore_info !=
(SemaphoreInfo *) ((void *)0)' failed.
and returns an error to the calling script. I used the latest snapshot
from ftp://ftp.graphicsmagick.org/pub/GraphicsMagick/snapshots/ :
This did not happen when we used the snapshot in October/November to
compile the program
Kerry Panchoo, President
Sarolta Technologies Inc.
260 Spadina Avenue, Unit 301
Toronto, ON M5T 2E4, Canada.
Wanna kill some time at work?-- make a movie at http://www.MIXandMASH.tv
Email: kerry@... Tel: (1) 416 979 7300 ext. 25
URL: http://www.sarolta.com Fax: (1) 416 979 7100
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
From: Bob Friesenhahn <bfriesen@si...> - 2010-02-21 16:44:52
On Sat, 20 Feb 2010, Kerry Panchoo wrote:
> we have video renderer that uses graphicsmagick in c++, after the
> program is done, and is about to exit, we get this error:
> magick/semaphore.c:525: LockSemaphoreInfo: Assertion `semaphore_info !=
> (SemaphoreInfo *) ((void *)0)' failed.
> and returns an error to the calling script. I used the latest snapshot
I assume that you are using the Magick++ API. It would help quite a
lot if you can provide a minimal portable program which exhibits the
problem so I can test it here. If your program otherwise successfully
executed, then it seems that something may be trying to use the
Magick++ API after it has been shut down. Watch out for statically
constructed objects, which may be constructed prior to when main() is
invoked, and destroyed after main() has returned.
If you are not able to produce a test case then a debug stack trace
(symbolic) showing the condition under which the assertion occured
Is this under Windows, or Linux?
GraphicsMagick Maintainer, http://www.GraphicsMagick.org/