Kevin Curry (curry++at++ccpo.odu.edu)
Sat, 06 Nov 1999 22:58:12 -0500
I'm using the "allocate shared data between pfInit and pfConfig and use
global reference" method to create a shared scene pointer (ala the
page.c example). I realize that this isn't the best method, but under
these circumstances, is there anything peculiar about calling the find
method on the shared scene, from the dbfunc, that would cause my program
to crash?
Using bufferAddChild and merge, I can *arbitrarily* attach sub graphs to
the shared scene from inside the dbfunc with no problem. As soon I
called m_shared->scene->find(...), to attach to a *particular* node, my
forked DBASE process dies.
I could see where I might not be searching the most up-to-date scene
graph and would fail to find the node, but a crash?! (I'm definitely
NOT deleting the scene pointer.)
Any feedback is appreciated. If you don't mind, reply to the list and
to me directly b/c I only get the digest.
Thanks,
Kevin
-- Kevin M. Curry - http://www.ccpo.odu.edu/~curry Research Associate, Virtual Environments Laboratory Old Dominion University Research Foundation 757-683-6276 (work)
This archive was generated by hypermail 2.0b2 on Sat Nov 06 1999 - 19:56:00 PST