Crashing on OSX

Post your technical problems here.
Moog101
Cadet
Posts: 2
Joined: Thu Oct 18, 2012 6:49 pm

Crashing on OSX

Unread postby Moog101 » Thu Oct 18, 2012 6:53 pm

Hi

I'm running OSX 10.8.2 and downloaded the Mac Demo of UoC and it worked perfectly.

I purchased the full version from Steam and the application crashes every time I try to open it.
Are there any known issues with the Steam version which have been fixed to work in the Demo?

The crash report follows if it helps...

Thanks

Crashed Thread: 0 Dispatch queue: com.apple.main-thread

Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x000000003bd3e090

VM Regions Near 0x3bd3e090:
MALLOC_TINY 0000000000100000-0000000000200000 [ 1024K] rw-/rwx SM=PRV
-->
__TEXT 000000008feee000-000000008ff21000 [ 204K] r-x/rwx SM=COW /usr/lib/dyld

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 net.unityofcommand.uoc 0x00001996 start + 42

Thread 0 crashed with X86 Thread State (32-bit):
eax: 0xbffffc18 ebx: 0xbffffc2c ecx: 0xbffffc20 edx: 0x00000000
edi: 0x00000001 esi: 0x00000000 ebp: 0x0000196c esp: 0xbffffc00
ss: 0x00000023 efl: 0x00010202 eip: 0x00001996 cs: 0x0000001b
ds: 0x00000023 es: 0x00000023 fs: 0x00000000 gs: 0x0000000f
cr2: 0x3bd3e090
Logical CPU: 2

