Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Jan 2024 07:13:35 +0100
From:      Paul Floyd <paulf2718@gmail.com>
To:        Freebsd hackers list <freebsd-hackers@freebsd.org>
Subject:   Re: jemalloc_rtree failed assertion error
Message-ID:  <6D882B24-711D-4908-B468-9373C3B65C42@gmail.com>
In-Reply-To: <5fe4d15c-f976-4a41-ac50-38ce6a25c289@app.fastmail.com>
References:  <5fe4d15c-f976-4a41-ac50-38ce6a25c289@app.fastmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help


> On 6 Jan 2024, at 23:47, Farhan Khan <farhan@farhan.codes> wrote:
>=20
> Hi all,
>=20
> I am writing some code on FreeBSD 15.0-CURRENT and getting this error =
that I do not understand:
>=20
> <jemalloc>: jemalloc_rtree.c:205: Failed assertion: "!dependent || =
leaf !=3D NULL"
>=20
> 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.
>=20
> What does this error mean?
>=20


Have you checked that you haven=E2=80=99t corrupted the heap?

Does the exe run clean under Valgrind Memcheck and/or Address Sanitizer?


A+
Paul





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6D882B24-711D-4908-B468-9373C3B65C42>