httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 35701] New: - Broken pollset data in poll/unix/port.c
Date Tue, 12 Jul 2005 11:13:10 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=35701>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=35701

           Summary: Broken pollset data in poll/unix/port.c
           Product: APR
           Version: HEAD
          Platform: All
        OS/Version: Solaris
            Status: NEW
          Severity: major
          Priority: P2
         Component: APR
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: masaoki@techfirm.co.jp


Ab (apache benchmark) uses pollset to handle asynchronous I/O.  However, the
usage is a little bit different from httpd's one, because ab frequently does
apr_pollset_remove.
New apr-1.x uses port_xxx system calls on Solaris 10, instead of traditional
poll() system call.  The port_getn() is peculiar as it deletes the fds from list
after the event.  Current port.c implementation manages the deleted port list in
pollset->add_ring.  The list can be broken because add_ring contains the data
which is also in query_ring.  The "next" and "prev" links in add_ring is broken
when it is removed from query_ring.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message