[Paraview] failed to launch paraview.exe
Xunlei Wu
xunlei at renci.org
Mon Feb 14 13:10:20 EST 2011
Hi All,
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:
vtksys.dll!vtksys::SystemTools::FileExists(const char * filename=0xcccccccccccccccc) Line 928 + 0xd bytes C++
> vtksys.dll!vtksys::SystemTools::FileExists(const char * filename=0xcccccccccccccccc, bool isFile=true) Line 950 + 0xa bytes C++
vtkPVServerManager.dll!vtkSMPluginManager::LoadPluginConfigurationXML(const char * filename=0xcccccccccccccccc) Line 97 + 0x10 bytes C++
pqCore.dll!pqApplicationCore::loadDistributedPlugins(const char * filename=0x0000000000000000) Line 726 + 0x5d bytes C++
The related lines of code might be:
pqApplicationCore.cxx:line 725
vtkSMApplication::GetApplication()->GetPluginManager()->LoadPluginConfigurationXML(
config_file.toStdString().c_str());
}
Where config_file is "C:/ParaViewGit/bin/Debug/../.plugins". Such file is attached. After the process runs into vtkSMPluginManager
void vtkSMPluginManager::LoadPluginConfigurationXML(const char* filename)
{
bool debug_plugin = vtksys::SystemTools::GetEnv("PV_PLUGIN_DEBUG") != NULL;
vtkPVPluginLoaderDebugMacro("Loading plugin configuration xml: " << filename);
if (!vtksys::SystemTools::FileExists(filename, true))
{
Where filename becomes "0xcccccccccccccccc <Bad Ptr>". Any idea? Thanks a lot.
Best,
x
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20110214/0a077949/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ATT88437.plugins
Type: application/octet-stream
Size: 712 bytes
Desc: ATT88437.plugins
URL: <http://www.paraview.org/pipermail/paraview/attachments/20110214/0a077949/attachment-0001.obj>
More information about the ParaView
mailing list