[vtkusers] X Error

Kevin H. Hobbs hobbsk at ohiou.edu
Mon Apr 21 17:46:26 EDT 2008


I used the method at http://www.rahul.net/kenton/perrors.html to see
where the X error was comming from and I got the following backtrace
after setting a breakpoint in main, setting _Xdebug = 1, setting a
breakpoint it _XError, and continuing.

Breakpoint 2, _XError (dpy=0x91d2b0, rep=0x655c30) at XlibInt.c:2880
(gdb) bt
#0  _XError (dpy=0x91d2b0, rep=0x655c30) at XlibInt.c:2880
#1  0x0000003b7de4b179 in _XReply (dpy=0x91d2b0, rep=0x7fff93df2354, extra=0, discard=0) at xcb_io.c:417
#2  0x0000003b7ea09531 in XShmQueryVersion (dpy=0x91d2b0, majorVersion=0x7fff93df253c, minorVersion=0x7fff93df2538, sharedPixmaps=0x7fff93df2530) at XShm.c:191
#3  0x00002aaab1033ae0 in initialize_visual_and_buffer (v=0x943ce0, b=0x13faf80, rgb_flag=0 '\0', window=62914562, cmap=0) at drivers/x11/xm_api.c:184
#4  0x00002aaab1034819 in XMesaCreateWindowBuffer (v=0x943ce0, w=62914562) at drivers/x11/xm_api.c:1646
#5  0x00002aaab102e90c in Fake_glXMakeContextCurrent (dpy=0x91d2b0, draw=62914562, read=62914562, ctx=0x1ffee30) at drivers/x11/fakeglx.c:1473
#6  0x00002aaab1029b16 in glXMakeCurrent (dpy=0x91d2b0, drawable=62914562, ctx=0x1ffee30) at drivers/x11/glxapi.c:279
#7  0x00002aaaabfe142a in vtkXOpenGLRenderWindow::MakeCurrent (this=0x202e750) at /home/kevin/kitware/VTK/Rendering/vtkXOpenGLRenderWindow.cxx:1341
#8  0x00002aaaabfe29cf in vtkXOpenGLRenderWindow::WindowInitialize (this=0x202e750) at /home/kevin/kitware/VTK/Rendering/vtkXOpenGLRenderWindow.cxx:1022
#9  0x00002aaaabfdec6d in vtkXOpenGLRenderWindow::Start (this=0x91d2b0) at /home/kevin/kitware/VTK/Rendering/vtkXOpenGLRenderWindow.cxx:1175
#10 0x00002aaaabfa1392 in vtkXRenderWindowInteractor::Initialize (this=0x63fa60) at /home/kevin/kitware/VTK/Rendering/vtkXRenderWindowInteractor.cxx:397
#11 0x000000000040374c in image_poly_pick (image=0x6358b0, poly=<value optimized out>, p=0x7fff93df29f0) at /home/kevin/Documents/Interactive_Trace/image_pick.cxx:165
#12 0x0000000000402c6e in continue_branch (p0=0x7fff93df2a10, p1=0x7fff93df29f0, big_image=0x631f80, clip_image=0x6358b0, fast_image=0x637730, stream=0x63a7b0, params=0x7fff93df29c0) at /home/kevin/Documents/Interactive_Trace/continue_branch.cxx:28
#13 0x0000000000402797 in main (argc=<value optimized out>, argv=<value optimized out>) at /home/kevin/Documents/Interactive_Trace/trace.cxx:87
(gdb) 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20080421/cc0bc45c/attachment.pgp>


More information about the vtkusers mailing list