Your message dated Sun, 26 Jul 2020 11:47:08 +0000
with message-id <[email protected]>
and subject line Bug#932725: fixed in libunwind 1.2.1-10~deb10u1
has caused the Debian Bug report #932725,
regarding libunwind8: segfault on MIPS, fix needs backporting
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
932725: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=932725
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: libunwind
Version: 1.2.1-9
Severity: grave
Tags: patch
Justification: renders package unusable

Dear Maintainer,

   * What led up to the situation?
     I was running i-g-t on MIPS and hit a segfault during a stack
     trace dump.

     I then built the package from source to reproduce it, and found a
     fix upstream for it (patch attached).

     Discussion on the igt-dev mailing list: 
https://lists.freedesktop.org/archives/igt-dev/2019-July/015029.html


-- System Information:
Debian Release: 10.0
  APT prefers stable
  APT policy: (500, 'stable'), (500, 'oldstable')
Architecture: mips

Kernel: Linux 4.19.0-5-amd64 (SMP w/4 CPU cores)
Kernel taint flags: TAINT_WARN, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_GB:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: unable to detect

>From 23ed1a35645e9e83beb2d4de0bd682c18d9fd58f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=D0=9A=D0=BE=D1=80=D0=BE=D0=BB=D0=B5=D0=B2=20=D0=A1=D0=B5?=
 =?UTF-8?q?=D1=80=D0=B3=D0=B5=D0=B9?= <[email protected]>
Date: Wed, 22 Jun 2016 19:53:02 +0300
Subject: [PATCH] tdep_uc_addr: use +4 offset for UNW_MIPS_PC on MIPS (be)

According to mcontext_t definition its "pc" field
is also 64 bit wide and thus requires 4 byte offset
on MIPS32 (be).
---
 src/mips/Ginit.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/mips/Ginit.c b/src/mips/Ginit.c
index 8290c408..83b100fb 100644
--- a/src/mips/Ginit.c
+++ b/src/mips/Ginit.c
@@ -59,7 +59,7 @@ tdep_uc_addr (ucontext_t *uc, int reg)
 {
   char *addr = uc_addr (uc, reg);
 
-  if (reg >= UNW_MIPS_R0 && reg <= UNW_MIPS_R31
+  if (((reg >= UNW_MIPS_R0 && reg <= UNW_MIPS_R31) || reg == UNW_MIPS_PC)
       && tdep_big_endian (unw_local_addr_space)
       && unw_local_addr_space->abi == UNW_MIPS_ABI_O32)
     addr += 4;
-- 
2.20.1



--- End Message ---
--- Begin Message ---
Source: libunwind
Source-Version: 1.2.1-10~deb10u1
Done: Adrian Bunk <[email protected]>

We believe that the bug you reported is fixed in the latest version of
libunwind, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Adrian Bunk <[email protected]> (supplier of updated libunwind package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Thu, 23 Jul 2020 22:00:53 +0300
Source: libunwind
Architecture: source
Version: 1.2.1-10~deb10u1
Distribution: buster
Urgency: high
Maintainer: Adrian Bunk <[email protected]>
Changed-By: Adrian Bunk <[email protected]>
Closes: 923962 932725
Changes:
 libunwind (1.2.1-10~deb10u1) buster; urgency=medium
 .
   * Rebuild on buster.
 .
 libunwind (1.2.1-10) unstable; urgency=high
 .
   * Manually enable C++ exception support only on i386 and amd64,
     it is known broken on several other architectures.
     Thanks to Bernhard Übelacker. (Closes: #923962)
   * Backport upstream fix for segfaults on mips,
     thanks to Guillaume Tucker. (Closes: #932725)
Checksums-Sha1:
 469399601af62f01f6e26bf16e66fc597e2d6a21 2573 libunwind_1.2.1-10~deb10u1.dsc
 9c2eab3e7e9468cb682313422db4603ab36764da 19864 
libunwind_1.2.1-10~deb10u1.debian.tar.xz
Checksums-Sha256:
 6b6564f9b58c0f7e3d575f18b3581cd59368c3a632e1cbff18c1c6361d77a39b 2573 
libunwind_1.2.1-10~deb10u1.dsc
 4de4cc32a3b8e3b285b7169124ad854b7e1074d3bd44b69fbcb47bde3e0eff9b 19864 
libunwind_1.2.1-10~deb10u1.debian.tar.xz
Files:
 abc24a50cd701901dd01c65e358ea99e 2573 libs optional 
libunwind_1.2.1-10~deb10u1.dsc
 96ae791e7dfe275f218efd254e0be5dc 19864 libs optional 
libunwind_1.2.1-10~deb10u1.debian.tar.xz

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEOvp1f6xuoR0v9F3wiNJCh6LYmLEFAl8Z4e0ACgkQiNJCh6LY
mLErRBAAjQbEXkQPjTtOIaP4/eKF4JqrzztWKokGfpRR8do+0Yhk0DWqszXG3TMJ
PUcMF8WyktFnDkU/Pdmz9ov3EXmzBBwMprT+T6jKVfeQAmyk/kLqBbsQuAzyuOZL
3g5QpHShDEy7u7Pid8xAX/KHNbYi7XBXaeksiv5uX6Afx+HWYvLccTyYJydthyXc
2pIkEvk170ixbw8YGOAAZqCTaTo/PpehYrQvy72fcYkZidgewPpSadvLPU1qLtri
R5oSVbaiFiLum0QNmg2lC43AQAQkLM3KAgs0MnJw+Gf+AyxA6uhgfjMYyrcRRxDC
JCX/UitS8tm6NMUv6XLx2XXmOok1m+kR9JnzkCsenPOacdrTYfK15QQZh3k2ui5L
4VaPYmkk78ugwQ5cDI2pNyDE7J9u9ukmHItRPLrnBNuHsmoFXUt84ssJgmo/Q4wT
DmXtAPnlY+ouV/qPu9mzzLhBiiDijXbsLoW5aGg09be66/97FzmsWIpeVW6hYSrX
Dy5/NbySuZ4ygLWV8dwkwjUmI6nJdPmpL+OQKz6bsWYBa1bW2pciV+4ytjS0qybt
2Si4kKxgqg3FRQ88za4nHu2c0Y/euJiDtZt9wstjmvMspggkJ9MZ0RlnrvgnFLGv
jsL6njyfZZpfM4Px0zCadya/VrA7BGimZp7FpmMyPoTNbgNEYzo=
=E534
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to