<br><br><div class="gmail_quote">On Sun, Apr 10, 2011 at 1:00 PM, Schwab,Wilhelm K <span dir="ltr"><<a href="mailto:bschwab@anest.ufl.edu">bschwab@anest.ufl.edu</a>></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's shell script as shown below and ran it from a terminal. It still says only "Segmentation fault." </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's not getting as far as running Smalltalk. Since another VM runs your image just fine we could conclude there'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'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's next? I am not opposed to building from source. I avoided it for a while because I was afraid that I would "hack" 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="$ROOT/Contents/Linux"<br>
RESOURCES="$ROOT/Contents/Resources"<br>
<br>
# icon<br>
gvfs-set-attribute \<br>
"$0" \<br>
"metadata::custom-icon" \<br>
"file://$RESOURCES/Squeak.png" \<br>
2> /dev/null<br>
<br>
# execute<br>
</div>exec "$LINUX/squeakvm" \<br>
-sendtrace=9 \<br>
<div><div></div><div class="h5"> -plugins "$LINUX" \<br>
-encoding latin1 \<br>
-vm-display-X11 \<br>
"$RESOURCES/Pharo.image"<br>
<br>
<br>
<br>
</div></div></blockquote></div><br>