[0.12.6] [Mac OSX] [Martin] [pending] Freeze on application start
Posted: Wed Feb 04, 2015 6:46 pm
When starting Factorio the application sometimes freezes ( i.e. beachballs ). This seems to happen around half of the time and then there is nothing to do than force quit and restart Factorio and hope for better luck.
As far as I can tell, the only errors that show up are the following:
I suspect that this is actually the problem given that when it locks up then one of the three windows that Factorio spawns does not have the usual window title ( i.e. "Factorio 0.11.15" in this case ). It's a bit hard to see but here are two screenshots of that:


Given that it goes through ALOpenGLView then it's likely an Allegro bug, but unless it's only on my machine then it should probably be adressed before the stable version.
As far as I can tell, the only errors that show up are the following:
Code: Select all
2015-02-04 10:32:59.669 factorio[63983:2915225] NSWindow warning: adding an unknown subview: <NSView: 0x104a26070>
2015-02-04 10:32:59.671 factorio[63983:2915225] Call stack:
(
0 AppKit 0x00007fff8e773a9c -[NSThemeFrame addSubview:] + 107
1 AppKit 0x00007fff8e0c734e -[NSView replaceSubview:with:] + 153
2 AppKit 0x00007fff8e87d3f9 __60-[NSView(NSFullScreenMode) enterFullScreenMode:withOptions:]_block_invoke + 159
3 AppKit 0x00007fff8e1aa9b5 NSPerformWithScreenUpdatesDisabled + 65
4 AppKit 0x00007fff8e87d2f2 -[NSView(NSFullScreenMode) enterFullScreenMode:withOptions:] + 2972
5 factorio 0x00000001006a6d66 -[ALOpenGLView enterFullScreenWindowMode] + 166
6 Foundation 0x00007fff8adb1f4c __NSThreadPerformPerform + 293
7 CoreFoundation 0x00007fff8cf1d661 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
8 CoreFoundation 0x00007fff8cf0f7ed __CFRunLoopDoSources0 + 269
9 CoreFoundation 0x00007fff8cf0ee1f __CFRunLoopRun + 927
10 CoreFoundation 0x00007fff8cf0e838 CFRunLoopRunSpecific + 296
11 HIToolbox 0x00007fff8d3a743f RunCurrentEventLoopInMode + 235
12 HIToolbox 0x00007fff8d3a71ba ReceiveNextEventCommon + 431
13 HIToolbox 0x00007fff8d3a6ffb _BlockUntilNextEventMatchingListInModeWithFilter + 71
14 AppKit 0x00007fff8e0b26d1 _DPSNextEvent + 964
15 AppKit 0x00007fff8e0b1e80 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 194
16 AppKit 0x00007fff8e0a5e23 -[NSApplication run] + 594
17 factorio 0x00000001006a512b _al_osx_run_main + 1675
18 factorio 0x00000001007ce970 main + 16
19 factorio 0x0000000100001214 start + 52
)


Given that it goes through ALOpenGLView then it's likely an Allegro bug, but unless it's only on my machine then it should probably be adressed before the stable version.