https://bugs.winehq.org/show_bug.cgi?id=55783
Bug ID: 55783 Summary: Pronote 2023 can't load native msxml6 Product: Wine Version: 8.17 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: jkfloris@dds.nl Distribution: ---
Program: Pronote 2023 0.2.5 64-bit URL: https://tele7.index-education.com/telechargement/pn/v2023.0/exe/Install_PRNc... Forum: https://forum.winehq.org/viewtopic.php?t=38091
When starting the program, a message is shown that MSXML is not available or too old. With Wine 8.16 this could be solved with 'winetricks msxml6'. With Wine 8.17, this no longer works, the same message is displayed.
What may also apply is that the program detects that it is running with Wine.
git bisect gives: a81c53504ae32715e6e91bd020fdebd5bef20d48 is the first bad commit commit a81c53504ae32715e6e91bd020fdebd5bef20d48 Author: Alexandre Julliard julliard@winehq.org Date: Thu Sep 28 16:30:32 2023 +0200
ntdll: Release the low address space reservation for 64-bit apps.
dlls/ntdll/unix/env.c | 2 +- dlls/ntdll/unix/server.c | 2 -- dlls/ntdll/unix/virtual.c | 11 ++++++++--- 3 files changed, 9 insertions(+), 6 deletions(-)
https://bugs.winehq.org/show_bug.cgi?id=55783
jkfloris@dds.nl changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, regression URL| |https://tele7.index-educati | |on.com/telechargement/pn/v2 | |023.0/exe/Install_PRNclient | |_FR_2023.0.2.5_win64.exe
https://bugs.winehq.org/show_bug.cgi?id=55783
fafar winebugzilla@yopmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |winebugzilla@yopmail.com
--- Comment #1 from fafar winebugzilla@yopmail.com --- With Wine 8.17, the 32 bits version of pronote 2023 works without this error.
Problem occurs with Wine 8.17 and 64 bits version of pronote. Before, with 8.16, no problem.
When trying to install msxmml6 with Wine 8.17, i have this :
sh winetricks msxml6 od: wine: Aucun fichier ou dossier de ce type ------------------------------------------------------ warning: You are using a 64-bit WINEPREFIX. Note that many verbs only install 32-bit versions of packages. If you encounter problems, please retest in a clean 32-bit WINEPREFIX before reporting a bug. ------------------------------------------------------ Using winetricks 20230212-next - sha256sum: fe0550e0d843214f87dcb0f4aa591be0046fa93db7b8330217dd926258e628fc with wine-8.17 and WINEARCH=win64 Executing w_do_call msxml6 od: wine: Aucun fichier ou dossier de ce type...
I can install msxml6 with winetricks --force msxml6, but pronote doesn't work with this error https://i.imgur.com/G67Hurz.png
https://bugs.winehq.org/show_bug.cgi?id=55783
Fabian Maurer dark.shadow4@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dark.shadow4@web.de Status|UNCONFIRMED |RESOLVED Resolution|--- |DUPLICATE
--- Comment #2 from Fabian Maurer dark.shadow4@web.de --- Marking as dupe of 55833 to collect similar issues.
*** This bug has been marked as a duplicate of bug 55833 ***
https://bugs.winehq.org/show_bug.cgi?id=55783
Alistair Leslie-Hughes leslie_alistair@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #3 from Alistair Leslie-Hughes leslie_alistair@hotmail.com --- Closing duplicate.
https://bugs.winehq.org/show_bug.cgi?id=55783
--- Comment #4 from Fabian Maurer dark.shadow4@web.de --- Not sure if f03c3a167c2e4abe92b1e1bf2ea5f7c31a07fc3b fixes this or not. Don't get the error message of of current git, but it hits a deadlock instead. Will investigate.
https://bugs.winehq.org/show_bug.cgi?id=55783
--- Comment #5 from Fabian Maurer dark.shadow4@web.de --- I had some issues with native msxml, but since 0b31c53ebc53a90b3813efdd3cb2cacdf489e77b it works with builtin. Can you test wine-9.0-rc1 without native msxml and tell me it works for you as well?
https://bugs.winehq.org/show_bug.cgi?id=55783
Fabian Maurer dark.shadow4@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |f03c3a167c2e4abe92b1e1bf2ea | |5f7c31a07fc3b Resolution|DUPLICATE |FIXED
https://bugs.winehq.org/show_bug.cgi?id=55783
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|CLOSED |RESOLVED
https://bugs.winehq.org/show_bug.cgi?id=55783
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #6 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 9.0-rc2.
https://bugs.winehq.org/show_bug.cgi?id=55783
Louis Lenders xerox.xerox2000x@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |julliard@winehq.org, | |xerox.xerox2000x@gmail.com Component|-unknown |ntdll Status|CLOSED |REOPENED Ever confirmed|0 |1 Resolution|FIXED |---
--- Comment #7 from Louis Lenders xerox.xerox2000x@gmail.com --- Hi,
I'm reopening this bugreport, as the exact issue of this bugreport still has not been fixed. Loading native msxml6 is still not possible, which might not be a problem for this program (ProNote, as it now works ok with builtin msxml6) but it is a problem for for example MS Office installer.
Current hacky work-around to get around this until this is fixed:
diff --git a/dlls/ntdll/unix/virtual.c b/dlls/ntdll/unix/virtual.c index 0d88315164a..66277e3dfd7 100644 --- a/dlls/ntdll/unix/virtual.c +++ b/dlls/ntdll/unix/virtual.c @@ -4449,7 +4449,7 @@ void virtual_set_large_address_space(void) #ifndef __APPLE__ /* don't free the zerofill section on macOS */ else if ((main_image_info.DllCharacteristics & IMAGE_DLLCHARACTERISTICS_HIGH_ENTROPY_VA) && (main_image_info.DllCharacteristics & IMAGE_DLLCHARACTERISTICS_DYNAMIC_BASE)) - free_reserved_memory( 0, (char *)0x7ffe0000 ); + ;//free_reserved_memory( 0, (char *)0x7ffe0000 ); #endif } else
Steps to reproduce:
winetricks msxml6
Then install and try run the program (ProNote). It errors with "msxml6 introuvable"
Download:
https://www.index-education.com/fr/telecharger-pronote.php
Select the 64-bit version (!)
https://bugs.winehq.org/show_bug.cgi?id=55783
--- Comment #8 from Louis Lenders xerox.xerox2000x@gmail.com --- Created attachment 77583 --> https://bugs.winehq.org/attachment.cgi?id=77583 wine's msxml6-test
Hi,
Trying to revive attention for this regression...
This has been broken since halfway wine-8.0 but it would be nice if this regression would also be fixed in wine-10..0 IMHO
Attached wine's msxmltest for quick reproduction: - winetricks msxml6 - wine msxml6_test-stripped.exe schema
output: 0024:err:ole:apartment_add_dll couldn't load in-process dll L"C:\windows\system32\msxml6.dll" 0024:err:ole:com_get_class_object no class object {88d96a05-f192-11d4-a65f-0040963251e5} could be created for context 0x1 schema.c:433: Test failed: DOMDocument60 is not supported.
This works ok in wine-8.0, but also in current Staging-Tkg, so they seem to have a patch for that? In Staging itsself it doesn't work.
Analysis from Focht here:
https://bugs.winehq.org/show_bug.cgi?id=46568
https://bugs.winehq.org/show_bug.cgi?id=55783
--- Comment #9 from Fabian Maurer dark.shadow4@web.de --- Created attachment 77584 --> https://bugs.winehq.org/attachment.cgi?id=77584 Patch to limit to 44bit VA
Your hack from comment #7 only works because it then allocates from the reserved pool first, right?
Since, according to Focht, the issue is with msxml6 only expecting 44bit virtual address space, we could also limit it (patch attached). Not sure how much that would break, how many applications depend on being able to get such big addresses?
Although I feel this will be rejected, since Win10+ doesn't have that limit and it still works.
https://bugs.winehq.org/show_bug.cgi?id=55783
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |DUPLICATE Status|REOPENED |RESOLVED
--- Comment #10 from Alexandre Julliard julliard@winehq.org --- Marking as duplicate of the bug with the detailed analysis, but it looks like a WONTFIX. The right way is to make builtin msxml6 work properly.
*** This bug has been marked as a duplicate of bug 46568 ***
https://bugs.winehq.org/show_bug.cgi?id=55783
--- Comment #11 from Louis Lenders xerox.xerox2000x@gmail.com --- Ok, that's a clear answer then.
@Fabian: I'll attach your patch to bug 46568.
Maybe Staging could include something like that?
There's a bunch of programs like Office installers and Corel apps that don't work with builtin msxml6, so for testing these apps it would be really nice if we could use the native msxm6 for now.
https://bugs.winehq.org/show_bug.cgi?id=55783
Alistair Leslie-Hughes leslie_alistair@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #12 from Alistair Leslie-Hughes leslie_alistair@hotmail.com --- Closing duplicate.