Bounding box woes....

New Message Reply Date view Thread view Subject view Author view

Robert Webb (robertw++at++wormald.COM.AU)
Mon, 22 Jan 1996 18:02:46 +1100 (EST)


Hi guys,

I'm having endless trouble trying to track down a core dump in my Performer
application. It's been doing this ever since we received our first beta
release of Performer 2.0. The stack trace looks like this:

> 0 pfGeoSet::pr_computeBBox()(0x25491000, 0x117124f, 0x117124e, 0xc, 0x5e0e9bb0) ["../../../lib/libpr/pfGeoSet.C":2023, 0x5d12f33c]
   1 pfGeoSet::getBound(pfBox*)(0x182c4de0, 0x7fffa398, 0x117124e, 0xc, 0x0) ["../../../lib/libpr/pfGeoSet.C":1389, 0x5d146034]
   2 pfGeode::nb_clean(int)(0x5e0e9bb0, 0x5100, 0x117124e, 0xc, 0x5e0e9bb0) ["../../../lib/libpf/pfGeode.C":137, 0x5d12b7d8]
   3 pfBuffer::pf_prepareNewUpdatables(int)(0x5e0e9bb0, 0x0, 0x117124e, 0xc, 0x3eaf1d43) ["../../../lib/libpf/pfBuffer.C":752, 0x5d182504]
   4 pfSync(0x5e0e9bb0, 0x0, 0x117124e, 0xc, 0x7fffac80) ["../../../lib/libpf/pfProcess.C":2073, 0x5d1caddc]
   5 main(argc = 12, argv = 0x7fffaed4) ["main.c":419, 0x430fb0]

I don't even know why pr_computeBBox() should ever end up being called since
this is the only code I use relating to the bounding box of the geoset in
question:

    pfGSetBBox(gset, NULL, PFBOUND_STATIC);
    pfNodeBSphere(geode, NULL, PFBOUND_DYNAMIC);

Since I use PFBOUND_STATIC, the bounding box should not be computed again
should it? I have also tried calculating the bounding box myself and
passing it in explicitly (instead of using NULL in the bbox argument), but
it makes no difference.

It seems also that before it core dumps, the visuals freeze, and gr_osview
shows the "user" part of the "Memory:" bar filling up all the free space. I
have to wait a fair time then for the core dump to occur, during which mouse
focus is dead slow.

So why does pr_computeBBox() get called, and why should it core dump?

Thanks,
Rob.
 ____________________________________________________________________________
| ""--..__---....__ |
| _ "-._--,_ """"---...__ |
| |_) _ |_ _ ._ _|_ \ / _ |_ |_ "-. """--.._ ""--.|
| | \(_)|_)(/_| |_ \/\/ (/_|_)|_)o "-.--._ "-._ |
| "-. "-. "-._ |
| robertw++at++wormald.com.au ", "-. `.|
| ', "-_ |
| ', `. |
| "You don't have to put on clothes, ', `|
| Nobody has to hide, ', |
| 'coz everyone already knows" - Cat Stevens. \ |
| \ |
| \|
+----------------------------------------------------------------------------+


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:16 PDT

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