hi all,<div><br></div><div>I&#39;m writing an application base on QT/VTK, using 3D positional tracking system.  The pose of an tracked object is returned as a vtkTransform, and it is obtained using a QTimer event.  The timing interval is set at 0, thus it is updating the vtkTransform continuously (or as fast as the computer/tracking system can).</div>
<div><br></div><div>The vtkTransform is defined as an class object and it would be accessed by other class members.  However, I noticed that sometimes wI would get an access violation error:</div><div><br></div><div><div>
<br></div><div>First-chance exception at 0x60c48183 (vtkCommon.dll) in my.exe: 0xC0000005: Access violation reading location 0xfeeeff36.</div><div>Unhandled exception at 0x60c48183 (vtkCommon.dll) in my.exe: 0xC0000005: Access violation reading location 0xfeeeff36.</div>
<div>The program &#39;[5788] my.exe: Native&#39; has exited with code -1073741819 (0xc0000005).</div></div><div><br></div><div>and the place where the access violation occurs is in</div><div><br></div><div>vtkAbstractTransform::GetMTime</div>
<div><br></div><div><div>    unsigned long inverseMTime = this-&gt;MyInverse-&gt;GetMTime();</div></div><div><br></div><div>which is being updated in the QTimer event.</div><div><br></div><div><br></div><div>What would be proper mechanism to prevent such access violation?</div>
<div><br></div><div>any help is very much appreciated,</div>