elimelec / inethack

Automatically exported from code.google.com/p/inethack
GNU General Public License v2.0
0 stars 0 forks source link

logfile_lock does not get cleaned up before game starts #126

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Play the game until you get to a segfault (try the monster(0) one)
2. Start up the game again and die naturally with a score that will put you 
on the high-scores list.

What is the expected output? What do you see instead?
Normally when you die you see the high-scores list or something similar, 
after identifying your possessions, seeing your attributes, etc.

Instead, I see a sequence of messages saying "Waiting for access to logfile. 
(%d retries left)." with %d going from 9 to 0. After these messages it says "I 
give up. Sorry." and then "Perhaps there is an old logfile_lock around?"

What version of the product are you using? On what operating system?
I'm using iNethack 1.1 on iPhone OS 3.1.2.

Please provide any additional information below.
It seems like it would be safe on the iPhone, since it's a single-player 
environment, to remove any logfile_locks before the game starts ? Of 
course this is just a hack and the segfaults should be fixed eventually, but 
it would certainly make recovery from previous segfaults nicer.

Original issue reported on code.google.com by lmjohns3 on 13 Oct 2009 at 3:45

GoogleCodeExporter commented 8 years ago

Original comment by din...@gmail.com on 14 Oct 2009 at 9:22

GoogleCodeExporter commented 8 years ago
Does anyone know how to clear this error in lieu of a fix to the application?  
I got
this today and the issue persists across gameplay sessions as the lock file is 
never
cleared.

Original comment by calbe...@gmail.com on 15 Oct 2009 at 9:16

GoogleCodeExporter commented 8 years ago
I guess only a re-install works (with a complete erase of the application 
first).

Original comment by din...@gmail.com on 16 Oct 2009 at 3:05