[Bug 38785] New: Client Wait Sync Timeout
https://bugs.winehq.org/show_bug.cgi?id=38785 Bug ID: 38785 Summary: Client Wait Sync Timeout Product: Wine Version: 1.7.45 Hardware: x86 OS: Mac OS X Status: UNCONFIRMED Severity: normal Priority: P2 Component: directx-d3d Assignee: wine-bugs(a)winehq.org Reporter: isakov-sl(a)bk.ru Testing Chessmaster 10 Demo I got a crash and trace it in log having a message --- glClientWaitSync returned 0x911b --- This is GL_TIMEOUT_EXPIRED_APPLE and there is a comment related to this ---- /* Apple seems to be into arbitrary limits, and timeouts larger than * 0xfffffffffffffbff immediately return GL_TIMEOUT_EXPIRED. We don't * really care and can live with waiting a few μs less. (OS X 10.7.4). */ ---- I know how you like Apple so I decided to add here ---- switch (gl_ret) { case GL_ALREADY_SIGNALED: case GL_CONDITION_SATISFIED: ret = WINED3D_EVENT_QUERY_OK; break; /* here my addition */ + case GL_TIMEOUT_EXPIRED_APPLE: + ret = WINED3D_EVENT_QUERY_NOT_STARTED; + break; --------- and voila! Chessmaster works and no more crashes. So there is my question. Why default return WINED3D_EVENT_QUERY_ERROR causes crash? -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=38785 Ken Sharp <imwellcushtymelike(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|Client Wait Sync Timeout |Chessmaster 10: Client Wait | |Sync Timeout --- Comment #1 from Ken Sharp <imwellcushtymelike(a)gmail.com> --- Is this the application? http://download.cnet.com/Chessmaster-10th-Edition-demo/3000-2119_4-10297913.... http://wiki.winehq.org/Bugs -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=38785 --- Comment #2 from Sergey Isakov <isakov-sl(a)bk.ru> --- (In reply to Ken Sharp from comment #1)
Is this the application? http://download.cnet.com/Chessmaster-10th-Edition-demo/3000-2119_4-10297913. html
Yes, it is. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=38785 Austin English <austinenglish(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download URL| |http://download.cnet.com/Ch | |essmaster-10th-Edition-demo | |/3000-2119_4-10297913.html -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=38785 --- Comment #3 from Sergey Isakov <isakov-sl(a)bk.ru> --- Confirming the bug with wine-1.8rc3 and the workaround above. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=38785 super_man(a)post.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |super_man(a)post.com -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
participants (1)
-
wine-bugs@winehq.org