This one was fixed by compiling on a Linux machine, in 2017R3. None of the 2018 versions worked (either linux or windows) and 2019R1 did not work either on linux or windows!
There really should be some fix to this. There is no indication of why it crashes in any logs. Since it works in some versions of Xojo, and compiled on Linux Vs Windows there *must* be something that Xojo can do to fix this, and to at least advise to the logs why it crashed!
Very very frustrating and a huge waste of time!