malloc troubles

New Message Reply Date view Thread view Subject view Author view

Raoul Becke (rbecke++at++datacomm.ch)
Thu, 10 Sep 1998 09:19:28 +0200


Hi everyone,
from time to time my application crashes when I'm allocating memory with
new or malloc. I could alleviate this trouble by invoking
pfSharedArenaBase((void*)0x18000000)) at the beginning of my program (as
written in known problems and workarounds at
http://www.sgi.com/Technology/Performer/relnotes2.2.html).

Although my program still crashes in the malloc() process as the
debugger showed me. This trouble I could fix temporarily by moving the
responsible member variable out of the class declaration into the method
where it is used. This solution isn't very satisfying so: Does anyone
know a solution to this problem or can tell me where to find one?

Thanx for your help
Raoul

PS: I've also tried using other shared arena addresses than 0x18000000
but it didn't work.

--
/*****************************************************************************/
/*Raoul Becke                                                                */
/*Baltenschwilerstr. 52                                                      */
/*8962 Bergdietikon                                                          */
/*e-mail rbecke++at++datacomm.ch (at home)                                        */
/*e-mail rbecke++at++iiic.ethz.ch (at the ETH Zuerich)                            */
/*****************************************************************************/

New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Thu Sep 10 1998 - 00:18:43 PDT

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