Intellisense auto-complete causes VC ++ to crash in Visual Studio 2005 SP1

UPDATE1: I reinstalled Visual Studio, and I still have this problem. I guess there is a problem with my environment.

Update 2: Diving. I bound windbg to devenv and set a breakpoint in windbg for msenv! _tailMerge_WINMM_dll and traced.

This is an attempt to load winmm.dll using the LoadLibrary API. I see that LoadLibrary fails and GetLastError returns 5, which is "denied access."

now why vs might be denied access to winmm.dll?

--- Start the original ---

I am currently having a serious problem with Visual Studio 2005 SP1 Intellisense in C ++. I have my own solution with the project. Whenever I, or the editor, try to call intellisense auto-complete pow, Visual Studio resets. I even tried this with a new console application. Ctrl+ Spacein empty main and crash in Visual Studio.

I was looking for help with this, but to no avail. I tried to delete the ncb file, but no luck on this front.

I am currently working with disabled Intellisense, as shown in this article: Visual Studio 2005 - "Removing IntelliSense Hangs"

And I have no glitches, but it would be nice to have intellisense back

Stack call from crash dump.

7c812a6b kernel32!RaiseException+0x53
502717a6 msenv!__delayLoadHelper2+0x139
50675186 msenv!_tailMerge_WINMM_dll+0xd
505ac3c3 msenv!CTextViewIntellisenseHost::UpdateCompletionStatus+0x1a7
505acb50 msenv!CEditView::UpdateCompletionStatus+0x30
505dcfad msenv!CEditView::CViewInterfaceWrapper::UpdateCompletionStatus+0x2a
02ae47fc vcpkg!CCompletionList::DoCompletion+0x444
02ade2ce vcpkg!CAutoComplete::PostProcess+0x240
02ade07f vcpkg!CAutoComplete::OnACParseDone+0x3e
02adac2d vcpkg!CMemberListWorkItem::OnCompleted+0x9d
029eb4e3 vcpkg!CWorkItem::ProcessPendingWorkItemCompletedCalls+0x117
029f8b4f vcpkg!CParserManager::OnIdle+0x183
0299961a vcpkg!CVCPackage::OnIdle+0x48
5014b288 msenv!ATL::CComAggObject<CTextBuffer>::QueryInterface+0x43
5a9d2394 VCProject!ATL::CComPtr<IOleInPlaceFrame>::~CComPtr<IOleInPlaceFrame>+0x24
5a9d2880 VCProject!ATL::CComObject<CVCArchy>::Release+0x10
774fd420 ole32!CRetailMalloc_GetSize+0x21
5009422b msenv!CMsoCMHandler::FContinueIdle+0x23
5009422b msenv!CMsoCMHandler::FContinueIdle+0x23
+3
5

.

, , , procmon sysinternals:

http://technet.microsoft.com/en-us/sysinternals/bb896645.aspx

- Windows . , intellisense. , winmm.dll, c:\windows\system32\winmm.dll.

, winmm.dll FOLDER, C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\winmm.dll. , Visual Studio, , winmm.dll dll POW!!!

.dll-:) .

.

+3

, .

  • Reset : → / → Reset
  • HKCU:\Software\Micosoft\VisualStudio\9.0, VS
  • VS Add Remove Programs.
+4
  • Visual ++?
  • - ? .

, .ncb , (.ncb - intellisense).

++ (, , ), Visual Assist.

+3
source

Make sure you use your service packs, I think VS 2005 is on SP1.

0
source

Try to "clear" the solution, i.e. delete (rename) all temporary files, such as * .ncb, * .suo, etc., that were created by Visual Studio. One of these files may be corrupted (your problem sounds like the IntelliSense database is corrupted).

0
source

Source: https://habr.com/ru/post/1711133/


All Articles