Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 585424 - mail-mta/opensmtpd-5.9.2.201606071034_p1-r1 core dumps
Summary: mail-mta/opensmtpd-5.9.2.201606071034_p1-r1 core dumps
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: Normal normal with 1 vote (vote)
Assignee: Jason A. Donenfeld
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-06-08 23:53 UTC by José Romildo Malaquias
Modified: 2016-07-15 10:00 UTC (History)
0 users

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


Attachments
The output of "emerge --info" (nada.txt,16.67 KB, text/plain)
2016-06-08 23:53 UTC, José Romildo Malaquias
Details

Note You need to log in before you can comment on or make changes to this bug.
Description José Romildo Malaquias 2016-06-08 23:53:21 UTC
Created attachment 436918 [details]
The output of "emerge --info"

opensmtpd-5.9.2.201606071034_p1-r1 core dumps on my ~amd64 system:

# systemctl -l status smtpd
● smtpd.service - OpenSMTPD
   Loaded: loaded (/usr/lib/systemd/system/smtpd.service; enabled; vendor preset: disabled)
   Active: failed (Result: core-dump) since Wed 2016-06-08 18:53:04 BRT; 1h 58min ago
  Process: 363 ExecStart=/usr/sbin/smtpd (code=exited, status=0/SUCCESS)
 Main PID: 377 (code=dumped, signal=SEGV)

Jun 08 18:53:01 jrm.no-ip.org systemd[1]: Starting OpenSMTPD...
Jun 08 18:53:02 jrm.no-ip.org systemd[1]: Started OpenSMTPD.
Jun 08 18:53:04 jrm.no-ip.org systemd[1]: smtpd.service: Main process exited, code=dumped, status=11/SEGV
Jun 08 18:53:04 jrm.no-ip.org systemd[1]: smtpd.service: Unit entered failed state.
Jun 08 18:53:04 jrm.no-ip.org systemd[1]: smtpd.service: Failed with result 'core-dump'.
Comment 1 José Romildo Malaquias 2016-06-08 23:58:58 UTC
Explicitly running smptd I get the following output:

# smtpd -vd 
debug: init ssl-tree
debug: init ca-tree
debug: init ssl-tree
debug: using "fs" queue backend
debug: using "ramqueue" scheduler backend
debug: using "ram" stat backend
info: OpenSMTPD 5.9.1p1 starting
fatal: imsg_wait: Connection reset by peer
Comment 2 Sarah Salzstein 2016-06-18 20:25:00 UTC
I can confirm. I have the same issue:

smtpd -vd -f /etc/opensmtpd/smtpd.conf 
debug: init ssl-tree
info: loading pki information for mail.totobet.com
debug: init ca-tree
debug: init ssl-tree
info: loading pki keys for mail.totobet.com
debug: using "fs" queue backend
debug: using "ramqueue" scheduler backend
debug: using "ram" stat backend
info: OpenSMTPD 5.9.1p1 starting
fatal: imsg_wait: Connection reset by peer

dmesg:
[Sat Jun 18 22:24:32 2016] smtpd[19158]: segfault at 0 ip 0000000e6b77bafb sp 000003e69892ede0 error 4 in smtpd[e6b73a000+78000]
Comment 3 Jason A. Donenfeld archtester Gentoo Infrastructure gentoo-dev Security 2016-07-04 21:34:51 UTC
Is this fixed with the most recent snapshot?
Comment 4 José Romildo Malaquias 2016-07-15 10:00:44 UTC
(In reply to Jason A. Donenfeld from comment #3)
> Is this fixed with the most recent snapshot?

Yes, it works with opensmtpd-5.9.2.201607021504_p1-r1.