Skip to content

Heads-up: intermittent SIGSEGV after upgrading to 10.0.3 (likely a krb5/Alpine issue) #6596

Description

@maartenkools

Not expecting a fix on your end, but sharing this in case others hit the same thing.

Environment

Npgsql version: 10.0.3
Runtime: .NET 10.0.8, Alpine 3.23
GssEncryptionMode: default (not set)

Observed behavior

After upgrading to 10.0.3, our Kubernetes pods restart intermittently — roughly once per hour — due to a SIGSEGV. The crashes surface first as failed health checks before the pod is terminated.

Root cause (suspected)

We believe this is caused by a bug in krb5 1.22.1 on Alpine 3.23, not in Npgsql itself. The relevant upstream issues are:

The reason this appeared after the Npgsql upgrade is possibly the changes to the GSS encryption in 10.0.3.

Mitigation

Setting GssEncryptionMode=Disable in the connection string resolves the crashes entirely.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions