jemalloc_rtree failed assertion error
Date: Sat, 06 Jan 2024 22:47:34 UTC
Hi all, I am writing some code on FreeBSD 15.0-CURRENT and getting this error that I do not understand: <jemalloc>: jemalloc_rtree.c:205: Failed assertion: "!dependent || leaf != NULL" In this case, it happens during a realloc() call. This may very well be a bug in my code, but the message is unclear to me. I found the section the section in the code (/usr/src/contrib/jemalloc/src/rtree.c) but without thoroughly diving into the malloc() call I do not understand it. The jemalloc(3) man page has a section called "DIAGNOSTIC MESSAGES", but it does not offer many details. What does this error mean? As an aside, I recommend that this is either documented in more detail because I found several people citing the problem but I did not find an explanation. Thanks! -- Farhan Khan PGP Fingerprint: 1312 89CE 663E 1EB2 179C 1C83 C41D 2281 F8DA C0DE