Package: libunwind8
Version: 1.8.1-0.4
Severity: important
Tags: patch upstream fixed-upstream

When several threads unwind at the same time, they share one validation
pipe and reopen it under each other, so unw_step() fails now and then.
The .NET runtime built against the system libunwind then aborts with
"Internal CLR error (0x80131506)":
https://github.com/dotnet/runtime/issues/130577

Upstream fixed it in
https://github.com/libunwind/libunwind/commit/346fefe1845c528541fc0b6e3b5dada259b11598
(in 1.10.0-rc1). The backport applies cleanly to 1.8.1 and is in
https://salsa.debian.org/debian/libunwind/-/merge_requests/2
together with imports of the archive versions missing from salsa.

Tested with 384 crossgen2 runs under load: 7 crashes without the patch,
0 with it. make check: 36 PASS, 2 SKIP, 0 FAIL.

Once 1.10.0 is final I can prepare that update too, if you want it.

Found while packaging .NET 10 for Debian: https://bugs.debian.org/1078132

Reply via email to