[Vm-dev] Any patch for InterpreterSimulator
reefedjib at yahoo.com
Thu Oct 25 05:17:50 UTC 2007
Thanks, John. I fixed this in ObjectMemory>>#initializeObjectMemory:, since
I figured it belonged there more than in the Interpreter. On running
further, I also had to add fixes to the following, all switching from
Smalltalk to SmalltalkImage current:
Then I hit FilePluginSimulator>>#primitiveFileRead. This gets its file
file := self fileValueOf: (interpreterProxy stackValue: 3).
where the stackValue is 20, which is not an integer object and the file is
nil. It's beyond me.
How can I report these to Mantis. Is there a website for it?
----- Original Message -----
From: "John M McIntosh" <johnmci at smalltalkconsulting.com>
To: "Squeak Virtual Machine Development Discussion"
<vm-dev at lists.squeakfoundation.org>
Sent: Wednesday, October 24, 2007 7:20 PM
Subject: Re: [Vm-dev] Any patch for InterpreterSimulator
> >* primitiveSetGCSemaphore: Indicates a semaphore (index) to be
> signaled whenever a garbage collection occurs.
> it should have a value of zero if it's not used. Obviously in C that's
> zero by the magic of auto-initialization of that C variable, and so the
> code runs without care, but in Smalltalk it's nil and you die.
> I'd make a mantis report and supply a patch to initialize the value
> explicitly in the interpreter startup code initializeInterpreter: so that
> the simulator will run.
> On Oct 24, 2007, at 7:09 PM, Rob Withers wrote:
>> My first post on this list, and it may not be my last. I am trying to
>> run the InterpreterSimulator adn am having issues. Mathieu Suen
>> mentioned this list and that there may be a patch for it. Does anyone
>> know of a patch?
>> My current issue is: In postGCAction, the gcSemaphoreIndex is nil,
>> which blows up in signalSemaphoreWithIndex:. Trying to be a bit more
>> sufficient, I put a halt in primitiveSetGCSemaphore and reran it, but it
>> never breaks, so it never seems to get set. Full stop.
>> thank you,
> John M. McIntosh <johnmci at smalltalkconsulting.com>
> Corporate Smalltalk Consulting Ltd. http://www.smalltalkconsulting.com
More information about the Vm-dev