[vtkusers] segfault with Opengl2 in 6.3.0.rc2

Girish Ramlugun gram526 at aucklanduni.ac.nz
Tue Sep 8 22:03:49 EDT 2015


Hi all

Just FYI, this seems to have 'solved' my issue too. I am using fglrx
drivers on Ubuntu (12.04) for volume rendering.

Regards
Girish

On 6 September 2015 at 07:32, marcin.krotkiewski <
marcin.krotkiewski at gmail.com> wrote:

> I keep getting segfaults when using vtk.sample.VTKCanvas with OpenGL2
> backend in 6.3.0.rc2. This does not happen with 6.2.0 + OpenGL2, nor with
> the standard OpenGL backend. I use ubuntu 14.04 and compile with gcc 4.9.2
> and jdk1.8.0_60.
>
> On my laptop, the segfaults are 100 reproducible with mesa library - some
> lines from glxinfo:
>
>
> OpenGL renderer string: Mesa DRI Intel(R) Haswell Mobile
> OpenGL core profile version string: 3.3 (Core Profile) Mesa 10.1.3
> OpenGL core profile shading language version string: 3.30
>
>
> When I use the high performance card (fglrx drivers,  Radeon HD 8790M) the
> segfaults sometimes happen, sometimes not. Lines from glxinfo:
>
>
> OpenGL vendor string: Advanced Micro Devices, Inc.
> OpenGL renderer string: AMD Radeon HD 8790M
> OpenGL core profile version string: 4.3.13374 Core Profile Context
> 15.20.1013
> OpenGL core profile shading language version string: 4.40
>
>
> I have attached a simplified java code based on VTKCanvas - In my
> experience this one segfaults always, both with mesa, and with Radeon
> drivers. I get the following line before vtk dies:
>
>
> ERROR: In
> /home/angainor/bergverk/vtk/VTK-6.3.0.rc2/Rendering/OpenGL2/vtkOpenGLRenderWindow.cxx,
> line 412
> vtkXOpenGLRenderWindow (0x7f110429aa90): GLEW could not be initialized.
>
>
> And this is the top of the stack reported by the dying Java VM
>
>
> R11=0x00007fcbd8a79840: <offset 0x72840> in /usr/lib/fglrx/libGL.so.1 at
> 0x00007fcbd8a07000
>
> Stack: [0x00007fcbb94e4000,0x00007fcbb95e5000], sp=0x00007fcbb95e1148,
> free space=1012k
> Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
> j  vtk.vtkRenderWindow.Render_9()V+0
> j  vtk.vtkRenderWindow.Render()V+1
> j  vtk.vtkPanel.Render()V+164
> j  vtk.vtkPanel.paint(Ljava/awt/Graphics;)V+1
>
> [...]
>
>
> It seems that this is a problem specific to 6.3.0.rc2 with OpenGL2. I
> could not reproduce it for 6.2.0, nor when using OpenGL backend. Do you
> know any reason why this could happen? I will be happy to provide more
> information and help to solve this.
>
> Cheers,
>
> Marcin
>
>
> _______________________________________________
> 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 VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
>
> Search the list archives at: http://markmail.org/search/?q=vtkusers
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/vtkusers
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20150909/5dd84620/attachment.html>


More information about the vtkusers mailing list