Your message dated Wed, 22 Jul 2020 08:40:11 +0000
with message-id <e1jyain-000h7m...@fasolo.debian.org>
and subject line Bug#932725: fixed in libunwind 1.2.1-10
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 ow...@bugs.debian.org
immediately.)


-- 
932725: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=932725
Debian Bug Tracking System
Contact ow...@bugs.debian.org 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?= <korolev.ser...@gmail.com>
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
Done: Adrian Bunk <b...@debian.org>

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 932...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Adrian Bunk <b...@debian.org> (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 ftpmas...@ftp-master.debian.org)


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

Format: 1.8
Date: Wed, 22 Jul 2020 09:31:48 +0300
Source: libunwind
Architecture: source
Version: 1.2.1-10
Distribution: unstable
Urgency: high
Maintainer: Adrian Bunk <b...@debian.org>
Changed-By: Adrian Bunk <b...@debian.org>
Closes: 923962 932725
Changes:
 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:
 6db43ba331d56b4697b5ac9edc912916e30c43bb 2541 libunwind_1.2.1-10.dsc
 c36b0ee4fa417cc14e5cc82b235fe113312437ae 19844 libunwind_1.2.1-10.debian.tar.xz
Checksums-Sha256:
 8a4ba4ea94b41dd7131d36f55db8a31b38f79e1d9145f49825b8e29dee369b91 2541 
libunwind_1.2.1-10.dsc
 babb0a2662094f25eeb3a8ae4b41af8ab9ba1914308222f8e96e6a37e2dc31d0 19844 
libunwind_1.2.1-10.debian.tar.xz
Files:
 b6d3112c16a67e2bcb2856302ad57795 2541 libs optional libunwind_1.2.1-10.dsc
 470e19547776af148ad312b66b576569 19844 libs optional 
libunwind_1.2.1-10.debian.tar.xz

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

iQIzBAEBCgAdFiEEOvp1f6xuoR0v9F3wiNJCh6LYmLEFAl8X6dAACgkQiNJCh6LY
mLFmsQ//UXnzjfUiSznjmp+miSTFAVu2u4PD5BrMEJZYg//X4MvEiGC1tB7FN9CP
ybt2GmTJ3bUAMA/zln68V+g9NJABjGVWTkwwty54rksb11qjg++d8bXVWoRbqw0G
ypv6nDeT+xLP6JKHDccuEktHy3NcUZcR6/MO52c52mjaRBJpG6OGwKyNkZKa3V3v
/Ptn+TAvJ39cDtzNXl5dbha9R71JqkqOOOE53N5aCB4JGxpA1X4yKlko29eXalMO
6ruTmgL0aEBY4GAl98uqur/yWOnHtddKqcs/eRaKFkIw7pF4adb9KQBB0oPIHEMD
JqNsxuVnFxMld4l3TTuyTQ0toO3L1z1aX/UO3xH84Hi4HKyDIXgVPslyuDQGSQW8
TwsSeSTbrpfqkEYfudlrkGVl6NQQwG7dvgiOxX1AFnNZxGF3jPMH1KHnM8N9UxtJ
h/1U3hxdooLzGDig3TMk326xhP+TVm9MSVWY6MATHN73t0mP9XGJ1dsbhht0IN+2
xfKA87VAJX0yuO+mwnX0f0YO1NI09pC0iJibsZPXtBLNYRpH5TOR4LU8rNvdj4El
CSyEzKMIXn5rwNmEeYDQDm/7bmN/ATuT57BhHRz/kgtkYZu/D6k3E2zxfqlBLhFY
UODGkQt5dsGQ+A5EWu1Q92gkZaR/C1C2BYbbB6Y9Fx+/uByAmkM=
=xAfY
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to