[Paraview] failed to launch paraview.exe

Xunlei Wu xunlei at renci.org
Fri Feb 18 09:48:11 EST 2011


Hi David and Utkarsh,
With your new patch on Python _DEBUG from git source, I was able to build on MSVC2010 without any PYTHON related hitches. I still have issues with VTK_WRAP_PYTHON_SIP as I reported earlier though.
When I launched the newly built paraview.exe I got the exact same error in pqApplicationCore.cxx, line 725:


  vtkSMApplication::GetApplication()->GetPluginManager()->LoadPluginConfigurationXML(
         config_file.toStdString().c_str());


QString config_file has value "C:/ParaViewGit_VS2010/bin/Debug/../.plugins". However, config_file.toStdString() has corrupted content.

BTW, shall I care about DirectX_LIBRARY? It appears ParaView's vtkRendering only uses DirectX9. Does including DirectX help ParaView performance on Windows machine?

Best,
x


From: David Partyka [mailto:david.partyka at kitware.com]
Sent: Monday, February 14, 2011 1:36 PM
To: Xunlei Wu
Cc: Utkarsh Ayachit; paraview at paraview.org
Subject: Re: [Paraview] failed to launch paraview.exe

Just to confirm. The VS10 x64 build on our nightly dashboard launches without issue.
On Mon, Feb 14, 2011 at 1:27 PM, Xunlei Wu <xunlei at renci.org<mailto:xunlei at renci.org>> wrote:
Thanks, David. Please give me a day or two. I just flooded the VS10 build directory with my previous successful VS08 build in order to get some work done. I will build through VS10 tomorrow night.
Best,
x

From: David Partyka [mailto:david.partyka at kitware.com<mailto:david.partyka at kitware.com>]
Sent: Monday, February 14, 2011 1:23 PM
To: Utkarsh Ayachit
Cc: Xunlei Wu; paraview at paraview.org<mailto:paraview at paraview.org>

Subject: Re: [Paraview] failed to launch paraview.exe

We do test nightly with VS10 and one of our developers actively uses it as well so it "should" work. Have you tried running paraview with -dr command? In the mean time I will try and run the vs10 build on the dashboard machine.
On Mon, Feb 14, 2011 at 1:20 PM, Utkarsh Ayachit <utkarsh.ayachit at kitware.com<mailto:utkarsh.ayachit at kitware.com>> wrote:
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<mailto: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<mailto:utkarsh.ayachit at kitware.com>]
> Sent: Monday, February 14, 2011 1:13 PM
> To: Xunlei Wu
> Cc: paraview at paraview.org<mailto: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<mailto: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()->LoadPluginConf
>> 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<http://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
>>
>>
>


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20110218/4218ec4b/attachment.htm>


More information about the ParaView mailing list