Code::Blocks Forums

Developer forums (C::B DEVELOPMENT STRICTLY!) => Development => Topic started by: thomas on November 28, 2006, 03:41:54 pm

Title: Code completion crash
Post by: thomas on November 28, 2006, 03:41:54 pm
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
Title: Re: Code completion crash
Post by: dje on November 28, 2006, 03:49:54 pm
Hi !

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

Dje
Title: Re: Code completion crash
Post by: thomas on November 28, 2006, 04:00:34 pm
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?
Title: Re: Code completion crash
Post by: David Perfors on November 28, 2006, 04:21:39 pm
I had the same problom, but when I removed all the generated (*.depend and *.layout) the error was gone...
Title: Re: Code completion crash
Post by: thomas on November 28, 2006, 04:42:54 pm
Right... works for me too.
Title: Re: Code completion crash
Post by: mandrav on November 28, 2006, 05:03:30 pm
Quote
The line that crashes looks entirely innocent, too (accesses a member variable). Thus, it seems this is not valid.

Yiannis?

Will check in a while.

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

This is very strange because CC has nothing to do with these files...