[Paraview] Segmentation fault when loading representation plugin on Linux paraview
Utkarsh Ayachit
utkarsh.ayachit at kitware.com
Tue Jan 23 13:49:13 EST 2018
My guess would be that you're accessing a nullptr in
`vtkLIC3DRepresentation::AddToView`. I'd recommend doing a debug build
of ParaView, and then attaching a debugger to confirm and fix.
Utkarsh
On Mon, Jan 22, 2018 at 8:18 PM, Yangguang Liao <ygliao at ucdavis.edu> wrote:
> Hi,
>
> I get some segment fault when I try to run my plugin in Linux paraview while
> there is no error in Windows paraview.
> I can only run static version of paraview, but I track the segmentation
> fault.
>
> Program received signal SIGSEGV, Segmentation fault.
> 0x00002aaabd07d336 in vtkViewport::HasViewProp(vtkProp*) ()
> from
> /opt/apps/intel15/mvapich2_2_1/paraview/5.4.1/lib/paraview-5.4/libvtkRenderingCore-pv5.4.so.1
> Missing separate debuginfos, use: debuginfo-install
> paraview-intel15-mvapich2_2_1-5.4.1-1.x86_64
> (gdb) where
> #0 0x00002aaabd07d336 in vtkViewport::HasViewProp(vtkProp*) ()
> from
> /opt/apps/intel15/mvapich2_2_1/paraview/5.4.1/lib/paraview-5.4/libvtkRenderingCore-pv5.4.so.1
> #1 0x00002aaabd07d2fa in vtkViewport::AddViewProp(vtkProp*) ()
> from
> /opt/apps/intel15/mvapich2_2_1/paraview/5.4.1/lib/paraview-5.4/libvtkRenderingCore-pv5.4.so.1
> #2 0x00002aaae66d6041 in vtkLIC3DRepresentation::AddToView(vtkView*) ()
> from
> /work/03501/ygliao/maverick/Paraview3DLICPlugin_0/build/libLIC3DRepresentation.so
> #3 0x00002aaaafea6a64 in vtkView::AddRepresentation(vtkDataRepresentation*)
> ()
> from
> /opt/apps/intel15/mvapich2_2_1/paraview/5.4.1/lib/paraview-5.4/libvtkViewsCore-pv5.4.so.1
> #4 0x00002aaaaf4731ab in vtkCompositeRepresentation::AddToView(vtkView*) ()
> from
> /opt/apps/intel15/mvapich2_2_1/paraview/5.4.1/lib/paraview-5.4/libvtkPVClientServerCoreRendering-pv5.4.so.1
> #5 0x00002aaaaf493760 in vtkPVCompositeRepresentation::AddToView(vtkView*)
> ()
> from
> /opt/apps/intel15/mvapich2_2_1/paraview/5.4.1/lib/paraview-5.4/libvtkPVClientServerCoreRendering-pv5.4.so.1
> #6 0x00002aaaafea6a64 in vtkView::AddRepresentation(vtkDataRepresentation*)
> ()
> from
> /opt/apps/intel15/mvapich2_2_1/paraview/5.4.1/lib/paraview-5.4/libvtkViewsCore-pv5.4.so.1
> #7 0x00002aaaadb99b36 in vtkViewCommand(vtkClientServerInterpreter*,
> vtkObjectBase*, char const*, vtkClientServerStream const&,
> vtkClientServerStream&, void*)
>
> I don't why this only happens in Linux. Anyone could help me figure out?
>
> --
> Yangguang Liao
> PhD. student of Computer Science Department
> University of California, Davis
>
> _______________________________________________
> 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
>
> Search the list archives at: http://markmail.org/search/?q=ParaView
>
> Follow this link to subscribe/unsubscribe:
> https://paraview.org/mailman/listinfo/paraview
>
More information about the ParaView
mailing list