GNU bug report logs -
#36609
27.0.50; Possible race-condition in threading implementation
Previous Next
Reported by: Andreas Politz <politza <at> hochschule-trier.de>
Date: Thu, 11 Jul 2019 20:52:02 UTC
Severity: normal
Tags: fixed
Found in version 27.0.50
Fixed in version 28.1
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
> From: Pip Cet <pipcet <at> gmail.com>
> Date: Fri, 12 Jul 2019 09:02:22 +0000
> Cc: 36609 <at> debbugs.gnu.org
>
> On Thu, Jul 11, 2019 at 8:52 PM Andreas Politz
> <politza <at> hochschule-trier.de> wrote:
> > I think there is a race-condition in the implementation of threads. I
> > tried to find a minimal test-case, without success. Thus, I've attached
> > a lengthy source-file. Loading that file should trigger this bug and
> > may freeze your session.
>
> It does here, so I can provide further debugging information if
> needed.
Thanks, can you provide the info I asked for?
> On first glance, it appears that xgselect returns abnormally with
> g_main_context acquired in one thread, and then other threads fail
> to acquire it and loop endlessly.
If you can describe what causes this to happen, I think we might be
half-way to a solution.
> + ptrdiff_t count = SPECPDL_INDEX ();
I don't think we should do that at this low level.
This bug report was last modified 4 years and 27 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.