[BUG] rspamd 2.5-2 gives a core dump on start

I'm trying to follow this article, "Setting up a mail server with OpenSMTPD, Dovecot and Rspamd", and when I try to start rspamd it gives a core dump. :frowning:

Even doing a fresh install of Manjaro-ARM-minimal-rpi4-20.06.img.xz on my Raspberry Pi 4 and trying to only start rspamd the problem persist.

Bellow are informations that may help to investigate the problem.
If other informations are needed, please ask.


β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ  β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ   peracchi@ninja
β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ  β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ   --------------
β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ  β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ   OS: Manjaro ARM Linux aarch64
β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ  β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ   Host: Raspberry Pi 4 Model B Rev 1.2
β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ           β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ   Kernel: 4.19.127-1-MANJARO-ARM
β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ  β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ  β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ   Uptime: secs
β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ  β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ  β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ   Packages: 266 (pacman)
β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ  β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ  β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ   Shell: bash 5.0.17
β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ  β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ  β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ   Resolution: 1920x1080
β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ  β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ  β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ   Terminal: /dev/pts/0
β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ  β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ  β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ   CPU: BCM2835 (4) @ 1.500GHz
β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ  β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ  β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ   Memory: 168MiB / 3819MiB
β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ  β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ  β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ
β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ  β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ  β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ

$ pstree
systemd─┬─NetworkManager───2*[{NetworkManager}]
        β”œβ”€agetty
        β”œβ”€brcm_patchram_p
        β”œβ”€dbus-daemon
        β”œβ”€dhcpcd─┬─dhcpcd───dhcpcd
        β”‚        └─2*[dhcpcd]
        β”œβ”€f2b/server───4*[{f2b/server}]
        β”œβ”€haveged
        β”œβ”€nginx───nginx
        β”œβ”€sshd───sshd───sshd───bash───pstree
        β”œβ”€systemd───(sd-pam)
        β”œβ”€systemd-homed
        β”œβ”€systemd-journal
        β”œβ”€systemd-logind
        β”œβ”€systemd-network
        β”œβ”€systemd-timesyn───{systemd-timesyn}
        β”œβ”€systemd-udevd
        β”œβ”€systemd-userdbd───3*[systemd-userwor]
        └─wpa_supplicant

$ pacman -Si rspamd
Repository      : community
Name            : rspamd
Version         : 2.5-2
Description     : Fast, free and open-source spam filtering system
Architecture    : aarch64
URL             : https://rspamd.com
Licenses        : BSD
Groups          : None
Provides        : None
Depends On      : file  glib2  glibc  icu  jemalloc  libevent  libsodium  luajit  openblas  openssl  pcre  sqlite  zlib
Optional Deps   : redis: Redis cache and data storage
Conflicts With  : None
Replaces        : None
Download Size   : 2.52 MiB
Installed Size  : 9.64 MiB
Packager        : Arch Linux ARM Build System <builder+n1@archlinuxarm.org>
Build Date      : Fri 01 May 2020 02:54:45 PM -03
Validated By    : MD5 Sum  SHA-256 Sum  Signature

$ sudo systemctl status rspamd
● rspamd.service - rapid spam filtering system
     Loaded: loaded (/usr/lib/systemd/system/rspamd.service; disabled; vendor preset: disabled)
     Active: inactive (dead)
       Docs: https://rspamd.com/doc/

$ sudo systemctl start rspamd

