Bug 7184 - Spamd running with ssl and spamc called without ssl causes a cryptic method error and crashes the child
Summary: Spamd running with ssl and spamc called without ssl causes a cryptic method e...
Status: RESOLVED FIXED
Alias: None
Product: Spamassassin
Classification: Unclassified
Component: spamc/spamd (show other bugs)
Version: 3.4 SVN branch
Hardware: PC Windows 7
: P2 normal
Target Milestone: 4.0.0
Assignee: SpamAssassin Developer Mailing List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-04-30 03:13 UTC by Kevin A. McGrail
Modified: 2019-05-05 09:54 UTC (History)
2 users (show)



Attachment Type Modified Status Actions Submitter/CLA Status

Note You need to log in before you can comment on or make changes to this bug.
Description Kevin A. McGrail 2015-04-30 03:13:54 UTC
If you are running spamd in ssl mode and call spamd in non ssl mode, you get a fairly cryptic log error and children killed:

spamd: error: Can't call method "isa" on an undefined value at /usr/local/bin/spamd line 1545. 
Apr 29 22:23:53 intel1 spamd[4339]:  , continuing at /usr/local/bin/spamd line 1406. 
Apr 29 22:23:54 intel1 spamd[4296]: prefork: ordered child 4339 to accept, but they reported state '1', killing rogue at /usr/local/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin/SpamdForkScaling.pm line 535. 
Apr 29 22:23:54 intel1 spamd[4296]: prefork: killing failed child 4339 fd=6 at /usr/local/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin/SpamdForkScaling.pm line 172. 
Apr 29 22:23:54 intel1 spamd[4296]: prefork: killed child 4339 

Can we clean this up so it perhaps says something less cryptic and doesn't kill the child?

regards,
KAM
Comment 1 Kevin A. McGrail 2018-09-03 04:44:22 UTC
Targeting this for 4.0
Comment 2 Giovanni Bechis 2019-05-05 09:54:14 UTC
Hint about SSL protocol error added in r1858662.