Regression #16785
closed
STunnel Core Dumps when started
Added by Steve Wheeler 24 days ago.
Updated 7 days ago.
Plus Target Version:
26.03
Affected Plus Version:
26.03
Affected Architecture:
All
Description
In 26.03 the STunnel binary fails to start and core dumps:
Apr 11 00:38:35 kernel pid 46912 (stunnel), jid 0, uid 0: exited on signal 10 (core dumped)
This happens in amd64 and aarch64.
- Status changed from New to In Progress
This looks to be fixed in the current upstream port version, 5.78.
Fixed a startup crash when both global (default) and service-level lists of values are configured for an option.
Is there a particular way to cause this to coredump? I tested sTunnel on 26.03 on an amd64 system and it started without issue.
Seems this could be fixed in 26.03, given that the package can simply be rebuilt for previous releases, as it's not a core component.
Specifically required is using a custom server cert. Without that it uses only the default cert and starts as expected.
- Status changed from In Progress to Feedback
this was fixed in a newer stunnel version
For the benefit of others that encounter this bug.
I was able to work around this issue by reconfiguring stunnel back to use the default certificate, and then replace
/usr/local/etc/stunnel/stunnel.pem
with a symbolic link to the (properly formatted PEM file) of certificate I really wanted to use.
(In my case, the file I needed is created by the acme certificates package, with the "write certificates to /conf.." option enabled.)
- Status changed from Feedback to Resolved
- % Done changed from 0 to 100
- Plus Target Version changed from 26.07 to 26.03
The new version is now available in 26.03.
Also available in: Atom
PDF