Instant Crash without console logging.

So I get a dreaded instant crash…

Using Latest Corona

Happens on the OSX-Sim and droid,

doesn’t happen until a while of play.

Feels random, nothing specifically triggers it except moving once.

Is never logged. 

One of the best things I always loved about Corona, was the detailed description of what went wrong. And tracing it back to a specific thing.

Recently I have been experiencing these late game instant crashes, with little or no warning or traceback as to why it happened. I read somewhere that this is a memory leak? or pointing to a memory address that is now cleared yet something is holding onto it after returning to that composer scene?  If so is there more that I can do to track these things?

I actually never remember this ever happening in old Corona. 

Corona used to always give me more info on the crash. Is there a good way to hunt down what specifically is causing such a dastardly crash? Anyone Corona Gods out there?

I’m at a loss.

(note, it doesnt happen all the time, like in this video, these are edits of it when I have caught it. So that makes it worse because my game plays well for very long then… BOOM!   That is what is making it so frustrating. I just leave a VideoGrabber running on the console to watch it randomly bust)

Here is a video: 

https://www.youtube.com/watch?v=Ii-i9pkiZjA
pls help!

Try running this command:

“/Applications/Corona-3135/Corona Simulator.app/Contents/MacOS/Corona Simulator” -no-console yes

in your terminal app. You will likely need to change the -3135 to the current daily build you are using or leave it off if you’re using a public build.  This should cause the output to go to the terminal window and it might capture more about why you’re crashing.

Rob

ugh, my directory really look like that. 

I type in I can get to /Applications/Corona-3135/ 

but I cant run Corona Simulator.app/Contents/MacOS/Corona Simulator

I’ve never launched Corona from Terminal, so maybe I am missing something in my steps?  

I decided to try something somewhat similar, and I was able to run Corona Version 2018.3214 through SublimeText2 debugger, so maybe I will be able to catch more with that.

You may not have 3135 installed. That’s a build from a couple of public builds ago.

In the terminal just type: 

“/Applications/Corona-3214/Corona Simulator.app/Contents/MacOS/Corona Simulator” -no-console yes

You should be able to just copy and paste it into the terminal and press enter.

Rob

Ok,  that ran it straight from terminal. I’ll check this for a while until that mystery crash happens. thanks

Try running this command:

“/Applications/Corona-3135/Corona Simulator.app/Contents/MacOS/Corona Simulator” -no-console yes

in your terminal app. You will likely need to change the -3135 to the current daily build you are using or leave it off if you’re using a public build.  This should cause the output to go to the terminal window and it might capture more about why you’re crashing.

Rob

ugh, my directory really look like that. 

I type in I can get to /Applications/Corona-3135/ 

but I cant run Corona Simulator.app/Contents/MacOS/Corona Simulator

I’ve never launched Corona from Terminal, so maybe I am missing something in my steps?  

I decided to try something somewhat similar, and I was able to run Corona Version 2018.3214 through SublimeText2 debugger, so maybe I will be able to catch more with that.

You may not have 3135 installed. That’s a build from a couple of public builds ago.

In the terminal just type: 

“/Applications/Corona-3214/Corona Simulator.app/Contents/MacOS/Corona Simulator” -no-console yes

You should be able to just copy and paste it into the terminal and press enter.

Rob

Ok,  that ran it straight from terminal. I’ll check this for a while until that mystery crash happens. thanks