Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
For bugs related to Red Hat Enterprise Linux 3 product line. The current stable release is 3.9. For Red Hat Enterprise Linux 6 and above, please visit Red Hat JIRA https://issues.redhat.com/secure/CreateIssue!default.jspa?pid=12332745 to report new issues.

Bug 102033

Summary: hang on rebuild
Product: Red Hat Enterprise Linux 3 Reporter: Michael Redinger <michael.redinger>
Component: coreutilsAssignee: Tim Waugh <twaugh>
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 3.0   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: 4.5.3-26 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2003-09-17 10:54:38 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:

Description Michael Redinger 2003-08-09 09:48:47 UTC
There is a strange problem when trying to rebuild the 
coreutils-4.5.3-22.src.rpm package on Taroon. The rebuild process always 
hangs. It is always the same test that fails for me. 100% reproduceable.
I just do not know who is to blame ...

The last thing printed by rpmbuild --rebuild [srpm] is:

make[2]: Entering directory 
`/usr/local/es/taroon/RedHat/BUILD/coreutils-4.5.3/tests/stty'
make  check-TESTS
make[3]: Entering directory 
`/usr/local/es/taroon/RedHat/BUILD/coreutils-4.5.3/tests/stty'
PASS: row-col-1



When doing a ps auxwww I see the following process:

stty 
400:5:bf:8a31:3:1c:7f:15:4:0:1:0:11:13:1a:0:12:f:17:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0


Attaching with strace -c ... to it results in the following output:

--- SIGSTOP (Stopped (signal)) @ 0 (0) ---
--- SIGSTOP (Stopped (signal)) @ 0 (0) ---
ioctl(0, SNDCTL_TMR_STOP, {B38400 opost isig -icanon -echo ...}) = ? 
ERESTARTSYS (To be restarted)
--- SIGTTOU (Stopped (tty output)) @ 0 (0) ---
--- SIGTTOU (Stopped (tty output)) @ 0 (0) ---
ioctl(0, SNDCTL_TMR_STOP, {B38400 opost isig -icanon -echo ...}) = ? 
ERESTARTSYS (To be restarted)
--- SIGTTOU (Stopped (tty output)) @ 0 (0) ---
--- SIGTTOU (Stopped (tty output)) @ 0 (0) ---
ioctl(0, SNDCTL_TMR_STOP, {B38400 opost isig -icanon -echo ...}) = ? 
ERESTARTSYS (To be restarted)
--- SIGTTOU (Stopped (tty output)) @ 0 (0) ---
--- SIGTTOU (Stopped (tty output)) @ 0 (0) ---

Comment 1 Michael Redinger 2003-08-09 09:50:56 UTC
Should have noted that the SNDCTL_TMR_STOP ... SIGTTOU messages keep repeating 
forever.

This is a Dell PowerEdge 2400 dual-processor server (SMP kernel).


Comment 2 Michael Redinger 2003-08-09 15:56:37 UTC
This is actually something different and definitely not a coreutils problem ...


*** This bug has been marked as a duplicate of 102042 ***

Comment 3 Michael Redinger 2003-08-10 11:33:33 UTC
In bug #102042 (similar problem with zsh) Roland McGrath notes that it is not a
kernel but an app problem. Therefore changing back to coreutils again, removing
resoved duplicate.


Comment 4 Jens Petersen 2003-09-17 10:52:33 UTC
I assume Michail forgot to reopen this.

Comment 5 Jens Petersen 2003-09-17 10:54:38 UTC
Oops, sorry, I guess it was already fixed.