Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 Apr 2020 13:48:30 -0700
From:      David Christensen <dpchrist@holgerdanske.com>
To:        freebsd-questions@freebsd.org
Subject:   =?UTF-8?Q?Re=3a_Strange_bea=e2=94=82hio_in_daily_messsges?=
Message-ID:  <22b5ddff-b6df-3cac-0053-05abe3bf4c97@holgerdanske.com>
In-Reply-To: <20200430202808.GA39309@mithril.foucry.net>
References:  <20200430044801.GA22722@mithril.foucry.net> <2a178278-fd90-189e-edcd-dbe224ea94d5@holgerdanske.com> <20200430202808.GA39309@mithril.foucry.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2020-04-30 13:28, Jacques Foucry wrote:
> Le jeudi 30 avr. 2020 à 12:22:03 (-0700), David Christensen à écrit:
>> On 2020-04-29 21:48, Jacques Foucry wrote:
>>> Hello All,
>>>
>>> Hop your going.
>>>
>>> I run a FreeBSD 12.1-RELEASE-p4 on a baremetal server with many jail (one per
>>> fonction).
>>>
>>> The mail jail use rspamd to fight against spam.
>>> Like all of us I receveive everゆ mornin a security report from my jail (and
>>> the host).
>>>
>>> In everey reports I found many rspamd errors:
>>>
>>> `(rspamd-2.5), jid 19, uid 236: exited on signal 10`
>>>
>>> Ok thats means rspand got a problem, but why I found tほose reports in *every*
>>> daily security mail of *every* jail I use?
>>>
>>> How can I stop it? I did find (may be I look bad) anything in periodic
>>> security script?
>>>
>>> What I miss?
>>>
>>> Thanks for you help and advices,
>>> Take care.
>>
>> It appears signal 10 is a bus error:
>>
>> https://github.com/freebsd/freebsd/blob/master/sys/sys/signal.h
> 
> Sad news :-(
> 
>> This page clarifies the meaning of "bus error":
>>
>> https://www.geeksforgeeks.org/segmentation-fault-sigsegv-vs-bus-error-sigbus/
> 
> Thnaks for the pointer
>>
>> My guess would be the latter case -- unaligned memory access.  This
>> could be a coding bug (struct not laid out for 64-bit architecture?) or
>> a misconfigured compile (?).
>>
>>
>> Where did your rspamd binary come from -- package?  port?  downloaded
>> and built by hand?
> 
> Compile from my poudriere, no special configuration. I mean no `poudriere
> options mail/rspamd`.
> 
> 
> So should be ok with the hardware (poudriere and mail jail are running on the
> same bare-metal server).
> 
> Thanks for your help.

Please "reply to list" rather than "reply to sender".


I would file a bug report for rspamd.


David



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?22b5ddff-b6df-3cac-0053-05abe3bf4c97>