[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#36609: 27.0.50; Possible race-condition in threading implementation
From: |
dick . r . chiang |
Subject: |
bug#36609: 27.0.50; Possible race-condition in threading implementation |
Date: |
Thu, 10 Jun 2021 17:36:13 -0400 |
User-agent: |
Gnus/5.14 (Gnus v5.14pre) Emacs/28.0.50 (gnu/linux) |
EZ> Is it, really?
Yes. While I can't claim to be any more knowledgeable, the naivete of someone
protesting thread atomicity based on word-size is stunningly apparent.
EZ> And you can show a GDB backtrace with values of the variable that supports
EZ> that?
Alas I cannot. My gdb skills are less impressive in the presence of threads,
and heisenbugs of this nature tend to mysteriously disappear when gdb's
leisurely pace gives caches ample time to flush.
I mentioned earlier I could not reproduce my MRE failure when I merely inserted
print statements.
My patch isn't quite as studied as Pip Cet's (my patch merely skirts locking
the glib unless you're main-thread-p), but it does fix OP and, unlike the
current state of the code, doesn't admit glaring theoretical flaws, even
though you seem to think those flaws could never materialize in practice
despite evidence (gdb-less as it is) to the contrary.
- bug#36609: 27.0.50; Possible race-condition in threading implementation, dick . r . chiang, 2021/06/06
- bug#36609: 27.0.50; Possible race-condition in threading implementation, Eli Zaretskii, 2021/06/06
- bug#36609: 27.0.50; Possible race-condition in threading implementation, dick . r . chiang, 2021/06/06
- bug#36609: 27.0.50; Possible race-condition in threading implementation, Eli Zaretskii, 2021/06/06
- bug#36609: 27.0.50; Possible race-condition in threading implementation, dick . r . chiang, 2021/06/09
- bug#36609: 27.0.50; Possible race-condition in threading implementation, Eli Zaretskii, 2021/06/10
- bug#36609: 27.0.50; Possible race-condition in threading implementation, dick . r . chiang, 2021/06/10
- bug#36609: 27.0.50; Possible race-condition in threading implementation, Eli Zaretskii, 2021/06/10
- bug#36609: 27.0.50; Possible race-condition in threading implementation, dick . r . chiang, 2021/06/10
- bug#36609: 27.0.50; Possible race-condition in threading implementation, Eli Zaretskii, 2021/06/10
- bug#36609: 27.0.50; Possible race-condition in threading implementation,
dick . r . chiang <=
- bug#36609: 27.0.50; Possible race-condition in threading implementation, Eli Zaretskii, 2021/06/11
- bug#36609: 27.0.50; Possible race-condition in threading implementation, Eli Zaretskii, 2021/06/19
- bug#36609: 27.0.50; Possible race-condition in threading implementation, dick . r . chiang, 2021/06/19
- bug#36609: 27.0.50; Possible race-condition in threading implementation, Eli Zaretskii, 2021/06/19
- bug#36609: 27.0.50; Possible race-condition in threading implementation, dick . r . chiang, 2021/06/19
- bug#36609: 27.0.50; Possible race-condition in threading implementation, Eli Zaretskii, 2021/06/20
- bug#36609: 27.0.50; Possible race-condition in threading implementation, dick . r . chiang, 2021/06/20
- bug#36609: 27.0.50; Possible race-condition in threading implementation, Eli Zaretskii, 2021/06/20
- bug#36609: 27.0.50; Possible race-condition in threading implementation, Eli Zaretskii, 2021/06/25
- bug#36609: 27.0.50; Possible race-condition in threading implementation, Andreas Schwab, 2021/06/10