Jul 08 15:40:14 ninja sudo[505]: peracchi : TTY=pts/0 ; PWD=/home/peracchi ; USER=root ; COMMAND=/usr/bin/systemctl start rspamd
Jul 08 15:40:14 ninja sudo[505]: pam_unix(sudo:session): session opened for user root by peracchi(uid=0)
Jul 08 15:40:14 ninja systemd[1]: Started rapid spam filtering system.
Jul 08 15:40:14 ninja sudo[505]: pam_unix(sudo:session): session closed for user root
Jul 08 15:40:14 ninja systemd[1]: Created slice system-systemd\x2dcoredump.slice.
Jul 08 15:40:14 ninja systemd[1]: Started Process Core Dump (PID 515/UID 0).
Jul 08 15:40:15 ninja systemd[1]: rspamd.service: Main process exited, code=dumped, status=11/SEGV
Jul 08 15:40:15 ninja systemd[1]: rspamd.service: Failed with result 'core-dump'.
Jul 08 15:40:15 ninja systemd-coredump[516]: Process 511 (rspamd) of user 974 dumped core.

                                             Stack trace of thread 511:
                                             #0  0x0000007fb1caf120 lpeg_allocate_mem_low (librspamd-server.so + 0x1e5120)
                                             #1  0x0000007fb1cad820 n/a (librspamd-server.so + 0x1e3820)
                                             #2  0x0000007fb187acd4 n/a (libluajit-5.1.so.2 + 0x9cd4)
                                             #3  0x0000007fb18c8b78 lua_pcall (libluajit-5.1.so.2 + 0x57b78)
                                             #4  0x0000007fb1b8ed54 n/a (librspamd-server.so + 0xc4d54)
                                             #5  0x0000007fb1d83184 ucl_parser_add_chunk_full (librspamd-server.so + 0x2b9184)
                                             #6  0x0000007fb1b940e0 rspamd_config_parse_ucl (librspamd-server.so + 0xca0e0)
                                             #7  0x0000007fb1b9858c rspamd_config_read (librspamd-server.so + 0xce58c)
                                             #8  0x00000055811c1f08 n/a (rspamd-2.5 + 0x17f08)
                                             #9  0x00000055811b361c n/a (rspamd-2.5 + 0x961c)
                                             #10 0x0000007fb15b2d90 __libc_start_main (libc.so.6 + 0x23d90)
                                             #11 0x00000055811b4120 n/a (rspamd-2.5 + 0xa120)
                                             #12 0x00000055811b4120 n/a (rspamd-2.5 + 0xa120)

Interesting. I am on the linux-rpi4-next kernel and installed:

rspamd opensmtpd-filter-rspamd

Screenshot at 2020-07-08 14-27-53

Can you post

systemctl cat rspamd.service
[ray@pi4 ~]$ systemctl cat rspamd.service
# /usr/lib/systemd/system/rspamd.service
[Unit]
Description=rapid spam filtering system
After=nss-lookup.target network-online.target
Documentation=https://rspamd.com/doc/

[Service]
LimitNOFILE=1048576
NonBlocking=true
ExecStart=/usr/bin/rspamd -c /etc/rspamd/rspamd.conf -f
ExecReload=/bin/kill -HUP $MAINPID
User=rspamd
RuntimeDirectory=rspamd
RuntimeDirectoryMode=0755
lines 1-14...skipping...
# /usr/lib/systemd/system/rspamd.service
[Unit]
Description=rapid spam filtering system
After=nss-lookup.target network-online.target
Documentation=https://rspamd.com/doc/

[Service]
LimitNOFILE=1048576
NonBlocking=true
ExecStart=/usr/bin/rspamd -c /etc/rspamd/rspamd.conf -f
ExecReload=/bin/kill -HUP $MAINPID
User=rspamd
RuntimeDirectory=rspamd
RuntimeDirectoryMode=0755
Restart=always
lines 1-15...skipping...
# /usr/lib/systemd/system/rspamd.service
[Unit]
Description=rapid spam filtering system
After=nss-lookup.target network-online.target
Documentation=https://rspamd.com/doc/

[Service]
LimitNOFILE=1048576
NonBlocking=true
ExecStart=/usr/bin/rspamd -c /etc/rspamd/rspamd.conf -f
ExecReload=/bin/kill -HUP $MAINPID
User=rspamd
RuntimeDirectory=rspamd
RuntimeDirectoryMode=0755
Restart=always

lines 1-16...skipping...
# /usr/lib/systemd/system/rspamd.service
[Unit]
Description=rapid spam filtering system
After=nss-lookup.target network-online.target
Documentation=https://rspamd.com/doc/

[Service]
LimitNOFILE=1048576
NonBlocking=true
ExecStart=/usr/bin/rspamd -c /etc/rspamd/rspamd.conf -f
ExecReload=/bin/kill -HUP $MAINPID
User=rspamd
RuntimeDirectory=rspamd
RuntimeDirectoryMode=0755
Restart=always

[Install]
lines 1-17...skipping...
# /usr/lib/systemd/system/rspamd.service
[Unit]
Description=rapid spam filtering system
After=nss-lookup.target network-online.target
Documentation=https://rspamd.com/doc/

