[Mesa-dev] VTK Offscreen Segfaults

Kevin H. Hobbs hobbsk at ohiou.edu
Tue Aug 10 07:56:43 PDT 2010


Although the backtrace after the segfault does not show other functions
between vtkOpenGLRenderWindow::OpenGLInit and vbo_exec_EvalCoord1fv I am
able to set a breakpoint at vtkOpenGLRenderWindow::OpenGLInit and step
through the program. I can see the execution moving through mesa
functions. I'm only showing the breakpoint and the output after each
"step" where gdb gives me a new "function () at file:line"

Breakpoint 1, vtkOpenGLRenderWindow::OpenGLInit (this=0x69b7e0)
    at /home/kevin/kitware/VTK/Rendering/vtkOpenGLRenderWindow.cxx:241
241       glDepthFunc( GL_LEQUAL );

glDepthFunc () at glapi_x86-64.S:8763
_x86_64_get_dispatch () at glapi_x86-64.S:76
__pthread_getspecific (key=0) at pthread_getspecific.c:32
glDepthFunc () at glapi_x86-64.S:8765
neutral_EvalCoord1fv (v=0x203) at main/vtxfmt_tmp.h:77
u_current_get_user (v=0x203) at ../../src/mapi/mapi/u_current.h:89
neutral_EvalCoord1fv (v=0x203) at main/vtxfmt_tmp.h:78
vbo_exec_BeginVertices (ctx=0x7ffff2656010) at vbo/vbo_exec_api.c:862
vbo_context (ctx=0x7ffff2656010) at vbo/vbo_context.h:90
vbo_exec_BeginVertices (ctx=0x7ffff2656010) at vbo/vbo_exec_api.c:865
vbo_exec_vtx_map (exec=0x6da130) at vbo/vbo_exec_draw.c:291
vbo_exec_BeginVertices (ctx=<value optimized out>) at vbo/vbo_exec_api.c:867
neutral_EvalCoord1fv (v=0x203) at main/vtxfmt_tmp.h:79
u_current_get (v=0x203) at ../../src/mapi/mapi/u_current.h:71
neutral_EvalCoord1fv (v=0x203) at main/vtxfmt_tmp.h:79
vbo_exec_EvalCoord1fv (u=0x203) at vbo/vbo_exec_api.c:458

I hope this is useful somehow.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 253 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20100810/344e535c/attachment.pgp>


More information about the mesa-dev mailing list