Segfault when using -vv or -vvv
Matthias Andree
matthias.andree at gmx.de
Sat Mar 22 12:38:57 CET 2025
Am 17.02.25 um 21:32 schrieb Matthias Andree via bogofilter:
> Am 17.02.25 um 17:58 schrieb Mike:
>> Just for fun, I tried this command:
>>
>>
>> bogofilter -vv -t -B /var/mail/mymailbox
>>
>> I got:
>> /var/mail/mymailbox U 0.520000
>> and a seg fault.
>>
>> It produced this, with only one -v:
>>
>> /var/mail/mymailbox U 0.520000
>>
>>
>> I'm using Ubuntu 24.04.1 LTS
>> bogofilter version 1.2.5 with berkly db 5.3.28
>>
>> Matthias, is this the kind of issue you were referring to cause you to
>> switch to sqlite?
>
>
> Mike,
>
> Not directly, but I would like to know if the current Git stuff [1] has
> this fixed, or if not, what the backtrace is. Is it really a segfault or
> something like a floating point exception (SIGFPE)?
>
> [1]
> https://gitlab.com/bogofilter/bogofilter/-/tree/main/bogofilter?ref_type=heads
Since I didn't receive a reply, I dug this up myself with git bisect.
This particular crash was fixed shortly after bogofilter 1.2.5, in
> commit 8eaeb85c418e1230dfbf2efeea8a997dfa9665d3
> Author: Matthias Andree <matthias.andree at gmx.de>
> Date: Thu Apr 30 16:40:44 2020 +0200
>
> Fix bootstrapping rstats crash Debian Bug#524758.
>
> bogofilter/NEWS | 2 ++
> bogofilter/src/rstats.c | 10 ++++++++--
> 2 files changed, 10 insertions(+), 2 deletions(-)
>
aka bogofilter-1.2.5-7-g8eaeb85c and should be included in 1.3.0.beta1.
More information about the bogofilter
mailing list