Menu

#610 GraphicsMagick 1.3.32 gives SIGABRT with compare module

v1.0_(example)
closed-fixed
None
5
2019-07-24
2019-07-01
Paul Wessel
No

My macports installation updated over night and gave me gm 1.3.32 and our testing system for comparing postscript plots immediately started crashing. Specifically, commands like this (does not matter what the PostScript files are but I attach a small one) fail with SIGABRT:

gm compare -density 200 -maximum-error 0.003 -highlight-color magenta -highlight-style assign -metric rmse -file box.png t.ps t.ps

The same commands work fine on earlier gm versions.

1 Attachments

Discussion

  • Paul Wessel

    Paul Wessel - 2019-07-01

    The specific message is:
    gm compare: abort due to signal 6 (SIGABRT) "Abort"...
    Abort trap: 6

     
    • Bob Friesenhahn

      Bob Friesenhahn - 2019-07-01

      On Mon, 1 Jul 2019, Paul Wessel wrote:

      The specific message is:
      gm compare: abort due to signal 6 (SIGABRT) "Abort"...
      Abort trap: 6

      I am away on a vacation trip at the moment. Please check if the
      latest development snapshot has the problem, or try the latest from
      Mercurial. This already existing changeset fixed a SIGABRT during
      initialization under OS X and will likely fix the problem:

      changeset: 16063:f30492f40f78
      user: Bob Friesenhahn bfriesen@GraphicsMagick.org
      date: Mon Jun 17 18:54:43 2019 -0500
      files: ChangeLog coders/png.c www/Changelog.html
      description:
      RegisterPNGImage(): Pass correct size value to strlcat().

      If you can't use the latest code, then the simplest quick fix is to
      change the code around line 6424 from:

      6423   static char
      6424     version[32];
      

      to

      6423   static char
      6424     version[MaxTextExtent];
      

      Bob

      Bob Friesenhahn
      bfriesen@simple.dallas.tx.us, http://www.simplesystems.org/users/bfriesen/
      GraphicsMagick Maintainer, http://www.GraphicsMagick.org/
      Public Key, http://www.simplesystems.org/users/bfriesen/public-key.txt

       
  • Bob Friesenhahn

    Bob Friesenhahn - 2019-07-24
    • status: open --> closed-fixed
    • assigned_to: Bob Friesenhahn
     
  • Bob Friesenhahn

    Bob Friesenhahn - 2019-07-24

    The problem with initializing the PNG module is fixed as of the 1.3.33 release made this past weekend.

     

Log in to post a comment.