Created attachment 217101 [details]
I'm the maintainer of newsboat and I received a pkg-fallout mail with this error:
building for: FreeBSD head-i386-default-job-03 13.0-CURRENT FreeBSD 13.0-CURRENT 1300104 i386
Compiling gettext-rs v0.4.1
Running `/usr/local/bin/rustc --crate-name gettextrs /wrkdirs/usr/ports/www/newsboat/work/newsboat-2.20.1/cargo-crates/gettext
<jemalloc>: /usr/local/poudriere/jails/head-i386/usr/src/contrib/jemalloc/include/jemalloc/internal/tcache_inlines.h:52: Failed assertion: "tcache_success == (ret != NULL)"
error: could not compile `gettext-rs`.
I don't know if it's reproducible, I've received this failure mail just once. I see it builds ok for other FreeBSD versions (since the newest newsboat is already in ports).
Is this maybe a jemalloc issue?
Typically jemalloc assertion failures point to a bug in the application (double frees, etc.). It is possible that there is a jemalloc bug here, but that would not be my starting assumption.
jemalloc has a number of debugging options available to help find application bugs, documented in the man page. Please feel free to reopen the bug if you're able to narrow this down to a jemalloc issue.