From: Ozarka Simatomi (chumanlu++at++yahoo.com)
Date: 05/09/2002 19:20:45
Dear PFs,
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
This archive was generated by hypermail 2b29 : Thu May 09 2002 - 19:21:01 PDT