Package: release.debian.org Severity: normal Tags: trixie X-Debbugs-Cc: [email protected] Control: affects -1 + src:samhain User: [email protected] Usertags: pu
[ Reason ] Depending on the configuration and the host (not clear what host condition trigger the issue), samhain segfaults on startup. It has been tracked as an issue dnmalloc, the samhain memory allocator, when "recent" GCC versions are used. [ Impact ] samhain is unusable on the affects hosts / configurations. [ Tests ] There is no automated test for the code. That said I have reproduced the issue on an affected system using the provided configuration file in #1111631 and checked that the issue is correctly fixed with the change. [ Risks ] The risk of disabling the dnmalloc allocator is quite low, the well tested glibc memory allocator is used instead. This is the one used on non-amd64 and non-i386 builds, and samhain works fine on these architectures. [ Checklist ] [x] *all* changes are documented in the d/changelog [x] I reviewed all changes and I approve them [x] attach debdiff against the package in (old)stable [x] the issue is verified as fixed in unstable [ Changes ] The only change is to unconditionally disable the dnmalloc memory allocator (it was enabled only on amd64 and i386) to workaround the issue. The same commit of the forky/sid version is used directly. [ Other info ] I have already uploaded the package to the archive. Thanks for considering.
diff -Nru samhain-4.1.4/debian/changelog samhain-4.1.4/debian/changelog --- samhain-4.1.4/debian/changelog 2025-03-26 19:48:21.000000000 +0100 +++ samhain-4.1.4/debian/changelog 2025-09-14 17:43:34.000000000 +0200 @@ -1,3 +1,10 @@ +samhain (4.1.4-6+deb13u1) trixie; urgency=medium + + * d/rules: + - Quick fix preventing potential segfaults (Closes: #1111631) + + -- Aurelien Jarno <[email protected]> Sun, 14 Sep 2025 17:43:34 +0200 + samhain (4.1.4-6) unstable; urgency=medium * Team upload. diff -Nru samhain-4.1.4/debian/rules samhain-4.1.4/debian/rules --- samhain-4.1.4/debian/rules 2025-03-26 19:48:21.000000000 +0100 +++ samhain-4.1.4/debian/rules 2025-09-14 17:43:34.000000000 +0200 @@ -37,6 +37,15 @@ endif +# This is a quick fix regarding bug #1111631 following a patch provided by +# Aurelien Jarno <[email protected]>, see https://bugs.debian.org/1111631 +# for further details. I suggest to report the problem upstream so that they +# can rework the dnmalloc code. +# +# Disable dnmalloc for all architectures at it is unmaintained and has issues +# with GCC >= 11 (see #1111631) +DNMALLOC = --disable-dnmalloc + %: dh $@

