Valgrind unhandled instruction 0xD5380000 on Aarch64

Bug #1826811 reported by Jeffrey Walton on 2019-04-29
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
valgrind (Ubuntu)
Undecided
Unassigned

Bug Description

I'm performing Valgrind testing on an ElPotato running Ubuntu Bionic Aarch64 image. My program is dying like in https://bugs.kde.org/show_bug.cgi?id=381556 :

```
$ valgrind --track-origins=yes --suppressions=cryptopp.supp ./cryptest.exe v
==12969== Memcheck, a memory error detector
==12969== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==12969== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info
==12969== Command: ./cryptest.exe v
==12969==
ARM64 front end: branch_etc
disInstr(arm64): unhandled instruction 0xD5380000
disInstr(arm64): 1101'0101 0011'1000 0000'0000 0000'0000
==12969== valgrind: Unrecognised instruction at address 0x4014c90.
==12969== at 0x4014C90: init_cpu_features (cpu-features.c:72)
==12969== by 0x4014C90: dl_platform_init (dl-machine.h:208)
==12969== by 0x4014C90: _dl_sysdep_start (dl-sysdep.c:231)
==12969== by 0x40018C3: _dl_start_final (rtld.c:414)
==12969== by 0x4001B47: _dl_start (rtld.c:523)
==12969== by 0x40011C7: ??? (in /lib/aarch64-linux-gnu/ld-2.27.so)
...
```

Here's a similar Red Hat issue report: https://bugzilla.redhat.com/show_bug.cgi?id=1467952 .

Please pickup the patch in the 381556 bug report.

-----

$ lsb_release -rd
Description: Ubuntu 18.04.2 LTS
Release: 18.04

$ apt-cache policy valgrind
valgrind:
  Installed: 1:3.13.0-2ubuntu2.1
  Candidate: 1:3.13.0-2ubuntu2.1
  Version table:
 *** 1:3.13.0-2ubuntu2.1 500
        500 http://ports.ubuntu.com bionic-updates/main arm64 Packages
        100 /var/lib/dpkg/status
     1:3.13.0-2ubuntu2 500
        500 http://ports.ubuntu.com bionic/main arm64 Packages

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers