<br><br><div class="gmail_quote">On Sun, Apr 10, 2011 at 1:00 PM, Schwab,Wilhelm K <span dir="ltr">&lt;<a href="mailto:bschwab@anest.ufl.edu">bschwab@anest.ufl.edu</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<br>
Eliot,<br>
<br>
I modified the one-click&#39;s shell script as shown below and ran it from a terminal.  It still says only &quot;Segmentation fault.&quot; </blockquote><div><br></div><div>If you see Segmentation Fault on the console/terminal then you would be able to see the send trace.  So we can conclude it&#39;s not getting as far as running Smalltalk.  Since another VM runs your image just fine we could conclude there&#39;s nothing wrong with the image, except perhaps for the Cog VM scanning the heap to convert Float endianness etc. In any case you now need to debug the VM&#39;s start-up under gdb.  Your problems lie before Smalltalk starts to run.</div>
<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"> I could be doing this incorrectly or maybe not looking in the correct place for the output???  My first attempt was to add -sendTrace=9 (note case), and it complained, which is vastly better than ignoring my mistake; it also suggests that I got -sendtrace=9 correct, or it would presumably complain again.<br>

<br>
Did I botch it, or is it really quitting before it reaches Smalltalk code?  If you suspect the latter, is there something else we can do to prove it, and/or what&#39;s next?  I am not opposed to building from source.  I avoided it for a while because I was afraid that I would &quot;hack&quot; the vm again and not really fix my FFI oddities.  I am close to having the latter sorted, and can probably now trust myself with vm source :)<br>

<div class="im"><br>
Bill<br>
<br>
<br>
<br>
#!/bin/sh<br>
<br>
# path<br>
ROOT=`dirname $0`<br>
LINUX=&quot;$ROOT/Contents/Linux&quot;<br>
RESOURCES=&quot;$ROOT/Contents/Resources&quot;<br>
<br>
# icon<br>
gvfs-set-attribute \<br>
        &quot;$0&quot; \<br>
        &quot;metadata::custom-icon&quot; \<br>
        &quot;file://$RESOURCES/Squeak.png&quot; \<br>
                2&gt; /dev/null<br>
<br>
# execute<br>
</div>exec &quot;$LINUX/squeakvm&quot; \<br>
        -sendtrace=9 \<br>
<div><div></div><div class="h5">        -plugins &quot;$LINUX&quot; \<br>
        -encoding latin1 \<br>
        -vm-display-X11 \<br>
        &quot;$RESOURCES/Pharo.image&quot;<br>
<br>
<br>
<br>
</div></div></blockquote></div><br>