Bug 171968 - aio_suspend is not interrupted by the signal
Summary: aio_suspend is not interrupted by the signal
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: glibc
Version: 4
Hardware: i686
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Jakub Jelinek
QA Contact: Brian Brock
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2005-10-28 14:42 UTC by Elena Vengerova
Modified: 2007-11-30 22:11 UTC (History)
0 users

Fixed In Version: 2.3.90-28
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2006-01-06 16:41:21 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Elena Vengerova 2005-10-28 14:42:02 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20050923 Fedora/1.7.12-1.5.1

Description of problem:
aio_suspend() is not interrupted by the signal

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


How reproducible:
Always

Steps to Reproduce:
1. Create and bind UDP socket.
2. Post read AIO request using aio_read().
3. Install signal handler for SIGUSR1.
4. Call aio_suspend() with some timeout.
5. Send to process signal SIGUSR1.
  

Actual Results:  aio_suspend() does not resume until timeout expires.

Expected Results:  aio_suspend() should resume immediately after signal receiving and set errno to EINTR.

Additional info:

Comment 1 Elena Vengerova 2005-11-06 14:27:59 UTC
The same is for lio_listio().

Comment 2 Ulrich Drepper 2006-01-06 05:16:04 UTC
Due to the implementation interrupts indeed did were not reported.  This is
fixed in the upstream sources and should be in the next rawhide release.  But
once again, aio is not defined for sockets.

Comment 3 Jakub Jelinek 2006-01-06 16:41:21 UTC
Should be fixed in glibc-2.3.90-28 and above.


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