<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Aug 11, 2017 at 12:55 AM, Eliot Miranda <span dir="ltr"><<a href="mailto:eliot.miranda@gmail.com" target="_blank">eliot.miranda@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"> <br><div dir="ltr">Hi Andrei,<div class="gmail_extra"><br><div class="gmail_quote">On Thu, Aug 10, 2017 at 3:02 AM, Andrei Chis <span dir="ltr"><<a href="mailto:chisvasileandrei@gmail.com" target="_blank">chisvasileandrei@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"> <br><div dir="ltr">Hi,<div><br></div><div>I was executing this code  '(2009/2000) ** (3958333/100000)' with the Pharo6.1 distribution and the vm crashed with she stack attached below. Tried it on both mac and windows 10.</div><div>Seems that #raisedTo: has a special case for fractions that ends up calling #nthRoot: like '2009 nthRoot: 100000' leading to the crash.</div></div></blockquote><div><br></div><div>The plugin is now fixed; see VMMaker.oscog-eem.2262.  I'll generate code soon (am debugging something you're familiar with that takes several hours to run and don't want to generate sources while it's running).  But I'm glad you've found a better way!  This case creates 600k byte large integers and takes forever to run :-)</div></div></div></div></blockquote><div><br></div><div>Nice! Thanks for the fix.</div><div><br></div><div>Cheers,</div><div>Andrei</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div><br></div><div>Cheers,</div><div>Andrei</div><div><br></div><div><br></div><div><div>0xaddeac M LargePositiveInteger(Integer)><wbr>quo: 0x314093e8: a(n) LargePositiveInteger</div><div>0xaddec8 M LargePositiveInteger(LargeInte<wbr>ger)>quo: 0x314093e8: a(n) LargePositiveInteger</div><div>0xaddee8 M LargePositiveInteger(Integer)><wbr>// 0x314093e8: a(n) LargePositiveInteger</div><div>0xaddf04 M LargePositiveInteger(LargeInte<wbr>ger)>// 0x314093e8: a(n) LargePositiveInteger</div><div>0xaddf34 I LargePositiveInteger(Integer)><wbr>nthRootTruncated: 0x30cc8350: a(n) LargePositiveInteger</div><div>0xaddf5c I LargePositiveInteger(Integer)><wbr>nthRootRounded: 0x30cc8350: a(n) LargePositiveInteger</div><div>0xaddf88 I SmallInteger(Integer)>nthRoot: 0xfb3=2009</div><div>0xaddfb4 I Fraction>nthRoot: 0x4f9a940: a(n) Fraction</div><div>0xaddfd8 I Fraction(Number)>raisedTo: 0x4f9a940: a(n) Fraction</div><div>0xaddffc I Fraction(Number)>** 0x4f9a940: a(n) Fraction</div><div>0xade018 M UndefinedObject>DoIt 0x5fe5d00: a(n) UndefinedObject</div><div>0xade048 I OpalCompiler>evaluate 0x4f9a998: a(n) OpalCompiler</div><div>0xade074 I RubSmalltalkEditor>evaluate:an<wbr>dDo: 0x305e5878: a(n) RubSmalltalkEditor</div><div>0xade09c I RubSmalltalkEditor>highlightEv<wbr>aluateAndDo: 0x305e5878: a(n) RubSmalltalkEditor</div><div>0xade0b8 M GLMMorphicPharoScriptRenderer(<wbr>GLMMorphicPharoCodeRenderer)>p<wbr>opupPrint 0x3062fdc8: a(n) GLMMorphicPharoScri</div><div>enderer</div><div>0xade0d8 I MorphicAlarm(MessageSend)>valu<wbr>e 0x4f9ab20: a(n) MorphicAlarm</div><div>0xade0f4 M MorphicAlarm>value: 0x4f9ab20: a(n) MorphicAlarm</div><div>0xade114 M WorldState>triggerAlarmsBefore<wbr>: 0x71bb5e0: a(n) WorldState</div><div>0xade140 M WorldState>runLocalStepMethods<wbr>In: 0x71bb5e0: a(n) WorldState</div><div>0xade164 M WorldState>runStepMethodsIn: 0x71bb5e0: a(n) WorldState</div><div>0xade180 M WorldMorph>runStepMethods 0x6ab7778: a(n) WorldMorph</div><div>0xade198 M WorldState>doOneCycleNowFor: 0x71bb5e0: a(n) WorldState</div><div>0xade1b4 M WorldState>doOneCycleFor: 0x71bb5e0: a(n) WorldState</div><div>0xade1d0 M WorldMorph>doOneCycle 0x6ab7778: a(n) WorldMorph</div><div>0xade1e8 M WorldMorph class>doOneCycle 0x6a9f960: a(n) WorldMorph class</div><div>0xade200 M [] in MorphicUIManager>spawnNewProce<wbr>ss 0x2cc88718: a(n) MorphicUIManager</div><div>0xade220 I [] in BlockClosure>newProcess 0x2f178150: a(n) BlockClosure</div></div></div>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="m_1455570925712354455gmail_signature"><div dir="ltr"><div><span style="font-size:small;border-collapse:separate"><div>_,,,^..^,,,_<br></div><div>best, Eliot</div></span></div></div></div>
</div></div>
<br></blockquote></div><br></div></div>