Great! Well this is a lot farther than most ports get at first. So it gets to the point of creating the application, umm, perhaps you could add trace messages into the Application class (or in the lime._backend.native.NativeApplication class) to get an idea of what things are firing, perhaps even in the C++ of the native backend, to get an idea of what is firing properly, and what is triggering a segmentation fault
It occurs exactly after execution, before the “Hello World” trace. I’ll try to put some printfs on the C++ code. If I use gdb I can’t get anything as I don’t have debug info, but if I build with debug info there’s no errors o.O
After some hacking in hxcpp I was able to use gdb:
(gdb) bt full
#0 lime::math::_ColorMatrix::ColorMatrix_Impl__obj::__boot ()
at ./src/lime/math/_ColorMatrix/ColorMatrix_Impl_.cpp:651
No locals.
#1 0x77279224 in __boot_all () at ./src/__boot__.cpp:331
No locals.
#2 0x77147070 in main (argc=<optimized out>, argv=<optimized out>)
at ./src/__main__.cpp:10
t0 = 99
I was doing some tests with several hxcpp parameters, but I could not come to any conclusion.
A strange discovery, however, was as follows: starting vector __identity empty on the file lime/math/ColorMatrix.hx the release version works normally.