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

This subforum contains all the issues which we already resolved.
sanctorio
Manual Inserter
Manual Inserter
Posts: 3
Joined: Fri Jun 09, 2017 10:32 am
Contact:

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

Post 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
Koub
Global Moderator
Global Moderator
Posts: 7774
Joined: Fri May 30, 2014 8:54 am
Contact:

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

Post by Koub »

Du you have a ~/factorio/.lock file ?
If yes, can you delete it ?
Koub - Please consider English is not my native language.
sanctorio
Manual Inserter
Manual Inserter
Posts: 3
Joined: Fri Jun 09, 2017 10:32 am
Contact:

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

Post 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.
Loewchen
Global Moderator
Global Moderator
Posts: 9103
Joined: Wed Jan 07, 2015 5:53 pm
Contact:

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

Post 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?
Oxyd
Former Staff
Former Staff
Posts: 1428
Joined: Thu May 07, 2015 8:42 am
Contact:

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

Post by Oxyd »

Very interesting. What filesystem type is your ~/factorio on?
sanctorio
Manual Inserter
Manual Inserter
Posts: 3
Joined: Fri Jun 09, 2017 10:32 am
Contact:

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

Post 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!
Oxyd
Former Staff
Former Staff
Posts: 1428
Joined: Thu May 07, 2015 8:42 am
Contact:

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

Post 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.
Post Reply

Return to “Resolved Problems and Bugs”