[Paraview] Pvbatch 4.1.0 core dumps when loading LIC plugin on server and client
Burlen Loring
burlen.loring at gmail.com
Wed Apr 16 15:45:34 EDT 2014
Oh, that is a complete example. :-) my bad.
I was able to reproduce using the 4.1 binary, I'll try with a debug
build and see if I can determine what's going wrong.
$PV_LIBRARY_PATH=/work/ParaView/ParaView-4.1.0-Linux-64bit/lib/paraview-4.1/
ParaView-4.1.0-Linux-64bit/bin/pvbatch --enable-bt ./load-lic.py
pvPath
/work/ParaView/ParaView-4.1.0-Linux-64bit/lib/paraview-4.1/
=========================================================
Process id 3415 Caught SIGSEGV at 0x0 address not mapped to object
Program Stack:
WARNING: The stack trace will not use advanced capabilities because this
is a release build.
0x3769a0ef90 : ??? [(???) ???:-1]
0x376c6940cf : std::ostream::sentry::sentry(std::ostream&)
[(libstdc++.so.6) ???:-1]
0x376c694799 : std::basic_ostream<char, std::char_traits<char> >&
std::__ostream_insert<char, std::char_traits<char>
>(std::basic_ostream<char, std::char_traits<char> >&, char const*,
long) [(libstdc++.so.6) ???:-1]
0x376c694bf7 : std::basic_ostream<char, std::char_traits<char> >&
std::operator<< <std::char_traits<char> >(std::basic_ostream<char,
std::char_traits<char> >&, char const*) [(libstdc++.so.6) ???:-1]
0x7f032f6376cd : vtkClientServerInterpreter::AddNewInstanceFunction(char
const*, vtkObjectBase* (*)(void*), void*, void (*)(void*))
[(libvtkClientServer-pv4.1.so.1) ???:-1]
0x7f030f683bec :
vtkSurfaceLICRepresentation_Init(vtkClientServerInterpreter*)
[(libSurfaceLIC.so) ???:-1]
0x7f032f75ddeb :
vtkClientServerInterpreterInitializer::RegisterCallback(void
(*)(vtkClientServerInterpreter*)) [(libvtkPVCommon-pv4.1.so.1) ???:-1]
0x7f033111fd97 : vtkPVPluginTracker::RegisterPlugin(vtkPVPlugin*)
[(libvtkPVClientServerCoreCore-pv4.1.so.1) ???:-1]
0x7f0331114318 : vtkPVPluginLoader::LoadPlugin(char const*,
vtkPVPlugin*) [(libvtkPVClientServerCoreCore-pv4.1.so.1) ???:-1]
0x7f03311168bd : vtkPVPluginLoader::LoadPluginInternal(char const*,
bool) [(libvtkPVClientServerCoreCore-pv4.1.so.1) ???:-1]
0x7f0331d2fc31 : vtkPVPluginLoaderCommand(vtkClientServerInterpreter*,
vtkObjectBase*, char const*, vtkClientServerStream const&,
vtkClientServerStream&, void*)
[(libvtkPVServerManagerApplication-pv4.1.so.1) ???:-1]
0x7f032f637250 : vtkClientServerInterpreter::CallCommandFunction(char
const*, vtkObjectBase*, char const*, vtkClientServerStream const&,
vtkClientServerStream&) [(libvtkClientServer-pv4.1.so.1) ???:-1]
0x7f032f63c183 :
vtkClientServerInterpreter::ProcessCommandInvoke(vtkClientServerStream
const&, int) [(libvtkClientServer-pv4.1.so.1) ???:-1]
0x7f032f63aef2 :
vtkClientServerInterpreter::ProcessOneMessage(vtkClientServerStream
const&, int) [(libvtkClientServer-pv4.1.so.1) ???:-1]
0x7f032f63b3ad :
vtkClientServerInterpreter::ProcessStream(vtkClientServerStream const&)
[(libvtkClientServer-pv4.1.so.1) ???:-1]
0x7f03312c637c :
vtkPVSessionCore::ExecuteStreamInternal(vtkClientServerStream const&,
bool) [(libvtkPVServerImplementationCore-pv4.1.so.1) ???:-1]
0x7f03312c5c28 : vtkPVSessionCore::ExecuteStream(unsigned int,
vtkClientServerStream const&, bool)
[(libvtkPVServerImplementationCore-pv4.1.so.1) ???:-1]
0x7f03312c4063 : vtkPVSessionBase::ExecuteStream(unsigned int,
vtkClientServerStream const&, bool)
[(libvtkPVServerImplementationCore-pv4.1.so.1) ???:-1]
0x7f03314fb05b : vtkSMPluginLoaderProxy::LoadPlugin(char const*)
[(libvtkPVServerManagerCore-pv4.1.so.1) ???:-1]
0x7f03314fbfd9 : vtkSMPluginManager::LoadRemotePlugin(char const*,
vtkSMSession*) [(libvtkPVServerManagerCore-pv4.1.so.1) ???:-1]
0x7f03156bddfb : ??? [(???) ???:-1]
0x7f032d555e0a : PyEval_EvalFrameEx [(libpython2.7.so.1.0) ???:-1]
0x7f032d557f99 : PyEval_EvalCodeEx [(libpython2.7.so.1.0) ???:-1]
0x7f032d5564e5 : PyEval_EvalFrameEx [(libpython2.7.so.1.0) ???:-1]
0x7f032d557f99 : PyEval_EvalCodeEx [(libpython2.7.so.1.0) ???:-1]
0x7f032d5564e5 : PyEval_EvalFrameEx [(libpython2.7.so.1.0) ???:-1]
0x7f032d557f99 : PyEval_EvalCodeEx [(libpython2.7.so.1.0) ???:-1]
0x7f032d558292 : PyEval_EvalCode [(libpython2.7.so.1.0) ???:-1]
0x7f032d57b7b1 : PyRun_FileExFlags [(libpython2.7.so.1.0) ???:-1]
0x7f032d57ba87 : PyRun_SimpleFileExFlags [(libpython2.7.so.1.0) ???:-1]
0x7f032d58db27 : Py_Main [(libpython2.7.so.1.0) ???:-1]
0x40218f : ParaViewPython::Run(int, int, char**) [(pvbatch) ???:-1]
0x3769621b45 : __libc_start_main [(libc.so.6) ???:-1]
0x401dca : __gxx_personality_v0 [(pvbatch) ???:-1]
=========================================================
Aborted
On 04/16/2014 11:37 AM, Burlen Loring wrote:
> mind sharing a complete example?
>
> On 04/16/2014 07:24 AM, Joe Borġ wrote:
>>
>> Create a Python file with the following commands:
>>
>> from paraview.simple import *
>>
>> print 'Loading on server...'
>> LoadPlugin('/opt/ParaView/ParaView-4.1.0-Linux-64bit/lib/paraview-4.1/libSurfaceLIC.so',
>> True, globals())
>> print '...loaded.'
>> print 'Loading on client...'
>> LoadPlugin('/opt/ParaView/ParaView-4.1.0-Linux-64bit/lib/paraview-4.1/libSurfaceLIC.so',
>> False, globals())
>> print '...loaded.
>>
>> And then run it to see:
>>
>> $ pvbatch pv_lic_plugin_test.py
>> Loading on server...
>> ...loaded.
>> Loading on client...
>> Segmentation fault (core dumped)
>>
>> It doesn't work the other way around, either.
>>
>> Thanks,
>> Joe
>>
>>
>>
>> _______________________________________________
>> Powered bywww.kitware.com
>>
>> Visit other Kitware open-source projects athttp://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/20140416/43035bfb/attachment.html>
More information about the ParaView
mailing list