Ken Giusti created PROTON-2466: ---------------------------------- Summary: raw connection posts wake events after disconnect event is handled Key: PROTON-2466 URL: https://issues.apache.org/jira/browse/PROTON-2466 Project: Qpid Proton Issue Type: Bug Components: proton-c Affects Versions: proton-c-0.36.0 Reporter: Ken Giusti Attachments: qdrouterd-A.conf
While running tcp stress tests against qdrouterd a crash occurred. The crash was due to a stale pointer dereference. qdrouterd code has been patched to properly clear the pointer and check for null in the effected codepath. However... ... the access occurred while processing a PN_RAW_CONNECTION_WAKE event that arrived on a raw connection *after* a PN_RAW_CONNECTION_DISCONNECTED event previously arrived on the raw connection. IIUC the PN_RAW_CONNECTION_DISCONNECTED event is supposed to be the last event generated on a raw connection, and once that event has been handled the raw connection is released. If that is correct then the arrival of the following WAKE event is a bug. -- This message was sent by Atlassian Jira (v8.20.1#820001) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org For additional commands, e-mail: dev-h...@qpid.apache.org