Author Topic: The 20 July 2011 build (7289) is out.  (Read 46443 times)

Offline killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 5490
The 20 July 2011 build (7289) is out.
« on: July 20, 2011, 12:30:30 pm »
Get quick announcements through the RSS feed http://www.codeblocks.org/nightly/CodeBlock_RSS.xml

Before you use a nightly make sure you understand how it works.

A link to the unicode windows wxWidget dll for Code::Blocks : http://prdownload.berlios.de/codeblocks/wxmsw28u_gcc_cb_wx2812_gcc452-TDM.7z

For those who might need this one (when no MingW installed on your system) : the mingw10m.dll : http://prdownload.berlios.de/codeblocks/mingwm10_gcc452-TDM.7z

The 20 July 2011 build is out.
  - Windows :
   http://prdownload.berlios.de/codeblocks/CB_20110720_rev7289_win32.7z
  - Linux :
   none

Resolved Fixed:

  • CC: Fix inheritance calculation, thank ollydbg, see http://forums.codeblocks.org/index.php/topic,14167.0.html for details
  • Updated C++ lexer to be yet more complete with STL and C++0x
  • CC:Improve parser event handle
  • CC: Rewrite batch parsing
  • CC: Fix "still parsing" bug when use one parser for whole workspace
  • CC: Redesign one parser for whole workspace
  • CC: Improve add file to parser
  • CC: show some more information to the user to hunt CC bugs
  • CC always show reason for the message "Parser is still parsing files" in the debug log
  • CC: (hopefully) fixed a crash candidate in case re-parsing is required due to changing CC settings
  • CC: Force start batch parsing if needed
  • CC: Compatible with GCC4.6.1
  • CC: Fix a fatal mistake, thank ollydbg!
  • CC: Fix a hang on Linux
  • CC: Fix a hang when find token matches

