Re: pfBuffer anomaly

New Message Reply Date view Thread view Subject view Author view

John Rohlf (jrohlf++at++tubes)
Tue, 20 Feb 96 9:30:39 PST


>
>
>
>
> Fellow info-performers,
>
> I too am having troubles with pfBuffer/pfDBase.
> I am successfully able to add a number of Inventor objects to my scene
> using a pfDBase process taking the precautions mentioned previously in
> info-performer. My problem occurs when I use pfNode::setUserData() in the APP
> process on a seemingly successfully merged pfNode that has been created in the
> DBASE process. My program cores with the following dump:
>
> > 0 pfMemory::getMemory(const void*)(0x10041bc0, 0x5be4088c, 0x65, 0x65) ["../../../lib/libpr/pfMemory.C":834, 0x5ae5889c]
> 1 pfMemory::ref(void*)(0x10041bc0, 0x5be4088c, 0x65, 0x65) ["../../../lib/libpr/pfMemory.C":718, 0x5ae6f9c0]
> 2 pfObject::setUserData(void*)(0x181d5e10, 0x10041bc0, 0x65, 0x65) ["../../../lib/libpr/pfObject.C":213, 0x5af4fcb0]
> 3 pfUpdatable::pf_applyUpdate(const pfUpdatable*,int)(0x181d5e10, 0x181d7480, 0x65, 0x65) ["../../../lib/libpf/pfUpdatable.C":112, 0x5af13f28]
> 4 pfNode::pf_applyUpdate(const pfUpdatable*,int)(0x10041bc0, 0x181d7480, 0x65, 0x70) ["../../../lib/libpf/pfNode.C":170, 0x5ae7ccfc]
> 5 pfGeode::pf_applyUpdate(const pfUpdatable*,int)(0x181d5e10, 0x5be4088c, 0x65, 0x65) ["../../../lib/libpf/pfGeode.C":102, 0x5aec3c74]
> 6 pfBuffer::pf_propagateUpdates(pfBuffer*,int)(0x18083800, 0x18076410, 0x0, 0x65) ["../../../lib/libpf/pfBuffer.C":229, 0x5ae68dc4]
> 7 beginForkedCull(void)(0x10041bc0, 0x5be4088c, 0x65, 0x65) ["../../../lib/libpf/pfProcess.C":3473, 0x5ae74f80]
> 8 mpCull(void)(0x10041bc0, 0x5be4088c, 0x65, 0x65) ["../../../lib/libpf/pfProcess.C":3551, 0x5ae7ad70]
> 9 pfConfig(0x10041bc0, 0x180773a0, 0x0, 0x65) ["../../../lib/libpf/pfProcess.C":1630, 0x5aea9378]
> 10 vdeApp::doit(int,char**)(this = 0x10007f28, argc = 2, argv = 0x7fffaf04) ["/lfs/smokey/uf1/sakai/vde075/src/app/app.cc":101, 0x40cfe0]
> 11 main(argc = 2, argv = 0x7fffaf04) ["/lfs/smokey/uf1/sakai/vde075/src/vde.cc":18, 0x40c740]
> 12 __start() ["crt1text.s":133, 0x40c4dc]
>
> Other than the call to pfBuffer::merge() in my pfDBaseFunc, what else do I
> have to do in order to modify the pfNode's data in my APP process? Or is this
> another one of pfBuffer's problems? I have been fighting this thing for
> a while. Any help would be greatly appeciated.
>

        Make sure that the user data you are attaching is
        pfMalloc'ed and not a node or other Performer object.


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:52:26 PDT

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