[Xcb] mesa +xcb = assertion death

Barton C Massey bart at cs.pdx.edu
Thu Apr 28 14:34:17 PDT 2005


Sounds like a wild write might be scattering 0xff's across
the field?  I hate C.

	Bart

In message <4271554B.3010601 at brandeis.edu> you wrote:
> Okay, the error is in getting the reply for GLXGetFBConfigs (and 
> GLXGetFBConfigsSGI which is just an alias for the former) in 
> AllocAndFetchScreenConfigs.  From there it goes:
> _XReply -> XCBWaitForReply -> _xcb_conn_wait
> 
> The problem occurs in _xcb_conn_wait at:
> 
> if ((ret = _xcb_read_int(c) >= 0)
> 
> then in xcb_in_read_packet in _xcb_read_int().  This is were it gets 
> confusing.  When xcb_in_read_packet returns the value of 
> c->in.request_read suddenly becomes 65536 on my computer but I couldn't 
> find where it was set to that... it simply became that when the function 
> returned (using ddd with gdb as the debugger).
> 
> Can someone else verify this?  Simply compile mesa against your xcbified 
> xlibs and make sure you're using indirect rendering (if you use the 
> nvidia drivers etc you'll need to find a server with the default 
> server-side glx).
> 
> Jeremy
> _______________________________________________
> xcb mailing list
> xcb at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/xcb


More information about the xcb mailing list