Code::Blocks Forums

User forums => Help => Topic started by: dragonloverlord on July 13, 2015, 10:08:02 pm

Title: Code blocks not displaying files/menus after a while.
Post by: dragonloverlord on July 13, 2015, 10:08:02 pm
after running code blocks for a while menus and files start getting displayed as gray boxes. The only way I have found to temporarily fix this issue is to restart code blocks but the issue returns after a little while. I am running debian stretch armhf and have wxgtk3.0.2 (as debian stretch does not have wxgtk2.8 in its repositories). I have duplicated this issue on jen's nightly builds and the code blocks version in debian's official repo's. I have attached two images displaying said issue.

This is the terminal output from code blocks:

** (codeblocks:12971): CRITICAL **: murrine_style_draw_box: assertion 'width >= -1' failed
NativeParser::GetAllPathsByFilename(): Traversing '/home/dragonloverlord/Desktop/codeblocks/calculator' for: buttonRowOne.*
NativeParser::GetAllPathsByFilename(): Traversing ' - /home/dragonloverlord/Desktop/codeblocks/calculator/' for: buttonRowOne.*
NativeParser::GetAllPathsByFilename(): Found 1 files:
- /home/dragonloverlord/Desktop/codeblocks/calculator/buttonRowOne.cpp
ClassBrowser::OnThreadEvent(): Updating class browser...
ClassBrowser::OnThreadEvent(): Class browser updated.
Mozilla universal detection engine detected 'Pure *ASCII*'.
Final encoding detected: Western European (ISO-8859-1) (ID: 1)
Conversion succeeded using wxEncodingConverter (buffer size = 77, converted size = 81.
NativeParser::GetAllPathsByFilename(): Traversing '/home/dragonloverlord/Desktop/codeblocks/calculator' for: test.*
NativeParser::GetAllPathsByFilename(): Traversing ' - /home/dragonloverlord/Desktop/codeblocks/calculator/' for: test.*
NativeParser::GetAllPathsByFilename(): Found 1 files:
- /home/dragonloverlord/Desktop/codeblocks/calculator/test.h
ClassBrowser::OnThreadEvent(): Updating class browser...
ClassBrowser::OnThreadEvent(): Class browser updated.
NativeParser::GetAllPathsByFilename(): Traversing '/home/dragonloverlord/Desktop/codeblocks/calculator' for: buttonRowOne.*
NativeParser::GetAllPathsByFilename(): Traversing ' - /home/dragonloverlord/Desktop/codeblocks/calculator/' for: buttonRowOne.*
NativeParser::GetAllPathsByFilename(): Found 1 files:
- /home/dragonloverlord/Desktop/codeblocks/calculator/buttonRowOne.cpp
ClassBrowser::OnThreadEvent(): Updating class browser...
ClassBrowser::OnThreadEvent(): Class browser updated.
NativeParser::GetAllPathsByFilename(): Traversing '/home/dragonloverlord/Desktop/codeblocks/calculator' for: test.*
NativeParser::GetAllPathsByFilename(): Traversing ' - /home/dragonloverlord/Desktop/codeblocks/calculator/' for: test.*
NativeParser::GetAllPathsByFilename(): Found 1 files:
- /home/dragonloverlord/Desktop/codeblocks/calculator/test.h
ClassBrowser::OnThreadEvent(): Updating class browser...
ClassBrowser::OnThreadEvent(): Class browser updated.
NativeParser::DeleteParser(): Deleting parser for project 'calculator'!
ClassBrowser::UpdateClassBrowserView(): No active project available.
NativeParser::GetAllPathsByFilename(): Traversing '/home/dragonloverlord/Desktop/codeblocks/calculator' for: test.*
NativeParser::GetAllPathsByFilename(): Found 1 files:
- /home/dragonloverlord/Desktop/codeblocks/calculator/test.h
NativeParser::DoFullParsing(): AddProjectDefinedMacros failed!
NativeParser::DoFullParsing(): Adding cpp/c files to batch-parser
NativeParser::DoFullParsing(): Added 9 source file(s) for project 'calculator' to batch-parser...
ClassBrowser::UpdateClassBrowserView(): No active project available.
NativeParser::GetAllPathsByFilename(): Traversing '/home/dragonloverlord/Desktop/codeblocks/calculator' for: test.*
NativeParser::GetAllPathsByFilename(): Found 1 files:
- /home/dragonloverlord/Desktop/codeblocks/calculator/test.h
NativeParser::CreateParser(): Finish creating a new parser for project 'calculator'
ClassBrowser::OnThreadEvent(): Updating class browser...
ClassBrowser::OnThreadEvent(): Class browser updated.
ClassBrowser::OnThreadEvent(): Updating class browser...
ClassBrowser::OnThreadEvent(): Class browser updated.
NativeParser::OnParserStart(): Starting batch parsing for project 'calculator'...
ReadClsNames() : Unexpected token '((__aligned__))' for 'struct130___pthread_unwind_buf_t', file '/usr/include/pthread.h', line 542.
NativeParser::OnParserEnd(): Project 'calculator' parsing stage done!
Project 'calculator' parsing stage done (666 total parsed files, 30587 tokens in 0 minute(s), 3.464 seconds).
NativeParser::GetAllPathsByFilename(): Traversing '/home/dragonloverlord/Desktop/codeblocks/calculator' for: test.*
NativeParser::GetAllPathsByFilename(): Traversing ' - /home/dragonloverlord/Desktop/codeblocks/calculator/' for: test.*
NativeParser::GetAllPathsByFilename(): Found 1 files:
- /home/dragonloverlord/Desktop/codeblocks/calculator/test.h
ClassBrowser::OnThreadEvent(): Updating class browser...
ClassBrowser::OnThreadEvent(): Class browser updated.
NativeParser::GetAllPathsByFilename(): Traversing '/home/dragonloverlord/Desktop/codeblocks/calculator' for: buttonRowOne.*
NativeParser::GetAllPathsByFilename(): Traversing ' - /home/dragonloverlord/Desktop/codeblocks/calculator/' for: buttonRowOne.*
NativeParser::GetAllPathsByFilename(): Found 1 files:
- /home/dragonloverlord/Desktop/codeblocks/calculator/buttonRowOne.cpp
ClassBrowser::OnThreadEvent(): Updating class browser...
ClassBrowser::OnThreadEvent(): Class browser updated.
NativeParser::GetAllPathsByFilename(): Traversing '/home/dragonloverlord/Desktop/codeblocks/calculator' for: test.*
NativeParser::GetAllPathsByFilename(): Traversing ' - /home/dragonloverlord/Desktop/codeblocks/calculator/' for: test.*
NativeParser::GetAllPathsByFilename(): Found 1 files:
- /home/dragonloverlord/Desktop/codeblocks/calculator/test.h
ClassBrowser::OnThreadEvent(): Updating class browser...
ClassBrowser::OnThreadEvent(): Class browser updated.
NativeParser::GetAllPathsByFilename(): Traversing '/home/dragonloverlord/Desktop/codeblocks/calculator' for: buttonRowOne.*
NativeParser::GetAllPathsByFilename(): Traversing ' - /home/dragonloverlord/Desktop/codeblocks/calculator/' for: buttonRowOne.*
NativeParser::GetAllPathsByFilename(): Found 1 files:
- /home/dragonloverlord/Desktop/codeblocks/calculator/buttonRowOne.cpp
ClassBrowser::OnThreadEvent(): Updating class browser...
ClassBrowser::OnThreadEvent(): Class browser updated.
Mozilla universal detection engine detected 'Pure *ASCII*'.
Final encoding detected: Western European (ISO-8859-1) (ID: 1)
Conversion succeeded using wxEncodingConverter (buffer size = 77, converted size = 81.
NativeParser::GetAllPathsByFilename(): Traversing '/home/dragonloverlord/Desktop/codeblocks/calculator' for: test.*
NativeParser::GetAllPathsByFilename(): Traversing ' - /home/dragonloverlord/Desktop/codeblocks/calculator/' for: test.*
NativeParser::GetAllPathsByFilename(): Found 1 files:
- /home/dragonloverlord/Desktop/codeblocks/calculator/test.h
ClassBrowser::OnThreadEvent(): Updating class browser...
ClassBrowser::OnThreadEvent(): Class browser updated.
Title: Re: Code blocks not displaying files/menus after a while.
Post by: oBFusCATed on July 13, 2015, 11:42:53 pm
Interesting...
Does closing the project and re-opening it fixes the problem?
Title: Re: Code blocks not displaying files/menus after a while.
Post by: dragonloverlord on July 13, 2015, 11:46:41 pm
I wish :(

All that it does is result in a blank grey screen were the welcome screen should be.
Title: Re: Code blocks not displaying files/menus after a while.
Post by: ollydbg on July 14, 2015, 02:12:39 am
Can you try to totally disable the "Code Completion plugin", and see whether this happens again?
Title: Re: Code blocks not displaying files/menus after a while.
Post by: dragonloverlord on July 14, 2015, 02:44:41 am
I will try disabling the plugin.
Title: Re: Code blocks not displaying files/menus after a while.
Post by: dragonloverlord on July 14, 2015, 03:01:54 am
Disabling the plugin appears to fix the issue but I would really like to be able to use the autocompletion plugin as it is extremely useful to me.
Title: Re: Code blocks not displaying files/menus after a while.
Post by: ollydbg on July 14, 2015, 06:45:04 am
Disabling the plugin appears to fix the issue but I would really like to be able to use the autocompletion plugin as it is extremely useful to me.
Good catch, so the bug is in Code Completion plugin, also it should be in trunk since you have tested the jen's nightly builds.
I'm not sure, can you try to enable the code completion plugin, but in it's setting, just disable the "symbols browser", and see whether this issue happens again?

Thanks.
Title: Re: Code blocks not displaying files/menus after a while.
Post by: dragonloverlord on July 14, 2015, 07:08:02 pm
Sure thing I will tell you the results soon.
Title: Re: Code blocks not displaying files/menus after a while.
Post by: dragonloverlord on July 14, 2015, 07:16:51 pm
I am happy to say that the plugin now works as long as the symbols browser is disabled :)