[Service]
LimitNOFILE=1048576
NonBlocking=true
ExecStart=/usr/bin/rspamd -c /etc/rspamd/rspamd.conf -f
ExecReload=/bin/kill -HUP $MAINPID
User=rspamd
RuntimeDirectory=rspamd
RuntimeDirectoryMode=0755
Restart=always

[Install]
WantedBy=multi-user.target
lines 1-18...skipping...
# /usr/lib/systemd/system/rspamd.service
[Unit]
Description=rapid spam filtering system
After=nss-lookup.target network-online.target
Documentation=https://rspamd.com/doc/

[Service]
LimitNOFILE=1048576
NonBlocking=true
ExecStart=/usr/bin/rspamd -c /etc/rspamd/rspamd.conf -f
ExecReload=/bin/kill -HUP $MAINPID
User=rspamd
RuntimeDirectory=rspamd
RuntimeDirectoryMode=0755
Restart=always

[Install]
WantedBy=multi-user.target

A lot of redundancy.

[ray@pi4 ~]$ cat /usr/lib/systemd/system/rspamd.service
[Unit]
Description=rapid spam filtering system
After=nss-lookup.target network-online.target
Documentation=https://rspamd.com/doc/

[Service]
LimitNOFILE=1048576
NonBlocking=true
ExecStart=/usr/bin/rspamd -c /etc/rspamd/rspamd.conf -f
ExecReload=/bin/kill -HUP $MAINPID
User=rspamd
RuntimeDirectory=rspamd
RuntimeDirectoryMode=0755
Restart=always

[Install]
WantedBy=multi-user.target

@Darksky, how can I update the kernel 4.19.127-1 that I got installed from Manjaro-ARM-minimal-rpi4-20.06.img.xz that you provided on Manjaro ARM 20.06 released! ?

sudo pacman -S linux-rpi4-next

Yep, usually this command just outputs the content of the service file and additional files.

I had recently some problems with the systemd security features on ARM , but it looks like as if rspamd.service does not use any of these. So it doesn't relate to this problem.

Thanks!

I just reflashed my SD card. Will setup, update it and try with the new kernel.

I am actually on kernel 5.4.50-2 in the unstable branch but think 5.4.50-1
should be ok.

Another thing to note is to make sure all of the files are up to date on the images.

sudo pacman -Syu

Still the same problem... :frowning:

How can I put the same kernel you are using to see if this solves the problem?


β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ  β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ   peracchi@ninja
β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ  β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ   --------------
β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ  β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ   OS: Manjaro ARM Linux aarch64
β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ  β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ   Host: Raspberry Pi 4 Model B Rev 1.2
β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ            β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ   Kernel: 5.4.47-1-MANJARO-ARM
β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ  β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ  β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ   Uptime: 4 mins
β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ  β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ  β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ   Packages: 266 (pacman)
β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ  β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ  β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ   Shell: bash 5.0.17
β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ  β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ  β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ   Resolution: 1920x1080
β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ  β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ  β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ   Terminal: /dev/pts/0
β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ  β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ  β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ   CPU: BCM2835 (4) @ 1.500GHz
β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ  β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ  β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ   Memory: 120MiB / 3810MiB
β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ  β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ  β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ
β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ  β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ  β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ

$ pstree
systemd─┬─NetworkManager───2*[{NetworkManager}]
        β”œβ”€agetty
        β”œβ”€brcm_patchram_p
        β”œβ”€dbus-daemon
        β”œβ”€dhcpcd─┬─dhcpcd───dhcpcd
        β”‚        └─2*[dhcpcd]
        β”œβ”€f2b/server───4*[{f2b/server}]
        β”œβ”€haveged
        β”œβ”€nginx───nginx
        β”œβ”€sshd───sshd───sshd───bash───pstree
        β”œβ”€systemd───(sd-pam)
        β”œβ”€systemd-homed
        β”œβ”€systemd-journal
        β”œβ”€systemd-logind
        β”œβ”€systemd-network
        β”œβ”€systemd-timesyn───{systemd-timesyn}
        β”œβ”€systemd-udevd
        β”œβ”€systemd-userdbd───3*[systemd-userwor]
        └─wpa_supplicant

