GNU bug report logs - #16878
24.3.50; gif animation continues even after killing buffer

Previous Next

Package: emacs;

Reported by: Ivan Kanis <ivan <at> kanis.fr>

Date: Tue, 25 Feb 2014 12:55:01 UTC

Severity: normal

Found in version 24.3.50

Fixed in version 24.4

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #23 received at 16878 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Ivan Kanis <ivan <at> kanis.fr>
Cc: 16878 <at> debbugs.gnu.org
Subject: Re: bug#16878: 24.3.50;
 gif animation continues even after killing buffer
Date: Tue, 25 Feb 2014 20:29:03 +0200
> From: Ivan Kanis <ivan <at> kanis.fr>
> Cc: 16878 <at> debbugs.gnu.org
> Date: Tue, 25 Feb 2014 18:57:08 +0100
> 
> February, 25 at 19:31 Eli wrote:
> 
> >> From: Ivan Kanis <ivan <at> kanis.fr>
> >> Cc: 16878 <at> debbugs.gnu.org
> >> Date: Tue, 25 Feb 2014 18:06:20 +0100
> >> 
> >> Lisp Backtrace:
> >> "image-metadata" (0xbfffd4e8)
> >> "image-multi-frame-p" (0xbfffd7e8)
> >> "image-animate-timeout" (0xbfffdb04)
> >> "apply" (0xbfffdc08)
> >> "byte-code" (0xbfffdee0)
> >> "timer-event-handler" (0xbfffe2d0)
> >
> > Thanks.  So now the question becomes: which timer is that whose
> > handler is being run?
> 
> I am not sure I understand the question.

Look at the Lisp backtrace above: this whole business started from
some timer which eventually cause image-animate-timeout to run.  The
way to fix this is either stop the timer when the buffer is killed, or
teach image-animate-timeout to check that the buffer still exists,
before it calls image-multi-frame-p etc.

> Can you reproduce it?

No.  I don't have Emacs with Imagemagick support anywhere near me,
sorry.  Perhaps someone else could look into this, then.




This bug report was last modified 11 years and 92 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.