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

CodeCompletion freezes C::B after project drag'n drop

<< < (2/3) > >>

MortenMacFly:

--- Quote from: christobal on January 17, 2012, 11:23:02 am ---I figured that the Header Fixup plugin is responsible for about 75% of the default.conf data. The project loading worked again after I removed the <HeaderFixup> section in the default.conf. Alternatively the deactivation of the plugin did also work. I will deactivate it for now because I have no use for it anyway...

--- End quote ---
I saw that, to. The plugin is missing a "dirty" flag to only store data that has been changed. For now, it always saves all data the time you press the configuration dialog with "OK".

However, this is transparent to the rest of C::B and won't hurt. ConfigManager in C::B can handle way more configuration data than that. So besides it's not "nice" it is not an issue.

christobal:

--- Quote ---However, this is transparent to the rest of C::B and won't hurt. ConfigManager in C::B can handle way more configuration data than that. So besides it's not "nice" it is not an issue.
--- End quote ---

ConfigManager can certainly handle more data, but it seems somehow to be related with the application crash I encountered.

Jenna:

--- Quote from: christobal on January 17, 2012, 05:37:06 pm ---
--- Quote ---However, this is transparent to the rest of C::B and won't hurt. ConfigManager in C::B can handle way more configuration data than that. So besides it's not "nice" it is not an issue.
--- End quote ---

ConfigManager can certainly handle more data, but it seems somehow to be related with the application crash I encountered.

--- End quote ---
Have you backed up the faulty conf-file ?
If yes, is it possible to send it to me via mail ?

my_nickname a t codeblocks.org or use the email-address you can find on my server (see signature) in the footline.

christobal:

--- Quote ---Have you backed up the faulty conf-file ?
If yes, is it possible to send it to me via mail ?
--- End quote ---
I've sent it to you but the error doesn't show up every time,  so you might need to open and close Code::Blocks and the project several times. BTW: closing the project seems to be as problematic as opening it and it doesn't matter whether the project has been opend using the Recent Projects List or by a drag'n drop.

Meanwhile I've tested several revisions and found out, that the first open/close errors came up with the changes in Rev. 7419. After that, the behaviour gets somewhat better or worse during the revisions (sometimes closing a project doesn't freeze Code::Blocks but takes significantly longer than usual) but it never got back to a state that was stable.

ollydbg:

--- Quote from: christobal on January 20, 2012, 10:46:40 am ---Meanwhile I've tested several revisions and found out, that the first open/close errors came up with the changes in Rev. 7419. After that, the behaviour gets somewhat better or worse during the revisions (sometimes closing a project doesn't freeze Code::Blocks but takes significantly longer than usual) but it never got back to a state that was stable.

--- End quote ---
That revision rewrite the locker in many files, I guess there are some dead locks.

--- Code: ---Revision: 7419
Author: loaden
Date: 2011-8-26 14:09:39
Message:
* CC: Rewrite thread lock of TokensTree again
-------------------------------
M : /trunk/src/plugins/codecompletion/ccdebuginfo.cpp

M : /trunk/src/plugins/codecompletion/classbrowser.cpp

M : /trunk/src/plugins/codecompletion/classbrowserbuilderthread.cpp

M : /trunk/src/plugins/codecompletion/classbrowserbuilderthread.h

M : /trunk/src/plugins/codecompletion/codecompletion.cpp

M : /trunk/src/plugins/codecompletion/insertclassmethoddlg.cpp

M : /trunk/src/plugins/codecompletion/insertclassmethoddlg.h

M : /trunk/src/plugins/codecompletion/nativeparser.cpp

M : /trunk/src/plugins/codecompletion/nativeparser.h

M : /trunk/src/plugins/codecompletion/parser/parser.cpp

M : /trunk/src/plugins/codecompletion/parser/parser.h

M : /trunk/src/plugins/codecompletion/parser/parserdummy.cpp

M : /trunk/src/plugins/codecompletion/parser/parserthread.cpp

M : /trunk/src/plugins/codecompletion/parser/parserthread.h

M : /trunk/src/plugins/codecompletion/parser/token.h


--- End code ---

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version