<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Mar 28, 2014 at 8:17 AM, Bob Arning <span dir="ltr">&lt;<a href="mailto:arning315@comcast.net" target="_blank">arning315@comcast.net</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"> <br>
  
    
  
  <div text="#000000" bgcolor="#FFFFFF">
    <font face="Georgia">Eliot,<br>
      <br>
      I figured out where the &quot;console&quot; ends up and you are right - is
      was last object overwritten. File attached if it&#39;s of any use. My
      testing has proceeded to the point that repeated calls to
      &quot;SqueakSSL google: &#39;squeak&#39;&quot; work fine, but calls to a very
      similar method connecting to a different host will crash the vm
      after a few iterations.<br></font></div></blockquote><div><br></div><div>At this point I would switch to gdb, set a breakpoint in error, run the reproducible case, then use</div><div><br></div><div>call printOop(objectBefore(freeStart))</div>
<div><br></div><div>to find out which object was overwritten.  That may be a good enough clue to find out where the overwriting is occurring.  You can try</div><div><br></div><div>call longPrintOop(objectBefore(freeStart))<br>
</div><div><br></div><div>which may give you more info.</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF"><font face="Georgia">
      <br>
      Cheers,<br>
      Bob<br>
      <br>
      <br>
    </font>
    <div>On 3/27/14 1:03 PM, Eliot Miranda
      wrote:<br>
    </div>
    <blockquote type="cite">
      <pre> </pre>
      <br>
      <fieldset></fieldset>
      <br>
      <div dir="ltr">Hi Bob,
        <div class="gmail_extra"><br>
          <br>
          <div class="gmail_quote">On Thu, Mar 27, 2014 at 4:33 AM, Bob
            Arning <span dir="ltr">&lt;<a href="mailto:arning315@comcast.net" target="_blank">arning315@comcast.net</a>&gt;</span>
            wrote:<br>
            <blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"> <br>
              <div text="#000000" bgcolor="#FFFFFF"> <font face="Georgia">Is there enough information in the
                  attached file to point to a possible cause?<br>
                </font></div>
            </blockquote>
            <div><br>
            </div>
            <div>Yes.  But there should hopefully be the output of error
              on the console and that would disambiguate between the two
              possible causes.  This is the stack:</div>
            <div><br>
            </div>
            <span>2  
              libsystem_c.dylib             0x9b609bdd abort + 167</span><br>
            <span>3  
              org.squeak.SqueakAllInOne45   0x000703be error + 94</span><br>
            <span>4  
              org.squeak.SqueakAllInOne45   0x000d1c4f
              eeInstantiateSmallClasssizeInBytes + 95</span><br>
            <span>5  
              org.squeak.SqueakAllInOne45   0x000d31a0
              createClosureNumArgsnumCopiedstartpc + 80</span><br>
            <span>6  
              org.squeak.SqueakAllInOne45   0x000c6e69
              ceClosureCopyDescriptor + 41</span><br>
            <div> </div>
            <div>There are two possible errors
              in eeInstantiateSmallClasssizeInBytes</div>
            <div>error(&quot;last object overwritten&quot;);<br>
            </div>
            <div>error(&quot;out of memory&quot;);<br>
            </div>
            <div><br>
            </div>
            <div><br>
            </div>
            <div>The first means that something wrote past the end of an
              object and this was detected when a new object was
              allocated, seeing that freeSpace did not contain the
              pattern expected.  This e.g. happens when passing buffer
              objects to foreign code which writes beyond the object.</div>
            <div><br>
            </div>
            <div>The second usually means infinite recursion.  Looking
              at the memory map at the end of the error report I think
              that the error is last object overwritten.</div>
            <div><br>
            </div>
            <blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
              <div text="#000000" bgcolor="#FFFFFF"><font face="Georgia">
                  <br>
                  Cheers,<br>
                  Bob<br>
                </font> </div>
              <br>
            </blockquote>
          </div>
          <br>
          <br clear="all">
          <div><br>
          </div>
          -- <br>
          best,
          <div>Eliot</div>
        </div>
      </div>
    </blockquote>
    <br>
  </div>

<br></blockquote></div><br><br clear="all"><div><br></div>-- <br>best,<div>Eliot</div>
</div></div>