Bug#854194: valgrind: segfaults on MIPS Cavium Octeon boards
James Cowgill <[email protected]>
| Newsgroups | gmane.linux.debian.ports.mips |
|---|---|
| Message-ID | <[email protected]> |
Control: reopen -1 Control: retitle -1 valgrind: segfaults on MIPS Cavium Octeon boards Control: severity -1 important Hi, On Tue, 7 Feb 2017 17:20:44 +0800 YunQiang Su <[email protected]> wrote: > On Sun, 05 Feb 2017 00:39:49 +0200 Adrian Bunk <[email protected]> wrote: > > Package: valgrind > > Version: 1:3.12.0~svn20160714-1+b1 > > Severity: serious > > > > It seems that 1:3.12.0-1.1 doesn't have this problem. > I also test it on Loongson 3A. > > root@thor:/# valgrind /usr/bin/hello > ==2085== Memcheck, a memory error detector > ==2085== Copyright (C) 2002-2015, and GNU GPL'd, by Julian Seward et al. > ==2085== Using Valgrind-3.12.0 and LibVEX; rerun with -h for copyright info > ==2085== Command: /usr/bin/hello > ==2085== > > VEX: Unsupported baseline > Found: Loongson-baseline > Cannot continue. Good-bye Well this just means that valgrind refuses to run on Loongson. The code which triggers this bug hasn't yet run at this point. However, if I hack /proc/cpuinfo so that it pretends to be an Octeon machine, then valgrind does work correctly on Loongson 3A machines (at least ls works). I can also get valgrind to work correctly on the CI20. It seems this bug is Octeon specific. I'm downgrading the bug on that basis since it doesn't affect mipsel in general. It just so happens that the majority of the buildds and the 2 mips porterboxes are Octeons. Thanks, James
signature.asc
(application/pgp-signature, 819 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCgAGBQJYmcWqAAoJEMfxZ23qLQHv1cUP/A2QpsHHP1V4MBvgmPLfM3Jb cYKOFbeGyl98fW80F2+R0QrLIhF0VFb4J3oVWLnVnlQLylyP1zNZ7QIstf/zzoDA gGgsAVN/8mWfdZ6hToImAur51Y/gxX89Jtgh/EMUSWIXjehXxITokKCudtIQgXaX oTDE+YRpwz5tvm47dMdWy7VHRFc7YdFszrT1G/KGpVrhO5sGoRv1MX74huBv03Zy I55vQQAuw10hD/dK8JxOsMFAVO5wKsKPTaa+kn5/BZnTexp8ui1HysIm5I3Svcjl lVfZZxwTnApArMrbJ5naR9CkXDExNF38h7Jd2UYCZqhqDk+wwmSMMAJ6wXFbEmG7 sYNB9QVyKJnxUiIZEyqc/FDcyrl5vitA6+N88veK0w8UuI/EmQtZguuY1LWMuA4B r6C2sO5pT8Vtj6zGmmeTlH3XjE0Rblf+MdCohdLLycghfRR3cWrk+nOycn4KZPGy 4MqfkZioI+eqvm8wASNvfct/ve5ym+z2i4p0wdryJbLMDLfsvYN27qWpkCOiARsZ 05jgSDG4fw8satIFfpb66+w3JoWIFilvgsGkViAU7NnP34dHslM75TUWrm5X1Xa+ KCrL2PEqPvmfDksy4f3PpTxW7O+UxLKTmfvK1mHtYmr10HA+YmtHo9KqkL+ZmzJU XWylt7hlv53o9PHZvn2e =9+Vs -----END PGP SIGNATURE-----