Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 574300 - <=mail-mta/opensmtpd-5.7.3p2 segfaults with >=dev-libs/openssl-1.0.2e
Summary: <=mail-mta/opensmtpd-5.7.3p2 segfaults with >=dev-libs/openssl-1.0.2e
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal major
Assignee: Jason A. Donenfeld
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-02-09 23:54 UTC by Eby
Modified: 2016-06-07 13:30 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Eby 2016-02-09 23:54:18 UTC
mail-mta/opensmtpd has an issue with recent openssl libraries resulting in a segfault.

Error on start shows up in logs as:

smtpd[9433]: segfault at 0 ip           (null) sp 00007fffa8d05958 error 14 in smtpd[400000+69000]

The bug is documented on upstream here: https://github.com/OpenSMTPD/OpenSMTPD/issues/650

Upgrading to 5.7.3p2 or downgrading openssl fixes issue. 

I had no problems manually upgrading to 5.7.3p2 on amd64. Apologies if this is in wrong component.
Comment 1 fkater 2016-02-11 12:43:10 UTC
Same crash opensmtpd/openssl here.

opensmtpd also crashes with libressl-2.2.6 or libressl-2.3.2-r1.

The crash may also happen when calling: makemap my-secrets-file.
Comment 2 fkater 2016-02-11 13:20:05 UTC
Created an ebuild manually for 5.7.3p2 too, works with openssl-1.0.2f.

But it does still crash with with libressl-2.2.6 and libressl-2.3.2-r1.
Comment 3 Eby 2016-02-11 13:34:49 UTC
F Kater: It looks from this bug that libressl support is fairly in progress and people complaining of things >2.2.0 not working. Not seeing an update so might not be a version that works. You might want to add your info to the upstream bug at:

https://github.com/OpenSMTPD/OpenSMTPD/issues/534

Or open a new one on their github.

There is also a makemap bug posted a few days ago here which says patch is still in progress. Not sure if this matches the errors you were getting:

https://github.com/OpenSMTPD/OpenSMTPD/issues/653