You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Justin Ross (Jira)" <ji...@apache.org> on 2022/05/17 20:48:00 UTC
[jira] [Updated] (PROTON-2543) Crash in epoll.c resched_pop_front
[ https://issues.apache.org/jira/browse/PROTON-2543?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Justin Ross updated PROTON-2543:
--------------------------------
Component/s: proton-c
> Crash in epoll.c resched_pop_front
> ----------------------------------
>
> Key: PROTON-2543
> URL: https://issues.apache.org/jira/browse/PROTON-2543
> Project: Qpid Proton
> Issue Type: Bug
> Components: proton-c
> Reporter: Fredrik Hallenberg
> Priority: Major
> Attachments: qpid-epoll-crash.patch
>
>
> During stress testing it is fairly easy to reproduce a segfault in resched_pop_front. Using gdb it is easy to see that polled_resched_front can be zero when entering this function which causes the value to wrap and then a crash in later calls.
> polled_resched_front is not checked when calling this function in one instance, the trivial fix to check this value is seen in the attached patch seems to work.
> Tested with Qpid Proton C++ 0.37.
>
--
This message was sent by Atlassian Jira
(v8.20.7#820007)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org