GNU bug report logs - #27234
Hang in GC, inf loop while walking frame pointers

Previous Next

Package: guile;

Reported by: linasvepstas <at> gmail.com

Date: Sun, 4 Jun 2017 14:59:01 UTC

Severity: normal

Full log


View this message in rfc822 format

From: Linas Vepstas <linasvepstas <at> gmail.com>
To: 27234 <at> debbugs.gnu.org
Subject: bug#27234: Followup.
Date: Sat, 9 Sep 2017 15:44:11 -0500
[Message part 1 (text/plain, inline)]
The original bug report failed to explain how to trigger the bug.  I think
I know of a simple way to trigger the bug, but have not yet created the
simple test-case.  I believe that the bug can be triggered like so:

Create some medium-sized "random" (arbitrary) snippet of guile code. Send
it to the guile repl server.  Do it again and again, as fast as possible.
The bug will trigger.

By "arbitary/random" I mean some code that is simple but non-repeating:
say, concatenate some random strings, count the number of letters in them,
take the square root -- just do assorted, non-repeating computations that
force the REPL to evaluate some new blob of scheme code every time.

Now, once out of every 5 or 50 times, introduce a bug in the scheme code,
causing the REPL to throw an exception.  Using ut8 strings might also be a
required ingredient.

I believe that this will trigger the bug. I believe that the bug is some
unprotected section in the guile interpreter, and a race condition clobbers
the guile stack(s) and it all goes downhill from here.
[Message part 2 (text/html, inline)]

This bug report was last modified 7 years and 279 days ago.

Previous Next


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