There is a bug in v9 where usearch crashes with a message like this:
usearch9.0.2132_i86linux32: malloc.c:2372: sysmalloc: Assertion `(old_top == (((mbinptr) (((char *) &((av)->bins[((1) - 1) * 2])) - __builtin_offsetof (struct malloc_chunk, fd)))) && old_size == 0) || ((unsigned long) (old_size) >= (unsigned long)((((__builtin_offsetof (struct malloc_chunk...
The message may be repeated several times.
Workaround
This bug is due
to a race condition. Using the -threads option to request fewer threads
solves the problem. Worst case, -threads 1 will always work.
Fix
This bug is fixed in v10.