Skip to content

Conversation

@BertKleewein
Copy link
Member

If channel calls sm_exec_end before calling the callbacks, it's possible that the channel will close before the callbacks get called. Depending on the callbacks, this can lead to memory corruption. In my case, geo_core was calling channel_close, and channel_close was returning (after sm_exec_end was called). Then geo_core_destroy was called, and finally the channel callback(operation_rc_ptr_dispose) was called . This referred to a dead geo_core pointer, and it crashed.

@BertKleewein
Copy link
Member Author

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants