Bruno Rassaerts (brassaer++at++luc.ac.be)
Tue, 27 May 1997 09:37:55 +0000
> I am having again trouble with the shared memory.
> I have an application with mutiple processes, namely an application process
> that spawns a database process. In the database process various structures are
> allocated from the shared arena using pfMalloc(..., pfGetSharedArena()).
> Yet when the app. process attempts to access a particular variable it is
> undefined and the application crashes.
Just a wild guess...
How do you declare the variable? Is it inside a structure that was
pfMalloc'ed before you spawned the database process ? If not this
is normal behavior: The variable will point to the right address in
the database process but will still point to something random in the
application process (unless you write nice programs and initialized the
pointer to NULL)
Bruno
--
// Bruno Rassaerts - EDM (Expertisecentrum Digitale Media)
('> Wetenschapspark 2 - B-3590 Diepenbeek - Tel: +32-(0)11268424
/rr Fax: +32-(0)11269400 - eMail: brassaer++at++luc.ac.be
*\))_ URL: http://www.luc.ac.be/~brassaer/
=======================================================================
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:55:18 PDT