Re: Trap when browsing

gruntz@oberon.ch
Fri, 9 Aug 1996 13:40:59 +0200

> Hello all,
> I keep getting a trap when searching the documentation for
> a string (Info->Search In Docu). It is from a text ruler
> type guard. Here is the first part of the trap:
> ==========================================================
> type guard
>
> TextRulers.Ruler.Internalize [0000211AH]
> .r TextRulers.Ruler [01436D34H]
> .rd Stores.Reader efieldsN
> .st Stores.Store [01436D84H]
> .thisVersion SHORTINT 0
> TextRulers.StdRuler.Internalize [00006709H]
> .r TextRulers.StdRuler [01436D34H]
> .rd Stores.Reader fields
> .thisVersion SHORTINT -98
> Stores.Reader.ReadStore [00002D8DH] ^
> .a Stores.Alien NIL
> etc.
> ==========================================================
> I also get the same trap when i try to open a Docu document
> that I got from Grunz. I was hoping update 1.2.1 would fix
> the problem, but it did not. I have a PowerMac. Anyone else
> have this problem or know about it?

You get this trap when you open one particular file or when
SearchInDocu tries to open the file. The problem is that this file
does not have a proper format. Part of the ruler was not externalized.
The reason was that a domain was not properly initialized, and upon
externalization references to other domains are cut off. The new
version fixes this problem in issuing a trap upon externalization if
an object does not belong to the domain which is currently
externalized.

The reason for this problem could be an imcomplete implementation
of a wrapper which does not implement the InitDomain method
properly.

- Dominik

====================================================================
Dominik Gruntz Oberon microsystems, Inc.
gruntz@oberon.ch Technoparkstrasse 1
voice ++41-1-445-1751 CH-8005 Zurich
fax ++41-1-445-1752 http://www.oberon.ch/customers/omi
====================================================================