-
Notifications
You must be signed in to change notification settings - Fork 7.8k
Closed
Labels
Area-Maintainers-Buildspecific to affecting the buildspecific to affecting the buildIssue-Questionideally support can be provided via other mechanisms, but sometimes folks do open an issue to get aideally support can be provided via other mechanisms, but sometimes folks do open an issue to get aResolution-FixedThe issue is fixed.The issue is fixed.
Description
Steps to reproduce
Pre-build PowerShell on the command line
Import-Module build.psm1; Start-PSBuild -Clean; Invoke-Item PowerShell.sln
Then press F5
in Visual studio
with powershell-win-core
being the startup project
Expected behavior
Works
Actual behavior
Crashes:
FailFast:
Common Language Runtime detected an invalid program.
at System.Environment.FailFast(System.String, System.Exception)
at Microsoft.PowerShell.UnmanagedPSEntry.Start(System.String, System.String[], Int32)
at Microsoft.PowerShell.ManagedPSEntry.Main(System.String[])
Exception details:
System.InvalidProgramException: Common Language Runtime detected an invalid program.
at Microsoft.PowerShell.ConsoleControl.WriteConsole(SafeFileHandle consoleHandle, ReadOnlySpan`1 output, Boolean newLine)
at Microsoft.PowerShell.ConsoleHostUserInterface.WriteToConsole(ReadOnlySpan`1 value, Boolean transcribeResult, Boolean newLine) in C:\Users\cberg\git\PowerShell\src\Microsoft.PowerShell.ConsoleHost\host\msh\ConsoleHostUserInterface.cs:line 584
at Microsoft.PowerShell.ConsoleHostUserInterface.WriteLineToConsole(ReadOnlySpan`1 value, Boolean transcribeResult) in C:\Users\cberg\git\PowerShell\src\Microsoft.PowerShell.ConsoleHost\host\msh\ConsoleHostUserInterface.cs:line 643
at Microsoft.PowerShell.ConsoleTextWriter.WriteLine(String value) in C:\Users\cberg\git\PowerShell\src\Microsoft.PowerShell.ConsoleHost\host\msh\ConsoleTextWriter.cs:line 57
at Microsoft.PowerShell.ConsoleHostUserInterface.WriteImpl(String value, Boolean newLine) in C:\Users\cberg\git\PowerShell\src\Microsoft.PowerShell.ConsoleHost\host\msh\ConsoleHostUserInterface.cs:line 722
at Microsoft.PowerShell.ConsoleHostUserInterface.WriteLine(String value) in C:\Users\cberg\git\PowerShell\src\Microsoft.PowerShell.ConsoleHost\host\msh\ConsoleHostUserInterface.cs:line 818
at Microsoft.PowerShell.CommandLineParameterParser.DisplayBanner() in C:\Users\cberg\git\PowerShell\src\Microsoft.PowerShell.ConsoleHost\host\msh\CommandLineParameterParser.cs:line 657
at Microsoft.PowerShell.CommandLineParameterParser.ParseHelper(String[] args) in C:\Users\cberg\git\PowerShell\src\Microsoft.PowerShell.ConsoleHost\host\msh\CommandLineParameterParser.cs:line 1028
at Microsoft.PowerShell.CommandLineParameterParser.Parse(String[] args) in C:\Users\cberg\git\PowerShell\src\Microsoft.PowerShell.ConsoleHost\host\msh\CommandLineParameterParser.cs:line 699
at Microsoft.PowerShell.ConsoleHost.Start(String bannerText, String helpText, String[] args) in C:\Users\cberg\git\PowerShell\src\Microsoft.PowerShell.ConsoleHost\host\msh\ConsoleHost.cs:line 166
at Microsoft.PowerShell.ConsoleShell.Start(String bannerText, String helpText, String[] args) in C:\Users\cberg\git\PowerShell\src\Microsoft.PowerShell.ConsoleHost\host\msh\ConsoleShell.cs:line 29
at Microsoft.PowerShell.UnmanagedPSEntry.Start(String consoleFilePath, String[] args, Int32 argc) in C:\Users\cberg\git\PowerShell\src\Microsoft.PowerShell.ConsoleHost\host\msh\ManagedEntrance.cs:line 73
C:\Users\cberg\git\PowerShell\src\powershell-win-core\bin\Debug\netcoreapp3.0\pwsh.exe (process 14660) exited with code -2146232797.
To automatically close the console when debugging stops, enable Tools->Options->Debugging->Automatically close the console when debugging stops.
Press any key to close this window . . .
Environment data
- .Net Core 3 Preview 5 installed
- Latest Visual Studio 16.2.0-Preview1 (with preview .net sdk option enabled)
- Win10 1809 (10.0.17763)
- Latest commit on master:
83708a4242befaae0e26d7f33e7ebe2f0091db08
Metadata
Metadata
Assignees
Labels
Area-Maintainers-Buildspecific to affecting the buildspecific to affecting the buildIssue-Questionideally support can be provided via other mechanisms, but sometimes folks do open an issue to get aideally support can be provided via other mechanisms, but sometimes folks do open an issue to get aResolution-FixedThe issue is fixed.The issue is fixed.