Heads-up: intermittent SIGSEGV after upgrading to 10.0.3 (likely a krb5/Alpine issue)
Maintainer thường phản hồi trong vòng 6 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 1/5
- Thời gian dự kiến
- Dưới một giờ
- Mức phù hợp với người mới
- 25/100
Hướng nghiên cứu
This issue is a report rather than a request for a change; it suspects krb5 1.22.1 on Alpine 3.23 and links dotnet/runtime#123782 and alpine/aports#18185. Read those upstream reports first; the issue says setting GssEncryptionMode=Disable resolves the crashes. No Npgsql fix is requested, so there is no project change or test to complete.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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.
- Ngôn ngữ chính
- C#
- Star
- 3.7k
- Fork
- 890
- Merge trung bình
- 4 ngày 11 giờ
- Pull request đã merge (30 ngày)
- 19
Chuẩn bị môi trường
Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Không có hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của npgsql/npgsql
-
Writing a decimal as numeric allocates a short[9] per valueCó thể đã có người làm @tamasprincz97-dot đã nhận 13 ngày trước. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 89/100
Maintainer thường phản hồi trong vòng 6 ngày
-
Reading a large interval as TimeSpan returns a wrong value instead of throwingCó thể đã có người làm @Mr444-dev đã nhận 7 ngày trước. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 66/100
Maintainer thường phản hồi trong vòng 6 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
Maintainer thường phản hồi trong vòng 6 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
npgsql/npgsql#6569 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 6 ngày
-
ReadReplicationSlot returns the slot name as passed, not the one the server readCó thể đã có người làm @Brar đã nhận 8 ngày trước. Đang mởreplication
npgsql/npgsql#6735 · 1 người được giao ·
Maintainer thường phản hồi trong vòng 6 ngày
Tất cả issue của npgsql/npgsql
Issue tương tự
-
Issue-Bug Needs-Triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 2 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 66/100
JiaFeiMiao-K-Cat/DiscImageStudio#281 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
area/access-management Frontend onboarding candidate :handshake:
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
Altinn/altinn-auth#4941 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
aws/aws-sdk-net#4586 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
Maintainer thường phản hồi trong vòng 1 ngày