You are not logged in.

#1 2023-04-27 17:57:40

Nozzie
Member
Registered: 2015-03-12
Posts: 3

[Solved] rspamd core dump on startup

Hi,

I just updated my system, and now rspamd exits with a core dump.

Here is the pacman log of the update:

[2023-04-27T13:30:03+0200] [PACMAN] Running 'pacman -Syu'
[2023-04-27T13:30:03+0200] [PACMAN] synchronizing package lists
[2023-04-27T13:30:03+0200] [PACMAN] starting full system upgrade
[2023-04-27T13:30:06+0200] [ALPM] transaction started
[2023-04-27T13:30:06+0200] [ALPM] upgraded apr (1.7.2-2 -> 1.7.3-1)
[2023-04-27T13:30:06+0200] [ALPM] upgraded cracklib (2.9.8-1 -> 2.9.11-1)
[2023-04-27T13:30:06+0200] [ALPM] upgraded device-mapper (2.03.20-1 -> 2.03.21-1)
[2023-04-27T13:30:07+0200] [ALPM] upgraded git (2.40.0-1 -> 2.40.1-1)
[2023-04-27T13:30:07+0200] [ALPM] upgraded hyperscan (5.4.1-1 -> 5.4.2-1)
[2023-04-27T13:30:07+0200] [ALPM] upgraded libxml2 (2.10.3-2 -> 2.10.4-2)
[2023-04-27T13:30:07+0200] [ALPM] upgraded imagemagick (7.1.1.7-1 -> 7.1.1.8-1)
[2023-04-27T13:30:07+0200] [ALPM] upgraded libpcap (1.10.3-1 -> 1.10.4-1)
[2023-04-27T13:30:07+0200] [ALPM] upgraded lvm2 (2.03.20-1 -> 2.03.21-1)
[2023-04-27T13:30:07+0200] [ALPM] upgraded openresolv (3.12.0-1 -> 3.13.0-1)
[2023-04-27T13:30:07+0200] [ALPM] upgraded qemu-guest-agent (7.2.1-1 -> 8.0.0-1)
[2023-04-27T13:30:07+0200] [ALPM] transaction completed
[2023-04-27T13:30:07+0200] [ALPM] running '20-systemd-sysusers.hook'...
[2023-04-27T13:30:07+0200] [ALPM] running '30-systemd-daemon-reload.hook'...
[2023-04-27T13:30:08+0200] [ALPM] running '30-systemd-udev-reload.hook'...
[2023-04-27T13:30:08+0200] [ALPM] running '30-systemd-update.hook'...
[2023-04-27T13:30:08+0200] [ALPM] running '90-mkinitcpio-install.hook'...
[2023-04-27T13:30:08+0200] [ALPM-SCRIPTLET] ==> Building image from preset: /etc/mkinitcpio.d/linux-lts.preset: 'default'
[2023-04-27T13:30:08+0200] [ALPM-SCRIPTLET]   -> -k /boot/vmlinuz-linux-lts -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-lts.img --microcode /boot/*-ucode.img
[2023-04-27T13:30:08+0200] [ALPM-SCRIPTLET] ==> Starting build: '6.1.25-1-lts'
[2023-04-27T13:30:08+0200] [ALPM-SCRIPTLET]   -> Running build hook: [base]
[2023-04-27T13:30:09+0200] [ALPM-SCRIPTLET]   -> Running build hook: [udev]
[2023-04-27T13:30:09+0200] [ALPM-SCRIPTLET]   -> Running build hook: [autodetect]
[2023-04-27T13:30:10+0200] [ALPM-SCRIPTLET]   -> Running build hook: [modconf]
[2023-04-27T13:30:10+0200] [ALPM-SCRIPTLET]   -> Running build hook: [kms]
[2023-04-27T13:30:10+0200] [ALPM-SCRIPTLET]   -> Running build hook: [keyboard]
[2023-04-27T13:30:10+0200] [ALPM-SCRIPTLET] ==> WARNING: Possibly missing firmware for module: 'xhci_pci'
[2023-04-27T13:30:10+0200] [ALPM-SCRIPTLET]   -> Running build hook: [keymap]
[2023-04-27T13:30:11+0200] [ALPM-SCRIPTLET]   -> Running build hook: [consolefont]
[2023-04-27T13:30:11+0200] [ALPM-SCRIPTLET] ==> WARNING: consolefont: no font found in configuration
[2023-04-27T13:30:11+0200] [ALPM-SCRIPTLET]   -> Running build hook: [block]
[2023-04-27T13:30:11+0200] [ALPM-SCRIPTLET]   -> Running build hook: [filesystems]
[2023-04-27T13:30:12+0200] [ALPM-SCRIPTLET]   -> Running build hook: [fsck]
[2023-04-27T13:30:12+0200] [ALPM-SCRIPTLET] ==> Generating module dependencies
[2023-04-27T13:30:12+0200] [ALPM-SCRIPTLET] ==> Creating zstd-compressed initcpio image: '/boot/initramfs-linux-lts.img'
[2023-04-27T13:30:12+0200] [ALPM-SCRIPTLET] ==> Image generation successful
[2023-04-27T13:30:14+0200] [ALPM-SCRIPTLET] ==> Building image from preset: /etc/mkinitcpio.d/linux-lts.preset: 'fallback'
[2023-04-27T13:30:14+0200] [ALPM-SCRIPTLET]   -> -k /boot/vmlinuz-linux-lts -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-lts-fallback.img -S autodetect --microcode /boot/*-ucode.img
[2023-04-27T13:30:14+0200] [ALPM-SCRIPTLET] ==> Starting build: '6.1.25-1-lts'
[2023-04-27T13:30:15+0200] [ALPM-SCRIPTLET]   -> Running build hook: [base]
[2023-04-27T13:30:15+0200] [ALPM-SCRIPTLET]   -> Running build hook: [udev]
[2023-04-27T13:30:16+0200] [ALPM-SCRIPTLET]   -> Running build hook: [modconf]
[2023-04-27T13:30:16+0200] [ALPM-SCRIPTLET]   -> Running build hook: [kms]
[2023-04-27T13:30:23+0200] [ALPM-SCRIPTLET] ==> WARNING: Possibly missing firmware for module: 'ast'
[2023-04-27T13:30:30+0200] [ALPM-SCRIPTLET]   -> Running build hook: [keyboard]
[2023-04-27T13:30:30+0200] [ALPM-SCRIPTLET] ==> WARNING: Possibly missing firmware for module: 'xhci_pci'
[2023-04-27T13:30:32+0200] [ALPM-SCRIPTLET]   -> Running build hook: [keymap]
[2023-04-27T13:30:32+0200] [ALPM-SCRIPTLET]   -> Running build hook: [consolefont]
[2023-04-27T13:30:32+0200] [ALPM-SCRIPTLET] ==> WARNING: consolefont: no font found in configuration
[2023-04-27T13:30:32+0200] [ALPM-SCRIPTLET]   -> Running build hook: [block]
[2023-04-27T13:30:32+0200] [ALPM-SCRIPTLET] ==> WARNING: Possibly missing firmware for module: 'aic94xx'
[2023-04-27T13:30:33+0200] [ALPM-SCRIPTLET] ==> WARNING: Possibly missing firmware for module: 'qla1280'
[2023-04-27T13:30:33+0200] [ALPM-SCRIPTLET] ==> WARNING: Possibly missing firmware for module: 'qed'
[2023-04-27T13:30:33+0200] [ALPM-SCRIPTLET] ==> WARNING: Possibly missing firmware for module: 'wd719x'
[2023-04-27T13:30:34+0200] [ALPM-SCRIPTLET] ==> WARNING: Possibly missing firmware for module: 'qla2xxx'
[2023-04-27T13:30:34+0200] [ALPM-SCRIPTLET] ==> WARNING: Possibly missing firmware for module: 'bfa'
[2023-04-27T13:30:37+0200] [ALPM-SCRIPTLET]   -> Running build hook: [filesystems]
[2023-04-27T13:30:39+0200] [ALPM-SCRIPTLET]   -> Running build hook: [fsck]
[2023-04-27T13:30:42+0200] [ALPM-SCRIPTLET] ==> Generating module dependencies
[2023-04-27T13:30:42+0200] [ALPM-SCRIPTLET] ==> Creating zstd-compressed initcpio image: '/boot/initramfs-linux-lts-fallback.img'
[2023-04-27T13:30:44+0200] [ALPM-SCRIPTLET] ==> Image generation successful
[2023-04-27T13:30:45+0200] [ALPM] running 'detect-old-perl-modules.hook'...

journalctl of the process start:

Apr 27 19:52:00 main systemd[1]: Started rapid spam filtering system.
Apr 27 19:52:00 main rspamd[629]: 2023-04-27 19:52:00 #629(main) <a32875>; main; main: rspamd 3.5 is loading configuration, build id: release
Apr 27 19:52:01 main systemd[1]: Started Process Core Dump (PID 630/UID 0).
Apr 27 19:52:01 main systemd-coredump[631]: [?] Process 629 (rspamd) of user 993 dumped core.

                                            Stack trace of thread 629:
                                            #0  0x00007f3ccf51e8ec n/a (libc.so.6 + 0x878ec)
                                            #1  0x00007f3ccf4cfea8 raise (libc.so.6 + 0x38ea8)
                                            #2  0x00007f3ccf4b953d abort (libc.so.6 + 0x2253d)
                                            #3  0x00007f3ccfb985f2 rspamd_url_init (librspamd-server.so + 0x1985f2)
                                            #4  0x00007f3ccfb2d1ee rspamd_config_post_load (librspamd-server.so + 0x12d1ee)
                                            #5  0x0000562d5fe43fa6 n/a (rspamd-3.5 + 0x1ffa6)
                                            #6  0x0000562d5fe2df01 n/a (rspamd-3.5 + 0x9f01)
                                            #7  0x00007f3ccf4ba790 n/a (libc.so.6 + 0x23790)
                                            #8  0x00007f3ccf4ba84a __libc_start_main (libc.so.6 + 0x2384a)
                                            #9  0x0000562d5fe2eaf5 n/a (rspamd-3.5 + 0xaaf5)
                                            ELF object binary architecture: AMD x86-64
Apr 27 19:52:01 main systemd[1]: systemd-coredump@8-630-0.service: Deactivated successfully.
Apr 27 19:52:01 main systemd[1]: rspamd.service: Main process exited, code=dumped, status=6/ABRT
Apr 27 19:52:01 main systemd[1]: rspamd.service: Failed with result 'core-dump'.

All worked fine before the pacman -Syu

Does anyone have an idea what could have coused this? And how to fix it...

I guess i'll have to do manual spam filtering until this gets fixed sad

Last edited by Nozzie (2023-04-28 08:35:21)

Offline

#2 2023-04-27 18:30:34

3beb6e7c46a615a
Member
Registered: 2021-03-27
Posts: 165

Re: [Solved] rspamd core dump on startup

Try to get the traceback (see https://wiki.archlinux.org/title/Debugg … ing_traces); perhaps it provides a clue why it crashes.  And gives you something to report to rspamd upstream.

Offline

#3 2023-04-28 08:34:47

Nozzie
Member
Registered: 2015-03-12
Posts: 3

Re: [Solved] rspamd core dump on startup

I fixed it by building rspamd myself from the PKGBUILD file.

For anyone else that needs to do that, here is the procedure.
Download all files from https://github.com/archlinux/svntogit-c … pamd/trunk into a dir, then do 'makepkg', this build the package.
To install 'sudo pacman -U rspamd-3.5-1-x86_64.pkg.tar.zst'

Offline

Board footer

Powered by FluxBB