Code::Blocks Forums
Developer forums (C::B DEVELOPMENT STRICTLY!) => Development => Topic started by: earlgrey on September 05, 2015, 04:45:58 pm
-
I wanted to switch to C::B under wx-3.0.2, but I have recurrent segfaults :
- What is the problem?
segmentation fault
- What did you do to when it happened ?
build C::B against wx-3.0.2 instead of wx-2.8.12 ( g++ (Debian 4.9.2-10) 4.9.2 )
- Can you reproduce it? How ?
Yes, it happens suddenly after a few minutes
- What release of Code::Blocks are you using ?
svn10373
- Which was the latest release that did not have this problem?
I dont think its a release pb
I have 2 screenshots of { C::B , svn10373 , wx-2.8.12 } debugger running { C::B , svn10373 , wx-3.0.2 }:
http://www.mediafire.com/view/c1bookjiyzv65x6/001.png (http://www.mediafire.com/view/c1bookjiyzv65x6/001.png)
http://www.mediafire.com/view/7u5tsey41ra1upt/002.png (http://www.mediafire.com/view/7u5tsey41ra1upt/002.png)
( No answer to this message is expected )
-
Thanks for the report. I can't reproduce this on my system(WinXP)
My analysis on the CC's code shows that a working thread(classbrowserbuilderthread) and the GUI thread may operate on the wxTree in the same time, see this post (http://forums.codeblocks.org/index.php/topic,19691.msg139528.html#msg139528).
BTW: there are other multiply thread issues in our CodeCompletion plugin. You may see them in: in this sub-forum (http://forums.codeblocks.org/index.php/board,18.0.html)
-
You can just disable the class browser in the settings and use cb until someone decides to fix this properly.