RE: Bug in ilgettile.c

New Message Reply Date view Thread view Subject view Author view

Shahram Shiri (ron++at++miniator.gsfc.nasa.gov)
Wed, 7 Sep 1994 17:11:00 -0400


>Fellow Performers:
>
>We have run into a bug in libpfsgi/ilgettile.c (Perf 1.2)
>that causes a bus error. Perhaps this is a well-known problem?
>
>Whenever LoadPtu() is called over 50 times, the static buffer Images[100]
>in ilgettile.c overflows, corrupting other memory. There are two oversights
>in the code that contribute to the bug:
>
>

        Back in the middle of August, I posted a bug report to the net in
regard to the .ptu file crashes on Onyx machines. It is similar to the problem
you described on your posting.

        I get the core dump of running perfly only on Onyx. When I try to run
the same .ptu file on an Indigo-2, it works fine. Of course, I have not tried
to load multiples of the perfly on Indigo-2 and I am not surprised if it
crashes.

        I reported the bug to sgi hotline back in August 18, too. No responses
from sgi, yet. It looks to me the problem is in ImageVision Library where
ilgettile() calls ilMemoryImgImg() function from IL. As you noted, the pointer
to the memory location is lost. I have seen similar postings on lost memory
pointers attributing to the memory allocation by IL functions.

        Are you able to run the program on Onyx? We tested the program on three
different Onyxes with no luck.

-Ron

-- 
-------------------------------------------------------------------------
|Shahram Shiri/ ron++at++leaf.gsfc.nasa.gov		Tel: 301-286-9985	|
|NCCS/Scientific Visualization Studio		Fax: 301-286-1634	|
|NASA/Goddard Space Flight Center, Hughes/STX				|
|Greenbelt, Maryland 20771						|
-------------------------------------------------------------------------

New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:50:32 PDT

This message has been cleansed for anti-spam protection. Replace '++at++' in any mail addresses with the '@' symbol.