Please pickup the Valgrind fix for RDARAND and " Illegal opcode"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
valgrind (Debian) |
Fix Released
|
Unknown
|
|||
valgrind (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Please pickup the Valgrind fix for RDARAND and " Illegal opcode".
Valgrind report:
* https:/
Debian report:
* https:/
=======
Working with the Crypto++ library:
$ valgrind ./cryptest.exe v
...
vex amd64->IR: unhandled instruction bytes: 0x48 0xF 0xC7 0xF0 0x48 0x89 0x45 0x0
vex amd64->IR: REX=1 REX.W=1 REX.R=0 REX.X=0 REX.B=0
vex amd64->IR: VEX=0 VEX.L=0 VEX.nVVVV=0x0 ESC=0F
vex amd64->IR: PFX.66=0 PFX.F2=0 PFX.F3=0
==16081== valgrind: Unrecognised instruction at address 0x5c4902.
==16081== at 0x5C4902: _rdrand64_step (immintrin.h:186)
==16081== by 0x5C4902: ALL_RRI_
==16081== by 0x5C4902: CryptoPP:
==16081== by 0x505161: CryptoPP:
...
=======
$ uname -a
Linux qotom 4.4.0-53-generic #74-Ubuntu SMP Fri Dec 2 15:59:10 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 16.04.1 LTS
Release: 16.04
Codename: xenial
=======
$ which valgrind
/usr/bin/valgrind
$ valgrind --version
valgrind-3.11.0
$ apt-cache show valgrind
Package: valgrind
Priority: optional
Section: devel
Installed-Size: 65186
Maintainer: Ubuntu Developers <email address hidden>
Original-
Architecture: amd64
Version: 1:3.11.0-1ubuntu4.1
Replaces: valgrind-dev
Depends: libc6 (>= 2.14), libc6-dbg
Recommends: gdb
Suggests: valgrind-dbg, kcachegrind, alleyoop, valkyrie (>> 1.3.0)
Breaks: valgrind-dev
Filename: pool/main/
Size: 10967398
MD5sum: ee114c22adfd029
SHA1: 8733fdc869aac7c
SHA256: f559d5f438ee0f7
...
Changed in valgrind (Debian): | |
status: | Unknown → Fix Released |
Changed in valgrind (Ubuntu): | |
status: | New → Fix Released |
Thanks again Hans.
Looking at the bug report, something obvious (to me) was not clear... The patch was already applied to Ubuntu 16.10. 16.10 does not produce the Illegal Opcode.
Ubuntu 16.04 lacks the patch at the moment. 16.04 falls to the the Illegal Opcode.