https://bugs.winehq.org/show_bug.cgi?id=49457
Bug ID: 49457
Summary: Simple command in powershell 6 (pwsh) containing "$"
only works for me if the dollar sign is escaped
Product: Wine
Version: 5.11
Hardware: x86
URL: https://github.com/PowerShell/PowerShell/releases/down
load/v6.1.6/PowerShell-6.1.6-win-x64.msi
OS: Linux
Status: NEW
Keywords: download
Severity: normal
Priority: P2
Component: -unknown
Assignee: wine-bugs(a)winehq.org
Reporter: xerox.xerox2000x(a)gmail.com
Distribution: ---
I tried simple command like
wine pwsh.exe /c $env:username
and it gives ":username"
If one escapes the dollarsign it works correctly:
wine pwsh.exe /c \$env:username
gives "louis"
When you first start powershell console like "wine start pwsh", and type in the
console it works correctly (without the escape character)
I tried 1st command in Windows 7 cmd, and it works correctly (so without having
to add the escape character)
(The same story above holds for powershell 2.0 in wine too, but that is more
troublesome to get installed due to few bugs in bugilla, so i files it here for
pwsh.exe)
--
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=48256
Bug ID: 48256
Summary: pwsh.exe (powershell) crashes after 20~50 sec:
System.EntryPointNotFoundException: Unable to find an
entry point named 'FreeAddrInfoEx' in DLL
'ws2_32.dll'.
Product: Wine
Version: 4.21
Hardware: x86
URL: https://github.com/PowerShell/PowerShell/releases/down
load/v6.1.6/PowerShell-6.1.6-win-x64.zip
OS: Linux
Status: NEW
Keywords: download
Severity: normal
Priority: P2
Component: winsock
Assignee: wine-bugs(a)winehq.org
Reporter: xerox.xerox2000x(a)gmail.com
Distribution: Debian
See below. Just start pswh.exe and wait a while (or type anything)
I don`t know if FreeAddrInfoEx is exactly same as FreeAddrInfoExW so if it can
just be forwarded, so if anyone who knows more about winsock could fix this bug
that would be nice (note: FreeAddrInfoEx entry is present in win7 ws2_32)
Error in console:
An error has occurred that was not properly handled. Additional information is
shown below. The PowerShell process will exit.
Unhandled Exception: System.EntryPointNotFoundException: Unable to find an
entry point named 'FreeAddrInfoEx' in DLL 'ws2_32.dll'.
at Interop.Winsock.FreeAddrInfoEx(AddressInfoEx* pAddrInfo)
at
System.Net.NameResolutionPal.GetAddrInfoExContext.FreeContext(GetAddrInfoExContext*
context)
at System.Net.NameResolutionPal.ProcessResult(SocketError errorCode,
GetAddrInfoExContext* context)
at System.Net.NameResolutionPal.GetAddressInfoExCallback(Int32 error, Int32
bytes, NativeOverlapped* overlapped)
003c:fixme:advapi:RegisterEventSourceW ((null),L".NET Runtime"): stub
003c:fixme:advapi:ReportEventW
(0xcafe4242,0x0001,0x0000,0x00000402,(nil),0x0001,0x00000000,0x1ba0d600,(nil)):
stub
003c:err:eventlog:ReportEventW L"Application: pwsh.exe\nCoreCLR Version:
4.6.28008.1\nDescription: The process was terminated due to an unhandled
exception.\nException Info: System.EntryPointNotFoundException: Unable to find
an entry point named 'FreeAddrInfoEx' in DLL 'ws2_32.dll'.\r\n at
Interop.Winsock.FreeAddrInfoE"...
--
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=49351
Bug ID: 49351
Summary: PowerShell-7.0.1-win-x64.msi fails to install
Product: Wine
Version: 5.10
Hardware: x86
URL: https://github.com/PowerShell/PowerShell/releases/down
load/v7.0.1/PowerShell-7.0.1-win-x64.msi
OS: Linux
Status: NEW
Keywords: download
Severity: normal
Priority: P2
Component: -unknown
Assignee: wine-bugs(a)winehq.org
Reporter: xerox.xerox2000x(a)gmail.com
Distribution: Debian
Created attachment 67388
--> https://bugs.winehq.org/attachment.cgi?id=67388
patch
>From the forum https://forum.winehq.org/viewtopic.php?f=2&t=33963
It pops up messagebox
"PowerShell requires the Windows Management Framework 4.0 or newer to be
installed to enable remoting over WinRM."
It checks for version of pwrshlplugin.dll; one could copy some wine system-dll
with high enough version resource to pwrshlplugin.dll, like i said in forum,
but as this dll is present on my win7, I guess we should just add it to wine.
Attached patch , will send to wine-devel.
Note: Check seems to come from
(https://github.com/PowerShell/PowerShell/blob/master/assets/Product.wxs)
<!-- Prerequisite check for Windows Management Framework -->
<Property Id="PWRSHPLUGIN_VERSION" Secure="yes">
<DirectorySearchRef Id="System32" Parent="WindowsDirectory"
Path="System32">
<FileSearch Id="pwrshplugin" Name="pwrshplugin.dll"
MinVersion="6.3.9600.16383"/>
</DirectorySearchRef>
</Property>
--
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=50026
Bug ID: 50026
Summary: Powershell Core errors (in win10 mode) with:
Attempting to perform the Start operation on the
'FileSystem' provider failed. Unable to find an entry
point named
'RtlQueryProcessPlaceholderCompatibilityMode' in DLL
'ntd ll.dll'.
Product: Wine
Version: 5.19
Hardware: x86-64
URL: https://github.com/PowerShell/PowerShell/releases/down
load/v7.0.3/PowerShell-7.0.3-win-x64.msi
OS: Linux
Status: NEW
Keywords: download, patch
Severity: normal
Priority: P2
Component: ntdll
Assignee: wine-bugs(a)winehq.org
Reporter: xerox.xerox2000x(a)gmail.com
Regression SHA1: download
Distribution: Debian
Created attachment 68458
--> https://bugs.winehq.org/attachment.cgi?id=68458
patch with stub
This happens on every command if win10 version is set, i.e.
wine pwsh.exe -c Write-Host "Hello"
Attempting to perform the Start operation on the 'FileSystem' provider failed.
Unable to find an entry point named
'RtlQueryProcessPlaceholderCompatibilityMode' in DLL 'ntdll.dll'.
Though it continues happily further and the command(s) work, this actually
prevents Waves Central from starting in win10 mode
I`ll send attached patch (that fixes this) later.
Relevant code from Powershell Core:
#if !UNIX
// The placeholder mode management APIs
Rtl(Set|Query)(Process|Thread)PlaceholderCompatibilityMode
// are only supported starting with Windows 10 version 1803 (build
17134)
Version minBuildForPlaceHolderAPIs = new Version(10, 0, 17134, 0);
if (Environment.OSVersion.Version >= minBuildForPlaceHolderAPIs)
{
// let's be safe, don't change the PlaceHolderCompatibilityMode
if the current one is not what we expect
if (NativeMethods.PHCM_DISGUISE_PLACEHOLDER ==
NativeMethods.RtlQueryProcessPlaceholderCompatibilityMode())
{
NativeMethods.RtlSetProcessPlaceholderCompatibilityMode(NativeMethods.PHCM_EXPOSE_PLACEHOLDERS);
}
}
#endif
--
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
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.
http://bugs.winehq.org/show_bug.cgi?id=21511
Summary: wsmanhttpconfig.exe tool from Windows Management
Framework Core (PowerShell 2.0) needs
msvcrt.dll._scwprintf
Product: Wine
Version: 1.1.37
Platform: x86
URL: http://www.microsoft.com/downloads/details.aspx?Family
Id=60cb5b6c-6532-45e0-ab0f-a94ae9ababf5&displaylang=en
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: msvcrt
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: focht(a)gmx.net
Hello,
the Windows Management Framework Core (PowerShell 2.0) installer runs
wsmanhttpconfig.exe (Web Services for Management) tool to register services
which fails.
.NET 2.0 SP1 is needed prerequisite
--- snip ---
...
0022:trace:process:CreateProcessW app (null) cmdline
L"C:\\windows\\system32\\wsmanhttpconfig.exe install"
...
0022:trace:process:CreateProcessW started process pid 0047 tid 000d
...
000d:fixme:httpapi:HttpInitialize ({1,0}, 0x2, (nil)): stub!
000d:trace:seh:raise_exception code=80000100 flags=1 addr=0x7bc4ac0a
ip=7bc4ac0a tid=000d
000d:trace:seh:raise_exception info[0]=010305d6
000d:trace:seh:raise_exception info[1]=01030db8
wine: Call from 0x7bc4ac0a to unimplemented function msvcrt.dll._scwprintf,
aborting
--- snip ---
Implementing _scwprintf (using MSVCRT_vsnwprintf) lets the tool successfully
finish.
Regards
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
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.