Fred Clyne (rock.csd.sgi.com!sgi.com!uunet.uu.net!ds9!octave!fred)
Wed, 8 Jan 1997 13:04:29 -0500
>From the Performer 2.2 Beta Release Notes:
o 6.2 OS bug with shared arena placement
An obscure bug in IRIX 65.2 with default placement of the shared arena
can cause programs to die due to lack of heap space for malloc.
Typcially the program will die during X or GL initialization with
a message like [what you stated above].
WAR: through the environment variable PFSHAREDBASE or in with
pfSharedArenaBase() before pfInit(), explicitly set the address of the
arena so that it is not too close to the heap and does not collide
with other DSOs. An address that has worked with programs exhibiting
the problem that are very close to perfly is: 0x18000000.
ex: pfSharedArenaBase(0x18000000); or
setenv PFSHAREDBASE 0x18000000
If this address is not sufficient, run again with par [they had an
example earlier: par -s -i -SS prog options] and the following
environment variables set:
setenv _RLD_PATH /usr/lib/rld.debug; setenv _RLD_ARGS -v
and redirect all output to a file. Look for the addresses of the
mmap() calls and of address of DSO load actions to find a free
address range in which to place the arena. Compiling with some
libraries statically can make this operation easier.
Whew! I hope I don't run into this bug. Hope this helps.
--Fred Clyne
Cambridge Research Associates office: 703-790-0505 x 7211 1430 Spring Hill Road, Suite 200 fax: 703-790-0370 McLean, VA 22102 email: fred++at++cambridge.com
======================================================================= List Archives, FAQ, FTP: http://www.sgi.com/Technology/Performer/ Submissions: info-performer++at++sgi.com Admin. requests: info-performer-request++at++sgi.com
This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:54:17 PDT