Re: ERROR: function LockSemaphoreInfo, file magick/semaphore.c, line 525

Bob Friesenhahn <[email protected]> Mon, 29 Mar 2010 13:32:23 -0500 (CDT)
Newsgroups gmane.comp.video.graphicsmagick.bugs
Message-ID <[email protected]>
What version of GraphicsMagick are you using (gm -version)?

Are you using a shared library build (--enable-shared) or a static 
build?

What version of GCC did you use (gcc --version)?

Does the output of the command

   gm convert -list formats | grep PNG

show read/write ("rw") support for PNG.  This is what my build lists:

% gm convert -list formats | grep PNG
       PNG P  rw-  Portable Network Graphics (libpng 1.2.43, zlib 1.2.3)
             See http://www.libpng.org/ for information on PNG..
     PNG24 P  rw-  24-bit RGB PNG, opaque only (libpng 1.2.43, zlib 1.2.3)
     PNG32 P  rw-  32-bit RGBA PNG, semitransparency OK (libpng 1.2.43, zlib 1.2.3)
      PNG8 P  rw-  8-bit indexed PNG, binary transparency only (libpng 1.2.43, zlib 1.2.3)

Bob

On Mon, 29 Mar 2010, Ron Lussier wrote:

> When attempting to use the 'gm' command to convert a PNG to a JPG, I get the following error:
> 
> Assertion failed: (semaphore_info != (SemaphoreInfo *) NULL), function LockSemaphoreInfo, file
> magick/semaphore.c, line 525.
> 
> The command I'm using is:
> 
>    gm convert -resize "500x500>" -quality 85 horses.png horses-med.jpg
> 
> I get the same exact error with the simplified command:
> 
>      gm convert horses.png horses-med.jpg
> or  gm convert horses.png horses-med.png
> 
> Conversions with other file types seem to work, but PNG conversions do not.  I'm trying this on a Mac with
> the latest OSX.  Is this a known bug?  Is there a work-around?
> 
> 'make check' also fails against the PNG images.  I've installed the Mac build of libpng.
> 
> Help?
> 
> Ron
> 
> --
> ron lussier / lenscraft                           fine art photography
> [email protected]                              89 crescent avenue
> AIM [email protected]                                 sausalito / ca 94965
> http://www.lenscraft.com/                              +1 415.669-4766
> 
> "Ignorance breeds monsters to fill up the vacancies of the soul that
> are unoccupied by the verities of knowledge." - Horace Mann
> 
>

--
Bob Friesenhahn
[email protected], http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer,    http://www.GraphicsMagick.org/

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev

_______________________________________________
Graphicsmagick-bugs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/graphicsmagick-bugs