Regressions/Confirmed/Annoying/Common bugs:



    Offline Jenna

    • Administrator
    • Lives here!
    • *****
    • Posts: 7255
    Re: The 20 July 2011 build (7289) is out.
    « Reply #1 on: July 20, 2011, 01:40:07 pm »
    Debian packages (binaries and sources) for 32-bit and 64-bit systems can be found in my repo.

    Revision is svn 7288 (7289 is debugger-branch and will follow soon).

    Offline ptDev

    • Almost regular
    • **
    • Posts: 222
    Re: The 20 July 2011 build (7289) is out.
    « Reply #2 on: July 21, 2011, 03:56:41 pm »
    An installer that is up to date with this nightly build is also available here.

    Beware: That version of Code::Blocks is compiled using a different port of GCC for Windows. Information regarding content is shown in the installer.

    Offline blend

    • Multiple posting newcomer
    • *
    • Posts: 32
    Re: The 20 July 2011 build (7289) is out.
    « Reply #3 on: July 21, 2011, 10:10:46 pm »
    Everytime I open my project and then open a specified file, CodeBlocks freezes forever.
    I just do like this:
     I open my project (this is a Unix Makefiles project generated by CMake).
     I set project tree -> Don't display as on disk and then Hide directory name
     I try to open one of my files.
     => Freeze
    So maybe the CC bug you say you have fixed isn't really fixed...

    I'm using CodeBlocks svn 7288 from jens on my Ubuntu 11.04 64 bits.
    I can provide the project if necessary.

    Offline oBFusCATed

    • Developer
    • Lives here!
    • *****
    • Posts: 13413
      • Travis build status
    Re: The 20 July 2011 build (7289) is out.
    « Reply #4 on: July 22, 2011, 12:26:17 am »
    blend: Can you install the debug symbols and then attach a gdb to the freezed C::B and then past the backtrace?
    (most of the time I ignore long posts)
    [strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

    Offline ahui886

    • Multiple posting newcomer
    • *
    • Posts: 29
    Re: The 20 July 2011 build (7289) is out.
    « Reply #5 on: July 22, 2011, 02:57:05 am »
    great, thanks.

    Offline Loaden

    • Lives here!
    • ****
    • Posts: 1014
    Re: The 20 July 2011 build (7289) is out.
    « Reply #6 on: July 22, 2011, 05:35:22 am »
    Everytime I open my project and then open a specified file, CodeBlocks freezes forever.
    I just do like this:
     I open my project (this is a Unix Makefiles project generated by CMake).
     I set project tree -> Don't display as on disk and then Hide directory name
     I try to open one of my files.
     => Freeze
    So maybe the CC bug you say you have fixed isn't really fixed...

    I'm using CodeBlocks svn 7288 from jens on my Ubuntu 11.04 64 bits.
    I can provide the project if necessary.
    Can you post a test project here?
    Or, Send to my email? (loaden (AT) gmail (DOT) com)

    Offline blend

    • Multiple posting newcomer
    • *
    • Posts: 32
    Re: The 20 July 2011 build (7289) is out.
    « Reply #7 on: July 22, 2011, 09:37:40 am »
    Here is the backtrace when it freezes:
    Quote
    (gdb) backtrace
    #0  0x00007f4cda646715 in __xstat (vers=<value optimized out>,
        name=0x2708140 "/sys/devices/platform/reg-dummy/subsystem/devices/reg-dummy/subsystem/devices/reg-dummy/subsystem/devices/reg-dummy/subsystem/devices/reg-dummy/subsystem/devices/reg-dummy/subsystem/devices/reg-dummy/"...,
        buf=0x7fff59b9c290) at ../sysdeps/unix/sysv/linux/wordsize-64/xstat.c:38
    #1  0x00007f4cdb53cd5e in wxStat(wchar_t const*, stat*) ()
       from /usr/lib/libwx_baseu-2.8.so.0
    #2  0x00007f4cdb53ed92 in wxDirExists(wchar_t const*) ()
       from /usr/lib/libwx_baseu-2.8.so.0
    #3  0x00007f4cdb58b9d4 in wxDirData::Read(wxString*) ()
       from /usr/lib/libwx_baseu-2.8.so.0
    #4  0x00007f4cdb52ef97 in wxDir::Traverse(wxDirTraverser&, wxString const&, int) const () from /usr/lib/libwx_baseu-2.8.so.0
    #5  0x00007f4cdb52ef7e in wxDir::Traverse(wxDirTraverser&, wxString const&, int) const () from /usr/lib/libwx_baseu-2.8.so.0
    #6  0x00007f4cdb52ef7e in wxDir::Traverse(wxDirTraverser&, wxString const&, int) const () from /usr/lib/libwx_baseu-2.8.so.0
    #7  0x00007f4cdb52ef7e in wxDir::Traverse(wxDirTraverser&, wxString const&, int) const () from /usr/lib/libwx_baseu-2.8.so.0
    #8  0x00007f4cdb52ef7e in wxDir::Traverse(wxDirTraverser&, wxString const&, int) const () from /usr/lib/libwx_baseu-2.8.so.0
    #9  0x00007f4cdb52ef7e in wxDir::Traverse(wxDirTraverser&, wxString const&, int)
     const () from /usr/lib/libwx_baseu-2.8.so.0
    #10 0x00007f4cdb52ef7e in wxDir::Traverse(wxDirTraverser&, wxString const&, int) const () from /usr/lib/libwx_baseu-2.8.so.0
    #11 0x00007f4cdb52ef7e in wxDir::Traverse(wxDirTraverser&, wxString const&, int) const () from /usr/lib/libwx_baseu-2.8.so.0
    #12 0x00007f4cdb52ef7e in wxDir::Traverse(wxDirTraverser&, wxString const&, int) const () from /usr/lib/libwx_baseu-2.8.so.0
    #13 0x00007f4cdb52ef7e in wxDir::Traverse(wxDirTraverser&, wxString const&, int) const () from /usr/lib/libwx_baseu-2.8.so.0
    #14 0x00007f4cdb52ef7e in wxDir::Traverse(wxDirTraverser&, wxString const&, int) const () from /usr/lib/libwx_baseu-2.8.so.0
    #15 0x00007f4cdb52ef7e in wxDir::Traverse(wxDirTraverser&, wxString const&, int) const () from /usr/lib/libwx_baseu-2.8.so.0
    #16 0x00007f4cdb52ef7e in wxDir::Traverse(wxDirTraverser&, wxString const&, int) const () from /usr/lib/libwx_baseu-2.8.so.0
    #17 0x00007f4cdb52ef7e in wxDir::Traverse(wxDirTraverser&, wxString const&, int) const () from /usr/lib/libwx_baseu-2.8.so.0
    #18 0x00007f4cdb52ef7e in wxDir::Traverse(wxDirTraverser&, wxString const&, int) const () from /usr/lib/libwx_baseu-2.8.so.0
    #19 0x00007f4cdb52ef7e in wxDir::Traverse(wxDirTraverser&, wxString const&, int) const () from /usr/lib/libwx_baseu-2.8.so.0
    #20 0x00007f4cdb52ef7e in wxDir::Traverse(wxDirTraverser&, wxString const&, int)
     const () from /usr/lib/libwx_baseu-2.8.so.0
    #21 0x00007f4cdb52ef7e in wxDir::Traverse(wxDirTraverser&, wxString const&, int) const () from /usr/lib/libwx_baseu-2.8.so.0
    #22 0x00007f4cdb52ef7e in wxDir::Traverse(wxDirTraverser&, wxString const&, int) const () from /usr/lib/libwx_baseu-2.8.so.0
    #23 0x00007f4cdb52ef7e in wxDir::Traverse(wxDirTraverser&, wxString const&, int) const () from /usr/lib/libwx_baseu-2.8.so.0
    #24 0x00007f4cdb52ef7e in wxDir::Traverse(wxDirTraverser&, wxString const&, int) const () from /usr/lib/libwx_baseu-2.8.so.0
    #25 0x00007f4cdb52ef7e in wxDir::Traverse(wxDirTraverser&, wxString const&, int) const () from /usr/lib/libwx_baseu-2.8.so.0
    #26 0x00007f4cdb52ef7e in wxDir::Traverse(wxDirTraverser&, wxString const&, int) const () from /usr/lib/libwx_baseu-2.8.so.0
    #27 0x00007f4cdb52ef7e in wxDir::Traverse(wxDirTraverser&, wxString const&, int) const () from /usr/lib/libwx_baseu-2.8.so.0
    #28 0x00007f4cdb52ef7e in wxDir::Traverse(wxDirTraverser&, wxString const&, int) const () from /usr/lib/libwx_baseu-2.8.so.0
    #29 0x00007f4cdb52ef7e in wxDir::Traverse(wxDirTraverser&, wxString const&, int) const () from /usr/lib/libwx_baseu-2.8.so.0
    #30 0x00007f4cdb52ef7e in wxDir::Traverse(wxDirTraverser&, wxString const&, int) const () from /usr/lib/libwx_baseu-2.8.so.0
    #31 0x00007f4cdb52ef7e in wxDir::Traverse(wxDirTraverser&, wxString const&, int)
     const () from /usr/lib/libwx_baseu-2.8.so.0
    #32 0x00007f4cdb52ef7e in wxDir::Traverse(wxDirTraverser&, wxString const&, int) const () from /usr/lib/libwx_baseu-2.8.so.0
    #33 0x00007f4cdb52ef7e in wxDir::Traverse(wxDirTraverser&, wxString const&, int) const () from /usr/lib/libwx_baseu-2.8.so.0
    #34 0x00007f4cdb52ef7e in wxDir::Traverse(wxDirTraverser&, wxString const&, int) const () from /usr/lib/libwx_baseu-2.8.so.0
    #35 0x00007f4cdb52ef7e in wxDir::Traverse(wxDirTraverser&, wxString const&, int) const () from /usr/lib/libwx_baseu-2.8.so.0
    #36 0x00007f4cdb52ef7e in wxDir::Traverse(wxDirTraverser&, wxString const&, int) const () from /usr/lib/libwx_baseu-2.8.so.0
    #37 0x00007f4cdb52ef7e in wxDir::Traverse(wxDirTraverser&, wxString const&, int) const () from /usr/lib/libwx_baseu-2.8.so.0
    #38 0x00007f4cdb52ef7e in wxDir::Traverse(wxDirTraverser&, wxString const&, int) const () from /usr/lib/libwx_baseu-2.8.so.0
    #39 0x00007f4cdb52ef7e in wxDir::Traverse(wxDirTraverser&, wxString const&, int) const () from /usr/lib/libwx_baseu-2.8.so.0
    #40 0x00007f4cdb52ef7e in wxDir::Traverse(wxDirTraverser&, wxString const&, int) const () from /usr/lib/libwx_baseu-2.8.so.0
    #41 0x00007f4cdb52ef7e in wxDir::Traverse(wxDirTraverser&, wxString const&, int) const () from /usr/lib/libwx_baseu-2.8.so.0
    #42 0x00007f4cdb52ef7e in wxDir::Traverse(wxDirTraverser&, wxString const&, int)
     const () from /usr/lib/libwx_baseu-2.8.so.0
    #43 0x00007f4cdb52ef7e in wxDir::Traverse(wxDirTraverser&, wxString const&, int) const () from /usr/lib/libwx_baseu-2.8.so.0
    #44 0x00007f4cdb52ef7e in wxDir::Traverse(wxDirTraverser&, wxString const&, int) const () from /usr/lib/libwx_baseu-2.8.so.0
    #45 0x00007f4cdb52ef7e in wxDir::Traverse(wxDirTraverser&, wxString const&, int) const () from /usr/lib/libwx_baseu-2.8.so.0
    #46 0x00007f4cdb52ef7e in wxDir::Traverse(wxDirTraverser&, wxString const&, int) const () from /usr/lib/libwx_baseu-2.8.so.0
    #47 0x00007f4cdb52ef7e in wxDir::Traverse(wxDirTraverser&, wxString const&, int) const () from /usr/lib/libwx_baseu-2.8.so.0
    #48 0x00007f4cdb52ef7e in wxDir::Traverse(wxDirTraverser&, wxString const&, int) const () from /usr/lib/libwx_baseu-2.8.so.0
    #49 0x00007f4cdb52ef7e in wxDir::Traverse(wxDirTraverser&, wxString const&, int) const () from /usr/lib/libwx_baseu-2.8.so.0
    #50 0x00007f4cdb52ef7e in wxDir::Traverse(wxDirTraverser&, wxString const&, int) const () from /usr/lib/libwx_baseu-2.8.so.0
    #51 0x00007f4cdb52ef7e in wxDir::Traverse(wxDirTraverser&, wxString const&, int) const () from /usr/lib/libwx_baseu-2.8.so.0
    #52 0x00007f4cdb52ef7e in wxDir::Traverse(wxDirTraverser&, wxString const&, int) const () from /usr/lib/libwx_baseu-2.8.so.0
    #53 0x00007f4cdb52ef7e in wxDir::Traverse(wxDirTraverser&, wxString const&, int)
     const () from /usr/lib/libwx_baseu-2.8.so.0
    #54 0x00007f4cdb52ef7e in wxDir::Traverse(wxDirTraverser&, wxString const&, int) const () from /usr/lib/libwx_baseu-2.8.so.0
    #55 0x00007f4cdb52ef7e in wxDir::Traverse(wxDirTraverser&, wxString const&, int) const () from /usr/lib/libwx_baseu-2.8.so.0
    #56 0x00007f4cdb52ef7e in wxDir::Traverse(wxDirTraverser&, wxString const&, int) const () from /usr/lib/libwx_baseu-2.8.so.0
    #57 0x00007f4cdb52ef7e in wxDir::Traverse(wxDirTraverser&, wxString const&, int) const () from /usr/lib/libwx_baseu-2.8.so.0
    #58 0x00007f4cdb52ef7e in wxDir::Traverse(wxDirTraverser&, wxString const&, int) const () from /usr/lib/libwx_baseu-2.8.so.0
    #59 0x00007f4cdb52ef7e in wxDir::Traverse(wxDirTraverser&, wxString const&, int) const () from /usr/lib/libwx_baseu-2.8.so.0
    #60 0x00007f4cdb52ef7e in wxDir::Traverse(wxDirTraverser&, wxString const&, int) const () from /usr/lib/libwx_baseu-2.8.so.0
    #61 0x00007f4cdb52ef7e in wxDir::Traverse(wxDirTraverser&, wxString const&, int) const () from /usr/lib/libwx_baseu-2.8.so.0
    #62 0x00007f4cdb52ef7e in wxDir::Traverse(wxDirTraverser&, wxString const&, int) const () from /usr/lib/libwx_baseu-2.8.so.0
    #63 0x00007f4cdb52ef7e in wxDir::Traverse(wxDirTraverser&, wxString const&, int) const () from /usr/lib/libwx_baseu-2.8.so.0
    #64 0x00007f4cdb52ef7e in wxDir::Traverse(wxDirTraverser&, wxString const&, int)
     const () from /usr/lib/libwx_baseu-2.8.so.0
    #65 0x00007f4cdb52ef7e in wxDir::Traverse(wxDirTraverser&, wxString const&, int) const () from /usr/lib/libwx_baseu-2.8.so.0
    #66 0x00007f4cdb52ef7e in wxDir::Traverse(wxDirTraverser&, wxString const&, int) const () from /usr/lib/libwx_baseu-2.8.so.0
    #67 0x00007f4cdb52ef7e in wxDir::Traverse(wxDirTraverser&, wxString const&, int) const () from /usr/lib/libwx_baseu-2.8.so.0
    #68 0x00007f4cdb52ef7e in wxDir::Traverse(wxDirTraverser&, wxString const&, int) const () from /usr/lib/libwx_baseu-2.8.so.0
    #69 0x00007f4cdb52ef7e in wxDir::Traverse(wxDirTraverser&, wxString const&, int) const () from /usr/lib/libwx_baseu-2.8.so.0
    #70 0x00007f4cdb52ef7e in wxDir::Traverse(wxDirTraverser&, wxString const&, int) const () from /usr/lib/libwx_baseu-2.8.so.0
    #71 0x00007f4cdb52ef7e in wxDir::Traverse(wxDirTraverser&, wxString const&, int) const () from /usr/lib/libwx_baseu-2.8.so.0
    #72 0x00007f4cdb52ef7e in wxDir::Traverse(wxDirTraverser&, wxString const&, int) const () from /usr/lib/libwx_baseu-2.8.so.0
    #73 0x00007f4cbec937a5 in NativeParser::GetAllPathsByFilename (this=0x16359f0,
        filename=<value optimized out>) at nativeparser.cpp:3801
    #74 0x00007f4cbec5c845 in ClassBrowserBuilderThread::Init (this=0x1283800,
        nativeParser=<value optimized out>, treeTop=0x1d90520,
        treeBottom=0x1d93e90, active_filename=..., user_data=0x1e7ecd0,
        options=..., pTokensTree=0x2135800, build_tree=false)
        at classbrowserbuilderthread.cpp:201
    #75 0x00007f4cbec5259e in ClassBrowser::BuildTree (this=0x7f4cc80d38e0)
        at classbrowser.cpp:786
    #76 0x00007f4cbec53b5d in ClassBrowser::UpdateView (this=0x7f4cc80d38e0,
        checkHeaderSwap=192) at classbrowser.cpp:227
    #77 0x00007f4cbec9d944 in NativeParser::OnEditorActivatedTimer (
        this=0x16359f0, event=<value optimized out>) at nativeparser.cpp:3613
    #78 0x00007f4cdb5a0cf5 in wxEvtHandler::ProcessEventIfMatches(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&) () from /usr/lib/libwx_baseu-2.8.so.0
    #79 0x00007f4cdb5a0e7c in wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*) () from /usr/lib/libwx_baseu-2.8.so.0
    #80 0x00007f4cdb5a11b4 in wxEvtHandler::ProcessEvent(wxEvent&) ()
       from /usr/lib/libwx_baseu-2.8.so.0
    #81 0x00007f4cdbeffc88 in wxTimerBase::Notify() ()
       from /usr/lib/libwx_gtk2u_core-2.8.so.0
    #82 0x00007f4cdbe1d61b in ?? () from /usr/lib/libwx_gtk2u_core-2.8.so.0
    #83 0x00007f4cd80bc4eb in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
    #84 0x00007f4cd80babcd in g_main_context_dispatch ()
       from /lib/x86_64-linux-gnu/libglib-2.0.so.0
    #85 0x00007f4cd80bb3a8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
    #86 0x00007f4cd80bb9f2 in g_main_loop_run ()
    ---Type <return> to continue, or q <return> to quit---
       from /lib/x86_64-linux-gnu/libglib-2.0.so.0
    #87 0x00007f4cda062af7 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
    #88 0x00007f4cdbe15668 in wxEventLoop::Run() ()
       from /usr/lib/libwx_gtk2u_core-2.8.so.0
    #89 0x00007f4cdbe9279b in wxAppBase::MainLoop() ()
       from /usr/lib/libwx_gtk2u_core-2.8.so.0
    #90 0x0000000000432d2b in CodeBlocksApp::OnRun (this=0x2708140) at app.cpp:788
    #91 0x00007f4cdb54e75a in wxEntry(int&, wchar_t**) ()
       from /usr/lib/libwx_baseu-2.8.so.0
    #92 0x00000000004330d2 in main (argc=2, argv=0x7fff59b9c290) at app.cpp:260

    I attach the project. You will need CMake to generate the project file. Go to WorPackage1.5/build and "cmake" there.
    (Don't pay much to the code, it's in pre-alpha stage ^^).

    Offline Jenna

    • Administrator
    • Lives here!
    • *****
    • Posts: 7255
    Re: The 20 July 2011 build (7289) is out.
    « Reply #8 on: July 22, 2011, 10:20:52 am »
    I just tested it here and it did not freeze.

    What settings do you have for code-completion and parser ?

    Offline Micool121

    • Multiple posting newcomer
    • *
    • Posts: 15
    Re: The 20 July 2011 build (7289) is out.
    « Reply #9 on: July 22, 2011, 10:29:51 am »
    Show inherited members now craches CB in the symbol browser.

    regards ;)

    Offline oBFusCATed

    • Developer
    • Lives here!
    • *****
    • Posts: 13413
      • Travis build status
    Re: The 20 July 2011 build (7289) is out.
    « Reply #10 on: July 22, 2011, 10:47:00 am »
    Show inherited members now craches CB in the symbol browser.
    Works here... Centos 64bit linux debugger branch.
    Probably you should provide the backtrace or a simple project which reproduces the problem.
    Also some version/os/compiler info will be handy...
    (most of the time I ignore long posts)
    [strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

    Offline Jenna

    • Administrator
    • Lives here!
    • *****
    • Posts: 7255
    Re: The 20 July 2011 build (7289) is out.
    « Reply #11 on: July 22, 2011, 10:52:39 am »
    Show inherited members now craches CB in the symbol browser.

    regards ;)
    If you mean "Display inheritance info", no crash here.

    Offline oBFusCATed

    • Developer
    • Lives here!
    • *****
    • Posts: 13413
      • Travis build status
    Re: The 20 July 2011 build (7289) is out.
    « Reply #12 on: July 22, 2011, 04:35:36 pm »
    Crash confirmed:

    Backtrace:
    Code
    (gdb) bt
    #0  0x000000373cacb696 in poll () from /lib64/libc.so.6
    #1  0x0000003b399ccba4 in wxapp_poll_func (ufds=<value optimized out>, nfds=<value optimized out>, timeout=<value optimized out>) at ./src/gtk/app.cpp:266
    #2  0x000000373ee2fa3d in ?? () from /lib64/libglib-2.0.so.0
    #3  0x000000373ee2ff1a in g_main_loop_run () from /lib64/libglib-2.0.so.0
    #4  0x0000003b3872aa63 in gtk_main () from /usr/lib64/libgtk-x11-2.0.so.0
    #5  0x0000003b399e456d in wxEventLoop::Run (this=<value optimized out>) at ./src/gtk/evtloop.cpp:76
    #6  0x0000003b39a3b5d1 in wxDialog::ShowModal (this=<value optimized out>) at ./src/gtk/dialog.cpp:146
    #7  0x00002b1ef70d0dd3 in wxDebugReportDialog::OnView (this=0x7fff85f24200) at ./src/generic/dbgrptg.cpp:438
    #8  0x0000003744cfcbff in wxEvtHandler::ProcessEventIfMatches (entry=<value optimized out>, handler=<value optimized out>, event=<value optimized out>) at ./src/common/event.cpp:1239
    #9  0x0000003744cfcd9f in wxEventHashTable::HandleEvent (this=<value optimized out>, event=<value optimized out>, self=<value optimized out>) at ./src/common/event.cpp:906
    #10 0x0000003744cfcee9 in wxEvtHandler::ProcessEvent (this=<value optimized out>, event=<value optimized out>) at ./src/common/event.cpp:1301
    #11 0x0000003b39af8b46 in wxWindowBase::TryParent (this=<value optimized out>, event=<value optimized out>) at ./src/common/wincmn.cpp:2661
    #12 0x0000003744cfce90 in wxEvtHandler::ProcessEvent (this=<value optimized out>, event=<value optimized out>) at ./src/common/event.cpp:1314
    #13 0x0000003b39a2f22c in gtk_button_clicked_callback (button=<value optimized out>) at ./src/gtk/button.cpp:53
    #14 0x000000373f60b08a in g_closure_invoke () from /lib64/libgobject-2.0.so.0
    #15 0x000000373f61b5cf in ?? () from /lib64/libgobject-2.0.so.0
    #16 0x000000373f61c748 in g_signal_emit_valist () from /lib64/libgobject-2.0.so.0
    #17 0x000000373f61c923 in g_signal_emit () from /lib64/libgobject-2.0.so.0
    #18 0x0000003b38674379 in ?? () from /usr/lib64/libgtk-x11-2.0.so.0
    #19 0x000000373f60b08a in g_closure_invoke () from /lib64/libgobject-2.0.so.0
    #20 0x000000373f61b724 in ?? () from /lib64/libgobject-2.0.so.0
    #21 0x000000373f61c748 in g_signal_emit_valist () from /lib64/libgobject-2.0.so.0
    #22 0x000000373f61c923 in g_signal_emit () from /lib64/libgobject-2.0.so.0
    #23 0x0000003b38672bf9 in ?? () from /usr/lib64/libgtk-x11-2.0.so.0
    #24 0x0000003b3872ffcd in ?? () from /usr/lib64/libgtk-x11-2.0.so.0
    #25 0x000000373f60b08a in g_closure_invoke () from /lib64/libgobject-2.0.so.0
    #26 0x000000373f61b8e6 in ?? () from /lib64/libgobject-2.0.so.0
    #27 0x000000373f61c516 in g_signal_emit_valist () from /lib64/libgobject-2.0.so.0
    #28 0x000000373f61c923 in g_signal_emit () from /lib64/libgobject-2.0.so.0
    #29 0x0000003b3882d79e in ?? () from /usr/lib64/libgtk-x11-2.0.so.0
    #30 0x0000003b387296bd in gtk_propagate_event () from /usr/lib64/libgtk-x11-2.0.so.0
    #31 0x0000003b3872a6d1 in gtk_main_do_event () from /usr/lib64/libgtk-x11-2.0.so.0
    #32 0x0000003b3824689c in ?? () from /usr/lib64/libgdk-x11-2.0.so.0
    #33 0x000000373ee2cdb4 in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
    #34 0x000000373ee2fc0d in ?? () from /lib64/libglib-2.0.so.0
    #35 0x000000373ee2ff1a in g_main_loop_run () from /lib64/libglib-2.0.so.0
    #36 0x0000003b3872aa63 in gtk_main () from /usr/lib64/libgtk-x11-2.0.so.0
    #37 0x0000003b399e456d in wxEventLoop::Run (this=<value optimized out>) at ./src/gtk/evtloop.cpp:76
    #38 0x0000003b39a3b5d1 in wxDialog::ShowModal (this=<value optimized out>) at ./src/gtk/dialog.cpp:146
    #39 0x00002b1ef70d22d9 in wxDebugReportPreviewStd::Show (this=<value optimized out>, dbgrpt=...) at ./src/generic/dbgrptg.cpp:522
    #40 0x0000000000448c72 in CodeBlocksApp::OnFatalException (this=0x11990050) at app.cpp:824
    #41 0x0000003744d010ec in wxFatalSignalHandler () at ./src/unix/utilsunx.cpp:1109
    #42 <signal handler called>
    #43 0x00002aaab3b97de0 in std::_Rb_tree<int, int, std::_Identity<int>, std::less<int>, std::allocator<int> >::begin (this=0xc0) at /usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/stl_tree.h:599
    #44 0x00002aaab3b97e0b in std::set<int, std::less<int>, std::allocator<int> >::begin (this=0xc0) at /usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/stl_set.h:245
    #45 0x00002aaab3baa552 in ClassBrowserBuilderThread::AddNodes (this=0x12daae20, tree=0x12db1e70, parent=..., tokens=Traceback (most recent call last):
      File "/usr/share/gdb/python/libstdcxx/v6/printers.py", line 322, in to_string
        return '%s with %d elements' % (self.typename,
      File "/usr/share/gdb/python/libstdcxx/v6/printers.py", line 212, in __len__
        return int (self.size)
    RuntimeError: Cannot access memory at address 0xe8
    Traceback (most recent call last):
      File "/usr/share/gdb/python/libstdcxx/v6/printers.py", line 309, in next
        item = self.rbiter.next()
      File "/usr/share/gdb/python/libstdcxx/v6/printers.py", line 215, in next
        if self.count == self.size:
    RuntimeError: Cannot access memory at address 0xe8
    , tokenKindMask=10, tokenScopeMask=0, allowGlobals=true) at classbrowserbuilderthread.cpp:707
    ---Type <return> to continue, or q <return> to quit---
    #46 0x00002aaab3baad83 in ClassBrowserBuilderThread::AddAncestorsOf (this=0x12daae20, tree=0x12db1e70, parent=..., tokenIdx=2339) at classbrowserbuilderthread.cpp:660
    #47 0x00002aaab3bacb9b in ClassBrowserBuilderThread::ExpandItem (this=0x12daae20, item=...) at classbrowserbuilderthread.cpp:1024
    #48 0x00002aaab3ba4206 in ClassBrowser::OnTreeItemExpanding (this=0x12da2ad0, event=...) at classbrowser.cpp:798
    #49 0x0000003744cfcbff in wxEvtHandler::ProcessEventIfMatches (entry=<value optimized out>, handler=<value optimized out>, event=<value optimized out>) at ./src/common/event.cpp:1239
    #50 0x0000003744cfcd9f in wxEventHashTable::HandleEvent (this=<value optimized out>, event=<value optimized out>, self=<value optimized out>) at ./src/common/event.cpp:906
    #51 0x0000003744cfcee9 in wxEvtHandler::ProcessEvent (this=<value optimized out>, event=<value optimized out>) at ./src/common/event.cpp:1301
    #52 0x0000003b39af8b46 in wxWindowBase::TryParent (this=<value optimized out>, event=<value optimized out>) at ./src/common/wincmn.cpp:2661
    #53 0x0000003744cfce90 in wxEvtHandler::ProcessEvent (this=<value optimized out>, event=<value optimized out>) at ./src/common/event.cpp:1314
    #54 0x0000003b39af8b46 in wxWindowBase::TryParent (this=<value optimized out>, event=<value optimized out>) at ./src/common/wincmn.cpp:2661
    #55 0x0000003744cfce90 in wxEvtHandler::ProcessEvent (this=<value optimized out>, event=<value optimized out>) at ./src/common/event.cpp:1314
    #56 0x0000003b39af8b46 in wxWindowBase::TryParent (this=<value optimized out>, event=<value optimized out>) at ./src/common/wincmn.cpp:2661
    #57 0x0000003744cfce90 in wxEvtHandler::ProcessEvent (this=<value optimized out>, event=<value optimized out>) at ./src/common/event.cpp:1314
    #58 0x0000003b39b3f2a1 in wxGenericTreeCtrl::Expand (this=<value optimized out>, itemId=<value optimized out>) at ./src/generic/treectlg.cpp:1792
    #59 0x0000003b39b3e4c5 in wxGenericTreeCtrl::OnMouse (this=<value optimized out>, event=<value optimized out>) at ./src/generic/treectlg.cpp:3496
    #60 0x0000003744cfcbff in wxEvtHandler::ProcessEventIfMatches (entry=<value optimized out>, handler=<value optimized out>, event=<value optimized out>) at ./src/common/event.cpp:1239
    #61 0x0000003744cfcd9f in wxEventHashTable::HandleEvent (this=<value optimized out>, event=<value optimized out>, self=<value optimized out>) at ./src/common/event.cpp:906
    #62 0x0000003744cfcee9 in wxEvtHandler::ProcessEvent (this=<value optimized out>, event=<value optimized out>) at ./src/common/event.cpp:1301
    #63 0x0000003744cfce80 in wxEvtHandler::ProcessEvent (this=<value optimized out>, event=<value optimized out>) at ./src/common/event.cpp:1308
    #64 0x0000003b39b2c0d5 in wxScrollHelperEvtHandler::ProcessEvent (this=<value optimized out>, event=<value optimized out>) at ./src/generic/scrlwing.cpp:208
    #65 0x0000003b399f4581 in wxWindow::GTKProcessEvent (this=<value optimized out>, event=<value optimized out>) at ./src/gtk/window.cpp:1435
    #66 0x0000003b399f9a8d in gtk_window_button_press_callback (widget=<value optimized out>, gdk_event=<value optimized out>, win=<value optimized out>) at ./src/gtk/window.cpp:1634
    #67 0x0000003b3872ffcd in ?? () from /usr/lib64/libgtk-x11-2.0.so.0
    #68 0x000000373f60b08a in g_closure_invoke () from /lib64/libgobject-2.0.so.0
    #69 0x000000373f61b2ed in ?? () from /lib64/libgobject-2.0.so.0
    #70 0x000000373f61c516 in g_signal_emit_valist () from /lib64/libgobject-2.0.so.0
    #71 0x000000373f61c923 in g_signal_emit () from /lib64/libgobject-2.0.so.0
    #72 0x0000003b3882d79e in ?? () from /usr/lib64/libgtk-x11-2.0.so.0
    #73 0x0000003b387296bd in gtk_propagate_event () from /usr/lib64/libgtk-x11-2.0.so.0
    #74 0x0000003b3872a6d1 in gtk_main_do_event () from /usr/lib64/libgtk-x11-2.0.so.0
    #75 0x0000003b3824689c in ?? () from /usr/lib64/libgdk-x11-2.0.so.0
    #76 0x000000373ee2cdb4 in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
    #77 0x000000373ee2fc0d in ?? () from /lib64/libglib-2.0.so.0
    #78 0x000000373ee2ff1a in g_main_loop_run () from /lib64/libglib-2.0.so.0
    #79 0x0000003b3872aa63 in gtk_main () from /usr/lib64/libgtk-x11-2.0.so.0
    #80 0x0000003b399e456d in wxEventLoop::Run (this=<value optimized out>) at ./src/gtk/evtloop.cpp:76
    #81 0x0000003b39a72378 in wxAppBase::MainLoop (this=<value optimized out>) at ./src/common/appcmn.cpp:312
    #82 0x0000000000448d0a in CodeBlocksApp::OnRun (this=0x11990050) at app.cpp:788
    #83 0x0000003744c99cc1 in wxEntry (argc=<value optimized out>, argv=<value optimized out>) at ./src/common/init.cpp:448
    #84 0x000000000044c7bc in main (argc=1, argv=0x7fff85f26078) at app.cpp:260

    Steps:
    1. Open a project which has a class with base classes
    2. Goto the symbol browser
    3. Enable "Show inheritance"
    4. Find the class which has base classes
    5. Try to expand the base classes in the tree
    (most of the time I ignore long posts)
    [strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

    Offline blend

    • Multiple posting newcomer
    • *
    • Posts: 32
    Re: The 20 July 2011 build (7289) is out.
    « Reply #13 on: July 22, 2011, 07:43:02 pm »
    I just tested it here and it did not freeze.

    What settings do you have for code-completion and parser ?
    It is the first time I install CodeBlocks on this machine (it's a virtual machine), and I'm using the default settings.

    Offline Loaden

    • Lives here!
    • ****
    • Posts: 1014
    Re: The 20 July 2011 build (7289) is out.
    « Reply #14 on: August 01, 2011, 07:19:48 pm »
    Show inherited members now craches CB in the symbol browser.

    regards ;)
    Fixed in HEAD.