[squeak-dev] How to crash CogVM or InterpreterVM while debugging BlockCannotReturn

Eliot Miranda eliot.miranda at gmail.com
Fri Jun 26 04:45:47 UTC 2015


Hi Marcel,

On Thu, Jun 25, 2015 at 5:45 AM, marcel.taeumel <Marcel.Taeumel at hpi.de>
wrote:

> Hi, all.
>
> Try this (on a Windows machine?):
>
> v := [^ true].
> v value.
>
> A debugger appears with BlockCannotReturn. Try proceed. The VM will crash.
> My image is 4.6, but it also happens 4.5 with a #2776 CogVM. ...and also in
> Squeak 3.9 with an interpreter VM. However in 3.9, I can hit proceed at
> least once--the second click crashes the VM.
>

I've just tried this with VMMaker.oscog-eem.1370/r3386 VMs in an updated
trunk Squeak 4.5 (non Spur) image and a Spur image and see nothing wrong.
Are you not missing something from the expression?  I can't see how the
above would produce a cannot return; the mehtod returnds via the ^-return
in the block.  But that's fine, and should be equivalent to [^true] value.


> Why's that?
>
> Best,
> Marcel
>
>
>
> --
> View this message in context:
> http://forum.world.st/How-to-crash-CogVM-or-InterpreterVM-while-debugging-BlockCannotReturn-tp4834042.html
> Sent from the Squeak - Dev mailing list archive at Nabble.com.
>
>


-- 
best,
Eliot
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20150625/41c7b789/attachment.htm


More information about the Squeak-dev mailing list