Skip to content

fix: Improve error handling for Python backend model initialization failures #408

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

pskiran1
Copy link
Member

@pskiran1 pskiran1 commented Jul 21, 2025

  • This change aims to prevent the server from hanging when a Python backend model fails to initialize. It replaces an indefinite wait for a message from the stub process with the ReceiveMessageFromStub function, which correctly detects errors from the stub process.
  • Additionally, it fixes shm cleanup when a model fails to initialize (DLIS-8432).

@pskiran1 pskiran1 requested review from krishung5 and yinggeh July 21, 2025 17:07
@pskiran1
Copy link
Member Author

Found a bug that the Python backend internal SHM is not destroyed upon model initialization failure, and have created an internal ticket DLIS-8432.

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

Successfully merging this pull request may close these issues.

2 participants