pharo-vm icon indicating copy to clipboard operation
pharo-vm copied to clipboard

Random failing of setPinnedInMemory:

Open pavel-krivanek opened this issue 2 years ago • 1 comments

We are sometimes getting random failures of primitive setPinnedInMemory.

AnyDesk_FvakJlP1ed

In this case, the ByteArray is just normal ByteArray of size 144, all items are zero. The ec code returned by the primitive is nil. So it does not look like free memory issue.

The primitive should be, at least, more descriptive about the failure reason.

!! Version

 CoInterpreter * VMMaker-tonel.1 uuid: 5efdd374-d78e-0d00-800b-f89400871672 Dec  6 2021
StackToRegisterMappingCogit * VMMaker-tonel.1 uuid: 5efdd374-d78e-0d00-800b-f89400871672 Dec  6 2021
v9.0.10-3-g961e9c458 - Commit: 961e9c458 - Date: 2021-12-03 11:54:30 +0100
```

pavel-krivanek avatar Dec 29 '21 08:12 pavel-krivanek

Might happen because the error code seems to be incorrectly set https://github.com/pharo-project/opensmalltalk-vm/issues/367

chisandrei avatar Dec 29 '21 15:12 chisandrei