Newsgroups: comp.lang.smalltalk
Path: cantaloupe.srv.cs.cmu.edu!das-news2.harvard.edu!news2.near.net!howland.reston.ans.net!news.sprintlink.net!EU.net!Austria.EU.net!siemens.co.at!news
From: paul@garwein.hai.siemens.co.at (Paul Ivancsics)
Subject: Re: BOSS Problem
Sender: news@siemens.co.at (Newssoftware)
Message-ID: <1995Feb14.190630.5066@siemens.co.at>
Date: Tue, 14 Feb 1995 19:06:30 GMT
Reply-To: paul@garwein.hai.siemens.co.at
References: <3h4la3$mem@neptune.ethz.ch>
Nntp-Posting-Host: garwein.hai.siemens-austria
Organization: Siemens AG Austria EZE TNA1
Lines: 30

In article <3h4la3$mem@neptune.ethz.ch>, rhofmann@iiic.ethz.ch (Raymond Eduard Hofmann) writes:
> I am trying to use BOSS (VW1.0) for the following recursive structure:
> Dictionray d contains object o, with an instance variable of o referring 
> to that same dictionary d. BOSS crashes when I try to read this back into
> main memory (Array does not understand: #<=). Any suggestions on what the
> problem might be and how to avoid it? 
> The same thing seems to work if o is not in a dictionary, but in some other
> collection other than a set...
> 

Sounds like the 'known bug' of BOSS in case of 'hashed collections with self
-referential elements'. Occurs when a Dictionary or Set contains objects which
'point to' other objects 'pointing back' to them.

Your descriptions seems to be a variation of that.

This bug has been built into BOSS since OW 4.0, and we had to (and have to)
work around it by converting Dictionaries into OrderedCollections before 
BOSS-ing out and converting back after BOSS-ing in.

paul


-- 
Paul Ivancsics                E-Mail: paul@garwein.hai.siemens.co.at
Siemens AG Austria, EZE TNA1  Tel:    +43 / 1 71711 5729
Erdberger Laende 26           Fax:    +43 / 1 71711 5425
A-1030 Wien


