https://bugs.winehq.org/show_bug.cgi?id=49540
Bug ID: 49540 Summary: Silverlight configuration tab "Webcam / Mic" now crashes Product: Wine Version: 5.12 Hardware: x86 OS: Linux Status: NEW Severity: normal Priority: P2 Component: quartz Assignee: wine-bugs@winehq.org Reporter: erich.e.hoover@gmail.com Distribution: ---
Steps to reproduce: wget http://silverlight.dlservice.microsoft.com/download/B/A/9/BA94BEC9-5DBC-4B50...; rm -rf ~/.wine; WINEARCH=win32 wine Silverlight.exe /q /doNotRequireDRMPrompt /noupdate; WINEARCH=win32 wine ~/.wine/drive_c/Program\ Files/Microsoft\ Silverlight/5.1.30214.0/Silverlight.Configuration.exe;
then click "Webcam / Mic" tab
=== f7265d97ee12b67adc82cff63b70ee9d70e01b32 is the first bad commit commit f7265d97ee12b67adc82cff63b70ee9d70e01b32 Author: Zebediah Figura z.figura12@gmail.com Date: Thu Jun 25 17:57:40 2020 -0500
quartz: Try to create the VMR7 in video_renderer_default_create().
Signed-off-by: Zebediah Figura z.figura12@gmail.com Signed-off-by: Alexandre Julliard julliard@winehq.org
:040000 040000 928495735bf5c97a0eb0ba285f557cd5d2bfb6ec a6ab0a9df5c52d65dfd8ef4607904dd76eed028a M dlls ===
https://bugs.winehq.org/show_bug.cgi?id=49540
Erich E. Hoover erich.e.hoover@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Blocks| |36230 Regression SHA1| |f7265d97ee12b67adc82cff63b7 | |0ee9d70e01b32
https://bugs.winehq.org/show_bug.cgi?id=49540
Gijs Vermeulen gijsvrm@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |z.figura12@gmail.com Keywords| |regression
https://bugs.winehq.org/show_bug.cgi?id=49540
--- Comment #1 from Zebediah Figura z.figura12@gmail.com --- I can't reproduce this with the given instructions, which isn't particularly surprising given the regression ID.
Can you please attach a log with WINEDEBUG=+quartz,+strmbase,+gstreamer,+qcap,+qedit,+d3d9,+d3d?
https://bugs.winehq.org/show_bug.cgi?id=49540
--- Comment #2 from Erich E. Hoover erich.e.hoover@gmail.com --- (In reply to Zebediah Figura from comment #1)
I can't reproduce this with the given instructions, which isn't particularly surprising given the regression ID.
Can you please attach a log with WINEDEBUG=+quartz,+strmbase,+gstreamer,+qcap,+qedit,+d3d9,+d3d?
That probably means I have a configuration problem for compiling this Wine version then, this is the relevant part at the end of the log: === 0024:trace:quartz:VMR9FilterConfig_SetRenderingMode (00781EFC/00781B68)->(1) 0024:trace:d3d9:Direct3DCreate9 sdk_version 0x20. 0024:trace:d3d:wined3d_init Initialising adapters. 0024:trace:d3d:wined3d_adapter_gl_init adapter_gl 0x35998a8, ordinal 0, wined3d_creation_flags 0x3ecc. 0024:trace:d3d:wined3d_adapter_init Display device: L"\\.\DISPLAY1". 0024:trace:d3d:wined3d_output_init output 0x3599330, device_name L"\\.\DISPLAY1". 0024:trace:d3d:wined3d_adapter_init Allocated LUID 00000000:000003f6 for adapter 0x35998a8. 0024:warn:d3d:wined3d_init Failed to create adapter. 0024:warn:d3d:wined3d_create Failed to initialize wined3d object, hr 0x80004005. 0024:warn:d3d9:Direct3DCreate9 Failed to initialize d3d9. 0024:warn:quartz:VMR9DefaultAllocatorPresenterImpl_create Could not initialize d3d9.dll 0024:err:quartz:VMR9FilterConfig_SetRenderingMode Unable to find Presenter interface wine: Unhandled page fault on read access to 00000000 at address 038C860E (thread 0024), starting debugger... ===
https://bugs.winehq.org/show_bug.cgi?id=49540
--- Comment #3 from Zebediah Figura z.figura12@gmail.com --- Sounds about right, though there's still a bug here. quartz shouldn't crash if loading d3d9 fails, and we should fall back to another renderer.
https://bugs.winehq.org/show_bug.cgi?id=49540
--- Comment #4 from Erich E. Hoover erich.e.hoover@gmail.com --- (In reply to Zebediah Figura from comment #3)
Sounds about right, though there's still a bug here. quartz shouldn't crash if loading d3d9 fails, and we should fall back to another renderer.
It looks like I'm missing 32-bit OpenGL headers. What's happening is that __wine_get_wgl_driver fails, so d3d9 initialization fails. If we call init_d3d9() in vmr_create() then you can trap this problem and fall back to the other renderer.
https://bugs.winehq.org/show_bug.cgi?id=49540
--- Comment #5 from Erich E. Hoover erich.e.hoover@gmail.com --- (In reply to Erich E. Hoover from comment #2)
... That probably means I have a configuration problem for compiling this Wine version then, this is the relevant part at the end of the log: ...
Blech, can confirm - no crash if OpenGL support is properly compiled in. I must have performed a driver update before I started testing because the official package crashed as well, but now that I've rebooted that is also working. Would you like this closed or reframed to being for when d3d9 fails to initialize?
https://bugs.winehq.org/show_bug.cgi?id=49540
Zebediah Figura z.figura12@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Silverlight configuration |Silverlight configuration |tab "Webcam / Mic" now |tab "Webcam / Mic" crashes |crashes |without functional GL | |libraries
--- Comment #6 from Zebediah Figura z.figura12@gmail.com --- (In reply to Erich E. Hoover from comment #5)
(In reply to Erich E. Hoover from comment #2)
... That probably means I have a configuration problem for compiling this Wine version then, this is the relevant part at the end of the log: ...
Blech, can confirm - no crash if OpenGL support is properly compiled in. I must have performed a driver update before I started testing because the official package crashed as well, but now that I've rebooted that is also working. Would you like this closed or reframed to being for when d3d9 fails to initialize?
Reframed sounds good to me.
https://bugs.winehq.org/show_bug.cgi?id=49540
Zebediah Figura z.figura12@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|NEW |RESOLVED Fixed by SHA1| |2c60848dbb9c1b798b0641ee30c | |294fe4423754e
--- Comment #7 from Zebediah Figura z.figura12@gmail.com --- This actually seems to have been indirectly fixed by 2c60848dbb9c1b798b0641ee30c294fe4423754e. We probably should be more careful about cleaning up from initialization failure, though.
https://bugs.winehq.org/show_bug.cgi?id=49540
Zebediah Figura z.figura12@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1|2c60848dbb9c1b798b0641ee30c |68d355883016d88fbb6c1aad9ee |294fe4423754e |131e0c0457c47
--- Comment #8 from Zebediah Figura z.figura12@gmail.com --- Oops, wrong hash. I meant 68d355883016d88fbb6c1aad9ee131e0c0457c47.
https://bugs.winehq.org/show_bug.cgi?id=49540
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #9 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 6.0-rc2.
https://bugs.winehq.org/show_bug.cgi?id=49540
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Silverlight configuration |Silverlight 5.1 |tab "Webcam / Mic" crashes |configuration tab "Webcam / |without functional GL |Mic" crashes without |libraries |functional GL libraries CC| |focht@gmx.net URL| |https://web.archive.org/web | |/20140529102802/http://silv | |erlight.dlservice.microsoft | |.com/download/B/A/9/BA94BEC | |9-5DBC-4B50-BC2B-046A423990 | |67/30214.00/Silverlight.exe Keywords| |download