GNU bug report logs -
#45907
Emacs has problems with some GIF files
Previous Next
Reported by: dick <dick.r.chiang <at> gmail.com>
Date: Fri, 15 Jan 2021 23:18:02 UTC
Severity: normal
Fixed in version 27.2
Done: dick <dick.r.chiang <at> gmail.com>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
dick <dick.r.chiang <at> gmail.com> writes:
> LI> curl
> LI> "https://raw.githubusercontent.com/enphysoft/search-gmail-using-message-id/main/images/lgmid.gif"
> LI> > /tmp/lgmid.gif emacs -Q /tmp/lgmid.gif
>
> This does not reproduce the error because it doesn't hit `shr-put-image` nor
> `insert-image`. The error that I saw was memory being consumed *without limit*.
You didn't really say what you were seeing.
When doing the test case, I see Emacs grow to 2.6GB, and there it stops,
which is the same I see when doing
./src/emacs -Q -f eww-browse file:///tmp/lgmid.gif
In both cases, my Emacs says that it's stopping the animation because
it's too big (in both Emacs 27 and on the trunk).
In any case, whether the Content-Type is image/* or application/* makes
no difference, of course.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
This bug report was last modified 4 years and 128 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.