Hi Martin,<div><br></div><div> crashing immediately on startup could be to do with the UUIDPlugin and libuuid. Try removing coglinux/lib/squeak/3.9-7/UUIDPlugin and see if it makes a difference. If it does I believe the fix is to ensure that there's a 32-bit libuuid.so.1 installed. e.g.</div>
<div><br></div><div><div>[eliot@mcqfes bld]$ ldd coglinux/lib/squeak/3.9-7/UUIDPlugin </div><div> linux-gate.so.1 => (0x00e2e000)</div><div> libuuid.so.1 => /lib/libuuid.so.1 (0x0067e000)</div><div> libc.so.6 => /lib/libc.so.6 (0x008d6000)</div>
<div> /lib/ld-linux.so.2 (0x0045a000)</div><div>[eliot@mcqfes bld]$ file /lib/libuuid.so.1</div><div>/lib/libuuid.so.1: symbolic link to `libuuid.so.1.2'</div><div>[eliot@mcqfes bld]$ file /lib/libuuid.so.1.2</div>
<div>/lib/libuuid.so.1.2: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), stripped</div><div><br></div>Search the Squeak, vm-dev and Pharo archives for info on how to install a 32-bit version. I think it was mentioned within the last month.</div>
<div><br></div><div>If your problem is nothing to do with libuuid then I need info like exact OS version, what directories you've installed things in and a gdb backtrace for the crash.</div><div><br></div><div><br></div>
<div>HTH</div><div>Eliot</div><div><br><div class="gmail_quote">On Sat, Jan 1, 2011 at 11:16 PM, <span dir="ltr"><<a href="mailto:mkobetic@gmail.com">mkobetic@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
I'm probably doing something obviously wrong, but I have no luck with the Cog VM. It crashes immediately on startup even with the stock OneClick image. I downloaded the Pharo-1.1.1 OneClick images. Fetched the latest coglinux.tgz (r2340), untarred it into the pharo directory and just trying to run it from the top-level pharo directory as:<br>
<br>
coglinux/squeak Contents/Resources/pharo.image<br>
<br>
crashes immediately (with or without the -vm-display-X11 option). This is on latest Fedora 14. The old VM seems to have no problem when I try to run it the same way:<br>
<br>
Contents/Linux/squeakvm Contents/Resources/pharo.image<br>
<br>
seems to start just fine. I can copy the stack dump from the crash, but since most seem to be running fine, I suspect I'm just not doing it right. What am I missing ?<br>
<br>
Thanks,<br>
<br>
Martin<br>
<div class="im"><br>
"Eliot Miranda"<<a href="mailto:eliot.miranda@gmail.com">eliot.miranda@gmail.com</a>> wrote:<br>
</div><div class="im">> there are new versions of both the SimpleStackBasedCogit and the<br>
> StackToRegisterMappingCogit Cog VMs in<br>
</div>> VM.r2339/<<a href="http://www.mirandabanda.org/files/Cog/VM/VM.r2339/" target="_blank">http://www.mirandabanda.org/files/Cog/VM/VM.r2339/</a>><br>
> & VM.r2340/ <<a href="http://www.mirandabanda.org/files/Cog/VM/VM.r2340/" target="_blank">http://www.mirandabanda.org/files/Cog/VM/VM.r2340/</a>> respectively.<br>
<div><div></div><div class="h5">> These contain fixes for rounding bug causing underestimate of openPICSize<br>
> and resultant hard crashes, seen e.g. by trying to recover lost changes in a<br>
> Pharo 1.2 image installed on c:\pharo. If you're trying to reproduce Cog<br>
> crashes please upgrade to one of tthese two VMs.<br>
<br>
</div></div></blockquote></div><br></div>