Hi nim fellows! I am having an issue where a sequence seems to not live enough time when is passed to a C library (sokol) and panics with a SIGBUS error. The details are pretty weird you have all the information in this issue: <https://github.com/floooh/sokol-nim/issues/32>.
A little brief of the issue, different `--mm` options produce similar result but with different values, ie: uint32 arrays with Len of 53*53 works with `orc`, but a higher Len will panic, then with `refc` and `none` it will work until a Len of 54x54 and panic after that. If I use an array instead it seems that it doesn't matter the length of it, it just works. I am pretty lost with this, I think it can be: * Me doing something stupid * Some issue with the binding, maybe something we need to change there * A bug in nim memory managment itself? Does anybody have had a similar issue? Or does anybody have an idea of what's going on? Thanks!