[valgrind] [Bug 396176] New: vex amd64->IR: unhandled instruction bytes: 0xF 0xC7 0xF0 0xBA 0x1 0x0 0x0 0x0 0x89 0x6

2018-07-04 Thread Jérôme Carretero
https://bugs.kde.org/show_bug.cgi?id=396176

Bug ID: 396176
   Summary: vex amd64->IR: unhandled instruction bytes: 0xF 0xC7
0xF0 0xBA 0x1 0x0 0x0 0x0 0x89 0x6
   Product: valgrind
   Version: 3.13.0
  Platform: Other
OS: Linux
Status: UNCONFIRMED
  Severity: normal
  Priority: NOR
 Component: vex
  Assignee: jsew...@acm.org
  Reporter: cj-...@zougloub.eu
  Target Milestone: ---

vex amd64->IR: unhandled instruction bytes: 0xF 0xC7 0xF0 0xBA 0x1 0x0 0x0 0x0
0x89 0x6
vex amd64->IR:   REX=0 REX.W=0 REX.R=0 REX.X=0 REX.B=0
vex amd64->IR:   VEX=0 VEX.L=0 VEX.n=0x0 ESC=0F
vex amd64->IR:   PFX.66=0 PFX.F2=0 PFX.F3=0
==17999== valgrind: Unrecognised instruction at address 0x846054f.
==17999==at 0x846054F: QRandomGenerator::SystemGenerator::generate(unsigned
int*, unsigned int*) (in /usr/lib64/libQt5Core.so.5.11.1)
==17999==by 0x84609C8: QRandomGenerator::_fillRange(void*, void*) (in
/usr/lib64/libQt5Core.so.5.11.1)
==17999==by 0x84A2F55: qt_create_qhash_seed() (in
/usr/lib64/libQt5Core.so.5.11.1)
==17999==by 0x84A2FA3: qt_initialize_qhash_seed() (in
/usr/lib64/libQt5Core.so.5.11.1)
==17999==by 0x84A3210: QHashData::detach_helper(void (*)(QHashData::Node*,
void*), void (*)(QHashData::Node*), int, int) (in
/usr/lib64/libQt5Core.so.5.11.1)
==17999==by 0x84B90B1: QHash::Node>::detach() (in /usr/lib64/libQt5Core.so.5.11.1)
==17999==by 0x84B58D9: prepareEngine(QRegExpPrivate*) (in
/usr/lib64/libQt5Core.so.5.11.1)
==17999==by 0x84B5A87: QRegExp::QRegExp(QString const&,
Qt::CaseSensitivity, QRegExp::PatternSyntax) (in
/usr/lib64/libQt5Core.so.5.11.1)
==17999==by 0x8507A2D:
QDirIteratorPrivate::QDirIteratorPrivate(QFileSystemEntry const&, QStringList
const&, QFlags, QFlags, bool) (in
/usr/lib64/libQt5Core.so.5.11.1)
==17999==by 0x8507EDF: QDirIterator::QDirIterator(QString const&,
QStringList const&, QFlags, QFlags)
(in /usr/lib64/libQt5Core.so.5.11.1)
==17999==by 0x8504DE1: QDir::entryList(QStringList const&,
QFlags, QFlags) const (in
/usr/lib64/libQt5Core.so.5.11.1)
==17999==by 0x8504F3E: QDir::entryList(QFlags,
QFlags) const (in /usr/lib64/libQt5Core.so.5.11.1)

(checking the instruction (recompiling qtcore...), will follow-up in a few
minutes)

-- 
You are receiving this mail because:
You are watching all bug changes.

[valgrind] [Bug 396176] vex amd64->IR: unhandled instruction bytes: 0xF 0xC7 0xF0 0xBA 0x1 0x0 0x0 0x0 0x89 0x6

2018-07-04 Thread Jérôme Carretero
https://bugs.kde.org/show_bug.cgi?id=396176

--- Comment #3 from Jérôme Carretero  ---
actually, that issues disables advertising rdrand in CPUID, but what if the
program is hard-coded to use it...

-- 
You are receiving this mail because:
You are watching all bug changes.

[valgrind] [Bug 396176] vex amd64->IR: unhandled instruction bytes: 0xF 0xC7 0xF0 0xBA 0x1 0x0 0x0 0x0 0x89 0x6

2018-07-04 Thread Jérôme Carretero
https://bugs.kde.org/show_bug.cgi?id=396176

--- Comment #6 from Jérôme Carretero  ---
Workaround for the particular Qt 5.11 scenario: compiling qtcore with
CXXFLAGS+=" -mno-rdrnd".

-- 
You are receiving this mail because:
You are watching all bug changes.

[valgrind] [Bug 396176] vex amd64->IR: unhandled instruction bytes: 0xF 0xC7 0xF0 0xBA 0x1 0x0 0x0 0x0 0x89 0x6

2018-07-04 Thread Jérôme Carretero
https://bugs.kde.org/show_bug.cgi?id=396176

--- Comment #2 from Jérôme Carretero  ---
Might be a duplicate of https://bugs.kde.org/show_bug.cgi?id=353370 but I'm not
sure.

-- 
You are receiving this mail because:
You are watching all bug changes.

[valgrind] [Bug 396176] vex amd64->IR: unhandled instruction bytes: 0xF 0xC7 0xF0 0xBA 0x1 0x0 0x0 0x0 0x89 0x6

2018-07-04 Thread Jérôme Carretero
https://bugs.kde.org/show_bug.cgi?id=396176

--- Comment #4 from Jérôme Carretero  ---
Tested with the now's SVN, it's still unhandled.

-- 
You are receiving this mail because:
You are watching all bug changes.

[valgrind] [Bug 396176] vex amd64->IR: unhandled instruction bytes: 0xF 0xC7 0xF0 0xBA 0x1 0x0 0x0 0x0 0x89 0x6

2018-07-04 Thread Jérôme Carretero
https://bugs.kde.org/show_bug.cgi?id=396176

--- Comment #1 from Jérôme Carretero  ---
It's rdrand32_step (used as a gcc built-in)

vex amd64->IR: unhandled instruction bytes: 0xF 0xC7 0xF0 0xBA 0x1 0x0 0x0 0x0
0x89 0x6
vex amd64->IR:   REX=0 REX.W=0 REX.R=0 REX.X=0 REX.B=0
vex amd64->IR:   VEX=0 VEX.L=0 VEX.n=0x0 ESC=0F
vex amd64->IR:   PFX.66=0 PFX.F2=0 PFX.F3=0
==30590== valgrind: Unrecognised instruction at address 0x846054f.
==30590==at 0x846054F: _rdrand32_step (immintrin.h:109)
==30590==by 0x846054F: qt_random_cpu (qrandom.cpp:114)
==30590==by 0x846054F: QRandomGenerator::SystemGenerator::generate(unsigned
int*, unsigned int*) (qrandom.cpp:369)

-- 
You are receiving this mail because:
You are watching all bug changes.