Skip to content

[COM-RPC][Logging] Add logging in case of a possible COM-RPC deadlock#1982

Merged
MFransen69 merged 7 commits intomasterfrom
development/comrpc-deadlock-logging
Nov 4, 2025
Merged

[COM-RPC][Logging] Add logging in case of a possible COM-RPC deadlock#1982
MFransen69 merged 7 commits intomasterfrom
development/comrpc-deadlock-logging

Conversation

@VeithMetro
Copy link
Copy Markdown
Contributor

Also, let's change a SYSLOG to TRACE_1 in case of raising priority to High, to avoid flooding the system

…SLOG in cases of a possible COM-RPC deadlock
Copilot AI review requested due to automatic review settings October 31, 2025 06:50
@VeithMetro VeithMetro requested review from Copilot and sebaszm and removed request for Copilot October 31, 2025 06:50
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds deadlock detection and improves logging in the COM-RPC communication layer. The changes focus on detecting when an IPC channel already has an outgoing COM-RPC call in progress and logging this condition to prevent potential deadlocks.

  • Added deadlock detection check in IUnknown.h that logs an error when IPC communication is already in progress
  • Updated log messages in Administrator.h from SYSLOG to TRACE_L1 for better clarity and consistency

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
Source/com/IUnknown.h Added deadlock detection check before invoking IPC calls, logging error when channel is already in progress
Source/com/Administrator.h Replaced SYSLOG with TRACE_L1 and improved message clarity for occupied channel notifications

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread Source/com/IUnknown.h Outdated
@VeithMetro VeithMetro requested a review from pwielders October 31, 2025 07:55
sebaszm
sebaszm previously approved these changes Oct 31, 2025
Copilot AI review requested due to automatic review settings October 31, 2025 11:42
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

Copilot reviewed 2 out of 2 changed files in this pull request and generated no new comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@sebaszm sebaszm self-requested a review October 31, 2025 12:24
Copilot AI review requested due to automatic review settings November 4, 2025 13:18
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

@MFransen69 MFransen69 merged commit b92a363 into master Nov 4, 2025
114 of 126 checks passed
@MFransen69 MFransen69 deleted the development/comrpc-deadlock-logging branch November 4, 2025 14:15
@github-actions github-actions Bot locked and limited conversation to collaborators Nov 4, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants