OSProcess bug (was: [ANN] DVS rev. 1.28)

David T. Lewis lewis at mail.msen.com
Sun Oct 20 14:25:21 UTC 2002


On Sat, Oct 19, 2002 at 05:12:04PM -0700, Ned Konz wrote:
> On Saturday 19 October 2002 02:50 pm, David T. Lewis wrote:
> > On Fri, Oct 18, 2002 at 10:50:12PM -0700, Ned Konz wrote:
> > > * How is all this tied in with CVS via OSProcess? I can't get
> > > this to work (well, part of it is that CommandShell segfaults
> > > Squeak...)
> >
> > urk. Can you tell me what's segfaulting? (what OS, Squeak version,
> > etc)
> 
> Squeak 3.2-5 VM (latest) from Ian's site.
> 
> Linux (redhat 7.3 2.4.19 kernel).
> 
> Squeak 3.2 stock.

Ah, the -xshm bug.

I just tried installing Ian's 3.2-5 distribution, and installed it
in the /usr/local directories with the INSTALL script (I don't usually
bother with this). I started with a 3.2 image, loaded OSProcess and
CommandShell, and all seems well on my system.

The only problem I see is that the UnixOSProcessPlugin.so from Ian's
distribution is at version 3.0, and thus does not contain a fix for
-xshm handling which I added in version 3.0.1. The current version
(since June 2002) is 3.0.2.

If you are using -xshm, then building a new UnixOSProcessPlugin.so
should take care of the problem. Obviously, the workaround is to not
use -xshm until you have the new plugin.

- Dave

The following is copied from a CommandShell window in the test image
which I just tried:

$ OSProcess versionInformation
#('OSProcess version 3.0.2' 'CommandShell version 3.0' 'OSProcessPlugin: Squeak3.2gamma of 15 January 2002 [latest update: #4881] with UnixOSProcessPlugin version 3.0.2 using concrete class UnixOSProcessPluginNoThisSessionAvailable, part of OSProcess version 3.0.2, running on linux-gnu unix VM with UnixOSProcessPlugin 8 July 2002 (e) plugin version 3.0 (plugin does not match class in image)')
$ uname -a
Linux dtlewis 2.2.13 #14 Fri Dec 22 16:26:47 EST 2000 i686 unknown
$ cat /proc/version
Linux version 2.2.13 (root at dtlewis) (gcc version egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)) #14 Fri Dec 22 16:26:47 EST 2000
$ 
 



More information about the Squeak-dev mailing list