[Vm-dev] 64bits Guardian failure on Squeak 5.3 RC1

Nicolas Cellier nicolas.cellier.aka.nice at gmail.com
Wed Feb 26 22:06:43 UTC 2020


Well, I've tried to install rr and all its dependencies on Ubuntu 16...
But...
I have no available machine to run linux natively.

To run rr inside a virtual machine, virtualization of perf counters needs
to be enabled...
https://github.com/mozilla/rr/wiki/Building-And-Installing

I'm using parallels, but not the Pro version, because I don't like the
annual pricing model, for personal use it's just too much.
Unfortunately, only pro edition supports PMU virtualization
https://download.parallels.com/desktop/v11/docs/en_US/Parallels%20Desktop%20User%27s%20Guide/37830.htm

Maybe it's time to change of VM provider, but for now, that's too many
hurdles, I give up...

Le mer. 26 févr. 2020 à 22:04, Nicolas Cellier <
nicolas.cellier.aka.nice at gmail.com> a écrit :

>
>
> Le mer. 26 févr. 2020 à 21:56, Nicolas Cellier <
> nicolas.cellier.aka.nice at gmail.com> a écrit :
>
>> Hi Stephane,
>> this is the worse game for VM developers ;)
>>
> Hem, I meant the worst ever, even worse than my globish dialect ;)
>
> No just kidding, very good game for finding our own bugs!
>>
>> I just ran in debugger, and it crash in b3dDrawSTWRGB
>> But it seems like the function received an already corrupted texture...
>>
>> (lldb) p *texture
>> (B3DTexture) $10 = {
>>   width = 152691968
>>   height = 1
>>   depth = 152842368
>>   rowLength = 1
>>   sMask = 152740096
>>   sShift = 1
>>   tMask = 152789728
>>   tShift = 1
>>   cmSize = 152890496
>>   colormap = 0x000000010916dd80
>>   data = 0x0000000109179f60
>> }
>>
>> The width, depth and color map size are insane.
>> (lldb) p/x texture->width
>> (int) $5 = 0x0919e500
>> (lldb) p/x texture->depth
>> (int) $6 = 0x091c3080
>> (lldb) p/x texture->sMask
>> (int) $7 = 0x091aa100
>> (lldb) p/x texture->tMask
>> (int) $8 = 0x091b62e0
>> (lldb) p/x texture->cmSize
>> (int) $9 = 0x091cec80
>>
>> Now it remains to discover how this got corrupted...
>> I wish I could run the debugger backward in time...
>> Maybe it's time to learn a new skill and explore the rr capability on
>> linux as recommended once by Jan Vrany.
>>
>>
>> Le mer. 26 févr. 2020 à 10:35, Stéphane Rollandin <lecteur at zogotounga.net>
>> a écrit :
>>
>>> > http://files.squeak.org/5.3rc1/Squeak5.3rc1-19414-64bit/
>>> > Please give them a try and report any issues here on the mailing list.
>>> The Guardians game does not run in the 64bit version - it crashes
>>> immediately.
>>>
>>> Guardians:
>>> http://www.zogotounga.net/comp/guardians.htm
>>>
>>> Code:
>>>
>>> http://www.zogotounga.net/comp/squeak/guardians/Guardians-builder-0.94.sar
>>>
>>> (to see the crash, just install the above sar and follow the
>>> instructions for starting the game)
>>>
>>>
>>> Stef
>>>
>>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20200226/6c05a0cf/attachment-0001.html>


More information about the Vm-dev mailing list