Bug 629970

Summary: can't build glibc-2.12.90-8 on s390x - endless loop on tst-longjmp_chk2
Product: [Fedora] Fedora Reporter: Dan Horák <dan>
Component: glibcAssignee: Andreas Schwab <schwab>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 14CC: fweimer, jakub, schwab
Target Milestone: ---   
Target Release: ---   
Hardware: s390x   
OS: Linux   
Whiteboard:
Fixed In Version: glibc-2.12.90-14 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-09-30 06:15:46 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:    
Bug Blocks: 467765    

Description Dan Horák 2010-09-03 12:12:43 UTC
I can't build glibc-2.12.90-8 for s390x and s390 because the build logs get filled with repeated "in signal handler/on alternate stack" messages and this continues for hundreds of MB (I got even a 2GB+ log), normal build log is about 400 KB so I cancel the build. Please see the URLs for more details.

wrong/canceled build:
http://s390.koji.fedoraproject.org/koji/taskinfo?taskID=203936

I was able to do a successful build of 2.12.90-7 a month ago and its results are at http://s390.koji.fedoraproject.org/koji/buildinfo?buildID=34963
If I can trust IRC logs then it was with kernel -44.1.el6 on the builders and cpuplugd disabled.

I've tried multiple kernels
kernel-2.6.32-44.1.el6.s390x
kernel-2.6.32-71.el6.s390x

and also tried disabling the cpuplugd daemon (enabled by default) that turns cpus online/offline depending on the load.


interesting parts of the logs:

glibc-2.12.90-7
===============
+ echo ====================TESTING DETAILS=================
++ sed -n 's|^.*\*\*\* \[\([^]]*\.out\)\].*$|\1|p' build-s390x-linuxnptl/check.log
=====/builddir/build/BUILD/glibc-2.12-85-g73507d3/build-s390x-linuxnptl/debug/tst-longjmp_chk2.out=====
+ for i in '`sed -n '\''s|^.*\*\*\* \[\([^]]*\.out\)\].*$|\1|p'\'' build-*-linux*/check.log`'
+ echo =====/builddir/build/BUILD/glibc-2.12-85-g73507d3/build-s390x-linuxnptl/debug/tst-longjmp_chk2.out=====
+ cat /builddir/build/BUILD/glibc-2.12-85-g73507d3/build-s390x-linuxnptl/debug/tst-longjmp_chk2.out
not on alternate stack
 in signal handler
 on alternate stack
============


glibc-2.12.90-8
===============
+ cd ..
+ echo ====================TESTING DETAILS=================
++ sed -n 's|^.*\*\*\* \[\([^]]*\.out\)\].*$|\1|p' build-s390x-linuxnptl/check.log
=====/builddir/build/BUILD/glibc-2.12-118-ga7ab6ec/build-s390x-linuxnptl/debug/tst-longjmp_chk2.out=====
+ for i in '`sed -n '\''s|^.*\*\*\* \[\([^]]*\.out\)\].*$|\1|p'\'' build-*-linux*/check.log`'
+ echo =====/builddir/build/BUILD/glibc-2.12-118-ga7ab6ec/build-s390x-linuxnptl/debug/tst-longjmp_chk2.out=====
+ cat /builddir/build/BUILD/glibc-2.12-118-ga7ab6ec/build-s390x-linuxnptl/debug/tst-longjmp_chk2.out
not on alternate stack
 in signal handler
 on alternate stack
  in signal handler
  on alternate stack
   in signal handler
   on alternate stack
    in signal handler
    on alternate stack
    ...........

Comment 1 Andreas Schwab 2010-09-07 10:13:49 UTC
I cannot reproduce that on RHEL5.

Comment 2 Dan Horák 2010-09-07 12:01:54 UTC
This issue first occurred when we switched the builders to RHEL6 Beta2. Let me know (I'm "dhorak" on internal IRC) if you would need access to one of the Fedora builders.

Comment 3 Dan Horák 2010-09-13 19:05:53 UTC
build of glibc-2.12.90-10 failed with the same problem, this time only on s390 and s390x was OK, see http://s390.koji.fedoraproject.org/koji/taskinfo?taskID=205809 for details

Comment 4 Andreas Schwab 2010-09-14 13:23:08 UTC
I'm unable to reproduce that on RHEL6 either.

Comment 5 Dan Horák 2010-09-14 15:44:34 UTC
Seems it's not 100% reproducible. I did 2 builds (s390x) today in the Fedora 14 chroot running on top of RHEL6 and the first run successful, but in the second one I got the endless loop.

Comment 7 Fedora Update System 2010-09-27 15:48:55 UTC
glibc-2.12.90-13 has been submitted as an update for Fedora 14.
https://admin.fedoraproject.org/updates/glibc-2.12.90-13

Comment 8 Fedora Update System 2010-09-27 20:07:23 UTC
glibc-2.12.90-13 has been pushed to the Fedora 14 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update glibc'.  You can provide feedback for this update here: https://admin.fedoraproject.org/updates/glibc-2.12.90-13

Comment 9 Dan Horák 2010-09-28 08:28:17 UTC
Builds and runs fine on s390(x), thanks for the fix.

Comment 10 Fedora Update System 2010-09-28 17:32:07 UTC
glibc-2.12.90-14 has been pushed to the Fedora 14 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update glibc'.  You can provide feedback for this update here: https://admin.fedoraproject.org/updates/glibc-2.12.90-14

Comment 11 Fedora Update System 2010-09-30 06:15:21 UTC
glibc-2.12.90-14 has been pushed to the Fedora 14 stable repository.  If problems still persist, please make note of it in this bug report.