Is Volumizer thread safe

New Message Reply Date view Thread view Subject view Author view

even.andersen@oslo.pgs.com
Fri, 23 Apr 99 14:22:09 +0100


Is Volumizer thread safe

I have a core dump in voAppearanceActions::texgenSetEquation.
All data is created for each process, but it seems both
processes are accessing the same vo2DtexMgr at the same time.

HW: O2, R5000, 128MB, 1MBSC 32KBIC, 32KBDC
IRIX 6.5.3
I dev 04/23/1999 Development System, 7.2.1

Is there any info available as to how volumizer can be used
in a multithreaded environment ?

Sincerely

Even Oscar Andersen

-- core.2118 ---

evena@anita.oslo.seres.pgs.com:/seres/evena/VR2/QC2> dbx ./main
./core.2118
dbx version 7.2.1 Mar 13 1998 19:00:36
Core from signal SIGSEGV: Segmentation violation
(dbx) where
> 0 vo2DtexMgr::getMotherTex(voTexture3D*)(this = 0x10223cb0, brick = 0x10224c10) ["/xlv13/volumizer/1.0/work/1.0/components/vo/O22DtexMgr.cxx":36, 0x46f51a8]
   1 voAppearanceActions::texgenSetEquation(voBrick*)(aBrick =
0x10224c10)
["/xlv13/volumizer/1.0/work/1.0/components/vo/AppearanceActions.cxx":967,
0x46de0c0]
   2 QcSgVolume::draw(SrMpuDisplayStateList*)(this = 0x1006bab8, states
= 0x100df8c8) ["/seres/evena/VR2/QC2/QcSgVolume.C":733, 0x1002e98c]
   3 QcSceneGraph::draw(SrMpuDisplayStateList*)(this = 0x1005beb8,
states = 0x100df8c8) ["/seres/evena/VR2/QC2/QcSceneGraph.C":57,
0x10024888]
   4 QcSceneGraphDrawer::update(SrMpuDisplayStateList*)(this =
0x1005c978, states = 0x100df8c8)
["/seres/evena/VR2/QC2/QcSceneGraphDrawer.h":25, 0x100143d0]
   5 SrMpuDrawer::updateChannel(const
SrMpuChannel&,SrMpuDisplayStateList*)(this = 0x1005c9a8, <no name> =
0x73ff7e58, states = 0x100df8c8)
["/seres/evena/VR2/QC2/SrMpuDrawer.h":50, 0x10010fe0]
   6 SrMpu::channelUpdate(_MPchannel*,SrMpuDisplayStateList*)(this =
0x1005bc28, channel = 0x4722e30, states = 0x100df8c8)
["/seres/evena/VR2/QC2/SrMpu.C":553, 0x1001f97c]
   7 SrMpu::windowUpdate(_MPwindow*)(this = 0x1005bc28, window =
0x4722b50) ["/seres/evena/VR2/QC2/SrMpu.C":436, 0x1001e68c]
   8 SrMpu::windowUpdateCB(_MPwindow*)(window = 0x4722b50)
["/seres/evena/VR2/QC2/SrMpu.h":223, 0x1001fe28]
   9 mpWindowLoop(window = 0x4722b50)
["/seres/evena/VR2/devlib_src/MPUv1.1/window.c":245, 0x1003a7b4]
   10 _nsproc(0x1003a5b8, 0x40, 0x0, 0x0, 0x8cb98, 0x73ff7b64,
0x10224c50, 0x73ff7b60)
["/xlv57/6.5.3m/work/irix/lib/libc/libc_n32_M4/proc/sproc.s":226,
0xfab6674]
   11 voAppearanceActions::texgenSetEquation(voBrick*)(aBrick = <no such
address>)
["/xlv13/volumizer/1.0/work/1.0/components/vo/AppearanceActions.cxx":967,
0x46de0c0]
(dbx) q

- core 2125 ---
evena@anita.oslo.seres.pgs.com:/seres/evena/VR2/QC2> dbx ./main
./core.2125
dbx version 7.2.1 Mar 13 1998 19:00:36
Core from signal SIGSEGV: Segmentation violation
(dbx) where
> 0 vo2DtexMgr::getMotherTex(voTexture3D*)(this = 0x10223cb0, brick = 0x1022c290) ["/xlv13/volumizer/1.0/work/1.0/components/vo/O22DtexMgr.cxx":36, 0x46f51a8]
   1 voAppearanceActions::texgenSetEquation(voBrick*)(aBrick =
0x1022c290)
["/xlv13/volumizer/1.0/work/1.0/components/vo/AppearanceActions.cxx":967,
0x46de0c0]
   2 QcSgVolume::draw(SrMpuDisplayStateList*)(this = 0x1006bab8, states
= 0x10163500) ["/seres/evena/VR2/QC2/QcSgVolume.C":733, 0x1002e98c]
   3 QcSceneGraph::draw(SrMpuDisplayStateList*)(this = 0x1005beb8,
states = 0x10163500) ["/seres/evena/VR2/QC2/QcSceneGraph.C":57,
0x10024888]
   4 QcSceneGraphDrawer::update(SrMpuDisplayStateList*)(this =
0x1005c978, states = 0x10163500)
["/seres/evena/VR2/QC2/QcSceneGraphDrawer.h":25, 0x100143d0]
   5 SrMpuDrawer::updateChannel(const
SrMpuChannel&,SrMpuDisplayStateList*)(this = 0x1005c9a8, <no name> =
0x7bff7e58, states = 0x10163500)
["/seres/evena/VR2/QC2/SrMpuDrawer.h":50, 0x10010fe0]
   6 SrMpu::channelUpdate(_MPchannel*,SrMpuDisplayStateList*)(this =
0x1005bc28, channel = 0x4723110, states = 0x10163500)
["/seres/evena/VR2/QC2/SrMpu.C":553, 0x1001f97c]
   7 SrMpu::windowUpdate(_MPwindow*)(this = 0x1005bc28, window =
0x4723010) ["/seres/evena/VR2/QC2/SrMpu.C":436, 0x1001e68c]
   8 SrMpu::windowUpdateCB(_MPwindow*)(window = 0x4723010)
["/seres/evena/VR2/QC2/SrMpu.h":223, 0x1001fe28]
   9 mpWindowLoop(window = 0x4723010)
["/seres/evena/VR2/devlib_src/MPUv1.1/window.c":245, 0x1003a7b4]
   10 _nsproc(0x1003a5b8, 0x40, 0x0, 0x0, 0x8cb98, 0x7bff7b64,
0x1022c2d0, 0x7bff7b60)
["/xlv57/6.5.3m/work/irix/lib/libc/libc_n32_M4/proc/sproc.s":226,
0xfab6674]
   11 voAppearanceActions::texgenSetEquation(voBrick*)(aBrick = <no such
address>)
["/xlv13/volumizer/1.0/work/1.0/components/vo/AppearanceActions.cxx":967,
0x46de0c0]
(dbx)
(dbx) print *this
class vo2DtexMgr {
    motherTexs = (nil)
    dmpbufs = (nil)
    dmpbufCt = 0
    dmpbufAllocd = 0
    motherTexCt = 0
    motherTexAllocd = 0
    useDMbuffer = ''
    preLutEnabled = ''
    preLut = (nil)
    postLutEnabled = ''
    postLut = (nil)
    preLutLoaded = ''
    postLutLoaded = ''
}


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Mon Nov 01 1999 - 12:06:41 PST