Developer forums (C::B DEVELOPMENT STRICTLY!) > Development

Code completion crash

(1/2) > >>

thomas:
Appears on opening project from "start here" page, but not on opening a project otherwise, as well as on exit in most recent versions. No idea what causes it...

C:\CodeBlocks\codeblocks.exe caused an Access Violation at location 65e9717d in module C:\CodeBlocks\share\codeblocks\plugins\codecompletion.dll Writing to location 0000017c.

Registers:
eax=00000000 ebx=010de4b8 ecx=00000000 edx=003e3f98 esi=65f4e7e0 edi=0022ef48
eip=65e9717d esp=0022ec98 ebp=0022ed30 iopl=0         nv up ei pl nz na pe nc
cs=001b  ss=0023  ds=0023  es=0023  fs=003b  gs=0000             efl=00010202

Call stack:
65E9717D  C:\CodeBlocks\share\codeblocks\plugins\codecompletion.dll:65E9717D  ClassBrowser::UpdateView()  D:/Desktop/cb/plugins/codecompletion/classbrowser.cpp:190
65EB575B  C:\CodeBlocks\share\codeblocks\plugins\codecompletion.dll:65EB575B  NativeParser::OnEditorActivated(EditorBase*)  D:/Desktop/cb/plugins/codecompletion/nativeparser.cpp:1894
65EA61FB  C:\CodeBlocks\share\codeblocks\plugins\codecompletion.dll:65EA61FB  CodeCompletion::OnEditorActivated(CodeBlocksEvent&)  D:/Desktop/cb/plugins/codecompletion/codecompletion.cpp:1180
6D387C5C  C:\CodeBlocks\wxmsw26u_gcc_custom.dll:6D387C5C  _ZN12wxEvtHandler21ProcessEventIfMatchesERK21wxEventTableEntryBasePS_R7wxEvent
6D3880F2  C:\CodeBlocks\wxmsw26u_gcc_custom.dll:6D3880F2  _ZN16wxEventHashTable11HandleEventER7wxEventP12wxEvtHandler

dje:
Hi !

On a particular project or on any one ?
Is it code completion that crashes C::B or project opening ?

Dje

thomas:
I remembered that I turned off the class browser yesterday night for loading the huge ReactOS workspace. The crash first appeared today, which might suggest a relation.
And indeed: the crash can be switched on and off by disabling/enabling the class browser.

The line that crashes looks entirely innocent, too (accesses a member variable). Thus, it seems this is not valid.

Yiannis?

David Perfors:
I had the same problom, but when I removed all the generated (*.depend and *.layout) the error was gone...

thomas:
Right... works for me too.

Navigation

[0] Message Index

[#] Next page

Go to full version