Re: Weird Error Message


Bernie Maier
 

On Sat, 18 Jan 2020, at 9:26 PM, Dave wrote:
Hi All,

I’m getting this message in the XCode log whenever I run my App:

2020-01-18 11:19:15.773124+0100 SudokuSolverForMac[27373:7517021] flock failed to lock maps file: errno = 35

Should I be worried?


Research led to the determination that the messages are posted when you have more than one instance of a program running at the same time which might also have the same file open.

Is it possible that you have two instances of your app running and they both are somehow required write access to a globally shared file?

Unfortunately, I don’t know what I maps file is in this context, and that term on its own is too general to search for.

Cheers,
Bernie

Join {cocoa@apple-dev.groups.io to automatically receive all group messages.