<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 14 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:SimSun;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:"Lucida Console";
        panose-1:2 11 6 9 4 5 4 2 2 4;}
@font-face
        {font-family:SimSun;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;font-family:"Lucida Console"'>Hi All,<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;font-family:"Lucida Console"'>I am trying to run paraview.exe after built it (Debug version) on a Windows7 64bit + MSVC2010 machine. However the application failed to run the following call stack:<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;font-family:"Lucida Console";color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;font-family:"Lucida Console";color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; vtksys.dll!vtksys::SystemTools::FileExists(const char * filename=0xcccccccccccccccc)&nbsp; Line 928 + 0xd bytes&nbsp; C++<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;font-family:"Lucida Console";color:#1F497D'>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; vtksys.dll!vtksys::SystemTools::FileExists(const char * filename=0xcccccccccccccccc, bool isFile=true)&nbsp; Line 950 + 0xa bytes C++<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;font-family:"Lucida Console";color:#1F497D'> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; vtkPVServerManager.dll!vtkSMPluginManager::LoadPluginConfigurationXML(const char * filename=0xcccccccccccccccc)&nbsp; Line 97 + 0x10 bytes&nbsp;&nbsp;&nbsp;&nbsp; C++<o:p></o:p></span></p><div style='mso-element:para-border-div;border:none;border-bottom:double windowtext 2.25pt;padding:0in 0in 8.0pt 0in'><p class=MsoNormal style='text-autospace:none;border:none;padding:0in'><span style='font-size:9.0pt;font-family:"Lucida Console";color:#1F497D'> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; pqCore.dll!pqApplicationCore::loadDistributedPlugins(const char * filename=0x0000000000000000)&nbsp; Line 726 + 0x5d bytes&nbsp;&nbsp;&nbsp;&nbsp; C++<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none;border:none;padding:0in'><span style='font-size:9.0pt;font-family:"Lucida Console"'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal style='text-autospace:none;border:none;padding:0in'><span style='font-size:9.0pt;font-family:"Lucida Console"'>The related lines of code might be:<o:p></o:p></span></p></div><p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;font-family:"Lucida Console"'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;font-family:"Lucida Console"'>pqApplicationCore.cxx:line 725<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;font-family:"Lucida Console"'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;font-family:"Lucida Console";color:#1F497D'>&nbsp; vtkSMApplication::GetApplication()-&gt;GetPluginManager()-&gt;LoadPluginConfigurationXML(<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;font-family:"Lucida Console";color:#1F497D'>&nbsp;&nbsp;&nbsp; config_file.toStdString().c_str());<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;font-family:"Lucida Console";color:#1F497D'>}<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;font-family:"Lucida Console"'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;font-family:"Lucida Console"'>Where <span style='color:#1F497D'>config_file </span>is &#8220;C:/ParaViewGit/bin/Debug/../.plugins&#8221;. Such file is attached. After the process runs into vtkSMPluginManager<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;font-family:"Lucida Console"'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;font-family:"Lucida Console";color:#1F497D'>void vtkSMPluginManager::LoadPluginConfigurationXML(const char* filename)<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;font-family:"Lucida Console";color:#1F497D'>{<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;font-family:"Lucida Console";color:#1F497D'>&nbsp; bool debug_plugin = vtksys::SystemTools::GetEnv(&quot;PV_PLUGIN_DEBUG&quot;) != NULL;<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;font-family:"Lucida Console";color:#1F497D'>&nbsp; vtkPVPluginLoaderDebugMacro(&quot;Loading plugin configuration xml: &quot; &lt;&lt; filename);<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;font-family:"Lucida Console";color:#1F497D'>&nbsp; if (!vtksys::SystemTools::FileExists(filename, true))<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;font-family:"Lucida Console";color:#1F497D'>&nbsp;&nbsp;&nbsp; {<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;font-family:"Lucida Console"'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;font-family:"Lucida Console"'>Where <span style='color:#1F497D'>filename </span>becomes &#8220;0xcccccccccccccccc &lt;Bad Ptr&gt;&#8221;. Any idea? Thanks a lot.<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;font-family:"Lucida Console"'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;font-family:"Lucida Console"'>Best,<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;font-family:"Lucida Console"'>x<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;font-family:"Lucida Console"'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;font-family:"Lucida Console"'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;font-family:"Lucida Console"'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><o:p>&nbsp;</o:p></p></div></body></html>