+++ 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:
cmdline: strace -p 3250
runlevel: N 5
Thread no. 1 (3 frames)
#0 newoutf at strace.c:644
#1 startup_attach at strace.c:976
#2 init at strace.c:1836
The same happens on RHEL7 with strace-4.8-8.bs3.ppc64le
Created attachment 926382 [details]
Upstream commit 03ef0b2665363adf6100bc4af479a14b5f17bc27 fixes the problem. Attaching the patch applicable to RHEL7 dist git.
Tests passed for strace-4.8-10.ael7b.ppc64le
Tested with the latest .el7 build - strace-4.8-10.el7.ppc64le --> VERIFIED.
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.