Re: [Paraview] Segmentation fault when loading representation plugin on Linux paraview

2018-01-23 Thread Utkarsh Ayachit
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  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
> 
> ​
>
>
> 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 
>> 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
>> >  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 
>> >> 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.
>> >> > 0x2aaabd07d336 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  0x2aaabd07d336 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  0x2aaabd07d2fa 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  0x2aaae66d6041 in vtkLIC3DRepresentation::AddToView(vtkView*)
>> ()
>> >> >from
>> >> >
>> >> > /work/03501/ygliao/maverick/Paraview3DLICPlugin_0/build/libL
>> IC3DRepresentation.so
>> >> > #3  0x2fea6a64 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  0x2f4731ab 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  0x2f493760 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  0x2fea6a64 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  0x2db99b36 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 

Re: [Paraview] Segmentation fault when loading representation plugin on Linux paraview

2018-01-23 Thread Yangguang Liao
​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

​


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 
> 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
> >  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 
> >> 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.
> >> > 0x2aaabd07d336 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  0x2aaabd07d336 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  0x2aaabd07d2fa 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  0x2aaae66d6041 in vtkLIC3DRepresentation::AddToView(vtkView*)
> ()
> >> >from
> >> >
> >> > /work/03501/ygliao/maverick/Paraview3DLICPlugin_0/build/
> libLIC3DRepresentation.so
> >> > #3  0x2fea6a64 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  0x2f4731ab 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  0x2f493760 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  0x2fea6a64 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  0x2db99b36 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
> >> >
> >
> >
> >
> >
> > --
> > 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 

Re: [Paraview] Segmentation fault when loading representation plugin on Linux paraview

2018-01-23 Thread Utkarsh Ayachit
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  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
>  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 
>> 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.
>> > 0x2aaabd07d336 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  0x2aaabd07d336 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  0x2aaabd07d2fa 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  0x2aaae66d6041 in vtkLIC3DRepresentation::AddToView(vtkView*) ()
>> >from
>> >
>> > /work/03501/ygliao/maverick/Paraview3DLICPlugin_0/build/libLIC3DRepresentation.so
>> > #3  0x2fea6a64 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  0x2f4731ab 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  0x2f493760 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  0x2fea6a64 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  0x2db99b36 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
>> >
>
>
>
>
> --
> 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


Re: [Paraview] Segmentation fault when loading representation plugin on Linux paraview

2018-01-23 Thread Yangguang Liao
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 
> 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.
> > 0x2aaabd07d336 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  0x2aaabd07d336 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  0x2aaabd07d2fa 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  0x2aaae66d6041 in vtkLIC3DRepresentation::AddToView(vtkView*) ()
> >from
> > /work/03501/ygliao/maverick/Paraview3DLICPlugin_0/build/
> libLIC3DRepresentation.so
> > #3  0x2fea6a64 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  0x2f4731ab 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  0x2f493760 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  0x2fea6a64 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  0x2db99b36 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
> >
>



-- 
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


Re: [Paraview] Segmentation fault when loading representation plugin on Linux paraview

2018-01-23 Thread Utkarsh Ayachit
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  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.
> 0x2aaabd07d336 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  0x2aaabd07d336 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  0x2aaabd07d2fa 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  0x2aaae66d6041 in vtkLIC3DRepresentation::AddToView(vtkView*) ()
>from
> /work/03501/ygliao/maverick/Paraview3DLICPlugin_0/build/libLIC3DRepresentation.so
> #3  0x2fea6a64 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  0x2f4731ab 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  0x2f493760 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  0x2fea6a64 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  0x2db99b36 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
>
___
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


[Paraview] Segmentation fault when loading representation plugin on Linux paraview

2018-01-22 Thread Yangguang Liao
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.
0x2aaabd07d336 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  0x2aaabd07d336 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  0x2aaabd07d2fa 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  0x2aaae66d6041 in vtkLIC3DRepresentation::AddToView(vtkView*) ()
   from
/work/03501/ygliao/maverick/Paraview3DLICPlugin_0/build/libLIC3DRepresentation.so
#3  0x2fea6a64 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  0x2f4731ab 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  0x2f493760 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  0x2fea6a64 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  0x2db99b36 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