Public bug reported:
libunwind 1.8.0 and later contain a race in src/mi/Gaddress_validator.c,
introduced by upstream commit ec03043244 ("Simplified address
validation") - https://github.com/libunwind/libunwind/commit/ec03043244.
The Ubuntu .NET runtime (dotnet10) links the system libunwind on amd64,
so this aborts `dotnet build` / `dotnet test` on multi-project
solutions and long-running .NET services, with:
Fatal error.
Internal CLR error. (0x80131506)
Affected: libunwind 1.8.3-0ubuntu1 in Resolute (26.04), Stonking (26.10)
and Tenacious (27.04). Noble and older (<= 1.6.2) predate the regression.
Upstream bug: https://github.com/libunwind/libunwind/issues/715
Upstream fix: https://github.com/libunwind/libunwind/pull/993
(commit
https://github.com/libunwind/libunwind/commit/346fefe1845c528541fc0b6e3b5dada259b11598,
not yet
in a release)
.NET report: https://github.com/dotnet/runtime/issues/130577
Launchpad bugs caused by this:
- LP: #2163034 (dotnet10, Resolute)
- LP: #2143357 (dotnet10, 25.10 / libunwind 1.8.1, expired)
Although this race condition has been fixed upstream, there has been no
official libunwind release containing the patch. Therefore, we need to
backport the upstream commit to resolve the aforementioned issues.
Plan: backport the upstream fix to Tenacious first, then SRU it to
Stonking and Resolute.
** Affects: libunwind (Ubuntu)
Importance: Undecided
Status: New
** Affects: libunwind (Ubuntu Resolute)
Importance: Undecided
Status: New
** Affects: libunwind (Ubuntu Stonking)
Importance: Undecided
Status: New
** Affects: libunwind (Ubuntu Tenacious)
Importance: Undecided
Status: New
** Also affects: libunwind (Ubuntu Stonking)
Importance: Undecided
Status: New
** Also affects: libunwind (Ubuntu Tenacious)
Importance: Undecided
Status: New
** Also affects: libunwind (Ubuntu Resolute)
Importance: Undecided
Status: New
** Description changed:
libunwind 1.8.0 and later contain a race in src/mi/Gaddress_validator.c,
introduced by upstream commit ec03043244 ("Simplified address
validation") - https://github.com/libunwind/libunwind/commit/ec03043244.
The Ubuntu .NET runtime (dotnet10) links the system libunwind on amd64,
so this aborts `dotnet build` / `dotnet test` on multi-project
solutions and long-running .NET services, with:
- Fatal error.
- Internal CLR error. (0x80131506)
+ Fatal error.
+ Internal CLR error. (0x80131506)
Affected: libunwind 1.8.3-0ubuntu1 in Resolute (26.04), Stonking (26.10)
and Tenacious (27.04). Noble and older (<= 1.6.2) predate the regression.
Upstream bug: https://github.com/libunwind/libunwind/issues/715
Upstream fix: https://github.com/libunwind/libunwind/pull/993
- (commit 346fefe1845c528541fc0b6e3b5dada259b11598, not yet
- in a release)
+ (commit
https://github.com/libunwind/libunwind/commit/346fefe1845c528541fc0b6e3b5dada259b11598,
not yet
+ in a release)
.NET report: https://github.com/dotnet/runtime/issues/130577
Launchpad bugs caused by this:
- - LP: #2163034 (dotnet10, Resolute)
- - LP: #2143357 (dotnet10, 25.10 / libunwind 1.8.1, expired)
+ - LP: #2163034 (dotnet10, Resolute)
+ - LP: #2143357 (dotnet10, 25.10 / libunwind 1.8.1, expired)
Although this race condition has been fixed upstream, there has been no
official libunwind release containing the patch. Therefore, we need to
backport the upstream commit to resolve the aforementioned issues.
Plan: backport the upstream fix to Tenacious first, then SRU it to
Stonking and Resolute.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2175640
Title:
libunwind 1.8.x: race in unw_address_is_valid() pipe initialization
makes unw_step() fail under concurrent unwinding (crashes .NET with
0x80131506)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libunwind/+bug/2175640/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs