A few weeks ago we purchased a brand new Mac Mini (running Mojave) which was crashing regularly, and I put that down to malfunctioning hardware. Apple have sent a replacement and I’ve done a completely fresh install, and everything was fine until I started using Corona. Within 10 minutes the Mac completely froze (I waited about 6 or 7 minutes before forcing a shutdown using the hardware power button).
Both Mac Minis have only crashed when Corona was running, in particular restarting the simulator seemed to be a big trigger point.
Unfortunately this freeze/crash didn’t generate any error logs whatsoever - in fact all logging has a gap for the 7 mins where it was frozen.
My guess is that it could be related to shaders - a memory leak or something like that perhaps? I had already noticed on the first Mac that when we used shaders it caused visual issues such as some display objects (which were not part of the shader) only being half rendered or not rendering at all, or textures becoming distorted (weird tiling etc). Those things didn’t ever happen on my 2011 Mac Mini (High Sierra). It seems to predominantly cause text to be incorrectly rendered, though sometimes our background image gets superimposed with other textures from within the app. In the attached image (please ignore the red rectangles) you can see the Quit button is rendered but only half of its colour fill has been applied - this is not something we are doing in code, and it doesn’t happen on my old Mac Mini or on android/ios devices.
When one of these things happens it won’t always lead to a freeze and crash, but I can’t go very long before it does. I tried disabling the shader entirely in the sim, and while it was much more stable it did still occasionally crash when I tried to reload the sim.
Why MacOS completely crashes the machine rather than force quitting the app…I don’t know. Apple technical mastery at work I guess.
When I installed Corona I did get a message saying “this app does not support Mac OS 10.14” or something along those lines, I’m not sure if the message was generated by Corona or the OS.
When I tried reinstalling (and cleared the /Library/ files) I didn’t get the message again. I would assume this means the message came from the OS and it has remembered that I clicked “ok” for the Corona app, but I can’t say for sure.
Has anyone else experienced any similar crash issues on newer Macs (whether Mac Mini, Macbook etc)?
Can anyone at Corona offer any suggestions for what could be happening here?