[Vm-dev] Arm64 MacOS CogSpur crashes when not using mixed arithmetic
eliot.miranda at gmail.com
Fri Nov 4 23:53:09 UTC 2022
Hi, Alan. I see the problem. I should be able to fix it quickly. Thank
On Fri, Nov 4, 2022 at 11:56 AM Alan Dao <alan.n.dao at gmail.com> wrote:
> I've attached the crash.dmp to this email
> On Thu, Nov 3, 2022 at 10:45 PM Alan Dao <alan.n.dao at gmail.com> wrote:
>> I've noticed an immediate crash for the CogSpur VM on Arm64 MacOS when we
>> set the VM parameters to the following.
>> Smalltalk vmParameterAt: 48 put: ((Smalltalk vmParameterAt: 48) bitClear:
>> 64) + 64.
>> This issue doesn't happen on the Stack VM. Cuis, my main distro, sets
>> this VM parameter by default while Squeak does not, but I can cause Squeak
>> to crash by running the above command as well.
>> I looked at the docs and saw this as the comment for the given bitflag.
>> Squeak comment:
>> "Bit 6: if set, implies arithmetic primitives will fail if given
>> arguments of different types (float vs int)"
>> Cuis comment:
>> "Bit 6: (on VMs that support it) whether the arithmetic primitives
>> perform conversion in case of mixed SmallInteger/Float (not set) or fail
>> (on VMs that don't support it, those primitives will fail in those cases)"
>> I'm not sure what to make of the functionality, but at the least, it
>> shouldn't cause the image to crash when set?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Vm-dev