<div dir="ltr">Hi Marcel,<br><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jun 25, 2015 at 5:45 AM, marcel.taeumel <span dir="ltr">&lt;<a href="mailto:Marcel.Taeumel@hpi.de" target="_blank">Marcel.Taeumel@hpi.de</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi, all.<br>
<br>
Try this (on a Windows machine?):<br>
<br>
v := [^ true].<br>
v value.<br>
<br>
A debugger appears with BlockCannotReturn. Try proceed. The VM will crash.<br>
My image is 4.6, but it also happens 4.5 with a #2776 CogVM. ...and also in<br>
Squeak 3.9 with an interpreter VM. However in 3.9, I can hit proceed at<br>
least once--the second click crashes the VM.<br></blockquote><div><br></div><div>I&#39;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&#39;t see how the above would produce a cannot return; the mehtod returnds via the ^-return in the block.  But that&#39;s fine, and should be equivalent to [^true] value.</div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Why&#39;s that?<br>
<br>
Best,<br>
Marcel<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://forum.world.st/How-to-crash-CogVM-or-InterpreterVM-while-debugging-BlockCannotReturn-tp4834042.html" rel="noreferrer" target="_blank">http://forum.world.st/How-to-crash-CogVM-or-InterpreterVM-while-debugging-BlockCannotReturn-tp4834042.html</a><br>
Sent from the Squeak - Dev mailing list archive at Nabble.com.<br>
<br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature">best,<div>Eliot</div></div>
</div></div>