On Mon, Jan 2, 2012 at 3:53 PM, Stephen J. Turnbull <stephen(a)xemacs.org> wrote:
 Robert Pluim writes:
  > We do use DGifSlurp, and that's what's telling us that the GIF file is
  > invalid, causing us to signal an error. I'd expect us to then return
  > 'nil', but it appears that somehow a literal '0' is escaping to
  > lisp.
 Ouch!  I'm afraid I don't have much expertise there.
  > I'm currently lost in a maze of unwind-protect and
  > call_with_suspended_errors to see how this could be fixed.
 Eh?  Why are there call_with_suspended_errors there? 
They're from when you call the _instantiate routine.
  Do you mean you
 can't get it to crash with just (make-glyph [gif :file "img.gif"])?
 
No. That works fine (and there's no crash when it does fail, just an
error). I don't think make-glyph actually causes the gif to be read
until later.
Robert
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://lists.xemacs.org/mailman/listinfo/xemacs-beta