Bug 671004 - user-space probes wrongly reject repnz;ret instructions
user-space probes wrongly reject repnz;ret instructions
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: systemtap (Show other bugs)
x86_64 Unspecified
low Severity medium
: rc
: ---
Assigned To: Frank Ch. Eigler
Depends On:
  Show dependency treegraph
Reported: 2011-01-19 16:44 EST by Frank Ch. Eigler
Modified: 2011-05-19 09:54 EDT (History)
2 users (show)

See Also:
Fixed In Version: systemtap-1.4-2.el6
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2011-05-19 09:54:50 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Frank Ch. Eigler 2011-01-19 16:44:30 EST
GCC sometimes emits the code sequence "repnz;ret" to end a function.
systemtap's uprobes module rejects that as an unknown instruction
sequence, but this is unnecessary.  We have a patch in hand to let
such instructions be treated just like "rep;ret" = "ret".  This
should let stap run even with such optimized gcc code, without

commit 9ee518c4d6c36770aa5da534ae85754962bfe305
Author: Roland McGrath <roland@redhat.com>
Date:   Wed Jan 19 11:23:43 2011 -0800

    PR12419: fix x86 uprobes decoding of "repnz ret"
Comment 3 errata-xmlrpc 2011-05-19 09:54:50 EDT
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.


Note You need to log in before you can comment on or make changes to this bug.