$ pacman -Si rspamd
Repository      : community
Name            : rspamd
Version         : 2.5-2
Description     : Fast, free and open-source spam filtering system
Architecture    : aarch64
URL             : https://rspamd.com
Licenses        : BSD
Groups          : None
Provides        : None
Depends On      : file  glib2  glibc  icu  jemalloc  libevent  libsodium  luajit  openblas  openssl  pcre  sqlite  zlib
Optional Deps   : redis: Redis cache and data storage
Conflicts With  : None
Replaces        : None
Download Size   : 2.52 MiB
Installed Size  : 9.64 MiB
Packager        : Arch Linux ARM Build System <builder+n1@archlinuxarm.org>
Build Date      : Fri 01 May 2020 02:54:45 PM -03
Validated By    : MD5 Sum  SHA-256 Sum  Signature

$ sudo systemctl status rspamd
● rspamd.service - rapid spam filtering system
     Loaded: loaded (/usr/lib/systemd/system/rspamd.service; disabled; vendor preset: disabled)
     Active: inactive (dead)
       Docs: https://rspamd.com/doc/

$ sudo systemctl start rspamd

Jul 08 17:22:27 ninja sudo[525]: peracchi : TTY=pts/0 ; PWD=/home/peracchi ; USER=root ; COMMAND=/usr/bin/systemctl start rspamd
Jul 08 17:22:27 ninja sudo[525]: pam_unix(sudo:session): session opened for user root by peracchi(uid=0)
Jul 08 17:22:27 ninja systemd[1]: Started rapid spam filtering system.
Jul 08 17:22:27 ninja sudo[525]: pam_unix(sudo:session): session closed for user root
Jul 08 17:22:27 ninja systemd[1]: Created slice system-systemd\x2dcoredump.slice.
Jul 08 17:22:27 ninja systemd[1]: Started Process Core Dump (PID 536/UID 0).
Jul 08 17:22:28 ninja systemd[1]: rspamd.service: Main process exited, code=dumped, status=11/SEGV
Jul 08 17:22:28 ninja systemd[1]: rspamd.service: Failed with result 'core-dump'.
Jul 08 17:22:28 ninja systemd-coredump[537]: Process 531 (rspamd) of user 974 dumped core.

                                             Stack trace of thread 531:
                                             #0  0x0000007f8a718120 lpeg_allocate_mem_low (librspamd-server.so + 0x1e5120)
                                             #1  0x0000007f8a716820 n/a (librspamd-server.so + 0x1e3820)
                                             #2  0x0000007f8a2e3cd4 n/a (libluajit-5.1.so.2 + 0x9cd4)
                                             #3  0x0000007f8a331b78 lua_pcall (libluajit-5.1.so.2 + 0x57b78)
                                             #4  0x0000007f8a5f7d54 n/a (librspamd-server.so + 0xc4d54)
                                             #5  0x0000007f8a7ec184 ucl_parser_add_chunk_full (librspamd-server.so + 0x2b9184)
                                             #6  0x0000007f8a5fd0e0 rspamd_config_parse_ucl (librspamd-server.so + 0xca0e0)
                                             #7  0x0000007f8a60158c rspamd_config_read (librspamd-server.so + 0xce58c)
                                             #8  0x000000557b597f08 n/a (rspamd-2.5 + 0x17f08)
                                             #9  0x000000557b58961c n/a (rspamd-2.5 + 0x961c)
                                             #10 0x0000007f8a01bd90 __libc_start_main (libc.so.6 + 0x23d90)
                                             #11 0x000000557b58a120 n/a (rspamd-2.5 + 0xa120)
                                             #12 0x000000557b58a120 n/a (rspamd-2.5 + 0xa120)

$ sudo pacman -Syu
:: Synchronizing package databases...
 core is up to date
 extra is up to date
 community is up to date
:: Starting full system upgrade...
 there is nothing to do

Or maybe you can provide a link to download and flash the same minimal image you are using. :roll_eyes:

I do not for sure know the issue is kernel. The -2 was a minor thing with a .dts. I am not using a minimal image. I flashed this mate image a couple of days ago using manjaro-arm installer.

All of your files up to date?

Yes, all updated.

Maybe it's something related with the minimal image. I will try with KDE edition.

I used the minimal image you provided here: Manjaro ARM 20.06 released! (I checked the MD5, the file is ok)

Well it did not survive a reboot and now I am getting the same as you.

