+++ This bug was initially created as a clone of Bug #1129569 +++
Description of problem:
Getting a segmentation fault when trying to attach to a process on ppc64le. Only happens when attaching, running '$ strace cmd' works fine.
Version-Release number of selected component:
strace-4.8-5.fc21
Additional info:
reporter: libreport-2.2.3
backtrace_rating: 4
cmdline: strace -p 3250
crash_function: init
executable: /usr/bin/strace
kernel: 3.14.0-1.fc21.ppc64le
runlevel: N 5
type: CCpp
uid: 1002
Truncated backtrace:
Thread no. 1 (3 frames)
#0 newoutf at strace.c:644
#1 startup_attach at strace.c:976
#2 init at strace.c:1836
Created attachment 926382[details]
strace-ptrace-prototype.patch
Upstream commit 03ef0b2665363adf6100bc4af479a14b5f17bc27 fixes the problem. Attaching the patch applicable to RHEL7 dist git.
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.
https://rhn.redhat.com/errata/RHBA-2015-2145.html