Re: pfUserData woes

New Message Reply Date view Thread view Subject view Author view

John Rohlf (jrohlf++at++tubes)
Sat, 10 Jun 95 11:58:49 PDT


>
>
> Hello,
>
> This is either a Performer or MultiGen Loader question so this seemed to be the
> best place to post this. This question has to do with pfUserData and any
> potential gotchas it may present. I have an application that sets pfUserData
> of various Groups and Objects from within a loader callback. The pointers
> passed to pfUserData are not pfMalloc'ed and are not from any shared arena.
> Problem is when I run MP the application dies inside the loader. When I force
> run my application in single process mode everything works fine. The program
> quits - no core dump - no message - NOTHING. I figured things were going
> astray in my callback but no that's not the problem either (I think). The
> application quits outside of my callback and in the loader somewhere. Now,
> when I remove the pfUserData call in my callback and run in MP mode everything
> works fine. My feeling is there is something building up before it dies(?).
> Man pages on pfUserData are pretty straightforward - nothing special there.
> The data is only accessed from the APP process so it shouldn't have to come
> from an arena (right?)
>
> Question:
>
> Is there something not obvious I should watch for when using pfUserData in MP
> mode?
>
> <MultiGen> Is there some loader weirdness I should take into consideration?
>
>
> Any thoughts, suggestions or experiences are welcome.
>
> Scott
>
>
> --
> Scott A. Friedman UCLA Department of Architecture + Urban Design
> Lecturer Department of Computer Science
>
>

        Can you try with pfMalloc'ed user data?


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:51:35 PDT

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