Sorry to hear that...

On Manjaro KDE, on my notebook, it works.

The problem is only on Manjaro ARM.

All of these packages that was installed with this are arch-arm packages (we do not build them) but complaining to them saying you have manjaro they will delete you. And they do not offer a 64bit for the pi4 yet so does not look promising to get any help from them.

Results with Manjaro-ARM-kde-plasma-rpi4-20.06.img.xz flashed to SD Card and same steps repeated:


β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ  β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ   peracchi@ninja
β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ  β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ   --------------
β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ  β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ   OS: Manjaro ARM Linux aarch64
β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ  β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ   Host: Raspberry Pi 4 Model B Rev 1.2
β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ            β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ   Kernel: 4.19.127-1-MANJARO-ARM
β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ  β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ  β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ   Uptime: 4 mins
β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ  β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ  β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ   Packages: 778 (pacman)
β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ  β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ  β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ   Shell: bash 5.0.17
β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ  β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ  β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ   Resolution: 1920x1080
β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ  β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ  β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ   Terminal: /dev/pts/0
β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ  β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ  β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ   CPU: BCM2835 (4) @ 1.500GHz
β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ  β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ  β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ   Memory: 592MiB / 3819MiB
β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ  β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ  β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ
β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ  β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ  β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ

$ pstree
systemd─┬─NetworkManager───2*[{NetworkManager}]
        β”œβ”€baloo_file───{baloo_file}
        β”œβ”€bluetoothd
        β”œβ”€brcm_patchram_p
        β”œβ”€dbus-daemon
        β”œβ”€f2b/server───4*[{f2b/server}]
        β”œβ”€gmenudbusmenupr───2*[{gmenudbusmenupr}]
        β”œβ”€haveged
        β”œβ”€kaccess───2*[{kaccess}]
        β”œβ”€kded5───6*[{kded5}]
        β”œβ”€kdeinit5─┬─file.so
        β”‚          └─klauncher───2*[{klauncher}]
        β”œβ”€ksmserver───2*[{ksmserver}]
        β”œβ”€kwalletd5───2*[{kwalletd5}]
        β”œβ”€kwin_x11───4*[{kwin_x11}]
        β”œβ”€lvmetad
        β”œβ”€nginx───nginx
        β”œβ”€org_kde_powerde───4*[{org_kde_powerde}]
        β”œβ”€pamac-tray-appi───2*[{pamac-tray-appi}]
        β”œβ”€plasmashell───6*[{plasmashell}]
        β”œβ”€polkit-kde-auth───4*[{polkit-kde-auth}]
        β”œβ”€polkitd───7*[{polkitd}]
        β”œβ”€rtkit-daemon───2*[{rtkit-daemon}]
        β”œβ”€sddm─┬─Xorg
        β”‚      β”œβ”€sddm-helper───startplasma-x11───{startplasma-x11}
        β”‚      └─{sddm}
        β”œβ”€sshd───sshd───sshd───bash───pstree
        β”œβ”€start_kdeinit
        β”œβ”€systemd─┬─(sd-pam)
        β”‚         β”œβ”€at-spi-bus-laun─┬─dbus-daemon
        β”‚         β”‚                 └─3*[{at-spi-bus-laun}]
        β”‚         β”œβ”€at-spi2-registr───2*[{at-spi2-registr}]
        β”‚         β”œβ”€dbus-daemon
        β”‚         β”œβ”€dconf-service───2*[{dconf-service}]
        β”‚         β”œβ”€kactivitymanage───5*[{kactivitymanage}]
        β”‚         β”œβ”€kglobalaccel5───2*[{kglobalaccel5}]
        β”‚         β”œβ”€kscreen_backend───2*[{kscreen_backend}]
        β”‚         β”œβ”€obexd
        β”‚         └─pulseaudio─┬─gsettings-helpe───3*[{gsettings-helpe}]
        β”‚                      └─2*[{pulseaudio}]
        β”œβ”€systemd-homed
        β”œβ”€systemd-journal
        β”œβ”€systemd-logind
        β”œβ”€systemd-network
        β”œβ”€systemd-timesyn───{systemd-timesyn}
        β”œβ”€systemd-udevd
        β”œβ”€systemd-userdbd───3*[systemd-userwor]
        β”œβ”€udisksd───4*[{udisksd}]
        β”œβ”€upowerd───2*[{upowerd}]
        β”œβ”€wpa_supplicant
        └─xembedsniproxy───2*[{xembedsniproxy}]

