GNU bug report logs - #25172
26.0.50; Concurrency feature, sit-for doesn't work (crashing and unexpected behaviour)

Previous Next

Package: emacs;

Reported by: Elias Mårtenson <lokedhs <at> gmail.com>

Date: Sun, 11 Dec 2016 16:38:01 UTC

Severity: normal

Found in version 26.0.50

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: Elias Mårtenson <lokedhs <at> gmail.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 25172 <at> debbugs.gnu.org, Clément Pit--Claudel <clement.pit <at> gmail.com>
Subject: bug#25172: 26.0.50; Concurrency feature, sit-for doesn't work (crashing and unexpected behaviour)
Date: Tue, 13 Dec 2016 12:11:58 +0800
[Message part 1 (text/plain, inline)]
I've bisected now, but during my testing I realised that the problem didn't
go away. Instead, it just took a bit longer to reproduce.

I discovered that a very effective way to reproduce the issue is just to
start several threads at the same time, so I simply extended the test case
to the following:

(require 'cl(
(loop repeat 10 do (make-thread (lambda () (sit-for 5) (with-current-buffer
"z" (insert "hello")))))

When running this test, I have gotten two different errors. One SIGSEGV and
another being SIGABRT.

I will include the stack traces for both test cases in the following two
emails.

Regards,
Elias
[Message part 2 (text/html, inline)]

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

Previous Next


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