Andrew Ng (nga++at++division.co.uk)
Tue, 11 Mar 1997 19:08:21 -0000
Are there any known problems with pfChanNodeIsectSegs and deep hierarchies?
I have a hierarchy that's about 40 levels deep. Each DCS in this hierarchy
has a pfGroup which has three pfGeode's each with a single pfGeoset. If I
try to intersect with geometry that's any deeper than about 26/27, this
causes a segmentation fault in "_lfree". Here's the stack trace :-
> 0 _lfree(0x1808004c, 0x18080000, 0x0, 0x183ca3f0, 0x41, 0x0, 0x18151230,
0x0) ["/vince/6.2-mar09/work/irix/lib/libc/libc_n32_M3/mp/amalloc.c":799,
0xfa9f154]
1 _afree(0x1808004c, 0x18080000, 0x0, 0x183ca3f0, 0x41, 0x0, 0x0,
0x18314180)
["/vince/6.2-mar09/work/irix/lib/libc/libc_n32_M3/mp/amalloc.c":89,
0xfa9e3c0]
2 pfMemory::operator delete(void*)(0x1808004c, 0x183140e0, 0x0,
0x183ca3f0, 0x41, 0x0, 0x18151230, 0x0)
["/build/perfbuild/perf202.IRIX6/perf/lib/libpr/pfMemory.C":196,
0x5f72bf78]
3 pfMemory::~pfMemory(void)(0x1808004c, 0x183140e0, 0x0, 0x183ca3f0,
0x41, 0x0, 0x18151230, 0x0) ["/build/perfbuild/perf202.IRIX6/perf/lib/li
bpr/pfMemory.C":212, 0x5f72c03c]
4 pfMemory::realloc(unsigned int)(0x183140f0, 0x100, 0x0, 0x183ca3f0,
0x41, 0x0, 0x0, 0x18314180)
["/build/perfbuild/perf202.IRIX6/perf/lib/libpr/pfMemory.C":360,
0x5f72cc18]
5 pfMemory::realloc(void*,unsigned int)(0x1808004c, 0x0, 0x0,
0x183ca3f0, 0x41, 0x0, 0x18151230, 0x18314180)
["/build/perfbuild/perf202.IRIX6/perf/lib/libpr/pfMemory.C":472,
0x5f72d20c]
6 pfList::setNum(int)(0x183140b0, 0x21, 0x0, 0x183ca3f0, 0x41, 0x0,
0x18151230, 0x40)
["/build/perfbuild/perf202.IRIX6/perf/lib/libpr/pfList.C":297, 0x5f7237b0]
7 pfGeode::pf_discFunc(pfHit*)(0x18314580, 0x183140e0, 0x0, 0x183ca3f0,
0x41, 0x0, 0x0, 0x18314180)
["/build/perfbuild/perf202.IRIX6/perf/lib/libpf/pfGeode.C":793, 0x5f62dda4]
8 ::_pitIsectTri(_prIsectTrav*,pfVec3&,pfVec3&,pfVec3&)(0x1808004c,
0x5f822e64, 0x0, 0x0, 0x41, 0x0, 0x0, 0x0)
["/build/perfbuild/perf202.IRIX6/perf/lib/libpr/pfGeoSet.C":2571,
0x5f6fdd24]
9 pfGeoSet::pr_isect(_prIsectTrav*)(0x0, 0x5f6fd5c4, 0x0, 0x0, 0x0, 0x0,
0x0, 0x0) ["/build/perfbuild/perf202.IRIX6/perf/lib/libpr/pfGeoSet.C":2996,
0x5f70be60]
10 pfGeoSet::isect(pfSegSet*,pfHit***)(0x1808004c, 0x183140e0, 0x0,
0x183ca3f0, 0x41, 0x0, 0x18151230, 0x18314180)
["/build/perfbuild/perf202.IRIX6/perf/lib/libpr/pfGeoSet.C":1837,
0x5f70981c]
11 pfGeode::nb_intersect(_pfIsector*)(0x5f7091b0, 0x183140e0, 0x0,
0x183ca3f0, 0x41, 0x0, 0x18151230, 0x18314180)
["/build/perfbuild/perf202.IRIX6/perf/lib/libpf/pfGeode.C":485, 0x5f62c9bc]
12 pfGroup::nb_intersect(_pfIsector*)(0x18100560, 0x7fff1e9c, 0x0,
0x183ca3f0, 0x41, 0x0, 0x18151230, 0x18314180)
["/build/perfbuild/perf202.IRIX6/perf/lib/libpf/pfGroup.C":450, 0x5f631b18]
13 pfGroup::nb_intersect(_pfIsector*)(0x18153670, 0x7fff1e9c, 0x0,
0x183ca3f0, 0x41, 0x0, 0x18151230, 0x18314180)
["/build/perfbuild/perf202.IRIX6/perf/lib/libpf/pfGroup.C":450, 0x5f631b18]
14 pfDCS::nb_intersect(_pfIsector*)(0x18158420, 0x183140e0, 0x0,
0x183ca3f0, 0x41, 0x0, 0x18151230, 0x18314180)
["/build/perfbuild/perf202.IRIX6/perf/lib/libpf/pfDCS.C":275, 0x5f60ee1c]
15 pfDCS::nb_intersect(_pfIsector*)(0x181581f0, 0x183140e0, 0x0,
0x183ca3f0, 0x41, 0x0, 0x18151230, 0x18314180)
["/build/perfbuild/perf202.IRIX6/perf/lib/libpf/pfDCS.C":275, 0x5f60ee1c]
16 pfDCS::nb_intersect(_pfIsector*)(0x18157fc0, 0x183140e0, 0x0,
0x183ca3f0, 0x41, 0x0, 0x18151230, 0x18314180)
["/build/perfbuild/perf202.IRIX6/perf/lib/libpf/pfDCS.C":275, 0x5f60ee1c]
17 pfDCS::nb_intersect(_pfIsector*)(0x18157d90, 0x183140e0, 0x0,
0x183ca3f0, 0x41, 0x0, 0x18151230, 0x18314180)
["/build/perfbuild/perf202.IRIX6/perf/lib/libpf/pfDCS.C":275, 0x5f60ee1c]
18 pfDCS::nb_intersect(_pfIsector*)(0x18157b60, 0x183140e0, 0x0,
0x183ca3f0, 0x41, 0x0, 0x18151230, 0x18314180)
["/build/perfbuild/perf202.IRIX6/perf/lib/libpf/pfDCS.C":275, 0x5f60ee1c]
19 pfDCS::nb_intersect(_pfIsector*)(0x18157930, 0x183140e0, 0x0,
0x183ca3f0, 0x41, 0x0, 0x18151230, 0x18314180)
["/build/perfbuild/perf202.IRIX6/perf/lib/libpf/pfDCS.C":275, 0x5f60ee1c]
20 pfDCS::nb_intersect(_pfIsector*)(0x18157700, 0x183140e0, 0x0,
0x183ca3f0, 0x41, 0x0, 0x18151230, 0x18314180)
["/build/perfbuild/perf202.IRIX6/perf/lib/libpf/pfDCS.C":275, 0x5f60ee1c]
21 pfDCS::nb_intersect(_pfIsector*)(0x181574d0, 0x183140e0, 0x0,
0x183ca3f0, 0x41, 0x0, 0x18151230, 0x18314180)
["/build/perfbuild/perf202.IRIX6/perf/lib/libpf/pfDCS.C":275, 0x5f60ee1c]
22 pfDCS::nb_intersect(_pfIsector*)(0x181572a0, 0x183140e0, 0x0,
0x183ca3f0, 0x41, 0x0, 0x18151230, 0x18314180)
["/build/perfbuild/perf202.IRIX6/perf/lib/libpf/pfDCS.C":275, 0x5f60ee1c]
23 pfDCS::nb_intersect(_pfIsector*)(0x18156a00, 0x183140e0, 0x0,
0x183ca3f0, 0x41, 0x0, 0x18151230, 0x18314180)
["/build/perfbuild/perf202.IRIX6/perf/lib/libpf/pfDCS.C":275, 0x5f60ee1c]
24 pfDCS::nb_intersect(_pfIsector*)(0x181567d0, 0x183140e0, 0x0,
0x183ca3f0, 0x41, 0x0, 0x18151230, 0x18314180) ["/build/perfbuild/perf20
2.IRIX6/perf/lib/libpf/pfDCS.C":275, 0x5f60ee1c]
25 pfDCS::nb_intersect(_pfIsector*)(0x181565a0, 0x183140e0, 0x0,
0x183ca3f0, 0x41, 0x0, 0x18151230, 0x18314180)
["/build/perfbuild/perf202.IRIX6/perf/lib/libpf/pfDCS.C":275, 0x5f60ee1c]
26 pfDCS::nb_intersect(_pfIsector*)(0x18156370, 0x183140e0, 0x0,
0x183ca3f0, 0x41, 0x0, 0x18151230, 0x18314180)
["/build/perfbuild/perf202.IRIX6/perf/lib/libpf/pfDCS.C":275, 0x5f60ee1c]
27 pfDCS::nb_intersect(_pfIsector*)(0x18156140, 0x183140e0, 0x0,
0x183ca3f0, 0x41, 0x0, 0x18151230, 0x18314180)
["/build/perfbuild/perf202.IRIX6/perf/lib/libpf/pfDCS.C":275, 0x5f60ee1c]
28 pfDCS::nb_intersect(_pfIsector*)(0x18155f10, 0x183140e0, 0x0,
0x183ca3f0, 0x41, 0x0, 0x18151230, 0x18314180)
["/build/perfbuild/perf202.IRIX6/perf/lib/libpf/pfDCS.C":275, 0x5f60ee1c]
29 pfDCS::nb_intersect(_pfIsector*)(0x18155ce0, 0x183140e0, 0x0,
0x183ca3f0, 0x41, 0x0, 0x18151230, 0x18314180)
["/build/perfbuild/perf202.IRIX6/perf/lib/libpf/pfDCS.C":275, 0x5f60ee1c]
30 pfDCS::nb_intersect(_pfIsector*)(0x18155ab0, 0x183140e0, 0x0,
0x183ca3f0, 0x41, 0x0, 0x18151230, 0x18314180)
["/build/perfbuild/perf202.IRIX6/perf/lib/libpf/pfDCS.C":275, 0x5f60ee1c]
31 pfDCS::nb_intersect(_pfIsector*)(0x18155880, 0x183140e0, 0x0,
0x183ca3f0, 0x41, 0x0, 0x18151230, 0x18314180)
["/build/perfbuild/perf202.IRIX6/perf/lib/libpf/pfDCS.C":275, 0x5f60ee1c]
32 pfDCS::nb_intersect(_pfIsector*)(0x18155650, 0x183140e0, 0x0,
0x183ca3f0, 0x41, 0x0, 0x18151230, 0x18314180)
["/build/perfbuild/perf202.IRIX6/perf/lib/libpf/pfDCS.C":275, 0x5f60ee1c]
33 pfDCS::nb_intersect(_pfIsector*)(0x18155420, 0x183140e0, 0x0,
0x183ca3f0, 0x41, 0x0, 0x18151230, 0x18314180)
["/build/perfbuild/perf202.IRIX6/perf/lib/libpf/pfDCS.C":275, 0x5f60ee1c]
34 pfDCS::nb_intersect(_pfIsector*)(0x181551f0, 0x183140e0, 0x0,
0x183ca3f0, 0x41, 0x0, 0x18151230, 0x18314180)
["/build/perfbuild/perf202.IRIX6/perf/lib/libpf/pfDCS.C":275, 0x5f60ee1c]
35 pfDCS::nb_intersect(_pfIsector*)(0x18154fc0, 0x183140e0, 0x0,
0x183ca3f0, 0x41, 0x0, 0x18151230, 0x18314180)
["/build/perfbuild/perf202.IRIX6/perf/lib/libpf/pfDCS.C":275, 0x5f60ee1c]
36 pfDCS::nb_intersect(_pfIsector*)(0x18154d90, 0x183140e0, 0x0,
0x183ca3f0, 0x41, 0x0, 0x18151230, 0x18314180)
["/build/perfbuild/perf202.IRIX6/perf/lib/libpf/pfDCS.C":275, 0x5f60ee1c]
37 pfDCS::nb_intersect(_pfIsector*)(0x18154b60, 0x183140e0, 0x0,
0x183ca3f0, 0x41, 0x0, 0x18151230, 0x18314180)
["/build/perfbuild/perf202.IRIX6/perf/lib/libpf/pfDCS.C":275, 0x5f60ee1c]
38 pfDCS::nb_intersect(_pfIsector*)(0x18154930, 0x183140e0, 0x0,
0x183ca3f0, 0x41, 0x0, 0x18151230, 0x18314180)
["/build/perfbuild/perf202.IRIX6/perf/lib/libpf/pfDCS.C":275, 0x5f60ee1c]
39 pfDCS::nb_intersect(_pfIsector*)(0x18154700, 0x183140e0, 0x0,
0x183ca3f0, 0x41, 0x0, 0x18151230, 0x18314180)
["/build/perfbuild/perf202.IRIX6/perf/lib/libpf/pfDCS.C":275, 0x5f60ee1c]
40 pfDCS::nb_intersect(_pfIsector*)(0x181544d0, 0x183140e0, 0x0,
0x183ca3f0, 0x41, 0x0, 0x18151230, 0x18314180)
["/build/perfbuild/perf202.IRIX6/perf/lib/libpf/pfDCS.C":275, 0x5f60ee1c]
41 pfDCS::nb_intersect(_pfIsector*)(0x181542a0, 0x183140e0, 0x0,
0x183ca3f0, 0x41, 0x0, 0x18151230, 0x18314180)
["/build/perfbuild/perf202.IRIX6/perf/lib/libpf/pfDCS.C":275, 0x5f60ee1c]
42 pfSCS::nb_intersect(_pfIsector*)(0x1808004c, 0x7fff1e9c, 0x0,
0x183ca3f0, 0x41, 0x0, 0x18151230, 0x18314180)
["/build/perfbuild/perf202.IRIX6/perf/lib/libpf/pfSCS.C":423, 0x5f67d920]
43 pfGroup::nb_intersect(_pfIsector*)(0x180ccea0, 0x7fff1e9c, 0x0,
0x183ca3f0, 0x41, 0x0, 0x18151230, 0x18314180)
["/build/perfbuild/perf202.IRIX6/perf/lib/libpf/pfGroup.C":450, 0x5f631b18]
44 pfNode::pf_isect(pfSegSet*,pfHit***,pfChannel*,pfMatrix*)(0x5fff2788,
0x409, 0x0, 0x183ca3f0, 0x41, 0x0, 0x18151230, 0x409)
["/build/perfbuild/perf202.IRIX6/perf/lib/libpf/pfNode.C":1241, 0x5f637f8c]
45 pfChannel::nb_isect(pfNode*,pfSegSet*,pfHit***,pfMatrix*)(0x1808004c,
0x183140e0, 0x0, 0x183ca3f0, 0x41, 0x0, 0x18151230, 0x18314180)
["/build/perfbuild/perf202.IRIX6/perf/lib/libpf/pfChannel.C":1621,
0x5f6081c8]
46 ::pfChanNodeIsectSegs(0x1808004c, 0x183140e0, 0x0, 0x183ca3f0, 0x0,
0x0, 0x0, 0x18314180)
["/build/perfbuild/perf202.IRIX6/perf/lib/libpf/cChannel.C":1360,
0x5f68fc5c]
I'm running on IRIX 6.2 using N32 binaries with Performer 2.0.2 on an
Indigo 2 Max Impact.
Any help would be appreciated.
Thanks.
------------------------------------------------------------------------
Andrew Ng (Software Engineer)
Division Limited, 19 Apex Court, Email: nga++at++division.co.uk
Woodlands, Almondsbury. Tel: +44 (0)1454 615554
Bristol BS12 4JT. Fax: +44 (0)1454 615532
=======================================================================
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:54:52 PDT