Devrim Erdem (devrim++at++infotron-tr.com)
Fri, 28 May 1999 16:11:57 +0300
I have a pf app where I modify the vertices of a pfGeoSet during the
simulation.
I call pfGetGSetAttrLists to get the vertices array and than modify this
array.
It has been developed on an Onyx2 ( 6.5.3, pfDev2.2 & pfEoe 2.2.4 ). I
have encountered
a bus error when I try the run the same executable on an R10000 O2 (
6.5.3, pfDev2.2 &
pfEoe 2.2.4 ). The code is :
pfGeoSet *gs;
pfVec3 *coords;
gs = pfGetGSet( geode, 0);
ushort *dummy = (ushort *) malloc( sizeof( ushort ));
pfGetGSetAttrLists( gs, PFGS_COORD3, (void**) &coords, dummy );
The stack trace is
0 pfGeoSet::getAttrLists(int,void**,unsigned short**) const(0x102a5bf8,
0x65378e20, 0x0, 0x484b7070, 0x3, 0x65378e20, 0x0, 0x0)
["/usr/people/allan/trees/perf2.2.4/perf/lib/libpr/pfGeoSet.C":1529,
0x59d6b04]
1 ::pfGetGSetAttrLists(0x65360940, 0x65378e20, 0x7fff2b10,
0x484b7070, 0x3, 0x65378e20, 0x484b7070, 0x0)
["/usr/people/allan/trees/perf2.2.4/perf/lib/libpr/cGeoSet.C":195,
0x5a9c348]
2 _siTraceTasks(0x102a5bf8, 0x0, 0x0, 0x484b7070, 0x3, 0x65378e20,
0x484b7070, 0x0)
["/disk2/people/devrim/Projects/VSI/Src/VSIModule/siEntity.c":1153,
0x10011574]
3 _siUpdateSIEntity(0x65360940, 0x65378e20, 0x7fff2b10, 0x484b7070,
0x3, 0x65378e20, 0x484b7070, 0x0)
["/disk2/people/devrim/Projects/VSI/Src/VSIModule/siEntity.c":1059,
0x100112ac]
Help !
/*===============================================
M. Devrim Erdem devrim++at++infotron-tr.com
Chief Engineer
Simulation & Software Development
info(+)TRON, Turkey
http://www.infotron-tr.com
http://abone.turk.net/mderdem
===============================================*/
This archive was generated by hypermail 2.0b2 on Fri May 28 1999 - 06:15:56 PDT