Crash in Microsoft.NET\Framework\v4.0.30319\clr.dll - dll

Faulting application name: w3wp.exe, version: 7.5.7601.17514, time stamp: 0x4ce7a5f8
Faulting module name: clr.dll, version: 4.0.30319.18063, time stamp: 0x526767c6
Exception code: 0xc00000fd
Fault offset: 0x0007717d
Faulting process id: 0x1728
Faulting application start time: 0x01cf972772f04132
Faulting application path: C:\Windows\SysWOW64\inetsrv\w3wp.exe
Faulting module path: C:\Windows\Microsoft.NET\Framework\v4.0.30319\clr.dll
Report Id: b4d0c430-031a-11e4-a40f-0050569e40da
Keep getting this error when our MSM module loader service crashes? We loaded the hotfix supplied with the windows updates and no improvement.
Any ideas as to why?

tldr:
I have faced the same error. It was due to a client repeatedly calling a WCF service, where a method called itself recursively, thus throwing StackOverflowException.
Long answer:
This was happening in a WCF application using .Net 4.5. All our services (.svcs), started failing one by one, until the whole application pool started to give error HTTP 503. The app pool was dead.
Digging through the application logs, then EventViewer logs, we found the same message as the OP.
For a while we kept restarting the app pool, but it would only crash again after some time.
The app pool suddenly stabilized itself at 2pm, and we have some system operation that run noon to 2pm... We figured it must have something to do with that. We were able to found it was due to a merge error where a Method keeping calling itself recursively, the method had no parameters or return type. Probably it threw so StackOverflowExceptions causing the application pool to crash.

Related

Cannot start libreoffice. Fault in module cppu3.dll

LibreOffice will not start on my primary Windows PC. Attempts to start any Libre app results in an Application Failure;
Faulting application name: soffice.bin, version: 7.3.1.3, time stamp: 0x621d53ef
Faulting module name: cppu3.dll, version: 7.3.1.3, time stamp: 0x621d22b4
Exception code: 0xc0000005
Fault offset: 0x0000000000020e3e
I've been working on this problem for 6 months now. I've tried;
Downgrading to previous versions of LibreOffice (LO) that once did work on this PC.
Upgraded to newer versions of LO released since the problem appeared.
Ran the install/repair option on each LO version tested.
Upgraded LO from 32-bit to 64-bit.
Copied soffice.exe, soffice.bin and cppu3.dll files from another PC where
LO does work. (Matched LO versions)
Attempted to start application in safe mode.
Ran Windows repair utilities. Rebooted more times than I can count.
Deleted the personal LO profiles in %APPDATA%\libreoffice\4\user and rebuilt.
Probably tried a few other things but, in the end, nothing works. Every fix attempt results in the same error in module cppu3.dll. LibreOffice is running fine on my other PCs, but not on the one where I do most of my work.
Any idea what is wrong? Any ideas on how to resolve this issue??

Apache ignite stop working after a while on ubuntu

My application is on the .net core platform and uses apache ignite inside itself.
everything works truly on windows, but on ubuntu, the application stops working after a while.
I attached the log files.
log 01
log 02
Both logs end with *** stack smashing detected ***: terminated.
This happens on Linux with .NET Core when NullReferenceException occurs in user code. The reason is that both .NET and Java use SIGSEGV to handle certain exceptions, including NullPointerException and NullReferenceException.
The fix for this issue exists in .NET Core 3.0 and later: try setting the COMPlus_EnableAlternateStackCheck environment variable to 1 before starting the node. This should reveal the exception stack trace.
https://ignite.apache.org/docs/latest/net-specific/net-troubleshooting#stack-smashing-detected-dotnet-terminated

No error, but program won't start on WIn 8?

