Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.

Bug 1129572

Summary: [abrt] strace: init(): strace killed by SIGSEGV
Product: Red Hat Enterprise Linux 7 Reporter: Michal Toman <mtoman>
Component: straceAssignee: Jeff Law <law>
Status: CLOSED ERRATA QA Contact: Michael Petlan <mpetlan>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.2CC: dhorak, dvlasenk, extras-qa, ldv, lmiksik, mcermak, mnewsome, mpetlan, ohudlick, perobins, rvokal, schwab
Target Milestone: rc   
Target Release: ---   
Hardware: ppc64le   
OS: Unspecified   
Whiteboard: abrt_hash:552ea56d72903168d4414960fd5a0336474e6e12
Fixed In Version: strace-4.8-10.el7 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1129569 Environment:
Last Closed: 2015-11-19 09:08:52 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1129569    
Bug Blocks:    
Attachments:
Description Flags
strace-ptrace-prototype.patch none

Description Michal Toman 2014-08-13 08:48:50 UTC
+++ 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

Comment 1 Michal Toman 2014-08-13 08:49:37 UTC
The same happens on RHEL7 with strace-4.8-8.bs3.ppc64le

Comment 3 Michal Toman 2014-08-13 12:09:53 UTC
Created attachment 926382 [details]
strace-ptrace-prototype.patch

Upstream commit 03ef0b2665363adf6100bc4af479a14b5f17bc27 fixes the problem. Attaching the patch applicable to RHEL7 dist git.

Comment 9 Michael Petlan 2015-05-13 10:01:05 UTC
Tests passed for strace-4.8-10.ael7b.ppc64le

Comment 11 Michael Petlan 2015-06-01 13:12:23 UTC
Tested with the latest .el7 build - strace-4.8-10.el7.ppc64le --> VERIFIED.

Comment 17 errata-xmlrpc 2015-11-19 09:08:52 UTC
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