Home Dashboard Directory Help
Search

.NET Runtime version 2.0.50727.5420 - Fatal Execution Engine Error (000007FEF9F5AF0E) (80131506), .Net based Windows Service Crashing??? by timematcher


Status: 

Closed
 as Not Reproducible Help for as Not Reproducible


7
0
Sign in
to vote
Type: Bug
ID: 685127
Opened: 8/22/2011 9:14:32 PM
Access Restriction: Public
Moderator Decision: Sent to Engineering Team for consideration
0
Workaround(s)
view
7
User(s) can reproduce this bug

Description

Hi all,

I have searched around, googled a lot and read about similar errors. Also tried various solutions that have been posted here as well as on various forums around the world.

I am getting the following error in event viewer when a .Net based Windows Service crashes:

.NET Runtime version 2.0.50727.5420 - Fatal Execution Engine Error (000007FEF9F5AF0E) (80131506)

Detail:

Faulting application name: MyWindowsService.exe, version: 5.2.11.0, time stamp: 0x4e5201ae
Faulting module name: mscorwks.dll, version: 2.0.50727.5420, time stamp: 0x4ca2b7e1
Exception code: 0xc0000005
Fault offset: 0x00000000006baa89
Faulting process id: 0x%9
Faulting application start time: 0x%10
Faulting application path: %11
Faulting module path: %12
Report Id: %13

-----
Message:

The My Windows Service terminated unexpectedly. It has done this 13 time(s).

The windows Service has been running fine since 2 years. The windows service and its dependencies have not be updated since a couple of months. We have even commented all code within the service so in effect, we are left with just threads and timers that do nothing!

We have not installed any new software on the servers neither performed any maintenance of any sort.

The following references are imported into the windows service.

Imports System.Threading
Imports System.Runtime.Remoting.Channels.Tcp
Imports System.Runtime.Remoting.Channels
Imports System.IO
Imports System.Runtime.Remoting.Activation
Imports Microsoft.Win32
Imports System.Net
Imports System.Runtime.Remoting
Imports System.Data.SqlClient
Imports System.Collections.ObjectModel
Imports System.ServiceProcess
Imports SearchOption = Microsoft.VisualBasic.FileIO.SearchOption

The Windows Service is compiled using .Net Framework 3.0 and is written in VB.Net. We are using Visual Studio 2010 SP1.

The operating system is Windows Server 2008 R2 x64. .Net Framework 3.5 Sp1 is installed on servers executing the windows service and no updates are installed except KB976902 which i cannot un-install neither via Control panel nor by command line as it says that it cannot be un-installed.

We are facing this problem on a couple of servers and these issues have started popping up in last couple of days. We have even tried deploying an older build of the windows service as well as commenting out the functionality in each thread but to no effect!.

The problem is also occurring where Windows Update was installed and all windows updated were being installed as well as those which had windows update disabled and no other update except KB976902 was installed. We have some servers where this crash is NOT occurring at all and those servers have this update KB976902 installed as well.

We have tried updating .Net framework as well on some of these servers but that does not change anything. All Windows Servers are genuinely licensed and there is no such issue of Administrative privileges problem.

Kindly help.

Thanks.
Details
Sign in to post a comment.
Posted by ErikB1013 on 9/23/2011 at 11:20 AM
We are also experiencing this with a .NET windows service that has not changed in several months. It seems to have started about a month ago, and randomly crashes. I've seen several reports of this in my googling, so I can only assume there was a windows update or something that started triggering this...

Faulting application name: FASTTRAKWinService.exe, version: 20.2011.402.1, time stamp: 0x4e60f1d3
Faulting module name: mscorwks.dll, version: 2.0.50727.5446, time stamp: 0x4d8cdb54
Exception code: 0xc0000005
Fault offset: 0x000000000054ae24
Faulting process id: 0x%9
Faulting application start time: 0x%10
Faulting application path: %11
Faulting module path: %12
Report Id: %13
Posted by Microsoft on 8/25/2011 at 2:06 PM
Hi,
     Thank you for reporting this issue.
     The Fatal Execution Engine Error is pretty general and can be caused by multiple factors. In order to efficiently investigate your issue I would need you to provide us dumps of the crashing process.

     Please contact me personally at Mihai dot Stoicescu at Microsoft dot com and I can give you more details on how to collect and transfer crash dumps to us.
     We look forward to hearing from you.

Thank you,
Mihai Stoicescu
CLR DART Team
Posted by MS-Moderator09 [Feedback Moderator] on 8/23/2011 at 2:29 AM
Thank you for submitting feedback on Visual Studio 2010 and .NET Framework. Your issue has been routed to the appropriate VS development team for review. We will contact you if we require any additional information.
Posted by Shaikh M. Zohaib on 8/22/2011 at 10:56 PM
Hi,

I am able to reproduce exactly the same error for our windows based service. This all started just 7 days back. Problem is spreading to multiple servers now.

Following 3 errors have been identified when the Windows Service crashes.


----------------------
1st Application Error:
----------------------
.NET Runtime version 2.0.50727.5446 - Fatal Execution Engine Error (000007FEFA2740D2) (80131506)


----------------------
2nd Application Error:
----------------------
Faulting application name: My.Windows-Svc.exe, version: 4.2.28.0, time stamp: 0x4e44c179
Faulting module name: mscorwks.dll, version: 2.0.50727.5446, time stamp: 0x4d8cdb54
Exception code: 0xc0000005
Fault offset: 0x00000000006baa29
Faulting process id: 0x%9
Faulting application start time: 0x%10
Faulting application path: %11
Faulting module path: %12
Report Id: %13



----------------------
3rd Application Error:
----------------------
Fault bucket , type 0
Event Name: APPCRASH
Response: Not available
Cab Id: 0

Problem signature:
P1: My.Windows-Svc.exe
P2: x.x.xx.0
P3: 4e44c179
P4: mscorwks.dll
P5: 2.0.50727.5446
P6: 4d8cdb54
P7: c0000005
P8: 00000000006baa29
P9:
P10:

Attached files:

These files may be available here:
C:\ProgramData\Microsoft\Windows\WER\ReportQueue\AppCrash_My.Windows_5cdb4f6fec3235e07eedd6c223fca3fcde55f7e_0260c7eb

Analysis symbol:
Rechecking for solution: 0
Report Id: 6f6bde73-c8c9-11e0-9b5b-00505680007a
Report Status: 4


I have reinstalled .Net Framework on the server and rebooted it as well, but the problem continues to occur. Also, I’ve reverted My.Windows-Svc.exe to an older build which was working fine previously, but the error occurs on the previous build as well.

Researched the error and the closest match explaining the issue is:
http://support.microsoft.com/Default.aspx?kbid=913384

The update/patch given on above link doesn’t allow installation.

Please help me on this one soon!
Posted by MS-Moderator01 on 8/22/2011 at 9:41 PM
Thank you for your feedback, we are currently reviewing the issue you have submitted. If this issue is urgent, please contact support directly(http://support.microsoft.com)
Sign in to post a workaround.
File Name Submitted By Submitted On File Size  
Report_01.txt 8/22/2011 9 KB
Report.txt 8/23/2011 4 KB
Report.txt 8/23/2011 4 KB