Dungeon Crawl Stone Soup Tracker - DCSS
Viewing Issue Advanced Details
10936 Bug Report minor have not tried 2017-02-11 00:48 2019-01-24 03:44
droogie Remote  
ebering Online  
normal WebTiles  
resolved 0.21 ancient branch  
0.20-a0-629-gc37eb77 done  
0010936: High score file race condition
On high score page the game is highlighting the wrong player name.

<+|amethyst> it calculates your hiscore index while it's in the process of writing out the new score file
<+|amethyst> then, to print the scores, it reopens the file and reads the entries again
<+|amethyst> but someone else may have ended their game in the intervening time
<+|amethyst> we do lock the file, but
<+|amethyst> that doesn't matter when you close it and then reopen it, because that drops the lock
png file icon dcss-bug.png [^] (49,139 bytes) 2017-02-11 00:48
Issue History
2017-02-11 00:48 droogie New Issue
2017-02-11 00:48 droogie File Added: dcss-bug.png
2018-04-30 11:47 currency Note Added: 0032210
2019-01-24 03:44 ebering Note Added: 0032989
2019-01-24 03:44 ebering Status new => resolved
2019-01-24 03:44 ebering Resolution open => done
2019-01-24 03:44 ebering Assigned To => ebering

2018-04-30 11:47   
This was addressed in the following PR: https://github.com/crawl/crawl/pull/742 [^]
2019-01-24 03:44   
The PR was merged as 0.23-a0-687-gb50ad93e3a