Bug 82643 - Unexpected SIGIO with RH8
Summary: Unexpected SIGIO with RH8
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: kernel
Version: 8.0
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Arjan van de Ven
QA Contact: Brian Brock
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2003-01-24 13:03 UTC by Michael Marxmeier
Modified: 2007-04-18 16:50 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2004-09-30 15:40:26 UTC
Embargoed:


Attachments (Terms of Use)

Description Michael Marxmeier 2003-01-24 13:03:27 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3b) Gecko/20030119

Description of problem:
RH 8.0, Kernel 2.4.14-14 (same with 2.4.18.-19.8.0)

In our application we encounter unexpected SIGIO signals.
This neither happened on RH 7.3 nor on SuSE 8.1.

The application enables SIGIO for stdin to get async
notification of keyboard input. However with RH8 SIGIO
seems to happen unrelated to stdin.

Shortened strace is below:

rt_sigaction(SIGIO, {0x8074c90, [], SA_RESTORER|SA_RESTART, 0x42028c48}, NULL,
8) = 0
...
fcntl64(0, F_GETFL)                     = 0x8002 (flags O_RDWR|O_LARGEFILE)
fcntl64(0, F_SETFL, O_RDWR|O_ASYNC|O_LARGEFILE) = 0
...
--- SIGIO (I/O possible) ---
select(1024, [0], NULL, NULL, {0, 0})   = 0 (Timeout)
sigreturn()                             = ? (mask now [])
write(1, "\33[24;1H\r", 8)              = 8
--- SIGIO (I/O possible) ---
select(1024, [0], NULL, NULL, {0, 0})   = 0 (Timeout)
sigreturn()                             = ? (mask now [])
write(1, "\33[?25h", 6)                 = 6
--- SIGIO (I/O possible) ---
select(1024, [0], NULL, NULL, {0, 0})   = 0 (Timeout)
sigreturn()                             = ? (mask now [])
...

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


How reproducible:
Always

Steps to Reproduce:
1. run application
    

Actual Results:  SIGIO signals related to fd 1 (and fd 0 as well)

Expected Results:  SIGIO signals related to fd 0

Additional info:

Comment 1 Mika Ilmaranta 2003-03-12 22:11:46 UTC
Seems that the same happens still with 2.4.18-26.8.0.

SIGIO seems to work as supposed when application is run from console.



Comment 2 Bugzilla owner 2004-09-30 15:40:26 UTC
Thanks for the bug report. However, Red Hat no longer maintains this version of
the product. Please upgrade to the latest version and open a new bug if the problem
persists.

The Fedora Legacy project (http://fedoralegacy.org/) maintains some older releases, 
and if you believe this bug is interesting to them, please report the problem in
the bug tracker at: http://bugzilla.fedora.us/



Note You need to log in before you can comment on or make changes to this bug.