PPS: [FIX][OSProcess][Unix][VMMaker] OSProcessFix-sr v2.0
Stephan Rudlof
sr at evolgo.de
Wed Mar 13 01:42:51 UTC 2002
Dear David,
I have *very* good news!
CommandShellV3-0 works now!
If I type in an unknown command:
$ ll
ll: No such file or directory
I have come to this result by incident: I was wondering why the *.image
files are made executable and tried to execute one directly. And wonder: it
works!
It uses the same VM, but without some flags of my personal start script:
sr at karl:~/Squeak/work$ cat `which mySqueak`
#!/bin/bash
SqueakProg=/usr/local/lib/squeak/3.2-4743/squeak
SqueakDir=~/Squeak/work
if [ $# = 0 ]; then
SqueakImage=blocks.image
else
SqueakImage=$1
fi
cd $SqueakDir
exec $SqueakProg -memory 64m -xshm -nojit $SqueakImage
OK, let's try the same script, but without '-xshm':
Voila: this works!
Reason for bug found! (Don't know what it is though...)
Greetings,
Stephan
Stephan Rudlof wrote:
<snipped>
> But CommandShellV3-0 *crashes* for me for *unknown* Unix commands as stated
> before for CommandShellV1-6:
>
> sr at karl:~/Squeak/work$ mySqueak standardVM
> ioLoadModule(UnixOSProcessPlugin): UnixOSProcessPlugin: cannot open shared
> objec
> t file: No such file or directory
>
> Segmentation fault
>
> 1095321844 DisplayScreen>forceToScreen:
> 1095321752 [] in DisplayScreen>forceDamageToScreen:
> 1095321292 OrderedCollection>do:
> 1095321168 DisplayScreen>forceDamageToScreen:
> 1095321076 WorldState>forceDamageToScreen:
> 1095173560 WorldState>displayWorld:submorphs:
> 1095173468 PasteUpMorph>privateOuterDisplayWorld
> 1095173376 PasteUpMorph>displayWorld
> 1095172916 [] in WorldState>displayWorldSafely:
> 1095173100 BlockContext>on:do:
> 1095172824 BlockContext>ifError:
> 1095172732 WorldState>displayWorldSafely:
> 1095172640 PasteUpMorph>displayWorldSafely
> 1095172548 Morph>refreshWorld
> 1095160668 PluggableTextMorph>update:
> 1095160576 ShellWindowMorph>update:
> 1095160760 [] in Object>changed:
> 1095160484 DependentsArray>do:
> 1095160392 Object>changed:
> 1095160300 CommandShell>endEntry
> 1095160172 CommandShell>show:
> 1095159896 [] in CommandShell>processError:count:
> 1095159988 [] in Semaphore>critical:
> 1095159804 BlockContext>ensure:
> 1095159712 Semaphore>critical:
> 1095159620 CommandShell>processError:count:
> 1095158408 CommandShell>runProxy:signaling:
> 1095158316 CommandShell>foreground:signaling:
> 1095062568 CommandShell>doCommandsInString:ifTrue:
> 1095062172 [] in CommandShell>doCommandsInString:
> 1095062448 [] in BlockContext>newProcess
>
> Just to notify you: for me currently it is important that OSProcess
> works..., and this works well!
>
> Thanks for your work,
>
> Greetings,
>
> Stephan
>
> Stephan Rudlof wrote:
> >
> > Needed for me to get UnixOSProcessPlugin compiled by postscript...
> > Should work as it is and incrementally to OSProcessFix-sr v1.1.
> >
> > "Change Set: OSProcessFix-sr v2.0
> > Date: 12 March 2002
> > Author: Stephan Rudlof
> > Preconditions: Squeak3.2gamma#4743,
> > VMMaker-3-2-version5.5, OSProcessV3-0-dtl
> >
> > History:
> > v2.0 upgraded for OSProcessV3-0-dtl;
> > added: >>translateDoInlining:, removed: >>sandboxSecurity
> > v1.1 UnixOSProcessPlugin>>sandboxSecurity always returns 0 for no security
> > to be compatible with actual VMSources (don't know where exactly the
> > incompatibility has arosen).
> > v1.0 To work with VMMaker-3-2-version5.5, OSProcessV2-7 needs this fix.
> > Otherwise the postscript doesn't work.
> > "
> > --
> > Stephan Rudlof (sr at evolgo.de)
> > "Genius doesn't work on an assembly line basis.
> > You can't simply say, 'Today I will be brilliant.'"
> > -- Kirk, "The Ultimate Computer", stardate 4731.3
> >
> > ----------------------------------------------------------------------------
> > Name: OSProcessFix-sr.3.cs.gz
> > OSProcessFix-sr.3.cs.gz Type: application/x-gunzip
> > Encoding: base64
>
> --
> Stephan Rudlof (sr at evolgo.de)
> "Genius doesn't work on an assembly line basis.
> You can't simply say, 'Today I will be brilliant.'"
> -- Kirk, "The Ultimate Computer", stardate 4731.3
--
Stephan Rudlof (sr at evolgo.de)
"Genius doesn't work on an assembly line basis.
You can't simply say, 'Today I will be brilliant.'"
-- Kirk, "The Ultimate Computer", stardate 4731.3
More information about the Squeak-dev
mailing list
|