Windows error 0x80131623, -2146232797

Detailed Error Information

COR_E_FAILFAST[1]

Message"Runtime operation halted by call to System.Environment.FailFast()."
Comment Runtime operation halted by call to System.Environment.FailFast().

HRESULT analysis[2]

FlagsSeverityFailure
Reserved (R)false
OriginMicrosoft
NTSTATUSfalse
Reserved (X)false
FacilityCode19 (0x013)
NameFACILITY_URT[2][3]
DescriptionThe source of the error code is .NET CLR.[2][3]
Error Code5667 (0x1623)

Questions

4votes
6answers

VS 2015 Error “Object reference not set to an instance of an object” when creating a new project or opening a project?

Environment:WIN 10 Pro IDE:Visual Studio 2015 Community When I tried to create a project or open projects,the VS would warn that"Object reference not set to an instance of an object".Andreading the System Log,I found this recording: Faulting application name: devenv.exe, version: 14.0.23107.0, timestamp: 0x559b7ead Faulting Module Name: unknown, Version: 0.0.0.0, [...] read more
visual-studio-2015
4votes
2answers

Weird exception on collection

I get the below exception when I try to add/insert/remove to a collection (or any operation that changes the collection). The collection is initialized and the item inserted is not null and of the same type as the collection T. Can any one give me a clue as to why [...] read more
wpf
exception
observablecollection
3votes
1answer

SQL Server Management Studio restarts when hit 'new query"

