[Paraview] failed to launch paraview.exe

Xunlei Wu xunlei at renci.org
Mon Feb 14 13:24:06 EST 2011


Hi Utkarsh and Dave,
It is
"C:/ParaViewGit/bin/Debug/../.plugins"
It looks all valid. However, even extracting the QString content before calling LoadPluginConfigurationXML(), say
	const char* fn_c_str = config_file.toStdString().c_str();
	std::string fn_std_str = config_file.toStdString();
gives me corrupted content.
Best,
x

-----Original Message-----
From: Utkarsh Ayachit [mailto:utkarsh.ayachit at kitware.com] 
Sent: Monday, February 14, 2011 1:20 PM
To: Xunlei Wu
Cc: paraview at paraview.org; Dave Partyka
Subject: Re: [Paraview] failed to launch paraview.exe

Honestly, I am not the best guy to comment about windows, I use linux for most of my development. Dave, any insights?

What is the value of config_file variable in pqApplicationCore.cxx:725?

Utkarsh

On Mon, Feb 14, 2011 at 1:15 PM, Xunlei Wu <xunlei at renci.org> wrote:
> Hi Utkarsh,
> This is the only copy of ParaView I am building from git source. I have no ther VTK installation.
> BTW, do you see many issues with MSVC2010? I am frustrated with ParaView building process and not sure whether it is compiler/IDE related. Thanks a lot.
>
> Best,
> x
>
> -----Original Message-----
> From: Utkarsh Ayachit [mailto:utkarsh.ayachit at kitware.com]
> Sent: Monday, February 14, 2011 1:13 PM
> To: Xunlei Wu
> Cc: paraview at paraview.org
> Subject: Re: [Paraview] failed to launch paraview.exe
>
> Are you sure there isn't some dll conflict issue? Do you have other installations of ParaView?
>
> Utkarsh
>
> On Mon, Feb 14, 2011 at 1:10 PM, Xunlei Wu <xunlei at renci.org> wrote:
>> 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()->LoadPluginCon
>> f
>> igurationXML(
>>
>>     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
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> _______________________________________________
>> Powered by www.kitware.com
>>
>> Visit other Kitware open-source projects at 
>> http://www.kitware.com/opensource/opensource.html
>>
>> Please keep messages on-topic and check the ParaView Wiki at:
>> http://paraview.org/Wiki/ParaView
>>
>> Follow this link to subscribe/unsubscribe:
>> http://www.paraview.org/mailman/listinfo/paraview
>>
>>
>


More information about the ParaView mailing list