3.6g VM on FreeBSD 5.1

David T. Lewis lewis at mail.msen.com
Wed Sep 24 01:07:24 UTC 2003


On Tue, Sep 23, 2003 at 03:28:43PM -0600, Brian Brown wrote:
> Greetings all!
> 
> I downloaded and compiled the source from Ian's excellent site, and all 
> has gone well. Running inisqueak works flawlessly, and with one 
> exception, my images are opening and working well.
> 
> The exception is an older image from the ComSwiki bundle from the 
> Squeak Wiki. I was using as recently as 3.6 beta 3, which I compiled, 
> but under FreeBSD 4.8. When I try to run that now, I get a Segmentation 
> Fault and a core file.
> 
> I'm not sure, but the ComSwiki distro might be a 3.2 image, although 
> that shouldn't matter, should it?
> 
> Any ideas on steps I can take to troubleshoot the issue?

You are compiling from source, so it's easy to run the VM under a gdb
debugger. When you get to the place where it core dumps, you'll be back
in the debugger and you can figure out from there what blew up. Most
likely it will be some plugin that you can temporarily remove while
you bring your image back to life.

For example:

  $ gdb squeak
  GNU gdb 4.18
  Copyright 1998 Free Software Foundation, Inc.
  GDB is free software, covered by the GNU General Public License, and you are
  welcome to change it and/or distribute copies of it under certain conditions.
  Type "show copying" to see the conditions.
  There is absolutely no warranty for GDB.  Type "show warranty" for details.
  This GDB was configured as "i386-suse-linux-gnu"...
  (gdb) set args squeak.image 
  (gdb) run

<image starts up and the VM crashes>

  (gdb> bt

<stack trace that will tell you more or less where you crashed and burned>
When doing this, you can run the VM from your ./build directory, and just
make some symlinks to the images, changes, and sources files. That way the
debugger can figure out where the C source files are and give you some kind
of useful hints as to what's going on (sorry I'm no gdb expert, but this
works for me).

- Dave



More information about the Squeak-dev mailing list