Re: Bug#854194: valgrind: segfaults on MIPS Cavium Octeon boards

James Cowgill <[email protected]>
Newsgroups gmane.linux.debian.ports.mips
Message-ID <[email protected]>
Control: tags -1 fixed-upstream

On 07/02/17 13:03, James Cowgill wrote:
> 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.

FYI this bug and a related bug causing hangs on Octeon have now been
fixed in upstream SVN.

See: https://bugs.kde.org/show_bug.cgi?id=376142

Thanks,
James
signature.asc (application/pgp-signature, 819 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBCgAGBQJYx9q3AAoJEMfxZ23qLQHvuAsQAIVn+pov4Ph01Kr6AfT2E9ME
uqYoKFsrMAY1Bb9ByXyrK8T3AIllel4VTjqQdVcDVzovtmOR2xe2pGOa0X5MT3K+
JrAtkrEXMz37X387EeZl7EVwYCjiMZyN8TP8fsAIuERVHNhZxxyLBrLab0/WS/FX
gqpXygvhn2/XlmsFlM1MQb+A8vSuYBF/RtBQqC7J+HddSdUo/Ortv1GHbhcRGeva
nR/sCS3TpWN6xMN0TFX00X6HKRzT0C4czksjpKQTgpEd0TtWzbBW3myNOKtiTYBz
88cUUrCAY2cYIfRonRHi01dn4ibUNRE6g38DpZq+gNE+sFbc5Jngo0HFwYCk/K2y
93fIzV5HhpyRgsLgu5GyB7fLTffsv/YUH3O6ZB5euLisoDnQM7v7K8uR26dmGv8t
ZZnLFM9H0aMm1iHfI5opVmnc+h8S05A1m3xDuiki+peRoJXJOY4X9IBClF9IDLZl
4GVwJ8gjLL898dF+Gq7hE59kjSnOcg+2AcS3pX8NsHnbWZe+0NSvF8PAhTifpzHW
PyWvCBC4vbs/rpMO7LMdIxnOUkwUGf8/VnwERFzyjJTf7wjTaT8sp9ImfaU6t6yS
h/xp9BG+RvTl8F4XOi1E2qklQtTfpokW5HzML2gkKvlRLWqx36v+5QZctvnIz+t7
7C1II0Jo0YZoISuEk0UH
=2mIm
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.