Ah yes, arc is available in devel. But try --gc:none, maybe also boehm. Of course that will not really help, the bug is not Nim GC but your bindings, but maybe it gives somehow more insight.
I think valgrind does only help with --gc:arc and -d:useMalloc.