[Bug 51762] New: Installing visual studio 2019 by manually extracting vs_installer.opc crashes wine
https://bugs.winehq.org/show_bug.cgi?id=51762 Bug ID: 51762 Summary: Installing visual studio 2019 by manually extracting vs_installer.opc crashes wine Product: Wine Version: 6.16 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs(a)winehq.org Reporter: cedric.dewijs(a)eclipso.eu Distribution: --- Created attachment 70664 --> https://bugs.winehq.org/attachment.cgi?id=70664 Backtrace after running the extracted vs2019 installer I'm trying to install visual studio 2019. Running the installer on a vanilla wineprefix does not work it also does not work after installing corefonts and dotnet462 See https://bugs.winehq.org/show_bug.cgi?id=51761 I found a possible workaround in this script: https://bugs.winehq.org/attachment.cgi?id=65524 mentioned in this bugreport: https://bugs.winehq.org/show_bug.cgi?id=47626 The workaround crashes wine. To reproduce: $ rm -rf ~/.wine $ wineboot $ winetricks -q corefonts dotnet462 $ wget https://aka.ms/vs/16/release/installer -O vs_installer.opc $ md5sum vs_installer.opc 8bcc6fd057a5f066185fb287d7fff99e vs_installer.opc $ mkdir -p opc $ unzip -d opc vs_installer.opc $ wine opc/Contents/vs_installer.exe install --channelId VisualStudio.16.Release --channelUri "https://aka.ms/vs/16/release/channel" --productId Microsoft.VisualStudio.Product.BuildTools Now wine crashes, and gives me the opportunity to save a backtrace (attached). -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=51762 --- Comment #1 from Cedric <cedric.dewijs(a)eclipso.eu> --- Created attachment 70665 --> https://bugs.winehq.org/attachment.cgi?id=70665 Console messages installing corefonts and dotnet462 and running the vs installer -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=51762 Roman Pišl <rpisl(a)seznam.cz> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |rpisl(a)seznam.cz --- Comment #2 from Roman Pišl <rpisl(a)seznam.cz> --- I can't reproduce this with Wine 6.17. Try following steps: winetricks -q arial d3dcompiler_47 dotnet472 winetricks vstools2019 Run sha256sum ~/.cache/winetricks/vstools2019/vstools2019.zip and update the hash in load_vstools2019() in winetricks. Run winetricks vstools2019 again. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=51762 --- Comment #3 from Cedric <cedric.dewijs(a)eclipso.eu> --- I am stuck with the first winetrick step: $ rm -rf ~/.wine $ wineboot $ winetricks -q arial d3dcompiler_47 dotnet472 I see repeating errors like this: 0634:err:ntdll:RtlpWaitForCriticalSection section 00430094 "../wine/dlls/ntdll/heap.c: main process heap section" wait timed out in thread 0634, blocked by 00cc, retrying (60 sec) 06e4:err:ntdll:RtlpWaitForCriticalSection section 00430094 "../wine/dlls/ntdll/heap.c: main process heap section" wait timed out in thread 06e4, blocked by 00cc, retrying (60 sec) $ wine --version wine-6.16 $ uname -a Linux cedric 5.14.3-arch1-1 #1 SMP PREEMPT Sun, 12 Sep 2021 20:51:34 +0000 x86_64 GNU/Linux -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=51762 --- Comment #4 from Cedric <cedric.dewijs(a)eclipso.eu> --- Created attachment 70667 --> https://bugs.winehq.org/attachment.cgi?id=70667 The console messages from running winetricks -q arial d3dcompiler_47 dotnet472 -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=51762 --- Comment #5 from Cedric <cedric.dewijs(a)eclipso.eu> --- I've retested with the latest git version, as arch linux doesn't have wine 6.17 yet. # reboot $ wine --version wine-6.17-261-g16e73be10d9 $ rm -rf ~/.cache/wine* $ rm -rf ~/.wine $ wineboot Now wine is asking to install wine-mono, even though I've the ach linux version installed. I click install, and wine downloads and installs it. $ winetricks -q arial d3dcompiler_47 dotnet472 $ winetricks vstools2019 $ sha256sum ~/.cache/winetricks/vstools2019/vstools2019.zip # nano /usr/bin/winetricks #update the hash in load_vstools2019(), line 13072 $ winetricks vstools2019 $ wget https://aka.ms/vs/16/release/installer -O vs_installer.opc $ md5sum vs_installer.opc 8bcc6fd057a5f066185fb287d7fff99e vs_installer.opc $ mkdir -p opc $ unzip -d opc vs_installer.opc $ wine opc/Contents/vs_installer.exe install --channelId VisualStudio.16.Release --channelUri "https://aka.ms/vs/16/release/channel" --productId Microsoft.VisualStudio.Product.BuildTools Now the visual studio installer comes up. I have not yet tried to actually install it, but so far it works, so this bug is fixed. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=51762 --- Comment #6 from Cedric <cedric.dewijs(a)eclipso.eu> --- Created attachment 70670 --> https://bugs.winehq.org/attachment.cgi?id=70670 Successfull starting of the installer with the latest git version of wine -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
participants (1)
-
WineHQ Bugzilla