Page 1 of 1

[Oxyd] [15.19] Game doesn't start after update to 0.15

Posted: Fri Jun 09, 2017 11:06 am
by sanctorio
Game works fine on 14.23.

Auto-Updater updates up to 15.19, restarts the game and then:

0.000 Error Util.cpp:62: Couldn't acquire exclusive lock for /home/user/factorio/.lock: Bad file descriptor. Is another instance already running?

------------- Error -------------
Couldn't acquire exclusive lock for /home/user/factorio/.lock: Bad file descriptor. Is another instance already running?
---------------------------------
0.000 Goodbye

Direct download of experimental from the website gives the same error.

System: Debian 3.16 on 64bit

What i tried:
- check permissions of the folder and subfolders
- check different 0.15 versions, error is reproducable

Re: [15.19] Game doesn't start after update to experimental

Posted: Fri Jun 09, 2017 11:10 am
by Koub
Du you have a ~/factorio/.lock file ?
If yes, can you delete it ?

Re: [15.19] Game doesn't start after update to experimental

Posted: Fri Jun 09, 2017 11:18 am
by sanctorio
No there isn't one, i can create and delete it and if i create the.lock file and leave it be, at startup the same error appears, the file gets deleted and the program stops again.
I hope this isn't confusing.
This happens with absolutely fresh installs of factorio, too.

Re: [15.19] Game doesn't start after update to experimental

Posted: Fri Jun 09, 2017 12:05 pm
by Loewchen
sanctorio wrote:No there isn't one, i can create and delete it and if i create the.lock file and leave it be, at startup the same error appears(...)
Just to be sure, you looked in your user directory and not the installation directory?

Re: [15.19] Game doesn't start after update to experimental

Posted: Fri Jun 09, 2017 12:30 pm
by Oxyd
Very interesting. What filesystem type is your ~/factorio on?

Re: [15.19] Game doesn't start after update to experimental

Posted: Mon Jun 12, 2017 2:16 pm
by sanctorio
Interestingly enough, you were right.

My /home folder resides in an NFS share, which seemed to work for factorio until 0.15 came about.

I moved it to a local folder and 0.15 worked out of the box, there were some crashes upon joining several multiplayer games, but I can't really pinpoint, what causes it or how to report them. (Computer slows down and almost freezes for a couple minutes)

On most, it works so far.

But the above mentionend problem seems solved, so thank you!

Re: [Oxyd] [15.19] Game doesn't start after update to 0.15

Posted: Tue Jun 13, 2017 3:29 pm
by Oxyd
I guess NFS doesn't support file locking – which would make sense. The point of the lock is just to prevent people from accidentally running two instances with the same write-data and then getting confused about why multiplayer won't work – so there's no point in quitting the game if file locking isn't supported.

So, should be fixed in 0.15.20.