Path: news.cs.au.dk!not-for-mail From: datpete@mjolner.dk Newsgroups: comp.lang.beta Subject: Re: What leads to "Surrounding object damaged!" Date: 19 May 1999 09:13:12 -0000 Organization: Mjolner Informatics ApS Lines: 45 Approved: mailtonews@cs.au.dk Distribution: world Message-ID: <19990519091312.265.qmail@noatun.mjolner.dk> Reply-To: datpete@mjolner.dk NNTP-Posting-Host: daimi.cs.au.dk X-Trace: xinwen.cs.au.dk 927105216 3312905 255.255.255.255 (19 May 1999 09:13:36 GMT) X-Complaints-To: news@cs.au.dk NNTP-Posting-Date: 19 May 1999 09:13:36 GMT Xref: news.cs.au.dk comp.lang.beta:11950 Holger Tuerk writes: > > Hello, > > our guienv-program heavily uses pixmaps, which are to be read into > memory on startup. However, readXPMfile refuses to load all the XPM > files. Strangely, it always fails on the 59th file (There ist nothing > special with it. It can be interchanged without any effect.). > The program crashes and this dump file is generated: > .... > > > Now I am wondering, what circumstances could have led to this > malfunction: > item <*> in ~beta/guienv/v1.6/private/X11/pixmapbody > -- Surrounding object (0x27cca8) damaged! > > Can someone help me? Don't worry about that. This is caused by the construct -- pixMapRead: doPart -- do l: (# expandedName: ^text; format: @integer; msg: ^text; do name[] -> expandPixmapName ..... which the stack dumper did not handle correctly in your version of the system. That is only an error in the dump. About the ReadXPM error: Did your program print any diagnostics to the console? Sincerely, Peter Andersen, Mjolner Informatics