crashes with Error (rst-malloc.c:146): BUG at rst-malloc.c:146
An alternative that segfaults