[Bug 14779] New: Painkiller regression - Make game crash
http://bugs.winehq.org/show_bug.cgi?id=14779 Summary: Painkiller regression - Make game crash Product: Wine Version: CVS/GIT Platform: PC URL: http://www.painkillergame.com/ OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: directx-d3d AssignedTo: wine-bugs(a)winehq.org ReportedBy: tlarhices(a)gmail.com Created an attachment (id=15316) --> (http://bugs.winehq.org/attachment.cgi?id=15316) Output in the terminal when crashing In latest version of wine, painkiller doesn't start anymore. It output some lines in the terminal (see attached log) and exit. I did a regression test, and the problem comes from this patch : 54ae3ebfd4bc6fab1e322b92fe84909535f9f26e is first bad commit commit 54ae3ebfd4bc6fab1e322b92fe84909535f9f26e Author: H. Verbeet <hverbeet(a)gmail.com> Date: Wed Jul 9 17:59:39 2008 +0200 wined3d: Destroy depth_blt resources in the backend's destructor. No need to expose this in the interface. :040000 040000 b94c1412e2d815f4abda0a5a013d9470975c12ec dad8c29b5afcb77f83d1b6b1f34ab9e3567deb94 M dlls To reproduce the bug, simply start painkiller and it will crash before displaying the introduction screen. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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.
http://bugs.winehq.org/show_bug.cgi?id=14779 Clerc Mathias <tlarhices(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |hverbeet(a)gmail.com --- Comment #1 from Clerc Mathias <tlarhices(a)gmail.com> 2008-08-06 07:58:18 --- Adding patch author to the CC list. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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.
http://bugs.winehq.org/show_bug.cgi?id=14779 Vitaliy Margolen <vitaliy(a)kievinfo.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |regression Summary|Painkiller regression - Make|Painkiller doesn't start |game crash |anymore -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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.
http://bugs.winehq.org/show_bug.cgi?id=14779 --- Comment #2 from Damjan Jovanovic <damjan.jov(a)gmail.com> 2008-08-07 00:43:04 --- Created an attachment (id=15330) --> (http://bugs.winehq.org/attachment.cgi?id=15330) Proposed patch Try this patch. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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.
http://bugs.winehq.org/show_bug.cgi?id=14779 Damjan Jovanovic <damjan.jov(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |damjan.jov(a)gmail.com -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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.
http://bugs.winehq.org/show_bug.cgi?id=14779 --- Comment #3 from H. Verbeet <hverbeet(a)gmail.com> 2008-08-07 02:50:19 ---
err:d3d:CreateContext SetPixelFormat failed on HDC=0x370 for iPixelFormat=3 err:d3d:IWineD3DDeviceImpl_CreateAdditionalSwapChain Failed to create a new context fixme:d3d:IWineD3DDeviceImpl_CreateAdditionalSwapChain (0x138680) Something's still holding the front buffer fixme:d3d9:IDirect3DDevice9Impl_CreateAdditionalSwapChain (0x1349b0) call to IWineD3DDevice_CreateAdditionalSwapChain failed wine: Unhandled page fault on read access to 0x00000008 at address 0x7cd84503 (thread 0009), starting debugger...
The crash is caused by the shader backend getting freed before it's allocated, due to CreateAdditionalSwapChain() failing. That's indeed a bug, and I'll create a patch for that. Figuring out why CreateContext()/SetPixelFormat() fails in the first place is probably more interesting though. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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.
http://bugs.winehq.org/show_bug.cgi?id=14779 --- Comment #4 from Clerc Mathias <tlarhices(a)gmail.com> 2008-08-07 07:09:47 --- The patch did not do much to the problem. It made a change in the log file but doesn't make the game start. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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.
http://bugs.winehq.org/show_bug.cgi?id=14779 --- Comment #5 from Clerc Mathias <tlarhices(a)gmail.com> 2008-08-07 07:10:54 --- Created an attachment (id=15332) --> (http://bugs.winehq.org/attachment.cgi?id=15332) Errors in the terminal when using the patch Errors in the terminal when using the patch -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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.
http://bugs.winehq.org/show_bug.cgi?id=14779 --- Comment #6 from H. Verbeet <hverbeet(a)gmail.com> 2008-08-07 11:22:17 --- Created an attachment (id=15335) --> (http://bugs.winehq.org/attachment.cgi?id=15335) patch Try this. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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.
http://bugs.winehq.org/show_bug.cgi?id=14779 Clerc Mathias <tlarhices(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |FIXED --- Comment #7 from Clerc Mathias <tlarhices(a)gmail.com> 2008-08-07 18:25:19 --- Thank you for your fast patch. It works perfectly. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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.
http://bugs.winehq.org/show_bug.cgi?id=14779 Lei Zhang <thestig(a)google.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |UNCONFIRMED Keywords| |patch Resolution|FIXED | --- Comment #8 from Lei Zhang <thestig(a)google.com> 2008-08-07 19:41:36 --- It's not fixed until the patch has been committed. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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.
http://bugs.winehq.org/show_bug.cgi?id=14779 joaopa <jeremielapuree(a)yahoo.fr> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jeremielapuree(a)yahoo.fr --- Comment #9 from joaopa <jeremielapuree(a)yahoo.fr> 2008-08-28 10:30:27 --- Is this bug fixed with the current git now? Joaopa -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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.
http://bugs.winehq.org/show_bug.cgi?id=14779 --- Comment #10 from Clerc Mathias <tlarhices(a)gmail.com> 2008-08-30 10:05:06 --- I just tested it, it's fixed in current git. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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.
http://bugs.winehq.org/show_bug.cgi?id=14779 Austin English <austinenglish(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |FIXED --- Comment #11 from Austin English <austinenglish(a)gmail.com> 2008-08-31 00:14:45 --- Reported fixed. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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.
http://bugs.winehq.org/show_bug.cgi?id=14779 Alexandre Julliard <julliard(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #12 from Alexandre Julliard <julliard(a)winehq.org> 2008-09-05 10:39:36 --- Closing bugs fixed in 1.1.4. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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.
http://bugs.winehq.org/show_bug.cgi?id=14779 Austin English <austinenglish(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Version|CVS/GIT |unspecified -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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