Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Faulting module name: KERNELBASE.dll

Tags:

c#

dll

My application crashes without any application error logging, when I checked Event viewer I found below info. Can some explain why this would happen and how to prevent it?

Faulting application name: MyApplication.exe, version: 1.0.0.0, time stamp: 0x5964fac7
Faulting module name: KERNELBASE.dll, version: 6.1.7601.23807, time stamp: 0x5915f98e
Exception code: 0xe0434352
Fault offset: 0x0000c54f
Faulting process id: 0x1494
Faulting application start time: 0x01d300cbc9034bc0
Faulting application path: Path of MyApplication.exe
Faulting module path: C:\Windows\syswow64\KERNELBASE.dll
Report Id: b1f21346-6cbf-11e7-bb68-005056ad2203

like image 845
rANth Avatar asked Nov 24 '25 15:11

rANth


1 Answers

I was building a WPF application in C# and packaging it using the MSIX packager/installer. Everything was fine until I updated Visual Studio to 16.10.2. Then something strange started to happen. The code would run perfectly in Debug and Release configuration but when I installed the application from MSIX it failed to run.

There were no coding errors.

The Event Log gave this error..

Faulting application name: [app name here], version: [app version here], time stamp: 0x609308e7

Faulting module name: KERNELBASE.dll, version: 10.0.19041.1023, time stamp: 0x924f9cdb Exception code: 0xe0434352 Fault offset: 0x0000000000034b89 Faulting process ID: 0xf3c Faulting application start time: 0x01d7659e116b2c8c

I tried almost everything but nothing seem to fix it. Then I noticed the the 'obj' folder had become huge, so I deleted it and low and behold that fixed the problem.

like image 52
Mark Avatar answered Nov 26 '25 06:11

Mark



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!