Re: [info-performer] pfSync and Bus error

New Message Reply Date view Thread view Subject view Author view

From: Yair Kurzion (yair++at++polygon.engr.sgi.com)
Date: 05/10/2002 11:57:38


Hello There !

Do you use pfGeoSet::setBoundFlux ? If so, do you provide it with a valid
pfFlux ?

Your program crashes when it tries to evaluate the bounding box of a pfGeoSet.
Looks like your pfGeoSet has a fluxed bounding box, but the specified pfFlux
is corrupted (or not even a pfFlux).

If you have a small sample demonstrating the problem, please send it and I'll
try it here.

-yair

> I am working on a Performer project on a SGI
> octane. My program sometimes broke down with a bus
> error. I use dbx to run my program and below is what I
> got: (the executable is VR and source code is vr.C)
>
> Process 14861 (VR) stopped on signal SIGBUS: Bus
> error(default) at [_mips2_test_and_set32:147,
> 0xda1c88c]
>
> Source (of
> /xlv47/6.5.14f/work/irix/lib/libc/libc_64_M4/mp/libmutexs.s)
> not available for Process 14861
>
>
> (dbx)where
> >0 _mips2_test_and_set32
> 1 pfFlux::getCurData
> 2 pfGeoSet::getBound
> 3 pfGeode::nb_clean
> 4 pfDCS::nb_clean
> 5 pfGroup::nb_clean
> 6 ::clean
> 7 ::pfAppFrame
> 8 ::pfSync();
> 9 ::main() ["/.../vr.C":187, 0x1000b2a0]
> 10 __start()
>
> And below is part of my code, and line 187 is
> pfSync():
> while(KeepDrawingFlag)
> {
> Cursor_location[0] = mx;
> Cursor_location[1] = my;
> Cursor_location[2] = mz;
> if (StartBufferDataFlag)
> {
> StartBufferTime = pfGetTime()*1000.0;
> StartBufferDataFlag = FALSE;
> }
> if (StopBufferDataFlag)
> {
> StopBufferDataFlag = FALSE;
> }
>
> while (WriteBufferDataFlag)
> {
> WriteBufferDataFlag = FALSE;
> }
> Cursor_dcs->setTrans(Cursor_location[0],
> Cursor_location[1], Cursor_location[2]);
> 187: pfSync();
> pfFrame();
> .
> .
> .
> .
> }
>
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Shopping - Mother's Day is May 12th!
> http://shopping.yahoo.com
>

-- 
\_________  \_____  \__    \__  \_____        
\_________  \_____   \__   \__  \_____         Yair Kurzion
       \__     \__   \____\__      \__         yair++at++sgi.com
       \__          \__  \__                  (650) 933-6502
       \__          \__   \__          
       \__          \__    \__             


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Fri May 10 2002 - 11:57:46 PDT

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