http://bugs.winehq.org/show_bug.cgi?id=21243
Summary: Namco All-Stars Pac-Man demo crashes on startup Product: Wine Version: 1.1.35 Platform: x86 URL: http://www.plimus.com/plimus/developers/493036/NAS_PAC MAN_Install.exe OS/Version: Linux Status: NEW Keywords: download Severity: normal Priority: P2 Component: directx-ddraw AssignedTo: wine-bugs@winehq.org ReportedBy: arethusa26@gmail.com
Created an attachment (id=25530) --> (http://bugs.winehq.org/attachment.cgi?id=25530) First Namco All-Stars Pac-Man run
With wine-1.1.35-364-g9dc584d, launching the Namco All-Stars Pac-Man demo yields:
err:d3d7:IDirect3DImpl_7_CreateDevice The application wants to create a Direct3D device, but non-opengl surfaces are set in the registry. Please set the surface implementation to opengl or autodetection to allow 3D rendering Unhandled exception: page fault on read access to 0x00000000 in 32-bit code (0x00425ee0). ... Backtrace: =>0 0x00425ee0 in launcher (+0x25ee0) (0x00000258) 1 0x00000000 (0x00000000)
The d3d7 ERR seems peculiar, since I've not set the DirectDrawRenderer registry value explicitly. When I do set DirectDrawRenderer to opengl, I get:
Unhandled exception: page fault on read access to 0x00000024 in 32-bit code (0x6990ec46). ... Backtrace: =>0 0x6990ec46 IDirect3DImpl_7_CreateDevice+0x1e6(iface=0x163e1c, refiid=0x4f75c8, Surface=0x1d7e80, Device=0x78a378) [/home/andrew/wine-git/dlls/ddraw/direct3d.c:869] in ddraw (0x0032fd08) 1 0x00423fca in launcher (+0x23fca) (0x00000258) 2 0x00000000 (0x00000000)
http://bugs.winehq.org/show_bug.cgi?id=21243
--- Comment #1 from Andrew Nguyen arethusa26@gmail.com 2010-01-03 14:58:56 --- Created an attachment (id=25531) --> (http://bugs.winehq.org/attachment.cgi?id=25531) Second Namco All-Stars Pac-Man run after setting DirectDrawRenderer
http://bugs.winehq.org/show_bug.cgi?id=21243
Wylda wylda@volny.cz changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |wylda@volny.cz
--- Comment #2 from Wylda wylda@volny.cz 2010-01-03 15:16:45 ---
Hi, isn't this duplicate of bug 21218. But yours look better ;)
http://bugs.winehq.org/show_bug.cgi?id=21243
--- Comment #3 from Andrew Nguyen arethusa26@gmail.com 2010-01-03 15:23:16 --- It's not the same, since the description and output are different. The bug did inspire me to test the demo and create this report however.
http://bugs.winehq.org/show_bug.cgi?id=21243
--- Comment #4 from joaopa jeremielapuree@yahoo.fr 2010-11-07 12:21:51 CST --- Created an attachment (id=31783) --> (http://bugs.winehq.org/attachment.cgi?id=31783) cxonsole output with +d3d7,+ddraw debug channels enabled without directdrawrenderer set
I think both problems are the same (directdrawrenderere and crash when directdrawrenderer set to opengl)
What happens is a surface is released (its ref==0). Then ddray->ImplType is set to 0 (Wined3dSurfType=UnknownSurface) So, Wine complains it needs opengl surface
Moreover this surface is a target surface, but now it is NULL (it was just released)
So in the line prev =device->render_targets[render_target_idx]; (file dlls/ddraw/device line 5672) device->render_targets is null
and then wine crashes because it wants to reach the first element of the array device->render_targets, that does not exist.
I m afraid it is probably a refcount issue. Unfortunately these kind of errors are one of the most difficult to fix :( :(
But maybe I am wrong (I hope :D :D).
http://bugs.winehq.org/show_bug.cgi?id=21243
--- Comment #5 from joaopa jeremielapuree@yahoo.fr 2010-11-07 12:23:48 CST --- Created an attachment (id=31784) --> (http://bugs.winehq.org/attachment.cgi?id=31784) console output when DirectDrawRenderer is set to Opengl
http://bugs.winehq.org/show_bug.cgi?id=21243
joaopa jeremielapuree@yahoo.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jeremielapuree@yahoo.fr
--- Comment #6 from joaopa jeremielapuree@yahoo.fr 2011-05-14 09:55:22 CDT --- Bug still there in current git
http://bugs.winehq.org/show_bug.cgi?id=21243
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|directx-ddraw |directx-d3d
http://bugs.winehq.org/show_bug.cgi?id=21243
--- Comment #7 from joaopa jeremielapuree@yahoo.fr 2012-02-19 00:40:27 CST --- Link is burst. Here is a working one: http://www.telecharger5.com/telechargez/1507/Namco-All-Stars-Pac-Man.html
http://bugs.winehq.org/show_bug.cgi?id=21243
--- Comment #8 from joaopa jeremielapuree@yahoo.fr 2012-03-09 19:28:26 CST --- Bug is fixed in current git.
The launcher hangs a little bit later, but it is another bug which deserves a new bug report.
http://bugs.winehq.org/show_bug.cgi?id=21243
Dmitry Timoshkov dmitry@baikal.ru changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #9 from Dmitry Timoshkov dmitry@baikal.ru 2012-03-10 06:36:57 CST --- Reported fixed.
http://bugs.winehq.org/show_bug.cgi?id=21243
--- Comment #10 from Alexandre Julliard julliard@winehq.org 2012-03-16 14:09:26 CDT --- Closing bugs fixed in 1.5.0.
http://bugs.winehq.org/show_bug.cgi?id=21243
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #11 from Alexandre Julliard julliard@winehq.org 2012-03-16 17:11:44 CDT --- Really closing bugs fixed in 1.5.0.