segfault on String.gsub
Here's the backtrace:
I am not quite sure what the problem could be.
It's quite a big project that I unfortunately can't share a lot of code of. I also don't have too much time to help debug, but I will do what I can do help out.