Skip to content

Conversation

@manodasanW
Copy link
Member

We are seeing crashes for scenarios where there was a completion handler registered by another process on an async operation. When the current process finishes the async operation and triggers the completion, the other process is already gone and COM reports an RPC error. We propagate that exception to the process running the async operation which results in a fail fast. But in reality, in this scenario, if the other process asking for reporting on completion is gone, there is nothing the current process can do and it can't catch the exception resulting in a fail fast either. So, we will instead silently handle that error which is similar to what CppWinRT does.

For other errors, we will still rethrow them but that will be investigated separately if there is any opportunity to improve the reporting of those errors too or if those should also be handled silently.

@manodasanW manodasanW force-pushed the manodasanw/rpcerror branch from 5f27975 to f441f29 Compare April 8, 2025 18:45
@manodasanW manodasanW merged commit 898cbbd into staging/2.3 Apr 8, 2025
12 checks passed
@manodasanW manodasanW deleted the manodasanw/rpcerror branch April 8, 2025 20:14
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.

3 participants