On 2017年10月19日 01:48, Andrej Mernik wrote: > Package: xracer > Version: 0.96.9.1-8+b1 > Severity: grave > Justification: renders package unusable > > Dear Maintainer, > > after completing the three laps of the inbuilt track, the game stops with > error: > > xracer:player.c:201: fatal error: function not implemented > Received user signal. > Received child termination signal. > > At this point it just hangs and never exits. Unfortunately it also doesn't > release the mouse. To exit, you have to switch to a virtual terminal and kill > it. > > This hang might pose a big problem for unexperienced users. > > Best Regards, > Andrej Mernik >
Hi Andrej, Thanks for reporting this bug. I can reproduce it. And it is a quite funny bug. The problem is actually the C optimizer is more powerful nowadays. So this bug is because a static variable modified by 2 threads. One thread is using busy wait on that variable. And makes the optimizer thinks that wait loop to be always true. The fix is to mark that static variable volatile to not let the optimizer optimize it. I'll fix this bug soon. Many Thanks, Paul -- PaulLiu (劉穎駿) E-mail: Ying-Chun Liu (PaulLiu) <paul...@debian.org>
signature.asc
Description: OpenPGP digital signature