Hey guys
After quite some debugging (and the kind help of mi6x3m) it seems that haxe.ds.Vector is crashing for Windows/Mac/iOS targets.
Error message:
access violation reading location 0x0000000
Here are some screen dumps which I took from my toy project (not from the following repro case). These were taken using the Visual Studio debugger:
Repro case:
You may need to increase the number of iterations in the for loop, but 1000 crashes on all targets for me.
Aside:
If I swap haxe.ds.Vector with flash.Vector, this does not crash.
I am just going to switch to flash.Vector for my project, but I suspect this will catch other developers out. I hope that this information is useful, please let me know if there is anything else you need to know and I will do my best to assist.