Date: Sat, 06 Jan 2024 17:47:34 -0500 From: "Farhan Khan" <farhan@farhan.codes> To: freebsd-hackers@freebsd.org Subject: jemalloc_rtree failed assertion error Message-ID: <5fe4d15c-f976-4a41-ac50-38ce6a25c289@app.fastmail.com>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5fe4d15c-f976-4a41-ac50-38ce6a25c289>
