[Cairo] Odd crash in cairo-demo/xrspline

Eric Christopherson rakko at charter.net
Mon Jul 28 20:48:37 PDT 2003


On Mon, Jul 28, 2003 at 07:48:32PM -0400, Carl Worth wrote:
> On Jul 28, Eric Christopherson wrote:
>  > I seem to suffer a consistently reproducible crash when running the demo
>  > program xrspline. Upon running it, the X server itself crashes hard; it
>  > doesn't do any cleanup such as setting the keyboard or video back to their
>  > old states.
> 
> The server crash is obviously a bad sign. Cairo should not be able to
> crash the server so there is at least a bug in the server or driver
> somewhere, (not to say that there isn't a Cairo bug tickling it).
> 
>  > 648             if (!XPending(win->dpy) && win->needs_refresh) {
> 
> My guess is the XPending call is causing previous requests to flush
> and one of those is actually triggering the problem. Why don't you try
> adding the following call right before the call to win_init:
> 
> 	XSynchronize (dpy, 1);
> 
> That might give a little more insight into what's causing the server
> such grief.
> 
> Another thing to try would be to configure your server with a
> different driver to see if the problem goes away. If so, that would of
> course be very helpful to know.

Thanks... but neither the added XSynchronize nor changing drivers (from
proprietary NVidia to open-source NV) helped.

-- 
Furrfu!		r a k k o  at  c h a r t e r  dot  n e t




More information about the cairo mailing list