Hi,
I'm debugging the some strange SEGV of Xorg by stress test of
xscreensaver. BTW, I'm using xserver 7.1.1 and mesa 6.5.1 + patches
(RHEL5), but I believe the lastest version has a same problem.
After debugging for long time, the problem seems to happen by
following:
client1 client2
--------------------------------------------------------------------
/* create new Window "FOO" */
CreateWindow(root) => FOO
/* create new Window "BAR" */
CreateWindow(root) => BAR
/* make FOO as child of BAR
ReparentWindow(FOO, BAR)
/* delete BAR */
FreeResource(BAR)
DeleteWindow(BAR)
CrushTree(BAR)
/*
* delete FOO because FOO
* is a child of BAR
*/
FreeResource(FOO)
__glXDisp_Viewport()
xmesa_viewport()
xmesa_check_and_update_buffer_size(ctx->WinSysDrawBuffer)
xmesa_get_window_size()
/*
* b->frontxrb->drawable is pointing the FOO which
* was freed by client2
*/
MIN2(b->frontxrb->drawable->width, MAX_WIDTH);
--------------------------------------------------------------------
I think the above FreeResource() by CrushTree() is not addressed
rightly by mesa (or Xorg?).
I have no idea to fix this rightly. How should this problem be fixed?
Any idea?
Thanks.
--
OGAWA Hirofumi <[EMAIL PROTECTED]>
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Mesa3d-dev mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mesa3d-dev