[Rspamd-Users] rspamc sieve fails hardly

Daniel, Sebastian s.daniel at q-mex.net
Fri Nov 8 22:40:58 UTC 2019


Unbelievable... I read this Post https://github.com/rspamd/rspamd/issues/3082 just before I write the first email and thinking "I don't have installed the BLAS - and my logs are really different...". 

But it's working now in the old way... yeeehaaa...

Thanks

Am 08.11.19, 23:19 schrieb "Users im Auftrag von Hans van Eijsden Photography via Users" <users-bounces at lists.rspamd.com im Auftrag von users at lists.rspamd.com>:

    Just include this in your rspamd-learn-ham.sh and rspamd-learn-spam.sh scripts on line 2:
    export OMP_NUM_THREADS=1
    After the shebang line (#!/bin/sh).
    
    The bug is well-known and has something to do with Openblas.
    Best regards,
    
    Hans
    
    
    > Op 8 nov. 2019, om 23:12 heeft Daniel, Sebastian <s.daniel at q-mex.net> het volgende geschreven:
    > 
    > I will report this - because in every google solution the "segfault at 0 ip 0000000000000000" is a code failure... seems that's a Problem with a shared library.
    > 
    > Here: https://stackoverflow.com/questions/2549214/interpreting-segfault-messages 
    > 
    > As a temporary solution I inject the mail over the proxy port. This seems working, because the rspamc stat bayes counters up. But this isn't working well, it's counts in the rspamd webui every moved mail and the redis total learns not every mail.
    > 
    > Greetings
    > 
    > Am 08.11.19, 21:31 schrieb "Users im Auftrag von Mattia via Users" <users-bounces at lists.rspamd.com im Auftrag von users at lists.rspamd.com>:
    > 
    >    Hello,
    > 
    >    I just subscribed to this mailing list, I couldn't reply to the message 
    >    of Sebastian but I have the same problem as him:
    >    mail.err
    >    Nov  7 22:41:03 kronos dovecot: imap()<1688><swx7hciWFNI+XvEt>: Error: 
    >    write(program stdin) failed: Broken pipe
    >    Nov  7 22:41:03 kronos dovecot: imap()<1688><swx7hciWFNI+XvEt>: Error: 
    >    program `/etc/dovecot/sieve/rspamd-learn-ham.sh' terminated abnormally, 
    >    signal 11
    >    Nov  7 22:41:03 kronos dovecot: imap()<1688><swx7hciWFNI+XvEt>: Error: 
    >    sieve: pipe action: failed to pipe message to program 
    >    `rspamd-learn-ham.sh': refer to server log for more information. 
    >    [2019-11-07 22:41:03]
    >    Nov  7 22:41:03 kronos dovecot: imap()<1688><swx7hciWFNI+XvEt>: Error: 
    >    sieve: Execution of script /etc/dovecot/sieve/learn-ham.sieve failed
    > 
    >    syslog
    >    Nov  7 22:41:03 kronos kernel: [  103.059971] rspamc[1693]: segfault at 
    >    0 ip 0000000000000000 sp 00007fab053e99e8 error 14
    >    Nov  7 22:41:03 kronos kernel: [  103.059972] Code: Bad RIP value.
    >    Nov  7 22:41:03 kronos kernel: [  103.059978] rspamc[1694]: segfault at 
    >    1bc0 ip 00007fab0f54b973 sp 00007fab00be8700 error 4
    >    Nov  7 22:41:03 kronos kernel: [  103.059980] Code: 8d 3d c9 ac 00 00 e8 
    >    7c b8 ff ff 66 2e 0f 1f 84 00 00 00 00 00 66 90 41 56 41 55 41 54 49 89 
    >    fc 55 53 64 8b 2c 25 d0 02 00 00 <8b> 57 10 81 e2 7f 01 00 00 83 fa 23 
    >    7f 5f 83 fa 20 7d 78 83 fa 03
    > 
    >    Running 'rspamc learn_spam <message>' as root works fine.
    > 
    >    Thanks
    >    Mattia
    >    -- 
    >    Users mailing list
    >    Users at lists.rspamd.com
    >    https://lists.rspamd.com/mailman/listinfo/users
    > 
    > 
    > -- 
    > Users mailing list
    > Users at lists.rspamd.com
    > https://lists.rspamd.com/mailman/listinfo/users
    
    -- 
    Users mailing list
    Users at lists.rspamd.com
    https://lists.rspamd.com/mailman/listinfo/users
    



More information about the Users mailing list