http://bugs.winehq.org/show_bug.cgi?id=4595
------- Additional Comments From jave27(a)gmail.com 2006-17-02 10:40 -------
Created an attachment (id=1904)
--> (http://bugs.winehq.org/attachment.cgi?id=1904&action=view)
Last 100 lines of log with extra TRACE info
I added the following lines to the function just before the wine_tsx11_lock();
:
TRACE( "physDev: %p, vis_rgn: %d, clip_rgn: %d\n", physDev, vis_rgn, clip_rgn
);
TRACE( " gdi_display: %p, gc: %p, x: %d, y: %d, buffer: %p, nCount: %d\n",
gdi_display, physDev->gc, physDev->org.x, physDev->org.y, data->Buffer,
data->rdh.nCount );
This log is the output just before the crash with the extra info.
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.winehq.org/show_bug.cgi?id=1772
------- Additional Comments From meastp-post(a)broadpark.no 2006-17-02 10:35 -------
Tested Red Alert 2, too.
It appears when the westwood intro movie plays.
fixme:ddraw:Main_DirectDraw_SetCooperativeLevel (0x7fe0bed8)->(0x10024,00000011)
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
http://bugs.winehq.org/show_bug.cgi?id=1772
------- Additional Comments From meastp-post(a)broadpark.no 2006-17-02 10:07 -------
Tried running it again. Actually it didn't fail this time, but the fixme is
still there.
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
http://bugs.winehq.org/show_bug.cgi?id=4595
------- Additional Comments From jave27(a)gmail.com 2006-17-02 10:05 -------
I managed to get it to work by changing the last parameter in clipping.c from
"YXBanded" to "Unsorted", but Alexandre Julliard says that we need to keep the
YXBanded status:
http://www.winehq.org/pipermail/wine-devel/2006-February/044976.html
He also referred to the code in dlls/x11drv/region.c as the reason for that.
I haven't noticed any strange screen artifacts by changing it to Unsorted, but
it's not the "correct" method. Here's the Xlib progamming manual on the topic:
http://tronche.com/gui/x/xlib/GC/convenience-functions/XSetClipRectangles.h…
Here's what it has to say on the last argument about clipping rectangle sorting:
"If known by the client, ordering relations on the rectangles can
be specified with the ordering argument. This may provide faster
operation by the server. If an incorrect ordering is specified, the X
server may generate a BadMatch error, but it is not required to do so.
If no error is generated, the graphics results are undefined. Unsorted
means the rectangles are in arbitrary order. YSorted means that the
rectangles are nondecreasing in their Y origin. YXSorted additionally
constrains YSorted order in that all rectangles with an equal Y origin
are nondecreasing in their X origin. YXBanded additionally constrains
YXSorted by requiring that, for every possible Y scanline, all
rectangles that include that scanline have an identical Y origins and
Y extents."
So, we need to figure out exactly why that parameter is crashing this app.
I'll attach some logs, too.
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.winehq.org/show_bug.cgi?id=4595
Summary: X Error - BadMatch (X_SetClipRectangles)
Product: Wine
Version: CVS
Platform: PC
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: wine-x11driver
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: jave27(a)gmail.com
While running Quickbooks Pro 99, WINE would crash every time I changed
an existing transaction and clicked "Next" or "Prev", then answered
Yes to save changes. It gave the following error:
X Error of failed request: BadMatch (invalid parameter attributes)
Major opcode of failed request: 59 (X_SetClipRectangles)
Serial number of failed request: 83724 [<--- that number changed
every time]
Current serial number in output stream: 87435 [<--- that number
changed every time, too]
The line it was crashing on was in x11drv/clipping.c:
XSetClipRectangles( gdi_display, physDev->gc,
physDev->org.x, physDev->org.y,
(XRectangle *)data->Buffer, data->rdh.nCount,
YXBanded );
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.winehq.org/show_bug.cgi?id=1772
------- Additional Comments From meastp-post(a)broadpark.no 2006-17-02 09:52 -------
>From Locomotion :
fixme:ddraw:Main_DirectDraw_SetCooperativeLevel (0x7fdd8ae8)->(0x10022,00000013)
Then it runs for a few seconds (the actual game, not menu)
And fails:
fixme:ddraw:Main_DirectDraw_SetCooperativeLevel (0x7fdd8ae8)->(0x10022,00000008)
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
http://bugs.winehq.org/show_bug.cgi?id=4593
lav(a)etersoft.ru changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |lav(a)etersoft.ru
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.winehq.org/show_bug.cgi?id=4592
lav(a)etersoft.ru changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |lav(a)etersoft.ru
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.