<div dir="ltr">never mind.  got it now.</div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, May 8, 2017 at 11:59 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"><div dir="ltr">Hi All,<div><br></div><div>    I want to be able to answer Max's message below with "run this script to build a VMMaker image", but so far I'm unable to download a VM from binary via curl (the default downloader on Mac OS X).  If I try e.g.</div><div><br></div><div>$ curl -k -o cog_macos32x86_squeak.cog.<wbr>spur_201705051953.tar.gz <a href="https://dl.bintray.com/opensmalltalk/vm/cog_macos32x86_squeak.cog.spur_201705051953.tar.gz" target="_blank">https://dl.bintray.com/<wbr>opensmalltalk/vm/cog_<wbr>macos32x86_squeak.cog.spur_<wbr>201705051953.tar.gz</a><br></div><div><br></div><div>I get an empty .tar.gz</div><div><br></div><div>If I use wget (something I've built and installed myself):</div><div><br></div><div>wget -o cog_macos32x86_squeak.cog.<wbr>spur_201705051953.tar.gz <a href="https://dl.bintray.com/opensmalltalk/vm/cog_macos32x86_squeak.cog.spur_201705051953.tar.gz" target="_blank">https://dl.bintray.com/<wbr>opensmalltalk/vm/cog_<wbr>macos32x86_squeak.cog.spur_<wbr>201705051953.tar.gz</a></div><div><br></div><div>I get</div><div><br></div><div>$ cat cog_macos32x86_squeak.cog.<wbr>spur_201705051953.tar.gz</div><div><div>--2017-05-08 11:56:10--  <a href="https://dl.bintray.com/opensmalltalk/vm/cog_macos32x86_squeak.cog.spur_201705051953.tar.gz" target="_blank">https://dl.bintray.com/<wbr>opensmalltalk/vm/cog_<wbr>macos32x86_squeak.cog.spur_<wbr>201705051953.tar.gz</a></div><div>Resolving dl.bintray.com... 75.126.118.188</div><div>Connecting to <a href="http://dl.bintray.com" target="_blank">dl.bintray.com</a>|75.126.118.188|<wbr>:443... connected.</div><div>ERROR: cannot verify <a href="http://dl.bintray.com" target="_blank">dl.bintray.com</a>'s certificate, issued by `/C=US/O=GeoTrust Inc./CN=GeoTrust SSL CA - G3':</div><div>  Unable to locally verify the issuer's authority.</div><div>To connect to <a href="http://dl.bintray.com" target="_blank">dl.bintray.com</a> insecurely, use `--no-check-certificate'.</div><div>Unable to establish SSL connection.</div><div><br></div><div>And if I use --no-check-certificate I still fail:</div><div><br></div><div><div>$ wget --no-check-certificate -o cog_macos32x86_squeak.cog.<wbr>spur_201705051953.tar.gz <a href="https://dl.bintray.com/opensmalltalk/vm/cog_macos32x86_squeak.cog.spur_201705051953.tar.gz" target="_blank">https://dl.bintray.com/<wbr>opensmalltalk/vm/cog_<wbr>macos32x86_squeak.cog.spur_<wbr>201705051953.tar.gz</a></div><div>$ cat cog_macos32x86_squeak.cog.<wbr>spur_201705051953.tar.gz</div><div>--2017-05-08 11:58:30--  <a href="https://dl.bintray.com/opensmalltalk/vm/cog_macos32x86_squeak.cog.spur_201705051953.tar.gz" target="_blank">https://dl.bintray.com/<wbr>opensmalltalk/vm/cog_<wbr>macos32x86_squeak.cog.spur_<wbr>201705051953.tar.gz</a></div><div>Resolving dl.bintray.com... 75.126.118.188</div><div>Connecting to <a href="http://dl.bintray.com" target="_blank">dl.bintray.com</a>|75.126.118.188|<wbr>:443... connected.</div><div>WARNING: cannot verify <a href="http://dl.bintray.com" target="_blank">dl.bintray.com</a>'s certificate, issued by `/C=US/O=GeoTrust Inc./CN=GeoTrust SSL CA - G3':</div><div>  Unable to locally verify the issuer's authority.</div><div>HTTP request sent, awaiting response... 302</div><div>Location: <a href="https://akamai.bintray.com/c6/c6ba54ff93f202c24e6008cb5c8b49c803b4ac21b43646fc1c91756d6c985b19?__gda__=exp=1494270631~hmac=3fe7f593f3440ace34e3c013ab7119d52093ba1672a32f14f1747e3e7a4e0235&response-content-disposition=attachment%3Bfilename%3D%22cog_macos32x86_squeak.cog.spur_201705051953.tar.gz%22&response-content-type=application%2Fx-www-form-urlencoded&requestInfo=U2FsdGVkX18Y_MJoYGQOYlat_mYoKMgk2XAwj9mM83g2sVlybJ4IVHj2U_7RPrccLSntxKjKu84Nw9tuDyVRF1bks0b9U_BjqCvXL9pfJZu_Z4BHUULx0GBuM5nr-oQndxXSWmK6CFB5zlERWr16NcVwm6K418muvWavbqgHjmI" target="_blank">https://akamai.bintray.com/c6/<wbr>c6ba54ff93f202c24e6008cb5c8b49<wbr>c803b4ac21b43646fc1c91756d6c98<wbr>5b19?__gda__=exp=1494270631~<wbr>hmac=<wbr>3fe7f593f3440ace34e3c013ab7119<wbr>d52093ba1672a32f14f1747e3e7a4e<wbr>0235&response-content-<wbr>disposition=attachment%<wbr>3Bfilename%3D%22cog_<wbr>macos32x86_squeak.cog.spur_<wbr>201705051953.tar.gz%22&<wbr>response-content-type=<wbr>application%2Fx-www-form-<wbr>urlencoded&requestInfo=<wbr>U2FsdGVkX18Y_MJoYGQOYlat_<wbr>mYoKMgk2XAwj9mM83g2sVlybJ4IVHj<wbr>2U_<wbr>7RPrccLSntxKjKu84Nw9tuDyVRF1bk<wbr>s0b9U_BjqCvXL9pfJZu_<wbr>Z4BHUULx0GBuM5nr-<wbr>oQndxXSWmK6CFB5zlERWr16NcVwm6K<wbr>418muvWavbqgHjmI</a> [following]</div><div>--2017-05-08 11:58:31--  <a href="https://akamai.bintray.com/c6/c6ba54ff93f202c24e6008cb5c8b49c803b4ac21b43646fc1c91756d6c985b19?__gda__=exp=1494270631~hmac=3fe7f593f3440ace34e3c013ab7119d52093ba1672a32f14f1747e3e7a4e0235&response-content-disposition=attachment%3Bfilename%3D%22cog_macos32x86_squeak.cog.spur_201705051953.tar.gz%22&response-content-type=application%2Fx-www-form-urlencoded&requestInfo=U2FsdGVkX18Y_MJoYGQOYlat_mYoKMgk2XAwj9mM83g2sVlybJ4IVHj2U_7RPrccLSntxKjKu84Nw9tuDyVRF1bks0b9U_BjqCvXL9pfJZu_Z4BHUULx0GBuM5nr-oQndxXSWmK6CFB5zlERWr16NcVwm6K418muvWavbqgHjmI" target="_blank">https://akamai.bintray.com/<wbr>c6/<wbr>c6ba54ff93f202c24e6008cb5c8b49<wbr>c803b4ac21b43646fc1c91756d6c98<wbr>5b19?__gda__=exp=1494270631~<wbr>hmac=<wbr>3fe7f593f3440ace34e3c013ab7119<wbr>d52093ba1672a32f14f1747e3e7a4e<wbr>0235&response-content-<wbr>disposition=attachment%<wbr>3Bfilename%3D%22cog_<wbr>macos32x86_squeak.cog.spur_<wbr>201705051953.tar.gz%22&<wbr>response-content-type=<wbr>application%2Fx-www-form-<wbr>urlencoded&requestInfo=<wbr>U2FsdGVkX18Y_MJoYGQOYlat_<wbr>mYoKMgk2XAwj9mM83g2sVlybJ4IVHj<wbr>2U_<wbr>7RPrccLSntxKjKu84Nw9tuDyVRF1bk<wbr>s0b9U_BjqCvXL9pfJZu_<wbr>Z4BHUULx0GBuM5nr-<wbr>oQndxXSWmK6CFB5zlERWr16NcVwm6K<wbr>418muvWavbqgHjmI</a></div><div>Resolving akamai.bintray.com... 104.68.118.43</div><div>Connecting to <a href="http://akamai.bintray.com" target="_blank">akamai.bintray.com</a>|104.68.118.<wbr>43|:443... connected.</div><div>WARNING: cannot verify <a href="http://akamai.bintray.com" target="_blank">akamai.bintray.com</a>'s certificate, issued by `/C=US/O=Symantec Corporation/OU=Symantec Trust Network/CN=Symantec Class 3 Secure Server CA - G4':</div><div>  Unable to locally verify the issuer's authority.</div><div>HTTP request sent, awaiting response... 200 OK</div><div>Length: 1220748 (1.2M) [application/x-www-form-<wbr>urlencoded]</div><div>c6ba54ff93f202c24e6008cb5c8b49<wbr>c803b4ac21b43646fc1c91756d6c98<wbr>5b19?__gda__=exp=1494270631~<wbr>hmac=<wbr>3fe7f593f3440ace34e3c013ab7119<wbr>d52093ba1672a32f14f1747e3e7a4e<wbr>0235&response-content-<wbr>disposition=attachment;<wbr>filename="cog_macos32x86_<wbr>squeak.cog.spur_201705051953.<wbr>tar.gz"&response-content-type=<wbr>application%2Fx-www-form-<wbr>urlencoded&requestInfo=<wbr>U2FsdGVkX18Y_MJoYGQOYlat_<wbr>mYoKMgk2XAwj9mM83g2sVlybJ4IVHj<wbr>2U_<wbr>7RPrccLSntxKjKu84Nw9tuDyVRF1bk<wbr>s0b9U_BjqCvXL9pfJZu_<wbr>Z4BHUULx0GBuM5nr-<wbr>oQndxXSWmK6CFB5zlERWr16NcVwm6K<wbr>418muvWavbqgHjmI: File name too long</div><div><br></div><div>Cannot write to `<wbr>c6ba54ff93f202c24e6008cb5c8b49<wbr>c803b4ac21b43646fc1c91756d6c98<wbr>5b19?__gda__=exp=1494270631~<wbr>hmac=<wbr>3fe7f593f3440ace34e3c013ab7119<wbr>d52093ba1672a32f14f1747e3e7a4e<wbr>0235&response-content-<wbr>disposition=attachment;<wbr>filename="cog_macos32x86_<wbr>squeak.cog.spur_201705051953.<wbr>tar.gz"&response-content-type=<wbr>application%2Fx-www-form-<wbr>urlencoded&requestInfo=<wbr>U2FsdGVkX18Y_MJoYGQOYlat_<wbr>mYoKMgk2XAwj9mM83g2sVlybJ4IVHj<wbr>2U_<wbr>7RPrccLSntxKjKu84Nw9tuDyVRF1bk<wbr>s0b9U_BjqCvXL9pfJZu_<wbr>Z4BHUULx0GBuM5nr-<wbr>oQndxXSWmK6CFB5zlERWr16NcVwm6K<wbr>418muvWavbqgHjmI' (Undefined error: 0).</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, May 7, 2017 at 4:24 AM, Max Leske <span dir="ltr"><<a href="mailto:maxleske@gmail.com" target="_blank">maxleske@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">Hi,<br>
<br>
I'm trying to store an image segment with the latest pharo.cog.spur VM (32 bits) but keep failing. The segment should produce a file of around 60 MB. With an old V3 VM this is no problem at all. There, the WordArrayForSegment instance has a size of 4094179 but with the new VM I always run out of space because the primitive returns nil and, therefore, the word array size is constantly being increased.<br>
<br>
I've built a debug VM and am stepping through the code but I don't have a clear understanding of everything that's happening. The failure happens on line 46626 of gcc3x-cointerp.c:<br>
<br>
newOop = (copy - segStart) / 8;<br>
if (newOop > (identityHashHalfWordMask())) {<br>
        return PrimErrLimitExceeded;  // <--------------- failure<br>
}<br>
<br>
What I don't understand, for example, is why "newOop" is checked against "identityHashHalfWordMask()" and not against the segment end ("endSeg"). Here's a list of the current values of the variables upon failure:<br>
<br>
objOop  sqInt   180812096<br>
segAddr sqInt   494731288<br>
segStart        sqInt   461176856<br>
endSeg  sqInt   815841432<br>
bodySize        usqInt  64<br>
contextSize     sqInt   335672448<br>
copy    sqInt   494731288<br>
hash    sqInt   0<br>
hash1   sqInt   4194302<br>
i       sqInt   833574680<br>
iLimiT  sqInt   833574688<br>
methodHeader    sqInt   1193471<br>
newOop  sqInt   4194304<br>
numMediatedSlots        sqInt   833574688<br>
numSlots        usqInt  14<br>
oop     sqInt   142640272<br>
<br>
As you can see, "endSeg" would be more than large enough to hold the object. Is it possible that there's an error here?<br>
<br>
Cheers,<br>
Max<br>
<br><span class="HOEnZb"><font color="#888888">
</font></span></blockquote></div><span class="HOEnZb"><font color="#888888"><br><br clear="all"><div><br></div>-- <br><div class="m_-7316582738946926953gmail_signature"><div dir="ltr"><div><span style="font-size:small;border-collapse:separate"><div>_,,,^..^,,,_<br></div><div>best, Eliot</div></span></div></div></div>
</font></span></div></div></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_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>