[Bug 41911] New: Studio One 3 fails to launch because of missing FindNLSStringEx implementation
https://bugs.winehq.org/show_bug.cgi?id=41911 Bug ID: 41911 Summary: Studio One 3 fails to launch because of missing FindNLSStringEx implementation Product: Wine Version: 1.9.24 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: kernel32 Assignee: wine-bugs(a)winehq.org Reporter: meerkatanonymous(a)gmail.com Distribution: --- Studio One 3 fails to launch because of this error: wine: Call from 0x7bc6159c to unimplemented function KERNEL32.dll.FindNLSStringEx, aborting -- 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=41911 meerkatanonymous(a)gmail.com changed: What |Removed |Added ---------------------------------------------------------------------------- Hardware|x86 |x86-64 -- 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=41911 Austin English <austinenglish(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |austinenglish(a)gmail.com Summary|Studio One 3 fails to |Studio One 3 needs |launch because of missing |KERNEL32.FindNLSStringEx |FindNLSStringEx | |implementation | -- 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=41911 --- Comment #1 from meerkatanonymous(a)gmail.com --- Created attachment 56303 --> https://bugs.winehq.org/attachment.cgi?id=56303 FindNLSStringEx implementation -- 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=41911 --- Comment #2 from meerkatanonymous(a)gmail.com --- Simple implementation for FindNLSStringEx. Studio One 3 still won't load, but I believe this is a different issue. This is by no means complete, it doesn't handle locales, most flags are ignored, etc. -- 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=41911 Austin English <austinenglish(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch --- Comment #3 from Austin English <austinenglish(a)gmail.com> --- Patches should be submitted to wine-patches(a)winehq.org. See https://wiki.winehq.org/SubmittingPatches -- 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=41911 --- Comment #4 from meerkatanonymous(a)gmail.com --- True :) This is not intended to be a patch yet though, it's quite dirty, and probably shouldn't be merged until it's cleaned up. I'm just leaving this here in case it helps any developer willing to implement this (or anyone else stumbling upon this issue) :) -- 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=41911 Austin English <austinenglish(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |isiraseneviratne(a)yahoo.com --- Comment #5 from Austin English <austinenglish(a)gmail.com> --- *** Bug 42598 has been marked as a duplicate of this bug. *** -- 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=41911 Austin English <austinenglish(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|Studio One 3 needs |Studio One 3/Microsoft |KERNEL32.FindNLSStringEx |Office 2016 need | |kernel32.FindNLSStringEx -- 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=41911 Nikolay Sivov <bunglehead(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|wine-bugs(a)winehq.org |bunglehead(a)gmail.com Status|UNCONFIRMED |NEW Ever confirmed|0 |1 --- Comment #6 from Nikolay Sivov <bunglehead(a)gmail.com> --- Confirming, I'll take a look. -- 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=41911 --- Comment #7 from Isira Seneviratne <isiraseneviratne(a)yahoo.com> --- This bug affects Access 2013 Date/Time fields as well. -- 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=41911 Adrian Kalla <adrian.kalla(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |adrian.kalla(a)gmail.com -- 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=41911 Sagawa <sagawa.aki+winebugs(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |sagawa.aki+winebugs(a)gmail.c | |om -- 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=41911 Nikolay Sivov <bunglehead(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|bunglehead(a)gmail.com |wine-bugs(a)winehq.org -- 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=41911 BP <bapartridge+wine(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bapartridge+wine(a)gmail.com --- Comment #8 from BP <bapartridge+wine(a)gmail.com> --- Any update on getting this patch accepted? Seems lots of Microsoft software is blocked on this fix. -- 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=41911 --- Comment #9 from meerkatanonymous(a)gmail.com --- I didn't submit the patch because I didn't have any proper way of testing it (even earlier buggy versions I wrote worked for Studio One 3, but it would always crash at a later step), and also because it doesn't implement all the functionality of FindNLSStringEx, namely various localization-specific parts of the code, again because I couldn't test properly (and because I don't know much about localization). Does the patch fix the problem for Office products? -- 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=41911 Jens Staal <staal1978(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |staal1978(a)gmail.com --- Comment #10 from Jens Staal <staal1978(a)gmail.com> --- This bug also affects PowerShell https://github.com/PowerShell/PowerShell/issues/4619 -- 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=41911 Anastasius Focht <focht(a)gmx.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|Studio One 3/Microsoft |Multiple Microsoft |Office 2016 need |applications need |kernel32.FindNLSStringEx |kernel32.FindNLSStringEx | |(Studio One 3, Microsoft | |Office 2016, PowerShell 6) CC| |focht(a)gmx.net -- 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=41911 Anastasius Focht <focht(a)gmx.net> changed: What |Removed |Added ---------------------------------------------------------------------------- URL| |https://github.com/PowerShe | |ll/PowerShell/releases/down | |load/v6.0.0-beta.5/PowerShe | |ll-6.0.0-beta.5-win7-x86.ms | |i Keywords| |download -- 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=41911 --- Comment #11 from Anastasius Focht <focht(a)gmx.net> --- Hello folks, I've refined the summary to collect more apps. Steps to reproduce with PowerShell 6.x: Download: https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-beta.5/Pow... --- snip --- $ winetricks -q dotnet40 $ winetricks win7 # if not default upon creation $ wine msiexec -i PowerShell-6.0.0-beta.5-win7-x86.msi --- snip --- Run: --- snip --- $ pwd /home/focht/.wine/drive_c/Program Files/PowerShell/6.0.0-beta.5 $ wine ./powershell.exe ... fixme:msvcrt:_configure_wide_argv (1) stub fixme:msvcrt:_initialize_wide_environment stub ... fixme:process:GetNumaHighestNodeNumber (0x3beffc): semi-stub fixme:thread:SetThreadStackGuarantee (0x3beff8): stub fixme:ntdll:EtwEventRegister ({e13c0d23-ccbc-4e12-931b-d9cc2eee27e4}, 0x794e20, 0x97bb90, 0x984fe8) stub. fixme:ntdll:EtwEventRegister ({763fd754-7086-4dfe-95eb-c01a46faf4ca}, 0x794e20, 0x97bb20, 0x984fd8) stub. fixme:ntdll:EtwEventRegister ({a669021c-c450-4609-a035-5af59af4df18}, 0x794e20, 0x97bb58, 0x984fe0) stub. fixme:wer:WerRegisterRuntimeExceptionModule (L"C:\\Program Files\\PowerShell\\6.0.0-beta.5\\mscordaccore.dll", 0x5a0000) stub! fixme:process:FlushProcessWriteBuffers : stub ... fixme:ntdll:EtwEventRegister ({a0c1853b-5c40-4b15-8766-3cf1c58f985a}, 0x3e3536, (nil), 0xf214b4) stub. Unhandled Exception: fixme:module:load_library unsupported flag(s) used (flags: 0x00000800) fixme:module:load_library unsupported flag(s) used (flags: 0x00000800) System.TypeInitializationException: The type initializer for 'System.Management.Automation.Utils' threw an exception. ---> System.EntryPointNotFoundException: Unable to find an entry point named 'FindNLSStringEx' in DLL 'kernel32.dll'. at Interop.Kernel32.FindNLSStringEx(Char* lpLocaleName, UInt32 dwFindNLSStringFlags, Char* lpStringSource, Int32 cchSource, Char* lpStringValue, Int32 cchValue, Int32* pcchFound, Void* lpVersionInformation, Void* lpReserved, IntPtr sortHandle) at System.Globalization.CompareInfo.FindString(UInt32 dwFindNLSStringFlags, String lpStringSource, Int32 startSource, Int32 cchSource, String lpStringValue, Int32 startValue, Int32 cchValue, Int32* pcchFound) at System.Globalization.CompareInfo.IndexOfCore(String source, String target, Int32 startIndex, Int32 count, CompareOptions options, Int32* matchLengthPtr) at System.Globalization.CompareInfo.IndexOf(String source, String value, Int32 startIndex, Int32 count, CompareOptions options) at System.String.IndexOf(String value, Int32 startIndex, Int32 count, StringComparison comparisonType) at System.String.IndexOf(String value, StringComparison comparisonType) at Microsoft.Win32.RegistryKey.ValidateKeyName(String name) at Microsoft.Win32.RegistryKey.OpenSubKey(String name, Boolean writable) at Microsoft.Win32.RegistryKey.OpenSubKey(String name) at System.Management.Automation.Platform.get_IsNanoServer() at System.Management.Automation.Platform.get_IsInbox() at System.Management.Automation.Utils..cctor() --- End of inner exception stack trace --- at System.Management.Automation.PSSnapInReader.ReadRegistryInfo(Version& assemblyVersion, String& publicKeyToken, String& culture, String& architecture, String& applicationBase, Version& psVersion) at System.Management.Automation.PSSnapInReader.ReadCoreEngineSnapIn() at System.Management.Automation.Runspaces.InitialSessionState.ImportCorePSSnapIn() at System.Management.Automation.Runspaces.InitialSessionState.CreateDefault2() at Microsoft.PowerShell.UnmanagedPSEntry.Start(String consoleFilePath, String[] args, Int32 argc) at Microsoft.PowerShell.ManagedPSEntry.Main(String[] args) in C:\powershell\src\powershell\Program.cs:line 23 wine: Unhandled exception 0xe0434352 in thread 9 at address 0x7bc50023:0x7b446223 (thread 0009), starting debugger... --- snip --- So anything that uses .NET 4+ System.Globalization.CompareInfo class will encounter this problem. $ wine --version wine-2.15 Regards -- 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=41911 Mikhail Paulyshka <me(a)mixaill.tk> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |me(a)mixaill.tk --- Comment #12 from Mikhail Paulyshka <me(a)mixaill.tk> ---
winetricks -q dotnet40 So anything that uses .NET 4+ System.Globalization.CompareInfo class will encounter this problem.
Little correction: you do not need to install dotnet40 for Powershell Core. It contains bundled .NET Core 2.0 which uses FindNLSStringEx. https://github.com/dotnet/coreclr/search?q=FindNLSStringEx&type=Code&utf8=✓ -- 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=41911 Luke <lukebenes(a)hotmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |lukebenes(a)hotmail.com -- 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=41911 Robert Walker <bob.mt.wya(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bob.mt.wya(a)gmail.com -- 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=41911 Fabian Maurer <dark.shadow4(a)web.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dark.shadow4(a)web.de -- 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=41911 oleg_krv <krivorot.oleg(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |krivorot.oleg(a)gmail.com -- 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=41911 Nikolay Sivov <bunglehead(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED Fixed by SHA1| |2d74a4ff43284c35447ed2a915b | |0b5b3e40748f1 --- Comment #13 from Nikolay Sivov <bunglehead(a)gmail.com> --- Partial implementation is in Wine now, see 2d74a4ff43284c35447ed2a915b0b5b3e40748f1. Marking 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=41911 --- Comment #14 from Anastasius Focht <focht(a)gmx.net> --- Hello folks, confirming, tested with MS PowerShell, works fine for me Thanks Sergio Regards -- 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=41911 Alexandre Julliard <julliard(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #15 from Alexandre Julliard <julliard(a)winehq.org> --- Closing bugs fixed in 3.4. -- 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=41911 Anastasius Focht <focht(a)gmx.net> changed: What |Removed |Added ---------------------------------------------------------------------------- URL|https://github.com/PowerShe |https://web.archive.org/web |ll/PowerShell/releases/down |/20210312102608/https://git |load/v6.0.0-beta.5/PowerShe |hub.com/PowerShell/PowerShe |ll-6.0.0-beta.5-win7-x86.ms |ll/releases/download/v6.0.0 |i |-beta.5/PowerShell-6.0.0-be | |ta.5-win7-x86.msi -- 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 (2)
-
wine-bugs@winehq.org -
WineHQ Bugzilla