[Vm-dev] Squeak COG v3 hangs during startup

Eliot Miranda eliot.miranda at gmail.com
Tue Feb 28 23:47:31 UTC 2017


Hi Nicolas,

On Tue, Feb 28, 2017 at 12:31 PM, Nicolas Cellier <
nicolas.cellier.aka.nice at gmail.com> wrote:

>
> This appear to be solved in VMMaker.oscog-eem.2140
> Thanks Eliot.
>

Forgive me.  I made a mistake in the v3 code when improving the special
selector code in Spur, and forgot to test v3.


>
> 2017-02-28 2:31 GMT+01:00 Nicolas Cellier <nicolas.cellier.aka.nice@
> gmail.com>:
>
>> Bissecting tells that the problem appeared in
>> https://github.com/OpenSmalltalk/opensmalltalk-vm/commit/167
>> 5e3586bbef2ff198e683ea7839ac1b41fa491
>>
>> That is somewhere between VMMaker.oscog-eem.2079 (excluded) and
>> VMMaker.oscog-eem.2126
>> Quite a large range, but stack.v3 works and spur works too, so not all
>> changes are relevant...
>>
>>
>> 2017-02-28 2:26 GMT+01:00 Nicolas Cellier <nicolas.cellier.aka.nice at gmai
>> l.com>:
>>
>>> Hi,
>>> I can't open an image with recent squeak.cog.v3 builds (at least on
>>> macosx).
>>> The VM hangs in a sort of infinite loop with 100% CPU before the window
>>> open
>>> If I sample the application I get something like
>>> ...snip...
>>>
>>> The squeak.stack.v3 still works.
>>>
>>> The hang is reproducible in simulator:
>>>
>>> | cos |
>>> cos := CogVMSimulator newWithOptions: #(Cogit
>>> StackToRegisterMappingCogit ).
>>> cos desiredNumStackPages: 8.
>>> cos openOn: '/some_path_to/Squeak4.6-15102.image'.
>>> cos openAsMorph; run
>>>
>>> it hangs around counters 13000/993
>>> and I've got this kind of output:
>>>
>>> ...snip...
>>>
>>> each time I interrupt the VM, it seems to loop in
>>> findMethodWithPrimitive:FromFP:UpToContext:
>>>
>>> I did not try to bissect when this happened, but the red status of
>>> continuous integration may well be related to this.
>>>
>>> We can't live forever with this red status, it's like not having CI
>>> feedback at all. Either we declare cog.v3 as unsupported or we fix it.
>>>
>>
>>
>
>


-- 
_,,,^..^,,,_
best, Eliot
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20170228/f382423e/attachment-0001.html>


More information about the Vm-dev mailing list