[vtk-developers] Segfault importing vtk on master

Prabhu Ramachandran prabhu at aero.iitb.ac.in
Mon Nov 26 13:56:22 EST 2018


Hi Utkarsh,

Yes, I can confirm that this fixes the issue.  Can you please merge this to
master and the 8.2.0 release?  Thanks!

Regards,
Prabhu

On 11/26/18 9:42 AM, Utkarsh Ayachit wrote:
> It's getting added to all.py through the CMake code that simply adds
> all wrapped modules to it. I can't think of reason why the
> vtkPythonInterpreter module should be Python wrapped at all, however.
> Can you try the attached patch, please? Does it work?
>
> Thanks
> Utkarsh
> On Sun, Nov 25, 2018 at 8:30 PM Prabhu Ramachandran
> <prabhu at aero.iitb.ac.in> wrote:
>> Hi all,
>>
>> With VTK 8.2.x (master), I run into a segfault when I "import vtk" on Python 3.7 (I doubt it is specific to a particular Python version).  By simply commenting out
>>
>> from .vtkPythonInterpreter import *
>>
>> in the all.py module, the segfault is fixed.  I am not sure why this module should be put into all.py? If someone desires it they can manually import it.  Or is there something I am missing?
>>
>> Thanks!
>>
>> cheers,
>>
>> Prabhu
>>
>> _______________________________________________
>> Powered by www.kitware.com
>>
>> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
>>
>> Search the list archives at: http://markmail.org/search/?q=vtk-developers
>>
>> Follow this link to subscribe/unsubscribe:
>> https://public.kitware.com/mailman/listinfo/vtk-developers
>>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://public.kitware.com/pipermail/vtk-developers/attachments/20181126/c7cc3b24/attachment.html>


More information about the vtk-developers mailing list