Page 1 of 1

SIGABRT - lt-convert - coders/xwd.c:495 - b1f9b20c

Posted: 2015-01-08T21:12:04-07:00
by JodieC
Source file:
https://www.dropbox.com/s/xi24wnrbcl4b6ts/b1f9b20c?dl=0

To reproduce:

Code: Select all

convert $filename png:/dev/null
Output:
Aborted

Code: Select all

[New LWP 1952]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `/home/jodicun/opt/ImageMagick-2014-12-19/utilities/.libs/lt-convert -limit memo'.
Program terminated with signal SIGABRT, Aborted.
#0  0x00007ffff6e87bb9 in __GI_raise (sig=sig@entry=0x6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
56      ../nptl/sysdeps/unix/sysv/linux/raise.c: No such file or directory.
#0  0x00007ffff6e87bb9 in __GI_raise (sig=sig@entry=0x6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
#1  0x00007ffff6e8afc8 in __GI_abort () at abort.c:89
#2  0x00007ffff78b43b1 in MagickSignalHandler (signal_number=0x6) at magick/magick.c:1171
#3  <signal handler called>
#4  0x00007ffff6e87bb9 in __GI_raise (sig=sig@entry=0x6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
#5  0x00007ffff6e8afc8 in __GI_abort () at abort.c:89
#6  0x00007ffff78b43b1 in MagickSignalHandler (signal_number=0x8) at magick/magick.c:1171
#7  <signal handler called>
#8  0x00007ffff691be07 in ?? () from /usr/lib/x86_64-linux-gnu/libX11.so.6
#9  0x00007ffff7a37c70 in ReadXWDImage (image_info=<optimized out>, exception=0x605010) at coders/xwd.c:495
#10 0x00007ffff780dcb8 in ReadImage (image_info=image_info@entry=0x609330, exception=exception@entry=0x605010) at magick/constitute.c:547
#11 0x00007ffff780ecf3 in ReadImages (image_info=image_info@entry=0x609330, exception=exception@entry=0x605010) at magick/constitute.c:850
#12 0x00007ffff7477948 in ConvertImageCommand (image_info=0x609330, argc=0xf, argv=0x603fc0, metadata=0x0, exception=0x605010) at wand/convert.c:622
#13 0x00007ffff74e5a98 in MagickCommandGenesis (image_info=image_info@entry=0x605190, command=0x400880 <ConvertImageCommand@plt>, argc=argc@entry=0xf, argv=argv@entry=0x7fffffffdfc8, metadata=metadata@entry=0x0, exception=exception@entry=0x605010) at wand/mogrify.c:168
#14 0x0000000000400907 in ConvertMain (argv=0x7fffffffdfc8, argc=0xf) at utilities/convert.c:81
#15 main (argc=0xf, argv=0x7fffffffdfc8) at utilities/convert.c:92
exe = '/home/jodicun/opt/ImageMagick-2014-12-19/utilities/.libs/lt-convert -limit memo'
*

System Details:
AMD64
Distributor ID: Ubuntu
Description: Ubuntu 14.04.1 LTS
Release: 14.04
Codename: trusty

ImageMagick 6 compiled from SVN checkout 20150106.

Found with American Fuzzy Lop ( http://lcamtuf.coredump.cx/afl/ )

Re: SIGABRT - lt-convert - coders/xwd.c:495 - b1f9b20c

Posted: 2015-01-09T05:14:13-07:00
by magick
We can reproduce the problem you posted and have a patch in ImageMagick 6.9.0-4 Beta available by sometime tomorrow. Thanks.