http://bugs.winehq.org/show_bug.cgi?id=13646
Summary: d3d9 device tests crash on XP SP2 with Radeon Mobility 9000 Product: Wine Version: CVS/GIT Platform: PC OS/Version: Windows XP Status: NEW Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: juan_lang@yahoo.com
The d3d9 device tests crash, producing a 'd3d9_test.exe has crashed...' dialog. The console output up until the crash is attached.
http://bugs.winehq.org/show_bug.cgi?id=13646
--- Comment #1 from Juan Lang juan_lang@yahoo.com 2008-06-03 10:42:10 --- Created an attachment (id=13628) --> (http://bugs.winehq.org/attachment.cgi?id=13628) d3d9 device test log
Log up until crash
http://bugs.winehq.org/show_bug.cgi?id=13646
--- Comment #2 from Juan Lang juan_lang@yahoo.com 2008-06-03 12:25:00 --- It appears I'm not the only one seeing a crash on the device tests: http://test.winehq.org/data/b4bf3553c4071a2a6979f1df08ae75aadde94b4b/xp_aeng... http://test.winehq.org/data/b4bf3553c4071a2a6979f1df08ae75aadde94b4b/xp_aeng... http://test.winehq.org/data/b4bf3553c4071a2a6979f1df08ae75aadde94b4b/xp_XPSP...
http://bugs.winehq.org/show_bug.cgi?id=13646
--- Comment #3 from Austin English austinenglish@gmail.com 2008-06-03 12:55:44 --- (In reply to comment #2)
It appears I'm not the only one seeing a crash on the device tests: http://test.winehq.org/data/b4bf3553c4071a2a6979f1df08ae75aadde94b4b/xp_aeng... http://test.winehq.org/data/b4bf3553c4071a2a6979f1df08ae75aadde94b4b/xp_aeng...
That XP box has an Nvidia 7600 GT...
http://bugs.winehq.org/show_bug.cgi?id=13646
Juan Lang juan_lang@yahoo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|d3d9 device tests crash on |d3d9 device tests crash on |XP SP2 with Radeon Mobility |XP SP2 |9000 |
--- Comment #4 from Juan Lang juan_lang@yahoo.com 2008-06-03 13:08:36 --- Roger that, adjusting summary. Now it's known to crash on: Radeon Mobility 9000 Nvidia 7600 GT
http://bugs.winehq.org/show_bug.cgi?id=13646
Juan Lang juan_lang@yahoo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|d3d9 device tests crash on |d3d9 device tests crash on |XP SP2 |XP
--- Comment #5 from Juan Lang juan_lang@yahoo.com 2008-06-03 13:10:34 --- Oops, it's not specific to SP2, either. Looking at the other crashing system's visual test output tells us the card it's using, so that gives us this set of crashing cards:
Radeon Mobility 9000 Nvidia 7600 GT NVIDIA GeForce FX 5200
http://bugs.winehq.org/show_bug.cgi?id=13646
Paul Vriens Paul.Vriens.Wine@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |Paul.Vriens.Wine@gmail.com
--- Comment #6 from Paul Vriens Paul.Vriens.Wine@gmail.com 2008-06-03 13:36:26 --- When I compile the test myself (on Linux) and run the test on my real XP box it doesn't crash (it's that XPSP2-HOME-NL one). It's looks like the same thing James found for bug 13643 (compiler differences).
http://bugs.winehq.org/show_bug.cgi?id=13646
--- Comment #7 from James Hawkins truiken@gmail.com 2008-06-03 13:49:31 --- Paul, do you get the test failures with your compile?
http://bugs.winehq.org/show_bug.cgi?id=13646
--- Comment #8 from Paul Vriens Paul.Vriens.Wine@gmail.com 2008-06-03 13:50:53 --- I do get test failures, but at least it doesn't crash.
http://bugs.winehq.org/show_bug.cgi?id=13646
--- Comment #9 from Paul Vriens Paul.Vriens.Wine@gmail.com 2008-06-03 13:55:29 --- Wait a minute. The test failures are also different with my executable and Paul Millars' one. I will attach the test failures from my executable.
http://bugs.winehq.org/show_bug.cgi?id=13646
--- Comment #10 from Paul Vriens Paul.Vriens.Wine@gmail.com 2008-06-03 13:56:14 --- Created an attachment (id=13642) --> (http://bugs.winehq.org/attachment.cgi?id=13642) Failures with my executable
http://bugs.winehq.org/show_bug.cgi?id=13646
--- Comment #11 from Paul Vriens Paul.Vriens.Wine@gmail.com 2008-06-03 14:04:23 --- Forget that last remark (I'm mixing 13643 and 13646 now).
http://bugs.winehq.org/show_bug.cgi?id=13646
--- Comment #12 from Paul Vriens Paul.Vriens.Wine@gmail.com 2008-06-03 14:06:39 --- So it looks like it also crashes with my own compiled version (sorry for the noise). I will do some tests and see if I can find the issue.
http://bugs.winehq.org/show_bug.cgi?id=13646
--- Comment #13 from Paul Vriens Paul.Vriens.Wine@gmail.com 2008-06-03 14:13:53 --- The issue seems to be with:
2053 hr = IDirect3DDevice9_SetMaterial(device, NULL); 2054 ok(hr == D3DERR_INVALIDCALL, "Expected D3DERR_INVALIDCALL, got %s\n", DXGetErrorString9(hr));
in dlls/d3d9/tests/device.c
If I remove that SetMaterial call the test doesn't crash.
http://bugs.winehq.org/show_bug.cgi?id=13646
--- Comment #14 from Paul Vriens Paul.Vriens.Wine@gmail.com 2008-06-03 14:44:39 --- When I look at http://test.winehq.org/data/b4bf3553c4071a2a6979f1df08ae75aadde94b4b/#group_... I see a few crashes. All the other XP entries skip this particular test. The same is true for W2K3. The ones that don't crash don't run this particular test. And I guess it's also the case if you look at the Vista tests (http://test.winehq.org/data/0b6acfbce7b0bf2aedb5176bfa959edc3f0d74f6/#group_...).
So I guess that this particular IDirect3DDevice9_SetMaterial test has to be removed or changed.
This commit: http://source.winehq.org/git/wine.git?a=commitdiff;h=7df193676e8de9c9b760ceb... added that SetMaterial test.
http://bugs.winehq.org/show_bug.cgi?id=13646
joaopa jeremielapuree@yahoo.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jeremielapuree@yahoo.fr
--- Comment #15 from joaopa jeremielapuree@yahoo.fr 2008-06-05 10:18:22 --- In my XP box, I obtained the following result for d3d9 (device) tests: d3d9:device start dlls/d3d9/tests/device.c - device.c:1979: Testing display format R5G6B5 device.c:1993: Tests skipped: Display format X1R5G5B5 not supported, skipping device.c:2011: Testing display format X8R8G8B8 device.c:527: Test failed: Invalid refcount. Expected 9 got 10 device.c:529: Test failed: Invalid refcount. Expected 2 got 1 device.c:533: Test failed: Invalid refcount. Expected 2 got 1 device.c:534: Test failed: Invalid refcount. Expected 3 got 2 device.c:535: Test failed: Invalid refcount. Expected 3 got 1 device.c:536: Test failed: Invalid refcount. Expected 2 got 1 device.c:537: Test failed: Invalid refcount. Expected 2 got 1 device.c:538: Test failed: Invalid refcount. Expected 1 got 0 device.c:614: Test failed: Invalid refcount. Expected 7 got 8 device.c:616: Test failed: Invalid refcount. Expected 6 got 7 device.c:617: Test failed: Invalid refcount. Expected 5 got 6 device.c:618: Test failed: Invalid refcount. Expected 4 got 5 device.c:620: Test failed: Invalid refcount. Expected 3 got 4 device.c:621: Test failed: Invalid refcount. Expected 2 got 3 device.c:622: Test failed: Invalid refcount. Expected 1 got 2 device.c:626: Test failed: Invalid refcount. Expected 0 got 1 device.c:1799: Test failed: GetLightEnable on light 1 failed with D3DERR_INVALIDCALL device.c:1799: Test failed: GetLightEnable on light 2 failed with D3DERR_INVALIDCALL device.c:1799: Test failed: GetLightEnable on light 3 failed with D3DERR_INVALIDCALL device.c:1799: Test failed: GetLightEnable on light 4 failed with D3DERR_INVALIDCALL device.c:1799: Test failed: GetLightEnable on light 5 failed with D3DERR_INVALIDCALL device.c:1799: Test failed: GetLightEnable on light 6 failed with D3DERR_INVALIDCALL device.c:1799: Test failed: GetLightEnable on light 7 failed with D3DERR_INVALIDCALL device.c:1799: Test failed: GetLightEnable on light 8 failed with D3DERR_INVALIDCALL device.c:1807: Test failed: GetLightEnable on light 10 failed with D3DERR_INVALIDCALL d3d9:device done (-1073741819)
So, the only one failing or skipping tests are not related to SetMaterial test
I have a nvidia geforce3 card with the 93.49.05 driver
David
http://bugs.winehq.org/show_bug.cgi?id=13646
--- Comment #16 from Paul Vriens Paul.Vriens.Wine@gmail.com 2008-06-05 10:21:18 --- Well, it look like your test crashed as it doesn't have a line with the number of test and failures.
http://bugs.winehq.org/show_bug.cgi?id=13646
--- Comment #17 from joaopa jeremielapuree@yahoo.fr 2008-06-09 04:39:20 --- Indeed, it is authorized to give a NULL value in SetMAterial only in ddraw, not in d3d8 and d3d9. I sent a patch to correct it.
David
http://bugs.winehq.org/show_bug.cgi?id=13646
--- Comment #18 from joaopa jeremielapuree@yahoo.fr 2008-08-22 06:42:25 --- Patch was committed. THe bug should be fixed now.
David
http://bugs.winehq.org/show_bug.cgi?id=13646
Lei Zhang thestig@google.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #19 from Lei Zhang thestig@google.com 2008-08-22 15:43:13 --- Marking this fixed, reopen if it's not.
http://bugs.winehq.org/show_bug.cgi?id=13646
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #20 from Alexandre Julliard julliard@winehq.org 2008-09-05 10:39:23 --- Closing bugs fixed in 1.1.4.
http://bugs.winehq.org/show_bug.cgi?id=13646
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|CVS/GIT |unspecified
http://bugs.winehq.org/show_bug.cgi?id=13646
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- OS/Version|Windows XP |Windows