Bug 673191 - io_getevents does not work properly when called from within a shared library
Summary: io_getevents does not work properly when called from within a shared library
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: libaio
Version: 14
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Jeff Moyer
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-01-27 17:13 UTC by Jeffrey M. Birnbaum
Modified: 2011-01-31 20:12 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-01-31 20:12:18 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Jeffrey M. Birnbaum 2011-01-27 17:13:09 UTC
Description of problem:
When io_getevents is called from a shared library it returns immediately regardless of whether a timeout is specified. The same exact code when compiled into a regular program works as expected.

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

libaio-0.3.109-2.fc13.x86_64
libaio-devel-0.3.109-2.fc13.x86_64

How reproducible:
100%

Steps to Reproduce:
1. see README file inside attachment for instructions to reproduce
2.
3.
  
Actual results:
program is intended to wait 10 seconds inside io_getevents before returning, but instead returns immediately.

Expected results:
program should wait 10 seconds inside io_getevents call

Additional info:
See attached tar ball with code and instructions to demonstrate the bug


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