clr.dll Crash on windows service

0

My application is c# windows service running on Windows Server 2008 R2. It crashes every now and then with the following error

Faulting application name: Fusion_Ingestion_Service.exe, version: 1.1.0.3, time stamp: 0x59428da5 Faulting module name: clr.dll, version: 4.0.30319.34209, time stamp: 0x5348961e Exception code: 0xc0000409 Fault offset: 0x0000e233 Faulting process id: 0x49ac Faulting application start time: 0x01d30c3353dbd043 Faulting application path: Faulting module path: C:\Windows\Microsoft.NET\Framework\v4.0.30319\clr.dll Report Id: 8bbc1f2b-7844-11e7-b6c9-00155d018b91

I have tried the following

  1. Installed .NET framework 4.6 and changed my application to 4.6 but still crashes. I thought it would use the 4.6 version of clr.dll but it still uses 4.0.3019.
  2. Changed my application to x86 but still crashes

Any ideas as to how to find what the problem is

c#
.net
asked on Stack Overflow Aug 10, 2017 by user2837961 • edited Aug 11, 2017 by user2837961

1 Answer

0

The given exception code indicates a stack buffer overflow during runtime. Unfortunately without any source code or more details on the crash I cannot help you debug the issue here.

For general debugging tips for issues of this kind, see this answer (ignore the stack if you can't capture one yourself): https://stackoverflow.com/a/14206133/3966590

See the following MSDN answer and related resources on how to debug the issue: https://social.msdn.microsoft.com/Forums/sqlserver/en-US/aa84a49e-6bfe-4b89-928a-ea477e73c07e/clr-exception-0xc0000409?forum=clr

answered on Stack Overflow Aug 10, 2017 by Joona Romppanen • edited Aug 10, 2017 by Joona Romppanen

User contributions licensed under CC BY-SA 3.0