On Tue, Jul 7, 2009 at 10:04 PM, Andreas Raab <andreas.raab@gmx.de> wrote:
Mariano Martinez Peck wrote:
Andreas: can you see new comments here: http://code.google.com/p/pharo/issues/detail?id=908
What do you think?
Close, but not quite right ;-) The problem with your theory is that Smalltalk recreateSpecialObjectsArray is specifically called from a postscript in FFI-Kernel so there shouldn't be a problem with it.
Unless of course there is something wrong with Monticello in Pharo ... let me see. Yup. Looks like that's it. I just added a halt to recreateSpecialObjectsArray then used ScriptLoader loadFFI and it's just not being called.
It would be interesting to see if the postscript is executed when you load the FFI on your Unix machine (the one where you said it didn't crash).
Thanks Andreas. I tried in Linux and recreateSpecialObjectsArray is not called when evaluating ScriptLoader loadFFI. I attach 3 files: - FFIFirstTime.png The results of FFI tests after evaluating ScriptLoader loadFFI - FFISecondTime.png The results of executing again FFI tests - FFIAfterRecreate: The results of executing the test after evaluating recreateSpecialObjectsArray (manually). Any idea? Cheers, Mariano
In any case, looks like I was right and it isn't an FFI problem but rather a problem with Monticello. The workaround with the explicit recreateSpecialObjectsArray will work but of course any other packages that use postscripts will likely have similar issues.
Cheers, - Andreas