Since this seems like heap corruption, please try running in a heap debugging environment to try and catch the root cause... env MALLOC_CHECK_=3 G_SLICE=always-malloc unity --replace