From: Bram Stolk (bram++at++sara.nl)
Date: 04/17/2002 04:12:27
On Thu, 11 Apr 2002 13:52:20 -0700 (PDT)
Yair Kurzion <yair++at++polygon.engr.sgi.com> wrote:
> Hi Bram !
>
> Can you please send me a short sample code demonstrating the crash ?
Find attached the minimalist bug-demonstrator 'deep_isect'
Bus errors, Segm Violation, Hangs, I can generate just about any error
condition by intersecting deep trees.
If I put 28 or more DCSes between the pfScene and esprit.pfb's geometry, I
can make my app crash. (My guess is that esprit.pfb has 4 levels, plus
the pfScene, plus the 28 DCSes equals a pfPath length of 33 which exceeds 32
which I suspect is the hard coded limit in pf's isect code)
Sometimes I get very cool and exotic error messages like:
PF Warning/Resource(2): _pfNewDLName: couldn't allocate GL display lists.
or:
Trace/BPT/RangeErr/DivZero/Ovflow trap (core dumped)
or:
PF Warning/Usage: pfMemory::realloc() can't realloc from non-pfMemory data
Bus error (core dumped)
(dbx) where
> 0 pfNode::pf_isect(pfSegSet*,pfHit***,pfChannel*,pfMatrix*)(0x1, 0x7fff2c98, 0x3, 0x7fff2c8c, 0x7fff2380, 0x0, 0x1, 0x0) ["/build/perfbuild/perftot1/perf/lib/libpf/pfNode.C":1488, 0x41fd9e4]
1 pfNode::nb_isect(pfSegSet*,pfHit***)(0x1, 0x0, 0x1, 0x7fff2c8c, 0x7fff2380, 0x0, 0x1, 0x0) ["/build/perfbuild/perftot1/perf/lib/libpf/pfNode.C":875, 0x41fbfe0]
2 pfNode::isect(pfSegSet*,pfHit***)(this = 0x640a1640, segSet = 0x7fff2840, hits = 0x7fff2c90) ["/usr/include/Performer/pf/pfNode.h":193, 0x1000394c]
3 ::do_isect(pfScene*)(scene = 0x640a1640) ["/home/sara/bram/tmp/isect/simple.cxx":46, 0x10002ccc]
4 ::main(argc = 1, argv = 0x7fff2ed4) ["/home/sara/bram/tmp/isect/simple.cxx":150, 0x100032d0]
5 __start() ["/xlv55/kudzu-apr12/work/irix/lib/libc/libc_n32_M4/csu/crt1text.s":177, 0x10002758]
This only happens with PFTRAV_IS_PATH enabled.
I hope you can still fix this one before pf3.0 comes out.
Bram
-- ------------------------------------------------------------------------------ Bram Stolk, VR Specialist. SARA Academic Computing Services Amsterdam, PO Box 94613, 1090 GP AMSTERDAM email: bram++at++sara.nl Phone +31-20-5923059 Fax +31-20-6683167"I heard if you play the NT-4.0-CD backwards, you get a satanic message." "Thats nothing, if you play it forward, it installs NT-4.0" ------------------------------------------------------------------------------
This archive was generated by hypermail 2b29 : Wed Apr 17 2002 - 04:12:59 PDT