Even with fb13726dbfdcb5479c393720abaf8234edd42609, it fails to build. I'll
wait for you to update your code to build with latest ParaView before
testing it. A quick look at the "AddToView" method and I don't see anything
wrong with it, so it will need some debugging.

On Tue, Jan 23, 2018 at 4:02 PM, Yangguang Liao <ygl...@ucdavis.edu> wrote:

> ​I'd like to share, the code works well on Paraview version
> fb13726dbfdcb5479c393720abaf8234edd42609 (version on Dec 1 2017), The
> latest has changed some source code, and I'm working on fix it.
> Thanks.
> ​
>  Paraview3DLICPlugin.zip
> <https://drive.google.com/a/ucdavis.edu/file/d/1toVCur-Iie9khbPjMFJXueUwB15UJsxn/view?usp=drive_web>
> ​
>
>
> On Tue, Jan 23, 2018 at 10:56 AM, Utkarsh Ayachit <
> utkarsh.ayac...@kitware.com> wrote:
>
>> Maybe if you share the code for vtkLIC3DRepresentation I may be able
>> to offer suggestions. You could also try getting a access to some
>> other linux machine on which you should be able to reproduce the
>> issue.
>>
>> On Tue, Jan 23, 2018 at 1:53 PM, Yangguang Liao <ygl...@ucdavis.edu>
>> wrote:
>> > I run this paraview on TACC Maverick, which I have no access to debug
>> build.
>> > But I run the same plugin on my Windows Paraview build and there is no
>> such
>> > error. How could I fix it?
>> > Thanks
>> >
>> > On Tue, Jan 23, 2018 at 10:49 AM, Utkarsh Ayachit
>> > <utkarsh.ayac...@kitware.com> wrote:
>> >>
>> >> 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 <ygl...@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/libL
>> IC3DRepresentation.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(vtkClientServer
>> Interpreter*,
>> >> > 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
>> >> >
>> >
>> >
>> >
>> >
>> > --
>> > Yangguang Liao
>> > PhD. student of Computer Science Department
>> > University of California, Davis
>>
>
>
>
> --
> 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

Reply via email to