Package: libunwind8
Version: 1.8.1-0.2
Severity: important
X-Debbugs-Cc: [email protected]

Dear Maintainer,

Please see upstream bug
https://github.com/libunwind/libunwind/issues/925. There is a very
straightforward reproduction if you want to.

Basically what appears to be the case is libunwind interposes itself
with _Unwind_XYZ symbols on top of libgcc. Since debian's libunwind is
built this way.

But then glibc pthread cancellation facility explicitly dlsym-s
libgcc's version of _Unwind_ForceUnwind and then libgcc does it's own
unwind context and so on and ends up invoking libunwind's
_Unwind_GetLanguageSpecificData which ends assumes libunwinds context
and crashes.

I don't see build failure log in #994510 but it is likely relevant. If
libunwind is only used for backtraces (as it should), then there
should be no setcontext invokations.

-- System Information:
Debian Release: forky/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.19.6-alk (SMP w/32 CPU threads)
Kernel taint flags: TAINT_USER
Locale: LANG=be_BY.UTF-8, LC_CTYPE=be_BY.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages libunwind8 depends on:
ii  libc6     2.42-13
ii  liblzma5  5.8.2-2

libunwind8 recommends no packages.

libunwind8 suggests no packages.

-- no debconf information

Reply via email to