How can I determine the cause of an AppCrash on Unhandled Exception in - Microsoft Community


app crashing @ startup , application error in event log gives following info:

faulting module name: kernelbase.dll, version: 6.2.15063.483, time stamp: 0xc3955624
exception code: 0xe0434f4d
fault offset: 0x000eb802

here's story

on 1 of our customer's networks, our app crashing before can open. i've spent days searching answers , haven't been able solve yet. started basic troubleshooting, , after not finding smoking gun, finding new user profile solved issue, suggested fix , running again. outsourced agreed @ first having difficulties migrating user data new profile , has never been able finish moving affected user new profile. arguing microsoft not recommend approach based on article. issue occurring on machine on network , pushing stating issue our application , should spend time fix it. agree if it's in our code should fix it, far seems doesn't far enough reach our code. also, have not seen anywhere else except on 1 network 2 profiles affected.

application info

  •  vb.net windows forms app, targeting .net 4.5
  •  there application event handler present unhandledexception in applicationevents.vb file.

user environment info

  • there domain server present, not of pcs on network joined domain. 1 of profiles affected local account logging domain pc. other profile affected local account logging non-domain pc.
  • domain pc workstation running windows 10 pro v1703 updates current
  • application starts fine if ran elevated, causes other issues later having them run administrator not acceptable solution.
  • the application ran fine on pc until recent update. there windows updates updates our software.
  • if login in new user profile, or of existing profiles, issue not occur. seems isolated 2 specific user profiles.

troubleshooting far...

  • read dozens of posts online dealing kernelbase.dll crashes , couldn't find 1 had fix worked
  • uninstalled , reinstalled application
  • uninstalled , reinstalled .net using add/remove windows components
  • added event log entries in application.startup event , load event on splash screen , startup form see if getting far. tested on working stations , logging successful. on affected machines, no logging occurs, seems crash happening before application.startup event.
  • used procmon monitor app while crashed , last line before process exits operation querynameinformationfile c:\windows\system32\ntdll.dll result of success. have procmon logs running (with crash) , running elevated (without crash). i've tried compare there thousands of entries , nothing stands out cause.
  • researched , used debugging tools collect more data including procmon, procdump , windbg. far thing i've found same kernelbase.dll exception info, codes provided, no meaningful message. had issues loading symbols, think figured out. i'm new windbg may not have dialed in 100%. couldn't load clr using .loadby sos clr. had use work around load sos, using .load c:\windows\microsoft.net\framework64\v4.0.30319\sos.dll , tried c:\windows\microsoft.net\framework\v4.0.30319\clr.dll, still getting coded exception info , no message in plain english. here when using .excr in windbg after loading dump file made using procdump

eax=01fcf898 ebx=e0434f4d ecx=00000001 edx=00000000 esi=01fcf928 edi=022da1e0
eip=7453b802 esp=01fcf898 ebp=01fcf8f0 iopl=0         nv ei pl nz ac po nc
cs=0023  ss=002b  ds=002b  es=002b  fs=0053  gs=002b             efl=00000212
kernelbase!raiseexception+0x62:
7453b802 8b4c2454        mov     ecx,dword ptr [esp+54h] ss:002b:01fcf8ec=0911506f

  • i tried using !clrstk in windbg says "no export clrstk found"
  • have tried adding event handlers appdomain.unhandledexception ans system.windows.forms.threadexception application.startup event.
  • have tried disabling application framework , using main() sub load same event handlers. app crashes before first line of main() or application.startup code ran.

questions

from i've read seems there unhandled clr exception occurring prior app startup, because of windows permissions conflicts either on file/folder or registry entry, don't know how chase further.

how can find out more info on specific exception that's occurring? couldn't find list of fault offset codes kernelbase.dll online.

what else can check?

hello paul,

we suggest post query regarding cause of appcrash on forum assistance experts.

we'll here if need additional assistance.



Windows / Windows 10 / PC



Comments

Popular posts from this blog

Error 0x80180018 when trying to add a second work account on Windows - Microsoft Community

How to sync (or sign-in) to Windows 10 properly? - Microsoft Community

Cannot connect to RDS 2012R2 session through RDWeb Gateway using - Microsoft Community