http://bugs.winehq.org/show_bug.cgi?id=58482
Bug ID: 58482 Summary: Unimplemented stub for api-ms-win-core-memory-l1-1-3 Product: Wine Version: 9.0 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: apiset Assignee: wine-bugs@winehq.org Reporter: sewn@disroot.org Distribution: ---
Created attachment 78932 --> http://bugs.winehq.org/attachment.cgi?id=78932 Wine backtrace
Roblox Studio requires api-ms-win-core-memory-l1-1-3 VirtualProtectFromApp, which is not implemented in wine.
http://bugs.winehq.org/show_bug.cgi?id=58482
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Unimplemented stub for |Roblox Studio needs |api-ms-win-core-memory-l1-1 |VirtualProtectFromApp |-3 | Component|apiset |kernel32
http://bugs.winehq.org/show_bug.cgi?id=58482
--- Comment #1 from Nikolay Sivov bunglehead@gmail.com --- Could you describe how to reproduce this?
http://bugs.winehq.org/show_bug.cgi?id=58482
Bernhard Übelacker bernhardu@mailbox.org changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |bernhardu@mailbox.org
--- Comment #2 from Bernhard Übelacker bernhardu@mailbox.org --- Looking at the backtrace information - isn't this stub used by RobloxCrashHandler.exe?
So probably there are two issues: Something happened in RobloxStudioBeta.exe so the crash handler gets invoked. And the crash handler fails because of the stub VirtualProtectFromApp?
However, seems roblox.com doesn't allow downloading to everyone ... Is there a direct download link available and the issue reproducible without logging in?
Also wine 9.0 is already the "oldstable" version - if possible to test, is the issue also visible with wine 10.0 or later?
http://bugs.winehq.org/show_bug.cgi?id=58482
--- Comment #3 from sewn@disroot.org --- To run Roblox Studio i usually recommend using Vinegar (https://github.com/vinegarhq/vinegar), but you may attempt to use the official installer which i believe is broken. Vinegar is on flathub or can be ran from source.
http://bugs.winehq.org/show_bug.cgi?id=58482
Karim A. karimri@protonmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |karimri@protonmail.com
--- Comment #4 from Karim A. karimri@protonmail.com --- (In reply to Bernhard Übelacker from comment #2)
Looking at the backtrace information - isn't this stub used by RobloxCrashHandler.exe?
So probably there are two issues: Something happened in RobloxStudioBeta.exe so the crash handler gets invoked. And the crash handler fails because of the stub VirtualProtectFromApp?
However, seems roblox.com doesn't allow downloading to everyone ... Is there a direct download link available and the issue reproducible without logging in?
Also wine 9.0 is already the "oldstable" version - if possible to test, is the issue also visible with wine 10.0 or later?
The issue starts as soon as the program runs, so there's no need to sign-up for a roblox.com account to reproduce the issue.
Here's the log file for the issue replicated on mainline 10.11
http://bugs.winehq.org/show_bug.cgi?id=58482
--- Comment #5 from Karim A. karimri@protonmail.com --- Created attachment 78941 --> http://bugs.winehq.org/attachment.cgi?id=78941 Mainline 10.11 backtrace
http://bugs.winehq.org/show_bug.cgi?id=58482
--- Comment #6 from Bernhard Übelacker bernhardu@mailbox.org --- (In reply to Karim A. from comment #4)
The issue starts as soon as the program runs, so there's no need to sign-up for a roblox.com account to reproduce the issue.
In the end I was asking for a deep link of the installer to download, because even with user agent switched https://create.roblox.com/docs/en-us/ tells me: Not available for this device Studio is only available for download on Windows and macOS computers. While this is exactly what I want to download but roblox knows better ...
However a merge request for VirtualProtectFromApp appeared. https://gitlab.winehq.org/wine/wine/-/merge_requests/8553
But I am still not convinced this will help RobloxStudioBeta.exe, instead this may "just" help RobloxCrashHandler.exe to handle a crash in RobloxStudioBeta.exe.
http://bugs.winehq.org/show_bug.cgi?id=58482
--- Comment #7 from Bernhard Übelacker bernhardu@mailbox.org --- Opening https://create.roblox.com/docs/en-us/ in startpage.com's anonym view allows one to download RobloxStudioInstaller.exe.
Running this installer shows already the missing VirtualProtectFromApp and ends with a "Installer enountered a critical error" about system requirements. "Fortunately" it does not show which requirement is not met ...
http://bugs.winehq.org/show_bug.cgi?id=58482
Gijs Vermeulen gijsvrm@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, Installer URL| |https://create.roblox.com/d | |ocs/en-us/ Summary|Roblox Studio needs |Roblox Studio installer |VirtualProtectFromApp |crashes on unimplemented | |function | |api-ms-win-core-memory-l1-1 | |-3.dll.VirtualProtectFromAp | |p
http://bugs.winehq.org/show_bug.cgi?id=58482
--- Comment #8 from Karim A. karimri@protonmail.com --- The merge request does indeed fix the issue, It's just that the actual application itself has other problems that seem to be fixed by wine-staging. We're trying to at least get it fundamentally working again on mainline.
You can confirm what I've said above by compiling Wine with the patch from the merge request or just using the built artifacts on the GitLab's pipeline: https://gitlab.winehq.org/karim_adli/wine/-/jobs/173204
We also have reports from users using the Vinegar Flatpak (which has a custom staging version of Wine which had the MR applied to it) that Studio does work.
As sewn has mentioned, you could try using Vinegar from your distribution's repositories or by building it, as it automatically installs Studio and manages it.
Also VirtualProtectFromApp is likely used by both RobloxStudioBeta and RobloxCrashHandler, likely due to a library.
http://bugs.winehq.org/show_bug.cgi?id=58482
sewn@disroot.org changed:
What |Removed |Added ---------------------------------------------------------------------------- URL|https://create.roblox.com/d |https://setup.rbxcdn.com/Ro |ocs/en-us/ |bloxStudioInstaller.exe
http://bugs.winehq.org/show_bug.cgi?id=58482
--- Comment #9 from Karim A. karimri@protonmail.com --- Fix got merged to upstream, https://gitlab.winehq.org/wine/wine/-/merge_requests/8553
http://bugs.winehq.org/show_bug.cgi?id=58482
Bernhard Übelacker bernhardu@mailbox.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|UNCONFIRMED |RESOLVED Fixed by SHA1| |3a5d913772d535989edd8d44158 | |14f0cbfc40427
--- Comment #10 from Bernhard Übelacker bernhardu@mailbox.org --- (In reply to Bernhard Übelacker from comment #7)
... "Installer enountered a critical error" about system requirements.
I found this was because my test VM got slightly below 3 GB, and unfortunately en.help.roblox.com still shows "at least 1 GB of memory".
The installer indeed does show details in its logfile: C:/users/benutzer/AppData/Local/Roblox/logs/RobloxStudioInstaller_*.log ...Check whether device has more than 3072 MB memory ...Use has 2903.8046875 total memory in MB with conversion unit of 1024 ...User's device has insufficient RAM memory to install Studio
Therefore, with a VM equipped with enough memory, I can confirm with current git the installer works until starting RobloxStudioBeta.exe which gets now until this message: Launch Failed An error occurred while launching Studio login. Please login on the website or try again later.
(In reply to Karim A. from comment #9)
Fix got merged to upstream, https://gitlab.winehq.org/wine/wine/-/merge_requests/8553
Congratulations Karim for getting patches committed, and I guess it is now ok to resolve this bug as fixed with 3a5d913772.
Please open new bug entries for other issues which still appear.
http://bugs.winehq.org/show_bug.cgi?id=58482
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #11 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 10.14.