Page 1 of 1

Crash when displaying gif image

Posted: 2011-03-03T10:22:17-07:00
by psfales
I'm seeing a repeatable crash with 6.6.7-10 (possibly earlier, but not tested) running on Linux.

To reproduce, use "display" to show a gif image, then right-click and select next. This consistently causes a crash, but only with gif files. It doesn't happen with .png or .jpg

The stack trace is below (but I suspect the real memory error is somewhere else - such as the gif code - and is only showing up later)

(gdb) bt
#0 0x42074d81 in malloc_consolidate () from /lib/tls/libc.so.6
#1 0x42074c68 in _int_free () from /lib/tls/libc.so.6
#2 0x42073908 in free () from /lib/tls/libc.so.6
#3 0x40a956ab in _XF86BigfontFreeFontMetrics ()
from /usr/X11R6/lib/libX11.so.6
#4 0x40a949d8 in XFreeFont () from /usr/X11R6/lib/libX11.so.6
#5 0x401dd87c in DestroyXResources () at magick/xwindow.c:377
#6 0x401dff44 in XComponentTerminus () at magick/xwindow.c:1649
#7 0x4013e7d6 in MagickCoreTerminus () at magick/magick.c:1371
#8 0x08048859 in main (argc=2, argv=0xbffff714) at utilities/display.c:111
(gdb)

Re: Crash when displaying gif image

Posted: 2011-05-26T10:16:53-07:00
by psfales
For what it's worth, I'm still seeing this in 6.7.0-1

Re: Crash when displaying gif image

Posted: 2011-05-26T10:58:48-07:00
by magick
We cannot reproduce the problem. What Linux and OS level are you running under?