Summary: | mail-filter/rspamd-2.1 version bump | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | drserge |
Component: | Current packages | Assignee: | Christian Roessner <c> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | CC: | djc, gentoo, gentoo, gentoo, himbeere, proxy-maint, toto |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | https://rspamd.com/announce/2019/10/28/rspamd-2.1.html | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
rspamd-2.0.ebuild
2.0-fix-crash-due-to-constructors-init-order.patch rspamd-r7.init rspamd-2.0.ebuild |
Description
drserge
2019-10-12 05:49:25 UTC
A simple version bump results in Segmentation Fault for me when starting rspamd, haven't tested w/o LTO-enabled yet, though. The crash at startup seems to affect a lot of distributions. Maybe gentoo too? https://github.com/rspamd/rspamd/issues/3079 Created attachment 593528 [details]
rspamd-2.0.ebuild
Created attachment 593530 [details]
2.0-fix-crash-due-to-constructors-init-order.patch
Please put this patch file under files/
Can you test this and report back, if that solves the crashes?
Missing dependency: -- Found package LIBZ in '/usr/lib' (/usr/lib/libz.so) and '/usr/include' (zlib.h). -- Checking for one of the modules 'libsodium>=1.0.0' CMake Error at CMakeLists.txt:427 (MESSAGE): Cannot find library sodium for package SODIUM Call Stack (most recent call first): CMakeLists.txt:643 (ProcessPackage) Installing libsodium. :-) hm. * ERROR: mail-filter/rspamd-2.0::x-portage failed (install phase): * !!! newinitd: /var/tmp/portage/mail-filter/rspamd-2.0/files/rspamd-r7.init does not exist * Created attachment 593604 [details]
rspamd-r7.init
That init script uses the correct configtest routine from rspamadm. Please put that file under files/
Created attachment 593606 [details]
rspamd-2.0.ebuild
Add libsodium deps
Have it up and running. No crash. It seems rspamc is segfaulting with this release. [424148.689569] rspamc[29414]: segfault at 0 ip 00007fd65b5d4381 sp 00007ffc15e87e10 error 4 in librspamd-server.so[7fd65b5a5000+1b7000] [424148.689577] Code: c3 0f 1f 84 00 00 00 00 00 41 54 55 48 89 fd 53 48 81 ec 10 01 00 00 64 48 8b 04 25 28 00 00 00 48 89 84 24 08 01 00 00 31 c0 <48> 8b 07 48 85 c0 74 63 48 83 3d 4f 05 25 00 00 74 59 48 8b 48 10 [462653.427612] rspamc[7983]: segfault at 0 ip 00007fcbe3776381 sp 00007ffda21d6920 error 4 in librspamd-server.so[7fcbe3747000+1b7000] [462653.427620] Code: c3 0f 1f 84 00 00 00 00 00 41 54 55 48 89 fd 53 48 81 ec 10 01 00 00 64 48 8b 04 25 28 00 00 00 48 89 84 24 08 01 00 00 31 c0 <48> 8b 07 48 85 c0 74 63 48 83 3d 4f 05 25 00 00 74 59 48 8b 48 10 [465484.609538] rspamc[8666]: segfault at 0 ip 00007fb253d6b381 sp 00007ffde0f2e4c0 error 4 in librspamd-server.so[7fb253d3c000+1b7000] [465484.609548] Code: c3 0f 1f 84 00 00 00 00 00 41 54 55 48 89 fd 53 48 81 ec 10 01 00 00 64 48 8b 04 25 28 00 00 00 48 89 84 24 08 01 00 00 31 c0 <48> 8b 07 48 85 c0 74 63 48 83 3d 4f 05 25 00 00 74 59 48 8b 48 10 [495519.377657] rspamc[5759]: segfault at 0 ip 00007f2cba337381 sp 00007ffd4aa405e0 error 4 in librspamd-server.so[7f2cba308000+1b7000] [495519.377662] Code: c3 0f 1f 84 00 00 00 00 00 41 54 55 48 89 fd 53 48 81 ec 10 01 00 00 64 48 8b 04 25 28 00 00 00 48 89 84 24 08 01 00 00 31 c0 <48> 8b 07 48 85 c0 74 63 48 83 3d 4f 05 25 00 00 74 59 48 8b 48 10 [515499.463358] rspamc[12789]: segfault at 0 ip 00007f8f479c5381 sp 00007ffdcd19dbe0 error 4 in librspamd-server.so[7f8f47996000+1b7000] [515499.463368] Code: c3 0f 1f 84 00 00 00 00 00 41 54 55 48 89 fd 53 48 81 ec 10 01 00 00 64 48 8b 04 25 28 00 00 00 48 89 84 24 08 01 00 00 31 c0 <48> 8b 07 48 85 c0 74 63 48 83 3d 4f 05 25 00 00 74 59 48 8b 48 10 [515620.317865] rspamc[12840]: segfault at 0 ip 00007fc802352381 sp 00007ffe3ae166c0 error 4 in librspamd-server.so[7fc802323000+1b7000] Confirming rspamc segmentation fault; Oct 23 19:11:19 mail kernel: rspamc[8043]: segfault at 0 ip 00007f643cc5f4d9 sp 00007ffd0abcb7a0 error 4 in librspamd-server.so[7f643cace000+1b6000] Oct 23 19:11:19 mail kernel: Code: e8 5c 31 e7 ff 0f 1f 40 00 41 54 55 53 48 89 fd 48 81 ec 10 01 00 00 64 48 8b 04 25 28 00 00 00 48 89 84 24 08 01 00 00 31 c0 <48> 8b 07 48 85 c0 74 5c 48 83 3d 17 82 0e 00 00 74 52 48 8b 50 08 Maybe related upstream: https://github.com/rspamd/rspamd/issues/3079#issuecomment-541175246 Rspamd version 2.1 have been released. Just copied 2.0 ebuild to 2.1, removed the 2.0-fix-crash-due-to-constructors-init-order.patch. Seems to be running. No Segfault whatsoever. Same for me - 2.1-ebuild, removed fix-crash-due-to-constructors-init-order.patch and all seems fine - able to train bayes again w/o segfault :) *** Bug 698902 has been marked as a duplicate of this bug. *** *** This bug has been marked as a duplicate of bug 698902 *** |