Page 1 of 2

[0.12.0] [Mac OS Lion] Crash before loading screen

Posted: Sat Jul 18, 2015 11:48 am
by infinitehubgear
Mac version: 10.7.5

I got a popup window before the loading screen (which never came up)
Image
This happened when i updated via the 0.11.20 updater and when i downloaded the .dmg separately.
Restarting my machine doesn't solve it.

No factorio log file is produced, but I did get this from the system logs.

Code: Select all

17/07/2015 23:34:01.368 [0x0-0x11e11e].com.factorio:    0.000  Error Paths.cpp:126: Failed to encode executable path as UTF-8.
17/07/2015 23:34:01.368 [0x0-0x11e11e].com.factorio:    0.000  Error Util.cpp:45: Unexpected error occurred. You can help us to solve the problem by posting the contents of the log file on the Factorio forums.

Re: [0.12.0][Mac OS Lion] Crash before loading screen

Posted: Sat Jul 18, 2015 1:20 pm
by mrdormouse
Hi, I'm having the same issue on the same configuration, MacOS 10.7.5

The popup is the only warning i'm getting, there's no factorio log, haven't checked the system log but i suppose it's gonna be the same.

Tried both downloading the .dmg and autoupdater, tried putting a config.ini in the factorio folder with low graphic settings, no change.

0.11.22 runs quite fine tho :D

Let me know if there's anything I can try to help you guys!

Re: [0.12.0][Mac OS Lion] Crash before loading screen

Posted: Sun Jul 19, 2015 10:33 am
by KeepOnBuilding
Same problem here on OS X 10.8.5.

Re: [0.12.0][Mac OS Lion] Crash before loading screen

Posted: Sun Jul 19, 2015 11:58 am
by infinitehubgear
It might be interesting to see what you two got in the system logs.

You can open the Console from Applications->Utility->Console and make sure you select "All Messages" on the top left hand side. Then run Factorio 0.12.0 and that's what popped up in my System Log.

Re: [0.12.0][Mac OS Lion] Crash before loading screen

Posted: Sun Jul 19, 2015 5:06 pm
by mrdormouse
infinitehubgear wrote:It might be interesting to see what you two got in the system logs.
Yup, there it is:

Code: Select all

19/07/15 19:02:37,140 [0x0-0x6a06a].com.factorio:    0.000  Error Paths.cpp:126: Failed to encode executable path as UTF-8.

19/07/15 19:02:37,140 [0x0-0x6a06a].com.factorio:    0.000  Error Util.cpp:45: Unexpected error occurred. You can help us to solve the problem by posting the contents of the log file on the Factorio forums.

19/07/15 19:02:39,336 com.apple.launchd.peruser.501: ([0x0-0x6a06a].com.factorio[657]) Exited with code: 1

Re: [0.12.0][Mac OS Lion] Crash before loading screen

Posted: Mon Jul 20, 2015 5:24 am
by KeepOnBuilding
OS X 10.8.5:
If I just double-click the factorio icon, system.log shows:

Code: Select all

Jul 20 15:21:12 Mac com.apple.launchd.peruser.501[310] ([0x0-0x308308].com.factorio[7505]): Exited with code: 1
Or I can:

Code: Select all

$ cd /Applications/factorio.app/Contents/MacOS
$ ./factorio 
   0.000  Error Paths.cpp:126: Failed to encode executable path as UTF-8.
   0.000  Error Util.cpp:45: Unexpected error occurred. You can help us to solve the problem by posting the contents of the log file on the Factorio forums.
and nothing shows in system.log

So same problem, slightly different presentation.

There is no factorio prefs folder created in either case, the app totally fails to launch.

KoB!

Re: [0.12.0][Mac OS Lion] Crash before loading screen

Posted: Mon Jul 20, 2015 8:39 pm
by KeepOnBuilding
So… are there any Mac users who CAN run 0.12.0?

I am really keen to try out the new version… so if there's something wrong with my system, I'll fix it!

But if this build is broken… I'll just have to wait.

Thanks, and
KeepOnBuilding!

