Viewing Issue Simple Details Jump to Notes ] Wiki ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0010936 [DCSS] Bug Report minor have not tried 2017-02-11 00:48 2018-04-30 11:47
Reporter droogie View Status public  
Assigned To
Priority normal Resolution open  
Status new   Product Branch 0.21 old branch
Summary 0010936: High score file race condition
Description 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
Additional Information
Tags No tags attached.
Attached Files png file icon dcss-bug.png [^] (49,139 bytes) 2017-02-11 00:48

- Relationships

-  Notes
(0032210)
currency (reporter)
2018-04-30 11:47

This was addressed in the following PR: https://github.com/crawl/crawl/pull/742 [^]

- Issue History
Date Modified Username Field Change
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


Mantis 1.1.8[^]
Copyright © 2000 - 2009 Mantis Group
Powered by Mantis Bugtracker