segfault in png to gif conversion
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
imagemagick (Ubuntu) |
Fix Released
|
High
|
Marc Deslauriers | ||
Trusty |
Fix Released
|
High
|
Steve Beattie | ||
Xenial |
Fix Released
|
High
|
Steve Beattie | ||
Bionic |
Fix Released
|
High
|
Marc Deslauriers |
Bug Description
Regression between 8:6.8.9.
Test case:
1. Download the attached pngs.
2. Run:
/usr/bin/convert -limit memory 512MiB -limit map 0MiB -limit file 10 -delay 16 -loop 0 -coalesce -deconstruct ./*.png ./output.gif
Expected result:
Process finishes with resulting output.gif.
Actual result:
Process is aborted with SIGSEGV:
Other information:
In my tests looks like it has been introduced in 8:6.8.9.
Stack trace:
#0 EncodeImage (image_
image=0x636890) at ../../coders/
#1 WriteGIFImage (image_
at ../../coders/
#2 0x00007ffff79a5f0f in WriteImage (image_
image=
#3 0x00007ffff79a684f in WriteImages (image_
images=
exception=
#4 0x00007ffff763e84e in ConvertImageCommand (image_
argv=0x6143b0, metadata=0x0, exception=0x602ea0)
at ../../wand/
#5 0x00007ffff76ab527 in MagickCommandGe
image_
command=
argv=
exception=
#6 0x0000000000400877 in ConvertMain (argv=0x7ffffff
at ../../utilities
#7 main (argc=19, argv=0x7fffffff
Changed in imagemagick (Ubuntu): | |
assignee: | nobody → Marc Deslauriers (mdeslaur) |
tags: | removed: regression |
Changed in imagemagick (Ubuntu Trusty): | |
importance: | Undecided → High |
Changed in imagemagick (Ubuntu Xenial): | |
importance: | Undecided → High |
Changed in imagemagick (Ubuntu Bionic): | |
importance: | Undecided → High |
Thanks for reporting this issue. Looks like we're possibly missing a couple of commits:
https:/ /github. com/ImageMagick /ImageMagick6/ commit/ e5e87c087ed48db 886be0ff3aff404 1d38218192 /github. com/ImageMagick /ImageMagick6/ commit/ f5d04fc678f6798 4a1f8c1008dc8ea c8ee7e3629
https:/
I'll prepare a regression fix.