Commit b3ff519
authored
* 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
1 parent 4dae720 commit b3ff519
1 file changed
+11
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
46 | 49 | | |
47 | 50 | | |
48 | 51 | | |
| |||
166 | 169 | | |
167 | 170 | | |
168 | 171 | | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
169 | 176 | | |
170 | 177 | | |
171 | 178 | | |
| |||
174 | 181 | | |
175 | 182 | | |
176 | 183 | | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
177 | 188 | | |
178 | 189 | | |
179 | 190 | | |
| |||
0 commit comments