Bug 1335629

Summary: aarch64: MINSIGSTKSZ is (much) too small (nptl/tst-signal6 test failure)
Product: Red Hat Enterprise Linux 7 Reporter: Michael Petlan <mpetlan>
Component: glibcAssignee: Florian Weimer <fweimer>
Status: CLOSED ERRATA QA Contact: Michael Petlan <mpetlan>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.2CC: ashankar, codonell, fweimer, mcermak, mnewsome, pfrankli
Target Milestone: rcKeywords: Patch
Target Release: ---   
Hardware: aarch64   
OS: Linux   
Whiteboard:
Fixed In Version: glibc-2.17-134.el7 Doc Type: No Doc Update
Doc Text:
undefined
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-11-03 08:31:59 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:
Embargoed:
Bug Depends On:    
Bug Blocks: 1335925    

Description Michael Petlan 2016-05-12 17:32:32 UTC
Description of problem:


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Michael Petlan 2016-05-12 17:36:16 UTC
Reproducible with: glibc-2.17-133.el7.aarch64
also with: glibc-2.17-108.el7.aarch64

# cd nptl
# ./tst-signal6
tf: sigaltstack failed
tf: sigaltstack failed

Comment 4 Carlos O'Donell 2016-05-12 20:43:32 UTC
The upstream commit we need is:

commit b763f6ae859ecea70a5dacb8ad45c71d5f667e2e
Author: Andreas Schwab <schwab>
Date:   Tue Sep 30 12:41:11 2014 +0200

    aarch64: Increase MINSIGSTKSZ and SIGSTKSZ (bug 16850)

Comment 5 Carlos O'Donell 2016-05-12 20:44:51 UTC
This shows up as a failure in tst-signal6 on AArch64 systems with new-enough kernels.

Comment 9 Michael Petlan 2016-08-11 19:40:36 UTC
Tested glibc-2.17-133.el7 against glibc-2.17-157.el7:

# ./157/BUILD/glibc-2.17-c758a686/build-aarch64-redhat-linux/nptl/tst-signal6
thread 0 used alt stack for signal 36
thread 0 used alt stack for signal 36
thread 0 used alt stack for signal 34
thread 1 used alt stack for signal 35
# ./133/BUILD/glibc-2.17-c758a686/build-aarch64-redhat-linux/nptl/tst-signal6
tf: sigaltstack failed
tf: sigaltstack failed

VERIFIED

Comment 11 errata-xmlrpc 2016-11-03 08:31:59 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/RHSA-2016-2573.html