Project

General

Profile

Actions

Regression #16785

closed

STunnel Core Dumps when started

Added by Steve Wheeler 24 days ago. Updated 7 days ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
stunnel
Target version:
Start date:
Due date:
% Done:

100%

Estimated time:
Plus Target Version:
26.03
Affected Version:
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.

Actions #1

Updated by Steve Wheeler 22 days ago

  • 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.
Actions #2

Updated by Kris Phillips 16 days ago

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.

Actions #3

Updated by Steve Wheeler 16 days ago

Specifically required is using a custom server cert. Without that it uses only the default cert and starts as expected.

Actions #4

Updated by Mateusz Guzik 11 days ago

  • Status changed from In Progress to Feedback

this was fixed in a newer stunnel version

Actions #5

Updated by S Premeau 8 days ago

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.)

Actions #6

Updated by Marcos M 7 days ago

  • 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.

Actions

Also available in: Atom PDF