[
https://issues.apache.org/jira/browse/DISPATCH-2302?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ken Giusti reassigned DISPATCH-2302:
------------------------------------
Assignee: Ken Giusti
> Segfault in core_client_api.c on shutdown
> -----------------------------------------
>
> Key: DISPATCH-2302
> URL: https://issues.apache.org/jira/browse/DISPATCH-2302
> Project: Qpid Dispatch
> Issue Type: Bug
> Components: Router Node
> Affects Versions: 1.18.0
> Reporter: Ken Giusti
> Assignee: Ken Giusti
> Priority: Major
> Attachments: NEW_BUG.txt
>
>
> Hard to reproduce - I hit this only due to a buggy patch I was working on but
> seems legit:
> During shutdown qdr_core_free() cleans up any outstanding endpoint clients.
> This results in any outstanding core client RPC calls to be cancelled by
> invoking the "free request" logic which invokes the "request done" client
> handler with the error parameter set to "link detach".
> In the case of the edge router client address lookup module, the error is
> ignored and the client assumes the request was successful. At this point it
> attempts to process the request which results in a segfault.
> We need to audit all the core client "request done" callbacks to make sure
> the error flag is being checked and properly handled.
> See backtrace in attachment
>
--
This message was sent by Atlassian Jira
(v8.20.1#820001)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]