This happened on my production MXs after upgrading to -current this
morning, but is easily reproducible with just installing rspamd on a
test vm. Unfortunately the debug-rspamd package is not helping? Maybe
I'm just holding it wrong... I've pkg_add -r to rspamd-3.10.2 for now.

$ doas pkg_add rspamd
quirks-7.78 signed on 2024-12-20T20:34:07Z
Ambiguous: choose package for rspamd
a       0: <None>
        1: rspamd-3.11.0
        2: rspamd-3.11.0-hyperscan
Your choice: 1
rspamd-3.11.0:luajit-2.1.1713773202: ok
rspamd-3.11.0:xxhash-0.8.2p1: ok
useradd: Warning: home directory `/var/redis' doesn't exist, and -m was not 
specified
rspamd-3.11.0:redis-6.2.16: ok
rspamd-3.11.0: ok
The following new rcscripts were installed: /etc/rc.d/redis /etc/rc.d/rspamd
See rcctl(8) for details.
New and changed readme(s):
        /usr/local/share/doc/pkg-readmes/rspamd
$ doas rcctl -d start rspamd
doing _rc_parse_conf
rspamd_flags empty, using default >-u _rspamd -g _rspamd<
doing rc_check
rspamd
doing rc_pre
doing rc_start
doing _rc_wait_for_start
doing rc_check
2024-12-21 09:31:48 #17257(main) <295a6c>; main; main: rspamd 3.11.0 is loading 
configuration, build id: release
doing rc_check
Segmentation fault (core dumped)
doing _rc_rm_runfile
(failed)
$ doas pkg_add debug-rspamd
quirks-7.78 signed on 2024-12-20T20:34:07Z
Ambiguous: choose package for debug-rspamd
a       0: <None>
        1: debug-rspamd-3.11.0
        2: debug-rspamd-3.11.0-hyperscan
Your choice: 1
debug-rspamd-3.11.0: ok
$ doas cp /root/rspamd.core .
$ doas chown florian:florian rspamd.core
$ egdb /usr/local/bin/.debug/rspamd.dbg rspamd.core
GNU gdb (GDB) 13.2
Copyright (C) 2023 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-unknown-openbsd7.6".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /usr/local/bin/.debug/rspamd.dbg...
[New process 139656]
Core was generated by `rspamd'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x00000dd48a396470 in ?? ()
(gdb) bt
#0  0x00000dd48a396470 in ?? ()
#1  0x00000dd501c9617e in ?? ()
#2  0xabf9727ba290690b in ?? ()
#3  0x0000000000000018 in ?? ()
#4  0x0000729b675d82f0 in ?? ()
#5  0x00000dd501c96f70 in ?? ()
#6  0x00000dd25f9a6077 in ?? ()
#7  0x00000dd475279008 in ?? ()
#8  0x00000dd475279018 in ?? ()
#9  0x0000000000000021 in ?? ()
#10 0x00000dd501ff79c0 in ?? ()
#11 0x0000000000000021 in ?? ()
#12 0x00000dd501ff7980 in ?? ()
#13 0x0000000000000016 in ?? ()
#14 0x0000729b675d62b0 in ?? ()
#15 0x0000000000000016 in ?? ()
#16 0x00000dd501bd5810 in ?? ()
#17 0x0000000000000001 in ?? ()
#18 0x0000000000000000 in ?? ()

-- 
In my defence, I have been left unsupervised.

Reply via email to