Skip to content

fix: Fix SEGFAULT in BLS Model Loading (#420)#421

Merged
mc-nv merged 1 commit intor25.11from
jwyman/pick-420
Nov 12, 2025
Merged

fix: Fix SEGFAULT in BLS Model Loading (#420)#421
mc-nv merged 1 commit intor25.11from
jwyman/pick-420

Conversation

@whoisj
Copy link
Contributor

@whoisj whoisj commented Nov 12, 2025

This change contains the minimal change to avoid SEGFAULT failures during the BLS Model Loading test.

The crash itself is cause by deleting a shared-memory region's control allocation which can happen when we somehow endup with handle{1} (the control region) in our accounting, and then delete it when its refcount reaches zero.

This change does fix the root cause of how we're accounting for handle{1} (which we should never have).

* fix: Fix SEGFAULT in BLS Model Loading

This change contains the minimal change to avoid SEGFAULT failures during the BLS Model Loading test.

The crash itself is cause by deleting a shared-memory region's control allocation which can happen
when we somehow endup with handle{1} (the control region) in our accounting, and then delete it when
its refcount reaches zero.

This change does fix the root cause of how we're accounting for handle{1} (which we should never have).

* rename variable
@mc-nv mc-nv merged commit b3ff519 into r25.11 Nov 12, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

2 participants