GNU bug report logs - #23912
25.0.95; Abort in gc when working with streams

Previous Next

Package: emacs;

Reported by: Michael Heerdegen <michael_heerdegen <at> web.de>

Date: Thu, 7 Jul 2016 16:50:01 UTC

Severity: normal

Tags: moreinfo

Found in version 25.0.95

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Michael Heerdegen <michael_heerdegen <at> web.de>
Cc: 23912 <at> debbugs.gnu.org
Subject: bug#23912: 25.0.95; Abort in gc when working with streams
Date: Wed, 13 Jul 2016 23:16:12 +0300
> From: Michael Heerdegen <michael_heerdegen <at> web.de>
> Cc: 23912 <at> debbugs.gnu.org
> Date: Tue, 12 Jul 2016 23:53:31 +0200
> 
> #0  0x00007ffff1930c19 in raise () from /lib/x86_64-linux-gnu/libpthread.so.0
> #1  0x000000000054d2fe in terminate_due_to_signal (sig=6, backtrace_limit=40) at emacs.c:381
> #2  0x00000000005715d9 in emacs_abort () at sysdep.c:2247
> #3  0x00000000005c9c1d in garbage_collect_1 (end=0x7fffffff5868) at alloc.c:5662
> #4  0x00000000005ca55d in Fgarbage_collect () at alloc.c:5979
> #5  0x000000000054afbc in maybe_gc () at lisp.h:4654

I don't understand how this could have happened.  The only place that
sets abort_on_gc true is prin1-to-string, but it is not in the
backtrace.  So somehow that setting was not reset at the end of
prin1-to-string, and it looks like the only way that could have
happened is if some code triggered by prin1-to-string set
throw-on-input or called while-no-input.  Is this likely to have
happened during what you did?

Does anyone know/remember why we cannot allow GC during
prin1-to-string?  I'm not sure I understand why we do that, and the
comments don't help.




This bug report was last modified 8 years and 302 days ago.

Previous Next


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