On 2024-12-21 10:31 UTC, Stuart Henderson <s...@spacehopper.org> wrote: > On 2024/12/21 11:23, Kirill A. Korinsky wrote: >> I see that upstream had fixed some crash on FreeBSD without hyperscan: >> https://github.com/rspamd/rspamd/commit/ccb45df90df60fae36b9438cfb2b0088e590306b >> >> Maybe try it? >> >> -- >> wbr, Kirill >> > > Oh yes good catch
This fixes things. Thanks to both of you. I think this needs a revision bump as well? With that, OK florian > > Index: patches/patch-src_rspamd_c > =================================================================== > RCS file: patches/patch-src_rspamd_c > diff -N patches/patch-src_rspamd_c > --- /dev/null 1 Jan 1970 00:00:00 -0000 > +++ patches/patch-src_rspamd_c 21 Dec 2024 10:30:59 -0000 > @@ -0,0 +1,20 @@ > +From ccb45df90df60fae36b9438cfb2b0088e590306b Mon Sep 17 00:00:00 2001 > +From: Vsevolod Stakhov <vsevo...@rspamd.com> > +Date: Tue, 17 Dec 2024 13:37:54 +0000 > +Subject: [PATCH] [Fix] Fix crash on FreeBSD when Rspamd is built without > + hyperscan > + > +Index: src/rspamd.c > +--- src/rspamd.c.orig > ++++ src/rspamd.c > +@@ -56,8 +56,9 @@ > + > + #ifdef WITH_HYPERSCAN > + #include "libserver/hyperscan_tools.h" > +-#include "rspamd_simdutf.h" > + #endif > ++ > ++#include "rspamd_simdutf.h" > + > + /* 2 seconds to fork new process in place of dead one */ > + #define SOFT_FORK_TIME 2 > -- In my defence, I have been left unsupervised.