Re: [Paraview] Paraview closes with a core dump

2017-02-24 Thread Mathieu Westphal
Great, happy to help.

Mathieu Westphal

On Fri, Feb 24, 2017 at 12:56 AM, Robert Sawko 
wrote:

> Mathieu,
>
> Turned out that Intel was getting in the way... The integrated card was
> somehow
> conflicting with the discrete NVidia card and I had to reconfigure my X
> settings somewhat as described here:
>
> https://bbs.archlinux.org/viewtopic.php?id=223435
>
> This problem developed spontaneously though as I definitely had glxgears,
> paraview etc working before, so I am not exactly sure core dumps suddenly.
> But
> I am pleased that I got some more clarity on the way I am using my system.
>
> Thanks for all your earlier suggestions.
>
> Best wishes,
> Robert
> --
> Indian in the mountain
> http://en.wikipedia.org/wiki/Crazy_Horse_Memorial
> http://en.wikipedia.org/wiki/Korczak_Ziolkowski
>
___
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:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] Paraview closes with a core dump

2017-02-23 Thread Robert Sawko
Mathieu,

Turned out that Intel was getting in the way... The integrated card was somehow
conflicting with the discrete NVidia card and I had to reconfigure my X
settings somewhat as described here:

https://bbs.archlinux.org/viewtopic.php?id=223435

This problem developed spontaneously though as I definitely had glxgears,
paraview etc working before, so I am not exactly sure core dumps suddenly. But
I am pleased that I got some more clarity on the way I am using my system.

Thanks for all your earlier suggestions.

Best wishes,
Robert
-- 
Indian in the mountain
http://en.wikipedia.org/wiki/Crazy_Horse_Memorial
http://en.wikipedia.org/wiki/Korczak_Ziolkowski
___
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:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] Paraview closes with a core dump

2017-02-22 Thread Mathieu Westphal
Hi

Well, you found it yourself, looks like you have some problem with OpenGL
and x windows.
Can't help you much more here, let me know when you are able to fix it if
paraview still crashes.
Also, if glxinfo does not work, i would expect all x application to crash
as well.

Regards,

Mathieu Westphal

On Wed, Feb 22, 2017 at 6:26 PM, Robert Sawko  wrote:

>
> Thanks for looking into it, Mathieu.
>
> >- Is your system up to date ?
> It's quite up to date. See below.
> $ uname -a
> Linux avignon 4.9.9-1-ARCH #1 SMP PREEMPT Thu Feb 9 19:07:09 CET 2017
> x86_64 GNU/Linux
>
> >- Are you running X ? Wayland ?
> Yes, for X. Never heard of Wayland.
>
> >- What DE/WM are you running ?
> No DE, but Xmonad as WM.
>
> >- What graphic card do you have ? With which drivers version ?
> Nvidia Quadro. I've got nvidia driver version 378.13-1. There's a slightly
> newer one in the repo.
>
> >- What version of opengl is installed ? please provide glxinfo output.
>
> $ glxinfo
> name of display: :0.0
> Error: couldn't find RGB GLX visual or fbconfig
>
> Oops... that looks like a problem. I could try downgrading opengl.
>
> >- There should be some error message before the segfault, but we can't
> >see any, did you removed them or are they missing ?
>
> I haven't removed anything from the gdb output. Running paraview from bash
> is
> core-dumps silently.
>
> >- Can you check in your source that
> >paraview/VTK/Rendering/OpenGL2/vtkXOpenGLRenderWindow.cxx:485
> contains
>
> Yes, these lines are there.
>
> Robert
>
___
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:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] Paraview closes with a core dump

2017-02-22 Thread Robert Sawko

Thanks for looking into it, Mathieu.

>- Is your system up to date ?
It's quite up to date. See below.
$ uname -a
Linux avignon 4.9.9-1-ARCH #1 SMP PREEMPT Thu Feb 9 19:07:09 CET 2017 x86_64 
GNU/Linux

>- Are you running X ? Wayland ?
Yes, for X. Never heard of Wayland.

>- What DE/WM are you running ?
No DE, but Xmonad as WM.

>- What graphic card do you have ? With which drivers version ?
Nvidia Quadro. I've got nvidia driver version 378.13-1. There's a slightly
newer one in the repo.

>- What version of opengl is installed ? please provide glxinfo output.

$ glxinfo 
name of display: :0.0
Error: couldn't find RGB GLX visual or fbconfig

