Bug 7309

Summary: sa-learn fails when called by dovecot-antispam plugin: libgcc_s.so.1 must be installed for pthread_cancel to work
Product: Spamassassin Reporter: Johannes Rohr <jorohr>
Component: spamassassinAssignee: SpamAssassin Developer Mailing List <dev>
Severity: normal CC: elm, kmcgrail
Priority: P2    
Version: 3.2.2   
Target Milestone: Undefined   
Hardware: Other   
OS: Linux   

Description Johannes Rohr 2016-04-13 10:26:22 UTC
This is about a server running Ubuntu Precise, mail is handled by the Dovecot IMAP server, which I tried to integrate with spamassassin via the antispam plugin.

sa-learn works fine when called directly, but called from dovecot it fails:

libgcc_s.so.1 must be installed for pthread_cancel to work 

Obviously dovecot's privilege drop at programme start triggers this bug. See https://bugs.launchpad.net/ubuntu/+source/gcc-3.3/+bug/40285/comments/30

It seems quite persistent, I found no fix and I have found recent bug reports. I suppose that sa-learn is not the actual culprit, but maybe sa-learn can work around to avoid triggering whatever the actual cause is.
Comment 1 Kevin A. McGrail 2018-08-25 23:10:04 UTC
Sorry, but this is not a bug with SA.  If you have a suggestion you want us to try, that's great but working around another products integration that's causing an unknown problem...