I have written a program in VB.Net and run it for a few years on Vista and Win 7 without issue. It is a requirements management tool front end to an Access or SQLServer backend database.
A few months ago I installed it on Win 8. It is a 64-bit version of my program running on a 64-bit laptop. It installs fine and runs OK initially. However, after a few weeks it stops running. This has happened twice, the last time after 28 days.
When I try to run the program nothing happens - no splash screen, no error message, no entry in the Applications Log in Event Viewer - just nothing happens. The only solution has been to re-install the program and then it starts working again.
I have tried: turning off all malware, firewall and anti-virus programs; running the program as Administrator; running in various compatibility modes. Nothing happens.
I also tried removing the license file from the program directory. When I did that I did get an error message in the Application Log in Event Viewer, so the program is trying to start. But when I returned the license file it still won't start and there is no error message in the log file.
Program was written in VS 2008 under .Net framework 3.5. I don't think this is an issue, since it runs fine for about a month after install. Also, it is not the license file. The license is perpetual, and anyway if it fails the license there is a splash screen that comes up, and that is not happening.
Can anyone suggest where I might look in Win 8 to try and work out what is going on when I try to start the program?
UPDATE: Through using the Reliability Monitor I have just noticed that at 2:30pm on the afternoon of the problem Windows Installer reconfigured my application. I had the app open all afternoon. but when I shut it at around 4:40pm, then tried to open it again, the problem above emerged.
Description
Windows Installer reconfigured the product. Product Name: Capability Architect. Product Version: 1.0.0. Product Language: 1033. Manufacturer: SDG. Reconfiguration success or error status: 0.
The reason for the reconfiguration was:
Detection of product '{221672D4-9B64-4550-8B8A-A13C4BE20780}', feature 'DefaultFeature', component '{4F120286-6AE1-5DFE-65E4-A4495CA3F296}' failed. The resource 'C:\Users\Public\Desktop\SDG\Capbility Architect Template v2.0.accdb' does not exist.
Now, that file is installed by default with the product. However, I had deleted it earlier that day because I never use it and that seems to have triggered the reconfiguration. Is that normal behaviour?? And why should a reconfiguration stop the program from running? And is it possible to see exactly what the reconfiguration actually did?
EXTRA UPDATE: If this is the problem then I can't replicate it :( I tried deleting the folder again but it has not affected program start up at all.
Thanks
Ian

Application Error in Event Log

I am frequently getting the following error for a VB5 app in the Event Log:
Faulting application [My EXE Name].exe, version 0.0.0.0, faulting module msvbvm50.dll, version 5.2.82.44, fault address 0x000436fb.
What could be the cause? msvbvm50.dll is part of the VB5 run-time and I can't think why that would be faulting. I would have assumed it would be a very reliable component.
Is there anyway to debug the cause of such errors?
According to this URL, msvbvm50.dll does not run anymore on Vista and 7. Try the steps they mention.

SIGABRT error when running MonoTouch application

I'm new to MonoTouch and more times than not, when I try to run my MonoTouch app on the iPhone simulator (debug mode and regular), I receive a long error output that begins with the following message:
Error connecting stdout and stderr (127.0.0.1:10001)
Couldn't register com.yourcompany.[appnamehere] with the bootstrap server. Error: unknown error code.
This generally means that another instance of this process was already running or is hung in the debugger.Stacktrace:
at (wrapper managed-to-native) MonoTouch.UIKit.UIApplication.UIApplicationMain (int,string[],intptr,intptr) <0x00004>
at (wrapper managed-to-native) MonoTouch.UIKit.UIApplication.UIApplicationMain (int,string[],intptr,intptr) <0x00004>
at MonoTouch.UIKit.UIApplication.Main (string[],string,string) <0x00089>
at MonoTouch.UIKit.UIApplication.Main (string[]) <0x00014>
at PodcastManager.Application.Main (string[]) <0x00010>
at (wrapper runtime-invoke) .runtime_invoke_void_object (object,intptr,intptr,intptr) <0x00043>
And ends with:
=================================================================
Got a SIGABRT while executing native code. This usually indicates a fatal error in the mono runtime or one of the native libraries used by your application.
=================================================================
The weird thing is it will work some of the time. Once, a reboot of my machine did it. Others, just restarting MonoDevelop and/or the simulator.
I can provide the entire error output if you think that may help.
Any ideas?
This is a problem with the monotouch debugger. Sometimes, when the application crashes, the debugger hangs in memory, and that then prevents you from running the app again. As you said, sometimes closing MonoDevelop and the simulator is enough to clean up the debugger, sometimes you need a full reboot. This is also the experience I have, which is probably the only bad thing I found with monotouch so far.
Many times, I'm able to directly kill the process from the console. To do that, open the console and type "top". You'll see the list of processes using the most memory, your app will likely be on top, using almost 100% of cpu. Save the id of the that line, and type q to quit. Now type "kill -9 ???" where ??? is the id you got from top.
Monotouch 2.0 fixed a lot of these problems, if you haven't updated yet I would seriously recommend you to do so. I'm running the beta channel of 2.0, and its a LOT more stable. Crashes went down from 1 or 2 every hour to 1 or 2 a day. It still happens, though, unfortunately.
-- Update -- after updating to 2.0.2 I have not seen this issue.
After playing with it long enough, and coming across this bug report I've come to the conclusion that until it's fixed the way to prevent this error is by NEVER stopping a debug session in the IDE. As long as you stop the debug session when the code is not at a breakpoint by hitting the home button it appears that you will avoid this situation.
I think this error comes when any native library of monotouch is missing. It happen due to uninstall Visual Studio or Update Xamarin. I faced the Same error and resolve it by Unistalland reinstall the Xamarin Visual Studio and Xamarin Studio. It takes 10 min and all issues are solved.