<div style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial"><div>Hi Maogui,<br><br>thank you very much, that solved my problem :-)<br></div><div><br>Best Regards<br>James<br></div><br><div style="position:relative;zoom:1"></div><div id="divNeteaseMailCard"></div><br>At 2016-09-08 15:27:23, "maogui.hu" <maogui.hu@gmail.com> wrote:<br> <blockquote id="isReplyContent" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid"><style>body { line-height: 1.5; }blockquote { margin-top: 0px; margin-bottom: 0px; margin-left: 0.5em; }p { margin-top: 0px; margin-bottom: 0px; }div.foxdiv20160908152451932401 { }body { font-size: 10.5pt; font-family: 微软雅黑; color: rgb(0, 0, 0); line-height: 1.5; }</style>
<div style="FONT-SIZE: 10.5pt"><span></span>Hi James,</div><div style="FONT-SIZE: 10.5pt"><br></div><div style="FONT-SIZE: 10.5pt">Try to declare "<span style="background-color: rgba(0, 0, 0, 0); font-size: 10.5pt; line-height: 1.5;">vtkInteractorStyleTrackballCamera style;</span><span style="font-size: 10.5pt; line-height: 1.5; background-color: window;"> " as a member variable instead of a local variable.</span></div><div style="FONT-SIZE: 10.5pt"><br></div>
<div style="FONT-SIZE: 10.5pt"> </div>
<hr style="WIDTH: 210px; HEIGHT: 1px" align="left" color="#b5c4df" size="1">
<div><span>
<div style="LINE-HEIGHT: 1.5; FONT-FAMILY: 微软雅黑; COLOR: #000000; FONT-SIZE: 10.5pt">
<div style="LINE-HEIGHT: 1.5; FONT-FAMILY: 微软雅黑; COLOR: #000000; FONT-SIZE: 10.5pt">
<div style="LINE-HEIGHT: 1.5; FONT-FAMILY: 微软雅黑; COLOR: #000000; FONT-SIZE: 10.5pt">
<div style="MARGIN-TOP: 10px; FONT-FAMILY: 宋体; COLOR: #000000; MARGIN-LEFT: 10px; FONT-SIZE: 10.5pt; MARGIN-RIGHT: 10px">
<div><span style="FONT-FAMILY: 微软雅黑; COLOR: #000000; FONT-SIZE: 10.5pt">Maogui
Hu, Ph.D.<br>State Key Laboratory of Resources and Environmental Information
System<br>Institute of Geographic Sciences and Natural Resources Research,
CAS</span></div></div></div></div></div></span></div><blockquote style="margin-top: 0px; margin-bottom: 0px; margin-left: 2em;"><div> </div><div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm"><div style="PADDING-RIGHT: 8px; PADDING-LEFT: 8px; FONT-SIZE: 12px;FONT-FAMILY:tahoma;COLOR:#000000; BACKGROUND: #efefef; PADDING-BOTTOM: 8px; PADDING-TOP: 8px"><div><b>发件人:</b> <a href="mailto:chenjianyyzz@163.com">chenjianyyzz</a></div><div><b>发送时间:</b> 2016-09-07 11:19</div><div><b>收件人:</b> <a href="mailto:chenjianyyzz@163.com">chenjianyyzz</a></div><div><b>抄送:</b> <a href="mailto:maogui.hu@gmail.com">maogui.hu</a>; <a href="mailto:vtkusers@vtk.org">vtkusers</a></div><div><b>主题:</b> Re:[vtkusers] C# program crash with unhandled exception of type 'System.Exception' occurred in Kitware.mummy.Runtime.dll</div></div></div><div><div class="FoxDiv20160908152451932401"><div style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial"><div>I am puzzled by the crash for some time, is there anybody who may have a look inside the C# solution and help me to figure out why it's always crash?<br><br>Thanks in advanced<br></div>James<br><div><br></div><div style="position:relative;zoom:1"></div><div></div><br>At 2016-09-05 21:37:31, "chenjianyyzz" <<a href="mailto:chenjianyyzz@163.com">chenjianyyzz@163.com</a>> wrote:<br> <blockquote id="isReplyContent" style="padding-left: 1ex; margin: 0px 0px 0px 2em; border-left-color: rgb(204, 204, 204); border-left-width: 1px; border-left-style: solid;"><div style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial"><div>Hello,<br>I have meet the error of unhandled exception of type 'System.Exception' occurred in Kitware.mummy.Runtime.dll, it happens so offen, but I cannot figure out what's the reason. Attached please find complete solution where the error happens. the steps to reproduce it:<br>1) run under debug mode<br>2) click the "button1" 10 times quickly (normally I click 10 times less than 5 seconds), and then move the mouse into the RenderWindowControl<br>3) repeat step2) , normally I repeat step 2) at about 4~5 times, and the crash will happens.<br><br>I have test it under ActiViz.NET 5.8.0 (download from website directly), ActiVizDotNet6.2 ( I built it myself), Activiz.NET.x64.7.0.0(our company bought it), the above crash can be reproduced with different verion of Activiz.<br><br>and it happens so offen that in another of my bigger program, it crashes when I click the button only about 3 times.<br><br>will anybody help me to find out what's the reason?<br><br>Thanks & Best Regards<br>James<br><br><br> <br><br><br>partMapper.SetInputData(polyData);<br></div></div><div id="divNeteaseBigAttach" style="clear:both;margin-top:10px;margin-bottom:15px;background:#DEE8F2;padding:4px;font-family:verdana,Arial,Helvetica,sans-serif"><div style="font-size:14px;padding:4px 8px 8px 8px;line-height:16px"><b>从网易163邮箱发来的云附件</b></div><div style="background:#fff;padding:4px"><div style="clear:both;height:36px;padding:6px 4px"><div style="float:left;width:36px"><a href="http://fs.163.com/fs/display/?p=X-NETEASE-HUGE-ATTACHMENT&file=AylKkyAu36TLBsCKtW2tff1eWmB8vy3m_lgizV0Fet20foiXJb5VN675xG8OdmPRCUHsN3Hp2OvlhYKSciyhCA&title=C%23%20program%20crash%20with%20unhandled%20exception%20of%20type%20'System.Exception'%20occurred%20in%20Kitware.mummy.Runtime.dll%20"><img src="http://mimg.127.net/xm/all/fj/ico-bfile-5.gif" border="0"></a></div><div><div style="padding:0px;font-size:12px;line-height:14px"><a href="http://fs.163.com/fs/display/?p=X-NETEASE-HUGE-ATTACHMENT&file=AylKkyAu36TLBsCKtW2tff1eWmB8vy3m_lgizV0Fet20foiXJb5VN675xG8OdmPRCUHsN3Hp2OvlhYKSciyhCA&title=C%23%20program%20crash%20with%20unhandled%20exception%20of%20type%20'System.Exception'%20occurred%20in%20Kitware.mummy.Runtime.dll%20" download="http://fs.163.com/fs/display/?p=X-NETEASE-HUGE-ATTACHMENT&file=AylKkyAu36TLBsCKtW2tff1eWmB8vy3m_lgizV0Fet20foiXJb5VN675xG8OdmPRCUHsN3Hp2OvlhYKSciyhCA&title=C%23%20program%20crash%20with%20unhandled%20exception%20of%20type%20'System.Exception'%20occurred%20in%20Kitware.mummy.Runtime.dll%20" preview="" fileid="undefined" filename="STLShowing.7z" filesize="27208289" expiretime="1475673593100" target="_blank" style="color:#000;text-decoration:none">STLShowing.7z</a><span style="color:#bbb"> (25.95M, 2016年10月5日 21:19 到期)</span></div><div style="padding:4px 0px;font-size:12px;line-height:14px"><a href="http://fs.163.com/fs/display/?p=X-NETEASE-HUGE-ATTACHMENT&file=AylKkyAu36TLBsCKtW2tff1eWmB8vy3m_lgizV0Fet20foiXJb5VN675xG8OdmPRCUHsN3Hp2OvlhYKSciyhCA&title=C%23%20program%20crash%20with%20unhandled%20exception%20of%20type%20'System.Exception'%20occurred%20in%20Kitware.mummy.Runtime.dll%20">下载</a></div></div></div></div></div><br><br><span title="neteasefooter"><p style="margin-top: 0px; margin-bottom: 0px;"> </p></span></blockquote></div><br><br><span title="neteasefooter"><div id="netease_mail_footer"><div style="border-top:#CCC 1px solid;padding:10px 5px;font-size:15px;color:#777;line-height:22px"><a href="http://you.163.com/item/detail?id=1006058&from=web_gg_mail_jiaobiao_3" target="_blank" style="color:#3366FF;text-decoration:none">【网易自营|30天无忧退货】万人抢购的51米长懒人抹布(4卷装、无需水洗),只要52元!></a>
</div></div></span></div></div></blockquote>
</blockquote></div><br><br><span title="neteasefooter"><p> </p></span>