Greetings all,
I've encountered some anomalous behavior between windows and Mac OS X with regards to updating SM - using a fully updated 3.8 image on windows, the "update map from net" works fine. On my Mac, a fully updated 3.8 results in "A primitive has failed" after the "Reading a Stream" progress indicator comes up.
I tried SMSqueakMap default loadUpdates, and it popped a debugger, failing in ImageSegment>>reshapeClasses:refStream as it tries to Array>>elementsForwardIdentityTo:
that is where the Error: a primitive has failed happens.
Any ideas about how to solve this?
Thanks!
Brian
P.S. Attached is the SqueakDebug.log
So which Mac VM is this? Image: Squeak3.8gamma [latest update: #6662]
I see it fails in Array>>elementsForwardIdentityTo: which invokes become and we have altered become lately in the mac carbon vm to fix some crashes.
On Apr 29, 2005, at 9:23 AM, Brian Brown wrote:
Greetings all,
I've encountered some anomalous behavior between windows and Mac OS X with regards to updating SM - using a fully updated 3.8 image on windows, the "update map from net" works fine. On my Mac, a fully updated 3.8 results in "A primitive has failed" after the "Reading a Stream" progress indicator comes up.
I tried SMSqueakMap default loadUpdates, and it popped a debugger, failing in ImageSegment>>reshapeClasses:refStream as it tries to Array>>elementsForwardIdentityTo:
that is where the Error: a primitive has failed happens.
Any ideas about how to solve this?
Thanks!
Brian
P.S. Attached is the SqueakDebug.log
<SqueakDebug.log>
-- ======================================================================== === John M. McIntosh johnmci@smalltalkconsulting.com 1-800-477-2659 Corporate Smalltalk Consulting Ltd. http://www.smalltalkconsulting.com ======================================================================== ===
I see the same thing under both the unix vm (3.3-7) and the mac vm (3.8.6Beta6) on a mac. I haven't tried updating the map under windows. It works out of the box, but somewhere during updates and installation of other packages, or maybe simply a restart, it stops working at described.
Brian.
On Apr 29, 2005, at 12:53 PM, John M McIntosh wrote:
So which Mac VM is this? Image: Squeak3.8gamma [latest update: #6662]
I see it fails in Array>>elementsForwardIdentityTo: which invokes become and we have altered become lately in the mac carbon vm to fix some crashes.
On Apr 29, 2005, at 9:23 AM, Brian Brown wrote:
Greetings all,
I've encountered some anomalous behavior between windows and Mac OS X with regards to updating SM - using a fully updated 3.8 image on windows, the "update map from net" works fine. On my Mac, a fully updated 3.8 results in "A primitive has failed" after the "Reading a Stream" progress indicator comes up.
I tried SMSqueakMap default loadUpdates, and it popped a debugger, failing in ImageSegment>>reshapeClasses:refStream as it tries to Array>>elementsForwardIdentityTo:
that is where the Error: a primitive has failed happens.
Any ideas about how to solve this?
Thanks!
Brian
P.S. Attached is the SqueakDebug.log
<SqueakDebug.log>
--
==== John M. McIntosh johnmci@smalltalkconsulting.com 1-800-477-2659 Corporate Smalltalk Consulting Ltd. http://www.smalltalkconsulting.com ======================================================================= ====
John M McIntosh johnmci@smalltalkconsulting.com wrote:
So which Mac VM is this? Image: Squeak3.8gamma [latest update: #6662]
I see it fails in Array>>elementsForwardIdentityTo: which invokes become and we have altered become lately in the mac carbon vm to fix some crashes.
Users need to be running on a 3.7b6 or newer, or a 3.8b3 or newer VM to avoid this. There are still plausible cases where become will fail - the way become'ing is done means that if the same object is referred to twice in the source or target arrays of the become then the headers can be corrupted. The image code would need changing to avoid this.
tim -- Tim Rowledge, tim@sumeru.stanford.edu, http://sumeru.stanford.edu/tim After a number of decimal places, nobody gives a damn.
I updated to the 3.8.6beta6 vm for the Mac and everything works well now :-)
thanks John and Tim.
Brian
On Apr 29, 2005, at 1:51 PM, Tim Rowledge wrote:
John M McIntosh johnmci@smalltalkconsulting.com wrote:
So which Mac VM is this? Image: Squeak3.8gamma [latest update: #6662]
I see it fails in Array>>elementsForwardIdentityTo: which invokes become and we have altered become lately in the mac carbon vm to fix some crashes.
Users need to be running on a 3.7b6 or newer, or a 3.8b3 or newer VM to avoid this. There are still plausible cases where become will fail - the way become'ing is done means that if the same object is referred to twice in the source or target arrays of the become then the headers can be corrupted. The image code would need changing to avoid this.
tim
Tim Rowledge, tim@sumeru.stanford.edu, http://sumeru.stanford.edu/tim After a number of decimal places, nobody gives a damn.
squeak-dev@lists.squeakfoundation.org