Binary Images:
0x1000 - 0x6ff7 +net.unityofcommand.uoc (1.03a - 1.03a) <C9C0EE39-3131-9FA0-FA00-142728B45B25> /Users/USER/Library/Application Support/Steam/*/Unity of Command.app/Contents/MacOS/uoc
0x8feee000 - 0x8ff20e57 dyld (210.2.3) <23516BE4-29BE-350C-91C9-F36E7999F0F1> /usr/lib/dyld
0x9002e000 - 0x9007afff libcorecrypto.dylib (106.2) <20EBADBA-D6D6-36F0-AE80-168E9AF13DB6> /usr/lib/system/libcorecrypto.dylib
0x9140d000 - 0x91417fff libsystem_notify.dylib (98.5) <7EEE9475-18F8-3099-B0ED-23A3E528ABE0> /usr/lib/system/

Erraticbuddha
Cadet
Posts: 4
Joined: Thu Oct 18, 2012 7:50 pm

Re: Crashing on OSX

Unread postby Erraticbuddha » Thu Oct 18, 2012 7:53 pm

I am having similar problems but on windows not OSX.
Tried the demo from this site and all work well so bought it on steam and screen just goes black and pc freezes after the splash screen.

aco
Cadet
Posts: 2
Joined: Thu Feb 02, 2012 2:00 pm

Re: Crashing on OSX

Unread postby aco » Thu Oct 18, 2012 8:43 pm

Can you please give us some more information about your Mac. Is this a retina mac? And can you please tell us your current resolution.
Update your steam to the latest version (Steam -> Check For Updates...)
Please do check if a log file named "Unity of Command.log" exists in "~/Library/Logs" and copy & paste it's content to the thread.
Last edited by aco on Thu Oct 18, 2012 8:58 pm, edited 1 time in total.

User avatar
Tomislav Uzelac
2x2 Games
Posts: 2211
Joined: Mon Apr 04, 2011 11:24 pm
Location: Zagreb, Croatia

Re: Crashing on OSX

Unread postby Tomislav Uzelac » Thu Oct 18, 2012 8:46 pm

@Erraticbuddha: if you feel you can, please try the following:

1. Locate the directory where Steam stored your game. It should be something like:
C:\Program Files (x86)\Steam\steamapps\common\Unity of Command

2. In that directory, right click on "uoc.exe" and create a shortcut to it "uoc.exe Shortcut"

3. Right click on "uoc.exe Shortcut" and go to Properties

4. Go to Target. To whatever is written in there, just add one word: safe. For example on my machine it now says:
"C:\Program Files (x86)\Steam\steamapps\common\Unity of Command\uoc.exe" safe

5. Click OK

6. Double click on "uoc.exe Shortcut" to start the game in "safe mode"

You should see the game start in a 1024x768 window. Please report whether this was successful.

Then go to game options to set a bigger resolution (whichever you like). Exit the game. It should now work when started with Steam too. Again, please report if everything worked.


Cheers! :)

Erraticbuddha
Cadet
Posts: 4
Joined: Thu Oct 18, 2012 7:50 pm

Re: Crashing on OSX

Unread postby Erraticbuddha » Thu Oct 18, 2012 9:07 pm

Thanks this worked a treat :D

Tomislav Uzelac wrote:@Erraticbuddha: if you feel you can, please try the following:

1. Locate the directory where Steam stored your game. It should be something like:
C:\Program Files (x86)\Steam\steamapps\common\Unity of Command

2. In that directory, right click on "uoc.exe" and create a shortcut to it "uoc.exe Shortcut"

3. Right click on "uoc.exe Shortcut" and go to Properties

4. Go to Target. To whatever is written in there, just add one word: safe. For example on my machine it now says:
"C:\Program Files (x86)\Steam\steamapps\common\Unity of Command\uoc.exe" safe

5. Click OK

6. Double click on "uoc.exe Shortcut" to start the game in "safe mode"

You should see the game start in a 1024x768 window. Please report whether this was successful.

Then go to game options to set a bigger resolution (whichever you like). Exit the game. It should now work when started with Steam too. Again, please report if everything worked.


Cheers! :)

User avatar
Tomislav Uzelac
2x2 Games
Posts: 2211
Joined: Mon Apr 04, 2011 11:24 pm
Location: Zagreb, Croatia

Re: Crashing on OSX

Unread postby Tomislav Uzelac » Thu Oct 18, 2012 9:09 pm

Hah, awesome :)

Erraticbuddha
Cadet
Posts: 4
Joined: Thu Oct 18, 2012 7:50 pm

Re: Crashing on OSX

Unread postby Erraticbuddha » Thu Oct 18, 2012 10:04 pm

Still wondering why i had to start in safe mode tho. I noticed you asked about retina disply for the mac user could it be the same thing with me as I am using a 1256x1440 res monitor?

Oh and thanks for the fast response :)

User avatar
Tomislav Uzelac
2x2 Games
Posts: 2211
Joined: Mon Apr 04, 2011 11:24 pm
Location: Zagreb, Croatia

Re: Crashing on OSX

Unread postby Tomislav Uzelac » Thu Oct 18, 2012 10:32 pm

You needed to start in safe mode so that you can switch from fullscreen to windowed, nothing else.

Apparently fullscreen must be somehow running into problems with the Steam wrapper. If you go back to fullscreen, I suspect it will crash again.

Erraticbuddha
Cadet
Posts: 4
Joined: Thu Oct 18, 2012 7:50 pm

Re: Crashing on OSX

Unread postby Erraticbuddha » Thu Oct 18, 2012 10:49 pm

Works fine in fullscreen even if launched through steam now so looks like its just on the first startup that steam is messing things up. Let me know if you need anymore info from me about this as im only too glad to help in anyway i can.

Good luck with the Golden Joystick Awards and sorry for hijacking the thread.

Moog101
Cadet
Posts: 2
Joined: Thu Oct 18, 2012 6:49 pm

Re: Crashing on OSX

Unread postby Moog101 » Fri Oct 19, 2012 5:23 pm

Hi

I tried running it again (on OSX) and it still crashes. It doesn't produce any logs at all in "~/Library/Logs", just the standard crash report again which I pasted in my original post at the top.

Nope, i'm not running a Retina Display. I'm running on a Mac Pro with an ATI Radeon HD 5870 1024 MB at resolution 1920 x 1200.
As i mentioned before, the demo worked perfectly on the same machine, same resolution etc.

I'm also running the latest version of Steam.

Any ideas?

Thanks