RimWorld crashes on launch (mac)

Started by bogen, December 02, 2018, 07:18:14 AM

Previous topic - Next topic

bogen

Can't launch the game anymore :( 
I removed some of the stack trace because of forum max post length.
I've tried reinstalling, deleting all subscriptions,  application support files etc.

  Model Name:   MacBook Pro
  Model Identifier:   MacBookPro15,1
  Processor Name:   Intel Core i9
  Processor Speed:   2,9 GHz
  Number of Processors:   1
  Total Number of Cores:   6
  L2 Cache (per Core):   256 KB
  L3 Cache:   12 MB
  Memory:   32 GB
Radeon Pro 560X 4096 MB
Intel UHD Graphics 630 1536 MB

Running 10.14.1 (18B75)




Process:               RimWorldMac [776]
Path:                  /Users/USER/Library/Application Support/Steam/*/RimWorldMac.app/Contents/MacOS/RimWorldMac
Identifier:            unity.Ludeon Studios.RimWorld by Ludeon Studios
Version:               1.0 (0)
Code Type:             X86-64 (Native)
Parent Process:        ??? [1]
Responsible:           RimWorldMac [776]
User ID:               501

Date/Time:             2018-12-02 13:11:49.930 +0100
OS Version:            Mac OS X 10.14.1 (18B75)
Report Version:        12
Bridge OS Version:     3.1 (16P1065)
Anonymous UUID:        0517A43D-DB02-58D1-FC69-5414D6399E47


Time Awake Since Boot: 180 seconds

System Integrity Protection: enabled

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

Exception Type:        EXC_CRASH (SIGABRT)
Exception Codes:       0x0000000000000000, 0x0000000000000000
Exception Note:        EXC_CORPSE_NOTIFY

Application Specific Information:
validateTextureDimensions:1077: failed assertion `MTLTextureDescriptor has height of zero.'


Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   libsystem_kernel.dylib           0x00007fff65759b86 __pthread_kill + 10
1   libsystem_pthread.dylib          0x00007fff6580fc50 pthread_kill + 285
2   libsystem_c.dylib                0x00007fff656c31c9 abort + 127
3   libmono.0.dylib                  0x00000001020df2c1 mono_handle_native_sigsegv + 726
4   libmono.0.dylib                  0x0000000102129018 sigabrt_signal_handler + 97
5   libsystem_platform.dylib         0x00007fff65804b3d _sigtramp + 29
6   ???                              000000000000000000 0 + 0
7   libsystem_c.dylib                0x00007fff656c31c9 abort + 127
8   libsystem_c.dylib                0x00007fff6568b868 __assert_rtn + 320
9   com.apple.Metal                  0x00007fff3d09fdde MTLReportFailure + 587
10  com.apple.Metal                  0x00007fff3d049c5f -[MTLTextureDescriptorInternal validateWithDevice:] + 1767
11  com.apple.AMDMTLBronzeDriver     0x00007fff2e60e6a6 -[BronzeMtlTexture initInternalWithDevice:descriptor:] + 59
12  unity.Ludeon Studios.RimWorld by Ludeon Studios   0x0000000100e673a7 CreateSharedDepthbufferMTL + 407
13  unity.Ludeon Studios.RimWorld by Ludeon Studios   0x0000000100e67fee RecreateSurface + 638
14  unity.Ludeon Studios.RimWorld by Ludeon Studios   0x0000000100e68093 RecreateSurface(MetalSurfaceHelper*) + 115
15  unity.Ludeon Studios.RimWorld by Ludeon Studios   0x0000000100e5d35e -[PlayerWindowView initCommon] + 366
16  unity.Ludeon Studios.RimWorld by Ludeon Studios   0x0000000100e5d12b -[PlayerWindowView initWithFrame:] + 107
17  unity.Ludeon Studios.RimWorld by Ludeon Studios   0x0000000100e5e857 ScreenManagerOSXStandalone::CreateAndShowWindow(int, int, bool) + 743
18  unity.Ludeon Studios.RimWorld by Ludeon Studios   0x0000000100e5f40e ScreenManagerOSXStandalone::SetResolutionImmediate(int, int, bool, int) + 382
19  unity.Ludeon Studios.RimWorld by Ludeon Studios   0x0000000100c59598 SwitchToStandaloneDefaultSettings() + 696
20  unity.Ludeon Studios.RimWorld by Ludeon Studios   0x0000000100e5a8e6 SetupUnityPlayer(bool, int, char**) + 2198
21  unity.Ludeon Studios.RimWorld by Ludeon Studios   0x0000000100e5c83b -[PlayerAppDelegate applicationDidFinishLaunching:] + 939
22  com.apple.CoreFoundation         0x00007fff3849e3f2 __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 12
23  com.apple.CoreFoundation         0x00007fff3849e36c ___CFXRegistrationPost_block_invoke + 63
24  com.apple.CoreFoundation         0x00007fff3849e28d _CFXRegistrationPost + 398
25  com.apple.CoreFoundation         0x00007fff384a66d9 ___CFXNotificationPost_block_invoke + 87
26  com.apple.CoreFoundation         0x00007fff3840de8a -[_CFXNotificationRegistrar find:object:observer:enumerator:] + 1633
27  com.apple.CoreFoundation         0x00007fff3840d24d _CFXNotificationPost + 742
28  com.apple.Foundation             0x00007fff3a79598b -[NSNotificationCenter postNotificationName:object:userInfo:] + 66
29  com.apple.AppKit                 0x00007fff3599619e -[NSApplication _postDidFinishNotification] + 313
30  com.apple.AppKit                 0x00007fff35995ac2 -[NSApplication _sendFinishLaunchingNotification] + 209
31  com.apple.AppKit                 0x00007fff3599341c -[NSApplication(NSAppleEventHandling) _handleAEOpenEvent:] + 552
32  com.apple.AppKit                 0x00007fff3599306b -[NSApplication(NSAppleEventHandling) _handleCoreEvent:withReplyEvent:] + 690
33  com.apple.Foundation             0x00007fff3a7e0054 -[NSAppleEventManager dispatchRawAppleEvent:withRawReply:handlerRefCon:] + 287
34  com.apple.Foundation             0x00007fff3a7dfed0 _NSAppleEventManagerGenericHandler + 102
35  com.apple.AE                     0x00007fff396c5b93 aeDispatchAppleEvent(AEDesc const*, AEDesc*, unsigned int, unsigned char*) + 1855
36  com.apple.AE                     0x00007fff396c53fd dispatchEventAndSendReply(AEDesc const*, AEDesc*) + 41
37  com.apple.AE                     0x00007fff396c52d5 aeProcessAppleEvent + 439
38  com.apple.HIToolbox              0x00007fff376dc18e AEProcessAppleEvent + 55
39  com.apple.AppKit                 0x00007fff3598f198 _DPSNextEvent + 1734
40  com.apple.AppKit                 0x00007fff3598dc56 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1362
41  com.apple.AppKit                 0x00007fff35987cb9 -[NSApplication run] + 699
42  com.apple.AppKit                 0x00007fff359773f7 NSApplicationMain + 780
43  unity.Ludeon Studios.RimWorld by Ludeon Studios   0x0000000100e5b3b5 PlayerMain(int, char const**) + 949
44  unity.Ludeon Studios.RimWorld by Ludeon Studios   0x0000000100001e34 start + 52

Thread 1:
0   libsystem_pthread.dylib          0x00007fff6580c428 start_wqthread + 0
1   ???                              0x0000000054485244 0 + 1414025796

Thread 2:
0   libsystem_pthread.dylib          0x00007fff6580c428 start_wqthread + 0
1   ???                              0x0000000054485244 0 + 1414025796

Thread 3:
0   libsystem_pthread.dylib          0x00007fff6580c428 start_wqthread + 0
1   ???                              0x0000000054485244 0 + 1414025796

Thread 4:
0   libsystem_pthread.dylib          0x00007fff6580c428 start_wqthread + 0
1   ???                              0x0000000054485244 0 + 1414025796

Thread 5:
0   libsystem_pthread.dylib          0x00007fff6580c428 start_wqthread + 0
1   ???                              0x0000000054485244 0 + 1414025796

Thread 6:
0   libsystem_pthread.dylib          0x00007fff6580c428 start_wqthread + 0
1   ???                              0x0000000054485244 0 + 1414025796

Thread 7:
0   libsystem_pthread.dylib          0x00007fff6580c428 start_wqthread + 0
1   ???                              0x0000000054485244 0 + 1414025796

Thread 8:
0   libsystem_pthread.dylib          0x00007fff6580c428 start_wqthread + 0
1   ???                              0x0000000054485244 0 + 1414025796

Thread 9:
0   libsystem_pthread.dylib          0x00007fff6580c428 start_wqthread + 0
1   ???                              0x0000000054485244 0 + 1414025796

Thread 10:
0   libsystem_pthread.dylib          0x00007fff6580c428 start_wqthread + 0
1   ???                              0x0000000054485244 0 + 1414025796

Thread 11:
0   libsystem_pthread.dylib          0x00007fff6580c428 start_wqthread + 0
1   ???                              0x0000000054485244 0 + 1414025796

Thread 12:
0   libsystem_pthread.dylib          0x00007fff6580c428 start_wqthread + 0
1   ???                              0x0000000054485244 0 + 1414025796

Thread 13:
0   libsystem_pthread.dylib          0x00007fff6580c428 start_wqthread + 0
1   ???                              0x0000000054485244 0 + 1414025796

Thread 14:
0   libsystem_kernel.dylib           0x00007fff65753c66 semaphore_wait_trap + 10
1   libmono.0.dylib                  0x00000001022024f8 mono_sem_wait + 35
2   libmono.0.dylib                  0x0000000102155571 finalizer_thread + 127
3   libmono.0.dylib                  0x00000001021c8e51 start_wrapper + 457
4   libmono.0.dylib                  0x00000001021f925a thread_start_routine + 218
5   libmono.0.dylib                  0x000000010221f5b6 GC_start_routine + 96
6   libsystem_pthread.dylib          0x00007fff6580d339 _pthread_body + 126
7   libsystem_pthread.dylib          0x00007fff658102a7 _pthread_start + 70
8   libsystem_pthread.dylib          0x00007fff6580c445 thread_start + 13


Error Code:      0x02000148
Trap Number:     133



External Modification Summary:
  Calls made by other processes targeting this process:
    task_for_pid: 0
    thread_create: 0
    thread_set_state: 0
  Calls made by this process:
    task_for_pid: 0
    thread_create: 0
    thread_set_state: 0
  Calls made by all processes on this machine:
    task_for_pid: 110
    thread_create: 0
    thread_set_state: 0

VM Region Summary:
ReadOnly portion of Libraries: Total=428.3M resident=0K(0%) swapped_out_or_unallocated=428.3M(100%)
Writable regions: Total=747.4M written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=747.4M(100%)

                                VIRTUAL   REGION
REGION TYPE                        SIZE    COUNT (non-coalesced)
===========                     =======  =======
Accelerate framework               128K        2
Activity Tracing                   256K        2
CG backing stores                 5452K        4
CG image                            88K        2
CoreAnimation                      240K        9
CoreGraphics                         8K        2
CoreImage                           24K        3
CoreServices                        44K        2
CoreUI image data                  976K        8
CoreUI image file                  548K        6
Foundation                           4K        2
IOKit                             7940K        2
Image IO                            64K        2
Kernel Alloc Once                    8K        2
MALLOC                           310.8M       46
MALLOC guard page                   32K        8
MALLOC_LARGE (reserved)           6884K        4         reserved VM address space (unallocated)
MALLOC_NANO (reserved)           384.0M        2         reserved VM address space (unallocated)
Memory Tag 242                      12K        2
Memory Tag 251                      28K        2
STACK GUARD                       56.2M       56
Stack                             36.5M       56
VM_ALLOCATE                       2124K       23
VM_ALLOCATE (reserved)               4K        2         reserved VM address space (unallocated)
__DATA                            28.4M      259
__FONT_DATA                          4K        2
__LINKEDIT                       222.4M        8
__TEXT                           205.9M      262
__UNICODE                          564K        2
mapped file                       65.8M       29
shared memory                     2756K       14
===========                     =======  =======
TOTAL                              1.3G      794
TOTAL, minus reserved VM space   946.8M      794

Curt Mcbeltpants

You're not alone bogen. The game runs pretty well, I was playing it and my Mac restarted. Since then every time I try to open it it simply just closes itself. It doesn't even tell me why.

haszak

Did you ever figure this out? I've had this problem for 6 months to a year. I was hoping it was just a bug that Ludeon would end up fixing - no luck. Haven't been able to play the game. I've tried to uninstall, reboot, and re-install both RimWorld and Steam several times. I've deleted files out of steamapps/common/RimWorld, Application Support/RimWorld, and Library/Preferences. It's a OS X error ("validateTextureDimensions:1074: failed assertion `MTLTextureDescriptor has width of zero.'"), but something within RimWorld is making . My only remaining theory is that I need to delete the files in the steam cloud, but it seems the only way to do that is to delete files while the game is running. :-(

phillipwolfe

Just had this issue start up today :/. I get the same error message, "validateTextureDimensions:758: failed assertion `MTLTextureDescriptor has width of zero.'"

No idea how it started. I don't have any mods in the game because I'm a newbie, and I haven't updated any relevant Mac software recently.

I've attached the key parts of the error report below. Hopefully I'll be able to find a fix if I keep Googling...


[attachment deleted due to age]

cricketthewondercat

This sounds like the issue I'm having too, and have had no luck with fixes. Has anyone figured out a solution by chance? Would love to play again.

ChaseRanger

Same for me.
582 hours spent in game and now it doesn't run for several month already.

I thought I messed smth up with the modding, but deleting all the mods did nothing. I tried to delete all the files, reinstall, change the settings inside the package.

For me it looks like Rimworld is incompatible with Mojave.
Hope developers will do something with it, Rimworld is brilliant game and my personal favourite.

It's very disappointing, when you finally get some time to rest once in month or so, try to run the coolest and most interesting game you know, see new interesting mods in steam workshop, but it doesn't run.

Canute

You should post a logfile after the crash, so a Mac user maybe get a hint about why it crash.
To find the logfile take a look at:
https://ludeon.com/forums/index.php?topic=513.0


ChaseRanger

Canute, thanks for your reply!

Here is my log file.

it says:
=================================================================
Got a SIGABRT while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries
used by your application.
=================================================================


hope somebody knows how to deal with that.

[attachment deleted due to age]

Canute

i don't have a clue about Mac.
But " fatal error in the mono runtime" it is part of Rimworld/unity.
I would try to delete the .....data folder at your Rimworld installation, yes manual delete not uninstal !

Then reinstall or use steam repair. Maybe this allready fix the problem.

FreeH

I have same problem! please fix it!

FreeH


ChaseRanger

Tried to remove the folder, no effect.

thx anyway =)

gene

If anyone else has this issue, I resolved it by:

* Right click the game in Steam
* Click "SET LAUNCH OPTIONS" on the General tab
* enter "-force-glcore"

ChaseRanger

Thank you very very much, it worked!

cricketthewondercat

Oh my gosh, that worked! Gonna play rimworld for the first time in months, thank you!!