Bug 1300490

Summary: RDRAND bit causes Illegal instruction signal in valgrind
Product: [Fedora] Fedora Reporter: Brad Hubbard <bhubbard>
Component: valgrindAssignee: Mark Wielaard <mjw>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: 23CC: dodji, jakub, mjw
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: valgrind-3.11.0-8.fc23 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-01-28 18:23:09 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Brad Hubbard 2016-01-21 00:29:32 UTC
Description of problem:

Hitting https://bugs.kde.org/show_bug.cgi?id=353370

Version-Release number of selected component (if applicable):
valgrind-3.11.0-1.fc23.x86_64

How reproducible:
100%

Steps to Reproduce:
cat >simplerepro.cpp <<EOF
#include <random>
#include <algorithm>
#include <iterator>
#include <iostream>
#include <functional>

int main(void) {
    std::random_device r;
    std::uniform_int_distribution<int> dist(0,255);
    dist(r);
    return 0;
}
EOF
g++ -std=c++11 -o simplerepro simplerepro.cpp

$ ./simplerepro
$ valgrind -q ./simplerepro
==16959== 
==16959== Process terminating with default action of signal 4 (SIGILL)

Actual results:
Illegal instruction (core dumped)

Expected results:
Successful valgrind run

Additional info:
I see there is a patch for this in master. Can we get an updated package for f23?

Comment 1 Fedora Update System 2016-01-21 20:39:51 UTC
valgrind-3.11.0-8.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2016-3795b5d3a9

Comment 2 Fedora Update System 2016-01-24 04:51:26 UTC
valgrind-3.11.0-8.fc23 has been pushed to the Fedora 23 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-3795b5d3a9

Comment 3 Fedora Update System 2016-01-28 18:22:59 UTC
valgrind-3.11.0-8.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report.