[Mesa-users] Mesa 7.11.2 Segmentation fault
tom fogal
tfogal at alumni.unh.edu
Tue Jan 17 16:44:18 PST 2012
Hi Eduard!
I recommend you do two things:
1) try this again with git's master instead of any 7.11 version. That
branch was created back in summer and I think most developers think of
it as being in 'maintenance mode'; there are likely to be significant
changes at this point.
2) file a bug report (bugs.freedesktop.org). I think this will get
lost otherwise.
It would be interesting if the valgrind output changed with/without
--disable-asm. You might also want to make sure that GLX_USE_TLS is
defined.
Best,
-tom
Eduard Deines <eddeines at gmail.com> writes:
> Hello,
>
> I'm in the process to update our mesa version from 7.6 to 7.11. I have
> successfully compiled mesa 7.11 on a linux 64 bit machine with the
> following configuration:
>
> /configure --prefix=install_dir --with-driver=xlib --disable-gles1
> --disable-gles2 --without-gallium-drivers --disable-glu --disable-glut
> --disable-glw --disable-egl
>
> I'm using mesa with VTK. When I do offscreen rendering in VTK using
> osmesa my program crashes. I've used gdb to find the position in the
> code where it crashes. I run the gdb with no success. I also ran
> valgrind and got the following output:
>
> Mesa: Initializing x86-64 optimizations
> ==9528== Invalid read of size 8
> ==9528== at 0xAEE6DB7: glMatrixMode (glapi_x86-64.S:10535)
> ==9528== by 0x4F6EF22:
> vtkXOpenGLRenderWindow::CreateOffScreenWindow(int, int)
> (vtkXOpenGLRenderWindow.cxx:1010)
> ==9528== by 0x4F6F424: vtkXOpenGLRenderWindow::Initialize()
> (vtkXOpenGLRenderWindow.cxx:1142)
> ==9528== by 0x4F6F81A: vtkXOpenGLRenderWindow::Start()
> (vtkXOpenGLRenderWindow.cxx:1261)
> ==9528== by 0x4E383D2: vtkRenderWindow::DoStereoRender()
> (vtkRenderWindow.cxx:656)
> ==9528== by 0x4E383AA: vtkRenderWindow::DoFDRender()
> (vtkRenderWindow.cxx:645)
> ==9528== by 0x4E37E4A: vtkRenderWindow::DoAARender()
> (vtkRenderWindow.cxx:537)
> ==9528== by 0x4E37413: vtkRenderWindow::Render() (vtkRenderWindow.cxx:362)
> ==9528== by 0x4F7210C: vtkXOpenGLRenderWindow::Render()
> (vtkXOpenGLRenderWindow.cxx:1877)
> ==9528== by 0x403E99: main (mesa_test.cxx:228)
> ==9528== Address 0xee568d8 is not stack'd, malloc'd or (recently) free'd
>
>
> Am I using the wrong configuration parameters? Did I miss any
> configuration parameter?
> Is this a problem of the assembly code in mesa? If I turn the assembly
> off (--disable-asm) the program does not crash but there is also
> nothing rendered.
> I assume glapi is needed by mesa?
>
> Thanks in advance for your help!
>
> Eduard
> _______________________________________________
> mesa-users mailing list
> mesa-users at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/mesa-users
More information about the mesa-users
mailing list