<html>
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space;
-webkit-line-break: after-white-space; color: rgb(0, 0, 0); "
text="#000000" bgcolor="#FFFFFF">
<div style="font-size: 14px; font-family: Calibri, sans-serif; ">
Hi,</div>
<br>
<font style="font-size: 14px; " face="Calibri,sans-serif">
I'm trying to use the ParaView (latest git version) python API
from within pure python and I'm running into an issue. The script
I'm testing runs the sphere animation example from the PV wiki,
and while the animation shows fine, the script crashes at
completion on both Ubuntu 12.04 and OSX 10.8.4, with slightly
different error reporting. Everything works fine if I use pvpython
(both with and without wrapper script), but I don't see why pure
python should be a problem. I've attached the wrapper script I use
to setup the environment (taken from suggestions on PV wiki) and
the script I'm testing. Below, I've shown the errors seen. Has
anyone seen this before? Is there some extra setup bit that
pvpython is doing that isn't being taken care of by the wrapper
script?</font><br>
<br>
<font style="font-size: 14px; " face="Calibri,sans-serif">Thanks,</font>
<div><font style="font-size: 14px; " face="Calibri,sans-serif">M</font><br>
<span style="font-size: 12px;">-- </span></div>
<div>
<pre class="moz-signature" cols="72"><font style="font-size: 12px;" face="Calibri">Dr. Michael Reuter
Data Analaysis and Visualization Group
Neutron Data Analysis and Visualization Division
Oak Ridge National Laboratory
Office: 1-865-241-7216
Fax: 1-865-574-6080
Email: <a class="moz-txt-link-abbreviated" href="mailto:reuterma@ornl.gov">reuterma@ornl.gov</a></font></pre>
<font style="font-size: 14px; " face="Calibri,sans-serif">
On Ubuntu, I usually see the following error:</font><br>
<br>
<font style="font-size: 14px; " face="Calibri,sans-serif">
*** glibc detected *** python: corrupted double-linked list:
0x0000000003064250 ***</font><br>
<font style="font-size: 14px; " face="Calibri,sans-serif">
Occasionally, I'll get: </font><br>
<font style="font-size: 14px; " face="Calibri,sans-serif">
*** glibc detected *** python: double free or corruption
(!prev): 0x0000000003cd12a0 ***</font><br>
<font style="font-size: 14px; " face="Calibri,sans-serif">
and a long error report.</font><br>
<span class="Apple-tab-span" style="font-size: 14px; font-family:
Calibri, sans-serif; white-space: pre; "></span><font
style="font-size: 14px; " face="Calibri,sans-serif"><br>
On OSX, I see:</font>
<div style="font-size: 14px; font-family: Calibri, sans-serif; ">
<div>Process: Python [15280]</div>
<div>Path:
/System/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python</div>
<div>Identifier: org.python.python</div>
<div>Version: 2.7.2 (2.7.2)</div>
<div>Build Info: python-60004000000000~1</div>
<div>Code Type: X86-64 (Native)</div>
<div>Parent Process: bash [15279]</div>
<div>User ID: 677015263</div>
<div><br>
</div>
<div>PlugIn Path:
/Users/USER/*/libvtkCommonCore-pv4.0.1.dylib</div>
<div>PlugIn Identifier: libvtkCommonCore-pv4.0.1.dylib</div>
<div>PlugIn Version: ??? (0)</div>
<div><br>
</div>
<div>Date/Time: 2013-08-01 13:11:24.981 -0400</div>
<div>OS Version: Mac OS X 10.8.4 (12E55)</div>
<div>Report Version: 10</div>
<div><br>
</div>
<div>Anonymous UUID:
123754A7-EABF-1F59-0E0A-7B623674EB9C</div>
<div><br>
</div>
<div>Crashed Thread: 0 Dispatch queue: com.apple.main-thread</div>
<div><br>
</div>
<div>Exception Type: EXC_BAD_ACCESS (SIGSEGV)</div>
<div>Exception Codes: EXC_I386_GPFLT</div>
<div><br>
</div>
<div>Thread 0 Crashed:: Dispatch queue: com.apple.main-thread</div>
<div>0 libvtkCommonCore-pv4.0.1.dylib<span
class="Apple-tab-span" style="white-space:pre"> </span>0x000000010e0de9e6
vtkSmartPointerBase::~vtkSmartPointerBase() + 22</div>
<div>1 libvtkPVServerManagerCore-pv4.0.1.dylib<span
class="Apple-tab-span" style="white-space:pre"> </span>0x0000000110385a4c
std::_Rb_tree<std::string, std::pair<std::string const,
vtkSmartPointer<vtkDataObject> >,
std::_Select1st<std::pair<std::string const,
vtkSmartPointer<vtkDataObject> > >,
std::less<std::string>,
std::allocator<std::pair<std::string const,
vtkSmartPointer<vtkDataObject> > >
>::_M_erase(std::_Rb_tree_node<std::pair<std::string
const, vtkSmartPointer<vtkDataObject> > >*) + 108</div>
<div>2 libvtkPVServerManagerCore-pv4.0.1.dylib<span
class="Apple-tab-span" style="white-space:pre"> </span>0x000000011038414c
vtkSMDataTypeDomain::~vtkSMDataTypeDomain() + 172</div>
<div>3 libvtkPVServerManagerCore-pv4.0.1.dylib<span
class="Apple-tab-span" style="white-space:pre"> </span>0x000000011038406f
vtkSMDataTypeDomain::~vtkSMDataTypeDomain() + 15</div>
<div>… clipped for brevity</div>
</div>
</div>
</body>
</html>