Oops... that looks like a problem. I could try downgrading opengl.

>- There should be some error message before the segfault, but we can't
>see any, did you removed them or are they missing ?

I haven't removed anything from the gdb output. Running paraview from bash is
core-dumps silently.

>- Can you check in your source that
>paraview/VTK/Rendering/OpenGL2/vtkXOpenGLRenderWindow.cxx:485 contains

Yes, these lines are there.

Robert
___
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:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] Paraview closes with a core dump

2017-02-22 Thread Mathieu Westphal
Looks like a Xorg problem.

Please specify :
- Is your system up to date ?
- Are you running X ? Wayland ?
- What DE/WM are you running ?
- What graphic card do you have ? With which drivers version ?
- What version of opengl is installed ? please provide glxinfo output.
- There should be some error message before the segfault, but we can't see
any, did you removed them or are they missing ?
- Can you check in your source that
paraview/VTK/Rendering/OpenGL2/vtkXOpenGLRenderWindow.cxx:485 contains :

   6   if (!this->WindowId)
   5   {
   4 v = this->GetDesiredVisualInfo();
   3 if (!v)
   2 {
   1   vtkErrorMacro(<< "Could not find a decent visual\n");
485abort();
   1 }

Regards

Mathieu Westphal

On Wed, Feb 22, 2017 at 6:01 PM, Robert Sawko  wrote:

> Thanks. Here's the gdb output. I did compile in Debug mode.
>
> Robert
> --
> Noah's Ark for plants:
> http://en.wikipedia.org/wiki/Svalbard_Global_Seed_Vault
>
___
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:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] Paraview closes with a core dump

2017-02-22 Thread Mathieu Westphal
Hi

Please make sure ParaView is compiled in Debug, run it with gdb, then
forward the backtrace.

Mathieu Westphal

On Wed, Feb 22, 2017 at 5:49 PM, Robert Sawko  wrote:

> Unfortunately even a minimal compilation of ParaView (no options). I am
> attaching the stack trace. Let me know if you have any ideas.
>
> Robert
>
___
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:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] Paraview closes with a core dump

2017-02-22 Thread Mathieu Westphal
You are right, i did not check the core dump.
Let me know how it goes.

Mathieu Westphal

On Wed, Feb 22, 2017 at 2:36 PM, Robert Sawko  wrote:

> I was convinced I attached stack trace too. Please see core.dump file. It
> may
> be a red herring but there are several references to libQt5Core there. I am
> rebuilding with Qt5 now, but will also try a more minimal build with Qt4
> later.
>
> Thanks for quick reply.
> Robert
> --
> Tropics in Cornwall:
> http://en.wikipedia.org/wiki/Eden_Project
>
___
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:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] Paraview closes with a core dump

2017-02-22 Thread Robert Sawko
I was convinced I attached stack trace too. Please see core.dump file. It may
be a red herring but there are several references to libQt5Core there. I am
rebuilding with Qt5 now, but will also try a more minimal build with Qt4 later.

Thanks for quick reply.
Robert
-- 
Tropics in Cornwall:
http://en.wikipedia.org/wiki/Eden_Project
___
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:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] Paraview closes with a core dump

2017-02-22 Thread Mathieu Westphal
Hi

ArchLinux user here.
Your CMakeCache.txt looks like a QT4 configuration, no occurence of libQt5.
I can build with Qt4 without any problem.

You may want to :
 - CleanUp your build directory and configure and build again. Unless
specific needs, i suggest you only set PARAVIEW_QT_VERSION to 4 and build
 - If it stills segfault, run with gdb and report the backtrace
 - Try with qt5 as well.

Regards


Mathieu Westphal

On Wed, Feb 22, 2017 at 2:12 PM, Robert Sawko  wrote:

> Hi,
>
> This is Arch Linux user again. Parview no longer opens for me. It just ends
> with a core dump (attached). It seems it's something to do with Arch Linux
> forward looking policy of favouring QT5. I have specified in the
> compilation
> to build with QT4 (see attached CMakeCache.txt), but on run it still picks
> libQt5Core.so.
>
> I will now try to rebuild with QT5 but there was a perspective issue with
> that
> before.
>
> Does anyone have any suggestions, please?
>
> Thanks,
> Robert
> --
> Tropics in Cornwall:
> http://en.wikipedia.org/wiki/Eden_Project
>
> ___
> 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:
> http://public.kitware.com/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:
http://public.kitware.com/mailman/listinfo/paraview