GNU bug report logs -
#23158
25.1.50; crash by consecutive http accesses
Previous Next
Reported by: Katsumi Yamaoka <yamaoka <at> jpl.org>
Date: Wed, 30 Mar 2016 06:22:02 UTC
Severity: normal
Found in version 25.1.50
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
Katsumi Yamaoka <yamaoka <at> jpl.org> writes:
> When trying to read it using Gnus, Gnus tries to fetch gravatar
> image for each address, and those consecutive http accesses seem
> to crash Emacs. Here is a simplified code for `emacs -Q' to
> reproduce the problem:
>
> (progn
> (require 'gnus-gravatar)
> (require 'url)
> (with-temp-buffer
> (let ((url-cache-expire-time 0)
> (gnus-article-buffer (current-buffer)))
> (insert "From:")
> (dotimes (i 255) (insert " foo <at> example.com.invalid,"))
> (insert "\n")
> (gnus-gravatar-transform-address "from" 'from-gravatar))))
Hm... this doesn't crash Emacs on this Linux machine, at least.
> #0 0x00475e27 in setup_coding_system (coding_system=2025368, coding=0xffffffff) at coding.c:5706
> eol_type = <optimized out>
> #1 0x005734fa in setup_process_coding_systems (process=process <at> entry=1659289077) at process.c:7507
> inch = 64
> outch = 64
> coding_system = <optimized out>
> #2 0x00577705 in Fmake_network_process (ip_addresses=<optimized out>, proc=1659289077) at process.c:3375
> family = 2
This is happening in the code paths that were refactored during the
async network rewrite, but this seems to be called pretty
straightforwardly here (not in a callback from the DNS code). (Which
makes sense, since Windows doesn't have getaddrinfo_a...)
Hm... coding=0xffffffff looks pretty suspicious, but it's difficult to
tell with an optimised build.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
This bug report was last modified 5 years and 240 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.