i've got datagridview cell using autocomplete. have had throw unhandled exception twice. when throws exception, application not catch it. application crashes, sends error report microsoft , logs error the event viewer. here in event viewer:
faulting application name: econtracts.exe, version: 1.7.5.8, time stamp: 0x58e52635 faulting module name: shell32.dll, version: 10.0.14393.953, time stamp: 0x58ba59ee exception code: 0xc000041d fault offset: 0x000cc822 faulting process id: 0x1eb0 faulting application start time: 0x01d2ae3042c580ce faulting application path: [path]\econtracts.exe faulting module path: c:\windows\system32\shell32.dll
the next message in event viewer gives me path heap dump file. however, not think quite understand how use file diagnose issue.
here code using attach auto complete source:
private void editingcontrolshowing(object sender, datagridvieweditingcontrolshowingeventargs e) { textbox autotext = e.control textbox; if (autotext != null) { autotext.autocompletemode = autocompletemode.suggest; autotext.autocompletesource = autocompletesource.customsource; autocompletestringcollection datacollection = new autocompletestringcollection(); additems(datacollection, autotext, "category", "tblmytable"); autotext.autocompletecustomsource = datacollection; } }
just know, here assembly language, retrieved .hdmp file, of shell32.dll on error occured:
cautocomplete::_stopsearch: 7579c808 mov edi,edi 7579c80a push esi 7579c80b mov esi,ecx 7579c80d xor edx,edx 7579c80f lea ecx,[esi+470h] 7579c815 call setstr (757e1c9ah) 7579c81a mov eax,dword ptr [esi+20h] 7579c81d pop esi 7579c81e test eax,eax 7579c820 je cautocomplete::_stopsearch+24h (7579c82ch) 7579c822 cmp dword ptr [eax+10h],0 [error occured here] 7579c826 jne `bannerlogging::instance'::`2'::`dynamic atexit destructor 'wrapper''+4210dh (758e7f5dh) 7579c82c ret 7579c82d int 3 7579c82e int 3 7579c82f int 3 7579c830 int 3 7579c831 int 3
how should move forward ensure application not doing cause these problems?
Comments
Post a Comment