You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Andrew Stitcher (JIRA)" <ji...@apache.org> on 2012/07/26 19:55:34 UTC
[jira] [Assigned] (QPID-4168) Unhandled [rare] error condition in
EpollPoller.cpp
[ https://issues.apache.org/jira/browse/QPID-4168?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andrew Stitcher reassigned QPID-4168:
-------------------------------------
Assignee: Andrew Stitcher
> Unhandled [rare] error condition in EpollPoller.cpp
> ---------------------------------------------------
>
> Key: QPID-4168
> URL: https://issues.apache.org/jira/browse/QPID-4168
> Project: Qpid
> Issue Type: Bug
> Components: C++ Client
> Affects Versions: 0.16
> Environment: RHEL 6.2 (probably all POSIX targets)
> Reporter: Rob Springer
> Assignee: Andrew Stitcher
> Priority: Minor
>
> There was a bug in one of our programs wherein a thread could call close() on what was effectively a random socket.
> Occasionally, it would happen to call close() on the alwaysReadableFd
> registered in the PollerPrivate constructor, which would result in an epoll
> event for that FD to be returned in the call to epoll_wait() on line 568. It'd
> then try to dereference the event's "ptr" element (which was set to 0x1 on
> registration for that FD), which would lead to a segfault.
> It's worth reiterating that the triggering bug is absolutely not in Qpid, so this isn't a core functionality issue - it's more of a graceful handling of a unexpected error condition.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org