Segmentation fault

Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
Post Reply
oleksiy
Posts: 12
Joined: 2014-11-22T16:53:32-07:00
Authentication code: 6789

Segmentation fault

Post by oleksiy »

Hi,

I receive segmentation fault on Linux and 'Abort trap: 6' on Mac with Image Magick 6.9.0-0 and 6.8.9-7 with the following command:

convert '/tmp/file.png' '(' -clone 0 -fill white -colorize 100% -fill black -draw 'translate 1332,701 roundRectangle -1332,-701 1332,701 1332,701' ')' -compose multiply -composite -compose over png:/tmp/out.png

file.png: https://www.dropbox.com/s/545ekl46ypszykw/file.png?dl=0

Thanks!
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: Segmentation fault

Post by fmw42 »

convert '/tmp/file.png' '(' -clone 0 -fill white -colorize 100% -fill black -draw 'translate 1332,701 roundRectangle -1332,-701 1332,701 1332,701' ')' -compose multiply -composite -compose over png:/tmp/out.png
On unix systems, each parenthesis should be escaped with \

try

convert '/tmp/file.png' \( -clone 0 -fill white -colorize 100% -fill black -draw 'translate 1332,701 roundRectangle -1332,-701 1332,701 1332,701' \) -compose multiply -composite -compose over png:/tmp/out.png


Personally, I would not work with image in /tmp. I suggest you move your data out of /tmp. I believe it is for temporary data, primarily. You may also have a limited amount of space in /tmp.
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: Segmentation fault

Post by magick »

We can reproduce the problem you posted and have a patch in ImageMagick 6.9.0-1 Beta, available by sometime tomorrow. Thanks.
oleksiy
Posts: 12
Joined: 2014-11-22T16:53:32-07:00
Authentication code: 6789

Re: Segmentation fault

Post by oleksiy »

Thanks!

/tmp was used just as an example
Post Reply