http://bugs.winehq.org/show_bug.cgi?id=19897
Summary: d3d10/dxgi: device.ok crashes on MacOS X (InitAdapters/glGetString) Product: Wine Version: 1.1.28 Platform: PC OS/Version: Mac OS X 10.5 Status: UNCONFIRMED Severity: normal Priority: P2 Component: directx-d3d AssignedTo: wine-bugs@winehq.org ReportedBy: hoehle@users.sourceforge.net
Test results for my build of wine-1.1.28 on Mac are currently online at http://test.winehq.org/data/f6f458a1eb162adeec83c2241a746b7214a8e843/index_W...
As with 1.1.24, some d3d10/d3dxgi test crash while running winetest. Sadly for comparison, test.winehq.org does not hold the 1.1.24 data anymore.
The backtraces are all similar to: http://test.winehq.org/data/f6f458a1eb162adeec83c2241a746b7214a8e843/wine_os... =>0 glGetString() in wined3d 1 _X11DRV_wglGetProcAddress+0x2f() in winex11 2 _wglGetProcAddress+0x83() in gdi32 3 _InitAdapters+0x149() in wined3d 4 _WineDirect3DCreate+0x70() in wined3d It also affects 2 d3dx9 tests, as the test data shows.
The machine is running OSX.5.7 with nVidia 9400 graphics.
http://bugs.winehq.org/show_bug.cgi?id=19897
--- Comment #1 from Jörg Höhle hoehle@users.sourceforge.net 2009-09-03 04:26:27 --- Created an attachment (id=23400) --> (http://bugs.winehq.org/attachment.cgi?id=23400) trace snippet from InitAdapters; WGL init; GDI init; GL init-> crash
test.winehq.org does not hold 1.1.24 data any more, but I checked my old files and some d3dx9_36 test crashed in InitAdapters() then already (and still do in 1.1.28).
The attached trace snippet from 1.1.28 shows how WGL manages to locate its 7 functions, afterwards GDI is initialised prior to GL (should it happen at that time?) and the crash occurs attempting to wglGetProcAddress() the first GL function in the list: 'glAccum'.
This log was cleared from concurrent access to the registry and fonts from thread 000d.
http://bugs.winehq.org/show_bug.cgi?id=19897
--- Comment #2 from Henri Verbeet hverbeet@gmail.com 2009-09-03 04:59:36 --- Do the d3d9 visual.c tests work correctly? This is probably a problem somewhere in XQuartz.
http://bugs.winehq.org/show_bug.cgi?id=19897
--- Comment #3 from Jörg Höhle hoehle@users.sourceforge.net 2009-09-03 08:37:52 --- d3d9:visual does not crash, but fails 84 tests (all about expected colors) http://test.winehq.org/data/f6f458a1eb162adeec83c2241a746b7214a8e843/wine_os...
http://bugs.winehq.org/show_bug.cgi?id=19897
Jörg Höhle hoehle@users.sourceforge.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |FIXED
--- Comment #4 from Jörg Höhle hoehle@users.sourceforge.net 2009-10-01 04:08:35 --- This seems related to http://xquartz.macosforge.org/trac/ticket/287
Please report this problem to winehq as well. They should verify that the default visual is a valid GLX visual.
Something must have happened in Wine, as I'm not using the XQuartz 2.4.0 mentioned in the above bug report, and wine-1.1.30 does not crash in InitAdapters after searching for glAccum as 1.1.28 did.
http://bugs.winehq.org/show_bug.cgi?id=19897
--- Comment #5 from Henri Verbeet hverbeet@gmail.com 2009-10-01 04:28:25 --- (In reply to comment #4)
This seems related to http://xquartz.macosforge.org/trac/ticket/287
Please report this problem to winehq as well. They should verify that the default visual is a valid GLX visual.
Something must have happened in Wine, as I'm not using the XQuartz 2.4.0 mentioned in the above bug report, and wine-1.1.30 does not crash in InitAdapters after searching for glAccum as 1.1.28 did.
Roderick did fix that in 390d3929f2b2a9641ecc8114cf94ae09fa851a15, but that fix was already in 1.1.28.
http://bugs.winehq.org/show_bug.cgi?id=19897
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #6 from Alexandre Julliard julliard@winehq.org 2009-10-09 11:14:21 --- Closing bugs fixed in 1.1.31.
http://bugs.winehq.org/show_bug.cgi?id=19897
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- OS/Version|Mac OS X 10.5 |Mac OS X