I am using: enter image description here [https://i.stack.imgur.com/ZjV3O.jpg] And everything works fine, I can even see reports performance: enter image description here [https://i.stack.imgur.com/GWiWM.jpg] But when I hit 'new query', I get this, and SSMS restarts automatically: enter image description here [https://i.stack.imgur.com/SUOjS.jpg] Most of what I have to do is on [...] read more
sql-server
ssms
3votes
1answer

Service Fabric stateless service behaviour

I'm developing a Service Fabric Stateless App and there´s some strange behaviour when I try to create a service bus queue client. In the Servie.cs class: public class ServiceBusQueueService : IQueueService<SbMessage> { private readonly QueueClient _client; public ServiceBusQueueService(string queueName) { var connectionString = ConfigurationManager.AppSettings.Get("ServiceBus.ConnectionString"); // When executes this line, it [...] read more
c#
azureservicebus
azure-service-fabric
3votes
1answer

Bug in CLR? CLR execution engine failed

AFAIK, try and finally block are used execute a piece of code that might throw some exception, we also add catch block if we are prepared to handle some type of exception and/or are excepting them, like FileIOException, AccessRight or something. But when I ran this.. private void button1_Click(object sender, [...] read more
c#
c#-4.0
clr
3votes
1answer

nservicebus critical error Exception code: 0x80131623

I'm getting the following error on starting up NServicebus.Host.exe > The runtime has encountered a fatal error. The address of the error was at > 0x9124e4c7, on thread 0x2094. The error code is 0x80131623. This error may be > a bug in the CLR or in the unsafe or non-verifiable [...] read more
c#
nservicebus
nservicebus5
3votes
1answer

The runtime has encountered a fatal error

> The runtime has encountered a fatal error. The address of the error 0x6a0a7c6d > on thread 0x1f70. The error code is 0x80131623. This may be a bug in the CLR > or in the unsafe or non-verifiable portions of user code. Often the source of > this error formed [...] read more
vb.net
2votes
1answer

NServiceBus crashes when losing connectivity to RabbitMQ host

We're having a problem that NServiceBus crashes after about 4-5 minutes after connection lost to RabbitMQ Server. To reproduce, I started my app, saw that RabbitMQ sees the connections, disconnected my network cable, and waited. After about 5 minutes NServiceBus host crashed. When running in Debug, I got the following [...] read more
nservicebus
nservicebus5
nservicebus-rabbitmq
2votes
2answers

FatalExecutionEngineError when adding inlines in the CoerceValueCallback of a TextBlock

I am trying to create a TextBlock control that formats the text it is bound to in some way. To achieve that, I tried to use the CoerceValueCallback of a class deriving from TextBlock to add the neccesary inlines, and then ignore the text. Something like: public class BuggyTextBlock : [...] read more
c#
wpf
2votes
1answer

WPF application crashes when item from Start Menu is dragged over it

I've encountered a strange problem. When an item from the Windows start menu is dragged over the application, it crashes. However, if I drag a file from Explorer over it, it is handled correctly (the dragged item displays a red circle with a line through it when it is over [...] read more
.net
wpf
drag-and-drop
crash
executionengineexception
2votes
1answer

Using a C# DLL confused with ConfuserEx

In my application project in Visual stuido, I am trying to reference a DLL confused with ConfuserEx (from another project). Even if I use the "none" preset, at runtime, when the DLL is loaded, my application crashes with the following message: Managed Debugging Assistant 'FatalExecutionEngineError' : 'The runtime has encountered [...] read more
c#
obfuscation
confuserex
2votes
1answer

Middle word in Xaml TextBlock is missing, but last word is not

I have some text I'm trying to display in xaml, but it looks like it's getting cut off in the middle, but the next word appears. Here's the xaml I have. <Grid xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"> <Grid.ColumnDefinitions> <ColumnDefinition Width="115" /> </Grid.ColumnDefinitions> <TextBlock TextWrapping="Wrap" HorizontalAlignment="Center" FontFamily="Arial" FontSize="13.33333333">ABCDE IAATA Corp.</TextBlock> </Grid> Which results in this. [...] read more
c#
wpf
xaml
2votes
1answer

Automatically expire Service Fabric Reliable Dictionary objects via RunAsync

I'm trying to add automated deletions to expired reliable dictionary objects and it looks like I have to implement my own way according to this: https://stackoverflow.com/a/36466890/7293543 My approach was to use the "RunAsync" task and have it constantly running a while loop. It worked for the first few times but [...] read more
c#
azure-service-fabric
service-fabric-stateful
2votes
0answers

0x80131623 Error on Tab Change, WebBrowser Issue?

I'm having an issue with WPF's WebBrowser control. It's crashing with the titular error when I'm changing tabs - I think I know why (explained below), but I can't think of a way around it. I'm looking for either ideas on how I might reorganize the code to work correctly, [...] read more
c#
wpf
multithreading
2votes
1answer

"FatalExecutionEngineError was detected" when using Console.Writeline after redefining String.Empty

I'm trying (for fun) to redefine String.Empty to be a single space "". Why does this break the CLR framework? Message: > The runtime has encountered a fatal error. The address of the error was at > 0x5814b976, on thread 0xf40. The error code is 0x80131623. This error may be [...] read more
c#
visual-studio-2010
clr
2votes
1answer

Fatal Runtime Error in WPF when switching between visual states

I keep having this error sometimes in a particular case. It happens precisely when I am switching from a visual state to another. I assume it comes from a bad property animation but I wonder what are the conditions in which this exception occurs. Here is the error message: > [...] read more
c#
wpf
blend
visualstatemanager
1vote
0answers

Cannot show dialog in WPF .net Core

Following code OpenFileDialog openFileDialog = new OpenFileDialog(); if (openFileDialog.ShowDialog() == true) { } works fine in a WPF project on .NET Framework but i cannot show a dialog in .NET Core. The dialog flickers open for a split second then the program exits with: has exited with code -2146232797 (0x80131623). [...] read more
c#
.net
wpf
.net-core
1vote
1answer

FatalExecutionEngineError in Constructor (with Service Fabric ApplicationList.First())

EDIT: I think the underlying issue is that First() was throwing in the middle of a constructor. From the end of this question: > this code is being called in a constructor for an object created in > RunAsync(), mostly because it's an easy way to get it to run [...] read more
c#
1vote
0answers

Exception when StreamInsight 2.3 is running

I have StreamInsight client: var quoteStreamable = application.GetStreamable<IntradayQuote>(symbol); var matchQuery = from quote in quoteStreamable.ToObservable() where quote.Symbol == symbol select new MatchPairs { Quote = quote, Order = order }; var sink = application.GetObserver<MatchPairs>(StreamInsightConfiguration.Default.StreamInsightServerSinkName); var clientProcessName = WindowsServiceUtility.InitClientProcessName(order.Id, symbol); if (!application.Entities.ContainsKey(clientProcessName)) { using (matchQuery.Bind(sink).Run(clientProcessName)) { ..... } } I have [...] read more
c#
.net
multithreading
streaminsight
1vote
1answer

FatalExecutionEngineError when closing WPF UserControl containing WebBrowser

I have the following basic XAML: <Window x:Class="SomeControl" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"> <Grid> <WebBrowser x:Name="webBrowser"></WebBrowser> </Grid> </Window> When I'm trying to close the tab that contains the user control I'm getting the following error: > Managed Debugging Assistant 'FatalExecutionEngineError' has detected a problem > in 'Some.vshost.exe'. > > Additional information: The runtime [...] read more
c#
.net
wpf
webbrowser-control
0votes
0answers

Visual studio freezing /hanging - out of memory

My visual studio 2015 is hanging/freezing all the time lately, started recently out of nowhere. It does come back into play usually but sometimes I get a System.OutOfMemoryException error even though it doesn't appear to be going anywhere near my limit! In my windows event logs I can see errors [...] read more
visual-studio-2015
0votes
0answers

.NET Framework Crash occurring while entering the Korean-English Convert key in WPF TextBox

Once enter the Korean-English Convert Key in WPF text box, System.Enviroment.FailFast Exception occurred and Framework crashed. It occurred just once and error message was logged like below. (just 2 logs) * .NET Runtime Error * Application: MainFrame.exe Framework Version: v4.0.30319 Description: The application requested process termination through System.Environment.FailFast(string message). Message: [...] read more
.net
wpf
0votes
1answer

What's best way to get all NodieIds or all NodeAliasPaths API 7

I collected NodeIds (22,000 of them) to List and passed them to tree.SelectSingleNode(NodeID) // Kentico API7 Whether I use tree.SelectSingleNode(NodeID) or its equivalent for NodeAliasPath tree.SelectSingleNode(CMSContext.CurrentSiteName, aliaspath, culture) with both returning a node that allows manipulation of Node data, I get a out of memory error on either line: tree.SelectSingleNode(NodeID) [...] read more
c#
kentico
0votes
0answers

error 0x80131623 appears when I closed UI

I'm trying to find the vendor id and the product id of a USB card. For this purpose, I use setupapi.dll. When I closed my program I have 0x80131623 (2146232797) appears. I don't know how I can fix it. My code is : result = HidD_GetHidGuid(ref HidGuid); DeviceInfoSet = SetupDiGetClassDevs(ref [...] read more
c#
error-handling
pinvoke
0votes
0answers

use TextPointer in another thread

I have this project dealing with RichTextBox. Current issue I am having is with the response of the algorithm reformatting the RichTextBox contents in real time when user types. It's slower than I expected so I decided to separate out the algorithm in another thread and update the UI asynchronously. [...] read more
c#
wpf
richtextbox
0votes
1answer

Setting SizeToContent fom Child UserControl causes FatalExecutionEngineError

I've added a dependency property to my view base class, that is supposed to allow the child UserControls to set some properties on the parent window, one being SizeToContent. When my OnSizeToContent method runs, when it tries to change the main windows's SizeToContent from WidthAndHeight to Manual, I get this [...] read more
c#
visual-studio-2010
dependency-properties
-1votes
1answer

WPF drag and drop to/from Windows Explorer but not to/from self

I have a radGridView to which I can drop files from the Windows Explorer, and from which I can also drag files to Explorer. However, I need to forbid dragging into itself (duplicating the entries and also generating exceptions). WPF: <telerik:RadGridView Name="radGridView" Drop="OnDrop" DragLeave="radGridView_DragLeave"> <telerik:RadGridView.RowStyle> <Style TargetType="telerik:GridViewRow"> <Setter Property="telerik:DragDropManager.AllowDrag" Value="True" [...] read more
c#
.net
wpf
drag-and-drop
-10votes
1answer

.NET bug. How to fix?

In my complex program TextBox.Text is interconnected with Grid.Width. When I clear TextBox, .NET is crashed. The problem is that inside TextBox.TextChanged I set Grid.Width and inside Grid.SizeChanged I set TextBox.Text. Thus, TextBox.Text is set inside two nested event handlers. Could anyone help to fix this bug without Timer or [...] read more
c#
wpf

Comments

Leave a comment

(plain text only)

Sources

  1. https://github.com/dotnet/coreclr/blob/v1.1.0/src/inc/corerror.xml
  2. https://msdn.microsoft.com/en-us/library/cc231198.aspx
  3. winerror.h from Windows SDK 10.0.14393.0

User contributions licensed under CC BY-SA 3.0