$ pacman -Si rspamd
Repository      : community
Name            : rspamd
Version         : 2.5-2
Description     : Fast, free and open-source spam filtering system
Architecture    : aarch64
URL             : https://rspamd.com
Licenses        : BSD
Groups          : None
Provides        : None
Depends On      : file  glib2  glibc  icu  jemalloc  libevent  libsodium  luajit  openblas  openssl  pcre  sqlite  zlib
Optional Deps   : redis: Redis cache and data storage
Conflicts With  : None
Replaces        : None
Download Size   : 2.52 MiB
Installed Size  : 9.64 MiB
Packager        : Arch Linux ARM Build System <builder+n1@archlinuxarm.org>
Build Date      : Fri 01 May 2020 02:54:45 PM -03
Validated By    : MD5 Sum  SHA-256 Sum  Signature

$ sudo systemctl status rspamd
● rspamd.service - rapid spam filtering system
     Loaded: loaded (/usr/lib/systemd/system/rspamd.service; disabled; vendor preset: disabled)
     Active: inactive (dead)
       Docs: https://rspamd.com/doc/

$ sudo systemctl start rspamd

Jul 08 19:00:23 ninja sudo[968]: peracchi : TTY=pts/0 ; PWD=/home/peracchi ; USER=root ; COMMAND=/usr/bin/systemctl status rspamd
Jul 08 19:00:23 ninja sudo[968]: pam_unix(sudo:session): session opened for user root by peracchi(uid=0)
Jul 08 19:00:23 ninja sudo[968]: pam_unix(sudo:session): session closed for user root
Jul 08 19:00:53 ninja sudo[982]: peracchi : TTY=pts/0 ; PWD=/home/peracchi ; USER=root ; COMMAND=/usr/bin/systemctl start rspamd
Jul 08 19:00:53 ninja sudo[982]: pam_unix(sudo:session): session opened for user root by peracchi(uid=0)
Jul 08 19:00:53 ninja systemd[1]: Started rapid spam filtering system.
Jul 08 19:00:53 ninja sudo[982]: pam_unix(sudo:session): session closed for user root
Jul 08 19:00:53 ninja systemd[1]: Created slice system-systemd\x2dcoredump.slice.
Jul 08 19:00:53 ninja systemd[1]: Started Process Core Dump (PID 994/UID 0).
Jul 08 19:00:54 ninja systemd[1]: rspamd.service: Main process exited, code=dumped, status=11/SEGV
Jul 08 19:00:54 ninja systemd[1]: rspamd.service: Failed with result 'core-dump'.
Jul 08 19:00:54 ninja systemd-coredump[995]: Process 988 (rspamd) of user 970 dumped core.

                                             Stack trace of thread 988:
                                             #0  0x0000007f948e9120 lpeg_allocate_mem_low (librspamd-server.so + 0x1e5120)
                                             #1  0x0000007f948e7820 n/a (librspamd-server.so + 0x1e3820)
                                             #2  0x0000007f9448ccd4 n/a (libluajit-5.1.so.2 + 0x9cd4)
                                             #3  0x0000007f944dab78 lua_pcall (libluajit-5.1.so.2 + 0x57b78)
                                             #4  0x0000007f947c8d54 n/a (librspamd-server.so + 0xc4d54)
                                             #5  0x0000007f949bd184 ucl_parser_add_chunk_full (librspamd-server.so + 0x2b9184)
                                             #6  0x0000007f947ce0e0 rspamd_config_parse_ucl (librspamd-server.so + 0xca0e0)
                                             #7  0x0000007f947d258c rspamd_config_read (librspamd-server.so + 0xce58c)
                                             #8  0x000000556f567f08 n/a (rspamd-2.5 + 0x17f08)
                                             #9  0x000000556f55961c n/a (rspamd-2.5 + 0x961c)
                                             #10 0x0000007f941c4d90 __libc_start_main (libc.so.6 + 0x23d90)
                                             #11 0x000000556f55a120 n/a (rspamd-2.5 + 0xa120)
                                             #12 0x000000556f55a120 n/a (rspamd-2.5 + 0xa120)

Forum kindly sponsored by