Re: [0.12.0][Mac OS Lion] Crash before loading screen

Posted: Mon Jul 20, 2015 9:55 pm
by HanziQ
This was an attempt to fix problems with japanese Mac, it seems that I will have to revert it then. Could you send me your system usernames and languages?

Re: [0.12.0][Mac OS Lion] Crash before loading screen

Posted: Mon Jul 20, 2015 10:23 pm
by KeepOnBuilding
System language is English.

System username is simple lowercase alpha characters.

Re: [0.12.0][Mac OS Lion] Crash before loading screen

Posted: Tue Jul 21, 2015 8:30 am
by HanziQ
Damn, I expected something wild... I will revert the change for the next patch, sorry for the inconvenience.

Re: [0.12.0][Mac OS Lion] Crash before loading screen

Posted: Tue Jul 21, 2015 9:17 am
by KeepOnBuilding
The only thing I can see which could cause any problem is that my hard drive is called "Macintosh HD" with a space in it.

I would be happy to test an experimental alpha build :)

Re: [0.12.0][Mac OS Lion] Crash before loading screen

Posted: Tue Jul 21, 2015 9:20 am
by infinitehubgear
Same, English and 4 lower case letters for user name. Maybe I should try changing it to Kanji to make it work ;)

Re: [0.12.0][Mac OS Lion] Crash before loading screen

Posted: Tue Jul 21, 2015 9:34 am
by KeepOnBuilding
I tried changing my system language to Japanese and it didn't help.

p.s. it's much easier setting your language to Japanese than it is to change it back!

Re: [0.12.0][Mac OS Lion] Crash before loading screen

Posted: Tue Jul 21, 2015 10:07 am
by infinitehubgear
Maybe you would also have to change your user name or the path file to make it work. I think I'll wait for the next patch!

Re: [0.12.0][Mac OS Lion] Crash before loading screen

Posted: Tue Jul 21, 2015 10:31 am
by mrdormouse
HanziQ wrote:Could you send me your system usernames and languages?
English system language, system username is 6 alpha characters, one uppercase and the rest lowercase... nothing wild neither here ;)

EDIT: I'll cross-reference a couple of other thread i've seen popping up about MacOS and this UTF-8 bug:
https://forums.factorio.com/forum/vie ... 11&t=13759 (on a 10.6.8 MacOS)
https://forums.factorio.com/forum/vie ... 49&t=13659

Re: [0.12.0][Mac OS Lion] Crash before loading screen

Posted: Tue Jul 21, 2015 10:25 pm
by wyan
I have the same problem on my Mac OSX version 10.8.5.
https://forums.factorio.com/forum/vie ... 49&t=13659

I guess no 0.12 for me for a while.
I really hope it gets fixed soon, I can't wait to play again.

Re: [0.12.0][Mac OS Lion] Crash before loading screen

Posted: Thu Jul 23, 2015 8:42 pm
by evgenybabenko
The same problem. 10.8.5

Log:

23.07.15 23:54:28,882 com.apple.launchd.peruser.501[255]: ([0x0-0x8f08f].com.factorio[1702]) Exited with code: 1

Re: [0.12.0][Mac OS Lion] Crash before loading screen

Posted: Thu Jul 23, 2015 10:27 pm
by KeepOnBuilding
Lots of bug fixes have been logged.

I'm hoping for a 0.12.1 release tomorrow!

KeepOnBuilding!

Re: [0.12.0][Mac OS Lion] Crash before loading screen

Posted: Fri Jul 24, 2015 6:35 pm
by infinitehubgear
Confirmed, 0.12.1 works on my mac. Thanks!

Re: [0.12.0][Mac OS Lion] Crash before loading screen

Posted: Sat Jul 25, 2015 2:53 pm
by akisute
No, it's not fixed but got worth. 0.12.0 worked without any problems on my iMac, OS X 10.10.4 (Yosemite). But now 0.12.1 crashes before loading screen without any trace of logs at all, like infinitehubgear said before. You must have done something that only works on legacy Macs...

Btw my iMac runs with system language set to Japanese so it might affect something.