http://bugs.winehq.org/show_bug.cgi?id=21817
Summary: Elevated demo crashes with builtin d3dx9_33.dll Product: Wine Version: 1.1.39 Platform: x86 URL: http://www.rgba.org/ OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: directx-d3d AssignedTo: wine-bugs@winehq.org ReportedBy: t.artem@mailcity.com
Created an attachment (id=26402) --> (http://bugs.winehq.org/attachment.cgi?id=26402) Elevated demo
Program received signal SIGSEGV, Segmentation fault. 0x7e7800ae in __wine_spec_nt_header () from /opt/wine/bin/../lib/wine/d3dx9_33.dll.so
fixme:win:EnumDisplayDevicesW ((null),0,0x1464f968,0x00000000), stub! fixme:d3d:swapchain_init The application requested more than one back buffer, this is not properly Please configure the application to use double buffering (1 back buffer) if possible. fixme:d3d:WineD3D_ChoosePixelFormat Add OpenGL context recreation support to SetDepthStencilSurface wine: Unhandled page fault on read access to 0xffffffff at address 0x7e7820ae (thread 0009), starting debugger... Unhandled exception: page fault on read access to 0xffffffff in 32-bit code (0x7e7820ae). Register dump: CS:0073 SS:007b DS:007b ES:007b FS:0033 GS:003b EIP:7e7820ae ESP:1464fe6c EBP:00000000 EFLAGS:00010246( R- -- I Z- -P- ) EAX:00000000 EBX:004000d8 ECX:00110060 EDX:0013e3a0 ESI:00870104 EDI:004300d8 Stack dump: 0x1464fe6c: 00420851 00420caf 00000da4 00000000 0x1464fe7c: 00000000 00420a40 00420a11 00000000 0x1464fe8c: 00870104 00000000 00000000 004300d8 0x1464fe9c: 00420a40 00000000 1464feb8 004000d8 0x1464feac: 0013e3a0 00110060 00000000 004200c8 0x1464febc: 7ee0b049 7ffdf000 00000000 00000000 Backtrace: 0x7e7820ae: xorl %fs:0x39(%eax,%edi,2),%esp
http://bugs.winehq.org/show_bug.cgi?id=21817
Artem S. Tashkinov t.artem@mailcity.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download Blocks| |19724
http://bugs.winehq.org/show_bug.cgi?id=21817
Dan Kegel dank@kegel.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dank@kegel.com
--- Comment #1 from Dan Kegel dank@kegel.com 2010-02-22 03:04:47 --- Geez, 4KB. Can't you come up with a smaller test case? :-)
http://bugs.winehq.org/show_bug.cgi?id=21817
--- Comment #2 from Artem S. Tashkinov t.artem@mailcity.com 2010-02-22 03:35:24 --- (In reply to comment #1)
Geez, 4KB. Can't you come up with a smaller test case? :-)
I like demoscene, that's it :-)
http://bugs.winehq.org/show_bug.cgi?id=21817
Niko Sandschneider nsandschn@gmx.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |nsandschn@gmx.de
--- Comment #3 from Niko Sandschneider nsandschn@gmx.de 2010-10-15 14:09:56 CDT --- Still present in wine-1.3.4-429-gb29e111
http://bugs.winehq.org/show_bug.cgi?id=21817
joaopa jeremielapuree@yahoo.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jeremielapuree@yahoo.fr
--- Comment #4 from joaopa jeremielapuree@yahoo.fr 2010-11-13 15:44:43 CST --- @Artem Can you attach the source of your test case?
http://bugs.winehq.org/show_bug.cgi?id=21817
--- Comment #5 from Dan Kegel dank@kegel.com 2010-11-13 16:12:32 CST --- Its home page, kind of, is http://www.pouet.net/prod.php?which=52938 I doubt there's source. It is just 4KB, though, so disassembly will probably prove relatively readable?
http://bugs.winehq.org/show_bug.cgi?id=21817
--- Comment #6 from Artem S. Tashkinov t.artem@mailcity.com 2010-11-14 03:48:53 CST --- No, I don't have the source - I'm not the author of this demo.
I won't be surprised if was written totally in assembly judging from its tiny size.
http://bugs.winehq.org/show_bug.cgi?id=21817
frostwyrm333@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |frostwyrm333@gmail.com
--- Comment #7 from frostwyrm333@gmail.com 2011-03-03 12:49:50 CST --- I'm unable to run this demo on Windows 7 although I'm certain it ran on Vista. You might want to check it in regular windows if that is the case. It may depend on something that was fixed/changed.
http://bugs.winehq.org/show_bug.cgi?id=21817
--- Comment #8 from Artem S. Tashkinov t.artem@mailcity.com 2011-05-02 04:51:30 CDT --- *** Bug 26972 has been marked as a duplicate of this bug. ***
http://bugs.winehq.org/show_bug.cgi?id=21817
--- Comment #9 from Grazvydas Ignotas notasas@gmail.com 2011-08-19 19:07:42 CDT --- Created an attachment (id=36047) --> (http://bugs.winehq.org/attachment.cgi?id=36047) real funcs for elevated
It seems the demo doesn't like forwarded functions in d3dx9_33, it just assumes they are real and crashes if they are not. With this patch it will no longer crash because of this, but then
fixme:d3dcompiler:D3DCompile data 0x420caf, data_size 3492, filename (null), defines (nil), include (nil), entrypoint "m0", target "vs_3_0", sflags 0, eflags 0, shader 0x870104, error_messages (nil) stub!
..is encountered and program trips on a NULL pointer that D3DXCompileShader is supposed to fill.
http://bugs.winehq.org/show_bug.cgi?id=21817
--- Comment #10 from Artem S. Tashkinov t.artem@mailcity.com 2011-09-04 12:12:08 CDT --- (In reply to comment #9)
Created an attachment (id=36047)
--> (http://bugs.winehq.org/attachment.cgi?id=36047) [details]
real funcs for elevated
Am I correct thinking that this patch hasn't been merged in trunk?
Wine 1.3.27 was released a week after you submitted your patch and this wine release still suffers from this bug.
http://bugs.winehq.org/show_bug.cgi?id=21817
--- Comment #11 from Henri Verbeet hverbeet@gmail.com 2011-09-04 15:07:19 CDT --- (In reply to comment #10)
Am I correct thinking that this patch hasn't been merged in trunk?
Wine 1.3.27 was released a week after you submitted your patch and this wine release still suffers from this bug.
Patches aren't picked up from bugzilla, only from the wine-patches mailing list. Without a HLSL compiler this probably isn't going to work with builtin either way though.
http://bugs.winehq.org/show_bug.cgi?id=21817
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |focht@gmx.net
--- Comment #12 from Anastasius Focht focht@gmx.net 2012-12-16 14:53:18 CST --- *** Bug 32452 has been marked as a duplicate of this bug. ***
http://bugs.winehq.org/show_bug.cgi?id=21817
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Summary|Elevated demo crashes with |Demoscene 4K demos can't |builtin d3dx9_33.dll |cope with Wine builtin | |d3dx9_xx dll functions | |being forwarded (Elevated, | |fr-057) Ever Confirmed|0 |1
--- Comment #13 from Anastasius Focht focht@gmx.net 2012-12-16 14:59:23 CST --- Hello folks,
refining summary, affects probably more 4K demos.
Regards
https://bugs.winehq.org/show_bug.cgi?id=21817
--- Comment #14 from Anastasius Focht focht@gmx.net --- *** Bug 25218 has been marked as a duplicate of this bug. ***
http://bugs.winehq.org/show_bug.cgi?id=21817
hanska2@luukku.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |hanska2@luukku.com
--- Comment #15 from hanska2@luukku.com --- wine elevated_1024x768.exe fixme:win:EnumDisplayDevicesW ((null),0,0x1464f9e8,0x00000000), stub! fixme:d3d:swapchain_init The application requested more than one back buffer, this is not properly supported. Please configure the application to use double buffering (1 back buffer) if possible. wine: Unhandled page fault on read access to 0x7e428fa2 at address 0x7e428fa2 (thread 0009), starting debugger.
wine 1.7.22
https://bugs.winehq.org/show_bug.cgi?id=21817
Johan Gardhage johan.gardhage@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |johan.gardhage@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=21817
nallekarhu_80@luukku.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |nallekarhu_80@luukku.com
--- Comment #16 from nallekarhu_80@luukku.com --- Backtrace: =>0 0x7e356fa2 in d3dx9_33 (+0x6fa2) (0x00000000)
wine 1.7.47 (git up to date)
https://bugs.winehq.org/show_bug.cgi?id=21817
Michael Müller michael@fds-team.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |STAGED CC| |michael@fds-team.de, | |sebastian@fds-team.de Staged patchset| |https://github.com/wine-com | |pholio/wine-staging/tree/ma | |ster/patches/d3dx9_33-Share | |_Source
https://bugs.winehq.org/show_bug.cgi?id=21817
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch
https://bugs.winehq.org/show_bug.cgi?id=21817
Sergey Isakov isakov-sl@bk.ru changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |isakov-sl@bk.ru
--- Comment #17 from Sergey Isakov isakov-sl@bk.ru --- This is not a solution. It will increase builtin d3dx9_33.dll with some semi-good functions. May be this is good for Elevated demo but it doesn't resolve a problem with redirection from one library to another. If you want to play this particular game then you can install native d3dx9_33.dll. It is redistributable.
https://bugs.winehq.org/show_bug.cgi?id=21817
Henri Verbeet hverbeet@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|directx-d3d |directx-d3dx9
https://bugs.winehq.org/show_bug.cgi?id=21817
super_man@post.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |super_man@post.com
--- Comment #18 from super_man@post.com --- I still get a crash.
wine-1.9.12-236-ge3bd659
and staging 1.9.12 that should include the patch already.
Maybe because of this?
fixme:hlsl_parser:hlsl_parse Array. err:d3dcompiler:compile_shader HLSL shader parsing failed.
https://bugs.winehq.org/show_bug.cgi?id=21817
Alistair Leslie-Hughes leslie_alistair@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |leslie_alistair@hotmail.com Fixed by SHA1| |1a885745fce9b896d06cc191b93 | |dda6ea3bbd75a Status|STAGED |RESOLVED Resolution|--- |FIXED
--- Comment #19 from Alistair Leslie-Hughes leslie_alistair@hotmail.com --- Fixed by commit http://source.winehq.org/git/wine.git/?a=commit;h=1a885745fce9b896d06cc191b9...
https://bugs.winehq.org/show_bug.cgi?id=21817
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #20 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 1.9.13.
https://bugs.winehq.org/show_bug.cgi?id=21817
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- URL|http://www.rgba.org/ |https://web.archive.org/web | |/20180812185738/http://arch | |ive.scene.org/pub/parties/2 | |009/breakpoint09/in4k/rgba_ | |tbc_elevated_2016.zip