Author Topic: The 08 October 2018 build (11499) is out.  (Read 43409 times)

Offline killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 5514
The 08 October 2018 build (11499) is out.
« on: October 08, 2018, 08:24:54 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(s) for Code::Blocks : http://sourceforge.net/projects/codeblocks/files/Binaries/Nightlies/Prerequisites/wxmsw31u_gcc_cb_wx311_gcc510-TDM.7z


The 08 October 2018 build is out.
  - Windows :
   http://sourceforge.net/projects/codeblocks/files/Binaries/Nightlies/2018/CB_20181008_rev11499_win64.7z
  - Linux :
   none

The current SDK version is : 1.36.0

Resolved Fixed:

  • lexer: Add selection, active line, matching brace and no matching brace style options using code
  • lexer: Add option to change the colour of the indentation guides for all lexers not only for the objc lexer
  • lexer: Update doxygen keywords in the cpp lexer
  • lexer: Add YAML lexer, make sure to always use spaces when editing YAML files
  • DragScroll - Dont move cursor when using right mouse key(wx3.x)
  • UI: Make opening containing folder work when the path contains whitespace (ticket #734)
  • Add the rndgen plugin to the builds on linux/macos (ticket #728, thanks Miguel Gimenez)
  • rndgdn: Some code cleanup (ticket #736, thanks Miguel Gimenez)
  • FileManager: Fix wrong use of stl-containers (erasing invalidates iterators) (ticket #722, thanks Miguel Gimenez)
  • FileManager: Fix assert when clicking the 'goto parent directory' button beyond the root (ticket #713, thanks Miguel Gimenez)
  • compiler: Clear target specific variables from the MacroManager on every recalculation (ticket #582, thanks bluehazzard)
  • UI: Make the Goto File window to resize itself when the content of the list ctrl doesn't fit
  • UI: Fixes to the auto-sizing feature of the GotoFile dialog (see r11468)
  • compiler: Fix a crash introduced in r11465 (ticket #582)
  • openfilelist: Fix memory leak when unloading the plugin
  • editor: Implement 'Fold current block' to work when the cursor is inside the block (ticket #700)
  • editor: Clean up the implementation of DoFoldAll (ticket #700)
  • IncrementalSearch: Try to have better/simpler history in the choice control (ticket #740, thanks Gokul Krishnan)
  • lexer: Improve C/C++ lexer (ticket #741, thanks Gokul Krishnan)
  • CC: handle comma as terminator for function declarations. (thanks Gokul Krishnan)
  • CC: support function declaration lists (ticket #724, thanks Gokul Krishnan)
  • CC: fix 'for' loop with empty declaration block Handle the case where the first token is a semicolon. (thanks Gokul Krishnan)
  • SDK/Debugger: put the recent entered command in the position 0 of the wxComboBox list.
  • fixed SpellChecker plugin not compiling on Windows
  • applied patch #717 DebuggerGDB plugin: improvements for Fortran, thanks darmar
  • updated HunSpell library on Windows from v1.3.3 to v1.6.2
  • EditorConfig plugin: allow to use global editor settings for EOL, to fix bug #577
  • final fix for spellchecker plugin
  • ThreadSearch: don't prefix tilde to search word(#742, thanks Gokul Krishnan)
  • compiler: Do not switch to the build log when the workspace is closed

Regressions/Confirmed/Annoying/Common bugs:



    Offline Xaviou

    • Regular
    • ***
    • Posts: 412
      • X@v's wxStuff
    Re: The 08 October 2018 build (11499) is out.
    « Reply #1 on: October 08, 2018, 10:06:33 pm »
    Hi.

    OS X version of this rev can be downloaded from my Google Drive.

    Debian Stretch (32 and 64 bits) can be installed from my repo.

    Note that for the OS X version, I had to disable the build of the "FileManager" plugin as it seems it require an additionnal lib (and I don't yet know witch one  :-[ )

    Regards

    Xav'
    « Last Edit: October 09, 2018, 02:40:41 pm by Xaviou »
    My wxWidgets's stuff : https://wxstuff.xaviou.fr/

    Offline oBFusCATed

    • Developer
    • Lives here!
    • *****
    • Posts: 13406
      • Travis build status
    Re: The 08 October 2018 build (11499) is out.
    « Reply #2 on: October 09, 2018, 09:00:27 am »
    Khram is still not cooperative, so we cannot make it work...  8)
    (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 raynebc

    • Almost regular
    • **
    • Posts: 217
    Re: The 08 October 2018 build (11499) is out.
    « Reply #3 on: October 09, 2018, 10:04:57 pm »
    I knew this would happen immediately when I saw the changelog mention spell checking.

    Offline Quiss

    • Multiple posting newcomer
    • *
    • Posts: 76
    Re: The 08 October 2018 build (11499) is out.
    « Reply #4 on: October 10, 2018, 01:56:19 pm »
    Alt+G (Goto File) crash on Windows10-x64:
    Code
    -------------------

    Error occurred on Wednesday, October 10, 2018 at 14:50:31.

    codeblocks.exe caused an Access Violation at location 00000000709F40C2 in module codeblocks.dll Reading from location 0000000000000040.

    AddrPC           Params
    00000000709F40C2 00000000008CAA50 000000000C23F2F0 0000000000000000  codeblocks.dll!IncrementalListCtrl::OnGetItemText
    0000000069ED9C92 000000000150C8A0 00007FFC06373380 00000000000E5710  wxmsw311u_gcc_cb.dll!wxListCtrl::MSWOnNotify
    0000000069E79964 0000000000000000 0000000000000000 8000601000000001  wxmsw311u_gcc_cb.dll!wxWindow::MSWHandleMessage
    0000000069E67EBC 0000000080006010 0000000000000042 0000000000000000  wxmsw311u_gcc_cb.dll!wxWindow::MSWWindowProc
    00007FFC06016CC1 000085E21E6A5F67 0000000069E708C0 00000000003118EA  USER32.dll!UserCallWinProcCheckWow
    00007FFC060162CE 0000000000000000 0000000000210F00 0000000000000329  USER32.dll!SendMessageWorker
    00007FFC06016058 00000000008CB340 0000000000000000 00000000008CB259  USER32.dll!SendMessageW
    00007FFBF7291DE9 00007FFC043BDC30 00000000008CC290 0000000000000040  COMCTL32.dll!CCSendNotify
    00007FFBF72907F1 0000000000000000 0000000000000000 00000000081190D0  COMCTL32.dll!CLVItemStore::OnGetItem
    00007FFBF7242D99 0000000000000000 0000000000000000 0000000000000000  COMCTL32.dll!CListView::GetItem
    00007FFBF728E01E 0000000000000001 0000000000000000 0000000080006010  COMCTL32.dll!CListView::WndProc
    00007FFBF728C279 0000000080006010 0000000000000001 0000000000000000  COMCTL32.dll!CListView::s_WndProc
    00007FFC06016CC1 0000000000210FC4 00007FFBF728C210 0000000000210FC4  USER32.dll!UserCallWinProcCheckWow
    00007FFC0601688B 00000000008CBBB0 0000000000000000 0000000000000000  USER32.dll!CallWindowProcW
    00007FFBF726D96B 0000000000000000 0000000000000000 00000000008CBBB0  COMCTL32.dll!CallNextSubclassProc
    00007FFBF726DA88 0000000000000000 0000000000210FC4 0000000000000000  COMCTL32.dll!CallNextSubclassProc
    00007FFBF726D802 0000000080006010 00000000008CBDB0 00000000008CC330  COMCTL32.dll!MasterSubclassProc
    00007FFC06016CC1 0000000000210FC4 00007FFBF726D760 0000000000210FC4  USER32.dll!UserCallWinProcCheckWow
    00007FFC0601688B 000000000C23F2F0 00000000008CC290 000000000000104B  USER32.dll!CallWindowProcW
    0000000069E6E6A0 00007FFC06016FC2 00000000008CCE50 0000000000000000  wxmsw311u_gcc_cb.dll!wxWindow::MSWDefWindowProc
    0000000069E67EE4 0000000080006010 00000000008CC330 0000000000000000  wxmsw311u_gcc_cb.dll!wxWindow::MSWWindowProc
    00007FFC06016CC1 0000000000000000 0000000069E708C0 0000000000210FC4  USER32.dll!UserCallWinProcCheckWow
    00007FFC060162CE 0000000000000402 00000000008CC200 0000000000000000  USER32.dll!SendMessageWorker
    00007FFC06016058 0000000000000000 0000000000000004 00000000008CC7D8  USER32.dll!SendMessageW
    0000000069ED3F3D 000000000C23F2F0 000000000000284B 0000000000000000  wxmsw311u_gcc_cb.dll!wxListCtrl::GetItem
    0000000069ED904C 0000000000000047 0000000000000000 0000000000000000  wxmsw311u_gcc_cb.dll!wxListCtrl::MSWOnNotify
    0000000069E79964 000000000143F4C0 00007FFC060157F8 00000000008CCC69  wxmsw311u_gcc_cb.dll!wxWindow::MSWHandleMessage
    0000000069E67EBC 0000000080006010 00007FFC0601575A 0000000000410FC0  wxmsw311u_gcc_cb.dll!wxWindow::MSWWindowProc
    00007FFC06016CC1 8000601000000001 0000000069E708C0 00000000003118EA  USER32.dll!UserCallWinProcCheckWow
    00007FFC060162CE 0000000000000000 0000000000210F00 0000000000000329  USER32.dll!SendMessageWorker
    00007FFC06016058 00000000008CCF40 0000000000000000 00000000008CCEB9  USER32.dll!SendMessageW
    00007FFBF7291DE9 0000000000000002 0000000000000000 00000000008CCF68  COMCTL32.dll!CCSendNotify
    00007FFBF7244464 0000000000000000 0000000000000000 0000000000000000  COMCTL32.dll!CLVItemStore::_SendChange
    00007FFBF729118A 0000F6B3EF23C0F5 0000000000000001 000000000000002A  COMCTL32.dll!CLVItemStore::OnSetItemState
    00007FFBF7290003 00007FFC06016FC2 00007FFC06016B37 0000000000000003  COMCTL32.dll!CListView::SetItemState
    00007FFBF728E16F 0000000000000001 0000000000000000 0000000080006010  COMCTL32.dll!CListView::WndProc
    00007FFBF728C279 0000000080006010 0000000000000001 0000000000000000  COMCTL32.dll!CListView::s_WndProc
    00007FFC06016CC1 0000000000210FC4 00007FFBF728C210 0000000000210FC4  USER32.dll!UserCallWinProcCheckWow
    00007FFC0601688B 00000000008CD7E0 0000000000000000 0000000000000000  USER32.dll!CallWindowProcW
    00007FFBF726D96B 0000000000000000 0000000000000000 00000000008CD7E0  COMCTL32.dll!CallNextSubclassProc
    00007FFBF726DA88 0000000000000000 0000000000210FC4 0000000000000000  COMCTL32.dll!CallNextSubclassProc
    00007FFBF726D802 0000000080006010 0000000000000000 0000000000000001  COMCTL32.dll!MasterSubclassProc
    00007FFC06016CC1 0000000000210FC4 00007FFBF726D760 0000000000210FC4  USER32.dll!UserCallWinProcCheckWow
    00007FFC0601688B 000000000C23F2F0 00000000008CDE70 000000000000102B  USER32.dll!CallWindowProcW
    0000000069E6E6A0 0000000000000000 00000000064495C8 0000000000000048  wxmsw311u_gcc_cb.dll!wxWindow::MSWDefWindowProc
    0000000069E67EE4 0000000080006010 0000000011617750 0000000011617870  wxmsw311u_gcc_cb.dll!wxWindow::MSWWindowProc
    00007FFC06016CC1 0000000000000001 0000000069E708C0 0000000000210FC4  USER32.dll!UserCallWinProcCheckWow
    00007FFC060162CE 000000000000002A 0000000000000000 0000000000000000  USER32.dll!SendMessageWorker
    00007FFC06016058 00000000008CDE70 00000000008CDEC8 0000000000000000  USER32.dll!SendMessageW
    0000000069ED81BB 00000000008CED00 00000000709F2F85 00000000008CED08  wxmsw311u_gcc_cb.dll!wxListCtrl::SetItemState
    00000000709F35A1 000000000C23F2F0 00000000008CED00 00000000008CED5C  codeblocks.dll!FilterItemsFinalize
    00000000709F372C 00000000008CEC48 000000000C23F2F0 00000000008CE550  codeblocks.dll!IncrementalSelectHandler::FilterItems
    00000000709F32DC 00000000008CEC48 000000000C23F2F0 000000000CE57FB0  codeblocks.dll!IncrementalSelectHandler::Init
    0000000000455479 00000000008CE900 00000000029BDDC0 00000000008CED00  codeblocks.exe!0x55479
    0000000000454E1B 00000000008CE900 00000000029BDDC0 00000000008CED00  codeblocks.exe!0x54e1b
    0000000000496D77 0000000002F04230 00000000008CF370 0000000000000002  codeblocks.exe!0x96d77
    0000000069C03536 0000000000000001 0000000069D661A7 0000000000000801  wxmsw311u_gcc_cb.dll!wxAppConsoleBase::CallEventHandler
    0000000069D65C2E 0000000000000000 00000000029BDDC0 00000000029BDDC0  wxmsw311u_gcc_cb.dll!wxEvtHandler::ProcessEventIfMatchesId
    0000000069D65D33 0000000002F04230 00000000068D8230 0000000000000000  wxmsw311u_gcc_cb.dll!wxEventHashTable::HandleEvent
    0000000069D664A7 0000000000010302 0000000000000111 0000000000000000  wxmsw311u_gcc_cb.dll!wxEvtHandler::TryHereOnly
    0000000069D65ED3 0000000000000000 0000000003119400 00000000FFFFFFFF  wxmsw311u_gcc_cb.dll!wxEvtHandler::DoTryChain
    0000000069D66568 8100000000000000 00007FFC0601457D 0000000000000000  wxmsw311u_gcc_cb.dll!wxEvtHandler::ProcessEvent
    000000006A08C6B5 0000000000000003 00007FFC06018B56 00000000008CF350  wxmsw311u_gcc_cb.dll!wxWindowBase::TryAfter
    0000000069D6825B 00000000014AA200 0000000000000000 0000000005010791  wxmsw311u_gcc_cb.dll!wxEvtHandler::SafelyProcessEvent
    000000006A030885 00000000092184D0 000000006A03060F 0000000000000003  wxmsw311u_gcc_cb.dll!wxMenuBase::DoProcessEvent
    000000006A0309BB 0000000000000047 00000000008CF560 0000000100000050  wxmsw311u_gcc_cb.dll!wxMenuBase::SendEvent
    0000000069EC25F8 00000000029BDDC0 0000000000000658 0000000000000000  wxmsw311u_gcc_cb.dll!wxFrame::HandleCommand
    0000000069EC3AC0 0000000080006010 0000000000000001 0000000000000000  wxmsw311u_gcc_cb.dll!wxFrame::MSWWindowProc
    00007FFC06016CC1 00000000008CF798 0000000069E708C0 00000000000B13C0  USER32.dll!UserCallWinProcCheckWow
    00007FFC0601699C 0000000000000000 0000000000000000 0000000000010302  USER32.dll!DispatchClientMessage
    00007FFC06020453 000000000000003F 00007FFC045B0C80 0000000000000001  USER32.dll!__fnDWORD
    00007FFC064CDC04 0000000069E93EE9 0000000000000001 0000000000000000  ntdll.dll!KiUserCallbackDispatch
    00007FFC038A12A4 0000000000000001 0000000000000000 000000000000003F  win32u.dll!NtUserTranslateAccelerator
    0000000069E93EE9 00000000029BDDC0 FFFFFFFF00000000 00000000008CFA20  wxmsw311u_gcc_cb.dll!wxAcceleratorTable::Translate
    0000000069EC23B4 0000000000000000 00000000029D65C0 00000000029D65C0  wxmsw311u_gcc_cb.dll!wxFrame::MSWDoTranslateMessage
    0000000000511778 00000000029BDDC0 00000000008CFA10 0000000000000000  codeblocks.exe!0x111778
    0000000069EBCE68 01D4608F721EAC6E 0000000000000000 0000000000000000  wxmsw311u_gcc_cb.dll!wxGUIEventLoop::PreProcessMessage
    0000000069EBCD81 000000000897FB30 000000006AC9E100 0000000000000000  wxmsw311u_gcc_cb.dll!wxGUIEventLoop::ProcessMessage
    0000000069EBCBB9 000000006AC9E140 0000000009696980 000000006AC9E140  wxmsw311u_gcc_cb.dll!wxGUIEventLoop::Dispatch
    0000000069C3DE72 000000006AC9E140 00007FFC04539960 0000000000000040  wxmsw311u_gcc_cb.dll!wxEventLoopManual::ProcessEvents
    0000000069C3DF3B 00000000028454B0 0000000009696980 0000000000000008  wxmsw311u_gcc_cb.dll!wxEventLoopManual::DoRun
    0000000069C3DB1A 00000000096B0AB0 000000020000001C 000000000C686CC0  wxmsw311u_gcc_cb.dll!wxEventLoopBase::Run
    0000000069C082FA 0000000000000000 0000000002845540 00000000DF0000DF  wxmsw311u_gcc_cb.dll!wxAppConsoleBase::MainLoop
    00000000004051AE 00000000028454B0 0000000069D7314B 00000000000D3160  codeblocks.exe!0x51ae
    0000000069C87138 000000000000004C 000000000000004C 0000000000000000  wxmsw311u_gcc_cb.dll!wxInitialize
    00000000004022E3 0000000000400000 0000000000000000 00000000000D43BD  codeblocks.exe!0x22e3
    00000000004013E8 0000000000000000 0000000000000000 0000000000000000  codeblocks.exe!0x13e8
    00000000004014EB 0000000000000000 0000000000000000 0000000000000000  codeblocks.exe!0x14eb
    00007FFC06243034 0000000000000000 0000000000000000 0000000000000000  KERNEL32.DLL!BaseThreadInitThunk
    00007FFC064A1461 0000000000000000 0000000000000000 0000000000000000  ntdll.dll!RtlUserThreadStart

    codeblocks.exe 17.12.0.0
    ntdll.dll    10.0.17134.254
    KERNEL32.DLL 10.0.17134.1
    KERNELBASE.dll 10.0.17134.165
    msvcrt.dll  7.0.17134.1
    COMCTL32.dll 6.10.17134.285
    SHELL32.dll 10.0.17134.228
    combase.dll 10.0.17134.112
    ucrtbase.dll 10.0.17134.254
    cfgmgr32.dll 10.0.17134.1
    RPCRT4.dll  10.0.17134.112
    shcore.dll  10.0.17134.112
    bcryptPrimitives.dll 10.0.17134.285
    windows.storage.dll 10.0.17134.285
    GDI32.dll    10.0.17134.285
    advapi32.dll 10.0.17134.1
    gdi32full.dll 10.0.17134.285
    sechost.dll 10.0.17134.1
    msvcp_win.dll 10.0.17134.137
    shlwapi.dll 10.0.17134.1
    USER32.dll  10.0.17134.1
    win32u.dll  10.0.17134.1
    kernel.appcore.dll 10.0.17134.112
    profapi.dll 10.0.17134.1
    powrprof.dll 10.0.17134.1
    FLTLIB.DLL  10.0.17134.1
    wxmsw311u_gcc_cb.dll 3.1.1.0
    SHFOLDER.dll 10.0.17134.1
    comdlg32.dll 10.0.17134.1
    codeblocks.dll
    exchndl.dll 0.8.2.0
    ole32.dll    10.0.17134.137
    PSAPI.DLL    10.0.17134.1
    OLEAUT32.dll 10.0.17134.48
    mgwhelp.dll 0.8.2.0
    VERSION.dll 10.0.17134.1
    OLEACC.dll  7.2.17134.1
    dbghelp.dll 6.3.9600.17298
    UxTheme.dll 10.0.17134.1
    WINMM.dll    10.0.17134.1
    WINSPOOL.DRV 10.0.17134.254
    WSOCK32.dll 10.0.17134.1
    WS2_32.dll  10.0.17134.1
    winmmbase.dll 10.0.17134.1
    PROPSYS.dll 7.0.17134.112
    IPHLPAPI.DLL 10.0.17134.1
    bcrypt.dll  10.0.17134.112
    IMM32.DLL    10.0.17134.1
    CRYPTBASE.DLL 10.0.17134.1
    MSCTF.dll    10.0.17134.285
    SspiCli.dll 10.0.17134.1
    dwmapi.dll  10.0.17134.1
    TextInputFramework.dll 10.0.17134.191
    CoreUIComponents.dll 10.0.17134.112
    CoreMessaging.dll 10.0.17134.285
    ntmarta.dll 10.0.17134.1
    wintypes.dll 10.0.17134.112
    clbcatq.dll 2001.12.10941.16384
    dataexchange.dll 10.0.17134.1
    dcomp.dll    10.0.17134.1
    d3d11.dll    10.0.17134.112
    dxgi.dll    10.0.17134.112
    twinapi.appcore.dll 10.0.17134.137
    RMCLIENT.dll 10.0.17134.81
    WindowsCodecs.dll 10.0.17134.285
    msftedit.DLL 10.0.17134.112
    Windows.Globalization.dll 10.0.17134.254
    bcp47mrm.dll 10.0.17134.1
    Bcp47Langs.dll 10.0.17134.1
    globinputhost.dll 10.0.17134.1
    thumbcache.dll 10.0.17134.1
    abbreviations.dll
    astyle.dll
    autosave.dll
    AutoVersioning.dll
    BrowseTracker.dll
    byogames.dll
    cb_koders.dll
    Cccc.dll
    classwizard.dll
    codecompletion.dll
    codesnippets.dll
    codestat.dll
    compiler.dll
    copystrings.dll
    CppCheck.dll
    Cscope.dll
    debugger.dll
    defaultmimehandler.dll
    devpakupdater.dll
    DoxyBlocks.dll 1.7.663.8397
    DragScroll.dll
    EditorConfig.dll
    EditorTweaks.dll
    envvars.dll
    Exporter.dll
    FileManager.dll
    FortranProject.dll
    headerfixup.dll
    help_plugin.dll
    HHCTRL.OCX  10.0.17134.48
    HexEditor.dll
    IncrementalSearch.dll
    keybinder.dll
    lib_finder.dll
    wxflatnotebook.dll
    MouseSap.dll
    NassiShneiderman.dll
    OccurrencesHighlighting.dll
    openfileslist.dll
    Profiler.dll
    ProjectOptionsManipulator.dll
    projectsimporter.dll
    RegExTestbed.dll
    ReopenEditor.dll
    rndgen.dll
    scriptedwizard.dll
    SmartIndentCpp.dll
    SmartIndentFortran.dll
    SmartIndentHDL.dll
    SmartIndentLua.dll
    SmartIndentPascal.dll
    SmartIndentPython.dll
    SmartIndentXML.dll
    SpellChecker.dll
    SymTab.dll
    ThreadSearch.dll
    wxcustombutton.dll
    todo.dll
    ToolsPlus.dll
    wxsmith.dll
    wxsmithlib.dll
    wxSmithAui.dll
    wxSmithContribItems.dll
    wxchartctrl.dll
    wxspeedbutton.dll
    wxled.dll
    wxmathplot.dll
    wximagepanel.dll
    wxkwic.dll
    wxdatetimepicker.dll
    xpmanifest.dll
    msimg32.dll 10.0.17134.1
    DUser.dll    10.0.17134.1
    atlthunk.dll 10.0.17134.1
    WININET.dll 11.0.17134.254
    iertutil.dll 11.0.17134.254
    ondemandconnroutehelper.dll 10.0.17134.1
    winhttp.dll 10.0.17134.137
    mswsock.dll 10.0.17134.1
    WINNSI.DLL  10.0.17134.1
    NSI.dll      10.0.17134.1
    urlmon.dll  11.0.17134.285
    DNSAPI.dll  10.0.17134.165
    rasadhlp.dll 10.0.17134.1
    fwpuclnt.dll 10.0.17134.1

    Windows 10.0.17134
    DrMingw 0.8.2


    Offline Xaviou

    • Regular
    • ***
    • Posts: 412
      • X@v's wxStuff
    Re: The 08 October 2018 build (11499) is out.
    « Reply #5 on: October 10, 2018, 03:55:09 pm »
    Hi.

    Alt+G (Goto File) crash on Windows10-x64:

    Confirmed (happens also when selected "Goto File" in the "Search" menu).
    Works correctly for this release on OS-X, and for previous nightly (rev 11449) on Windows10-x64

    Regards
    Xav'
    My wxWidgets's stuff : https://wxstuff.xaviou.fr/

    Offline oBFusCATed

    • Developer
    • Lives here!
    • *****
    • Posts: 13406
      • Travis build status
    Re: The 08 October 2018 build (11499) is out.
    « Reply #6 on: October 10, 2018, 05:09:11 pm »
    Does it happen with minimal example project?
    Can someone try it in a debugger?
    For me on linux it works fine - I use this all day long.
    (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 Biplab

    • Developer
    • Lives here!
    • *****
    • Posts: 1874
      • Biplab's Blog
    Re: The 08 October 2018 build (11499) is out.
    « Reply #7 on: October 10, 2018, 07:50:46 pm »
    Does it happen with minimal example project?
    Can someone try it in a debugger?
    For me on linux it works fine - I use this all day long.

    Yes it crashes on Windows.

    Line 324 IncrementalSelectArrayIterator::GetDisplayText is possibly the culprit.
    Be a part of the solution, not a part of the problem.

    Offline Miguel Gimenez

    • Developer
    • Lives here!
    • *****
    • Posts: 1634
    Re: The 08 October 2018 build (11499) is out.
    « Reply #8 on: October 10, 2018, 07:59:53 pm »
    I haven't tested the nightly, but revision 11503 works OK (compiled with wxWidgets 3.1.1 in 32 bits) in Windows 7 64 bits. Using GCC 7.2.0.

    Offline oBFusCATed

    • Developer
    • Lives here!
    • *****
    • Posts: 13406
      • Travis build status
    Re: The 08 October 2018 build (11499) is out.
    « Reply #9 on: October 11, 2018, 12:20:28 am »
    Line 324 IncrementalSelectArrayIterator::GetDisplayText is possibly the culprit.
    This line is just fine. Some of the two arrays is containing invalid data. Can you tell me which one and what is the incorrect value?
    (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 Biplab

    • Developer
    • Lives here!
    • *****
    • Posts: 1874
      • Biplab's Blog
    Re: The 08 October 2018 build (11499) is out.
    « Reply #10 on: October 12, 2018, 08:31:13 pm »
    Line 324 IncrementalSelectArrayIterator::GetDisplayText is possibly the culprit.
    This line is just fine. Some of the two arrays is containing invalid data. Can you tell me which one and what is the incorrect value?

    Following patch can fix this issue. Please check if this is breaking anything.
    Code
    Index: src/src/goto_file.cpp
    ===================================================================
    --- src/src/goto_file.cpp (revision 11503)
    +++ src/src/goto_file.cpp (working copy)
    @@ -71,6 +71,8 @@
         SetTitle(title);
         labelCtrl->SetLabel(message);
     
    +    // Set iterator first to avoid crash
    +    m_ResultList->SetIterator(iterator);
         // Call this here to make sure the column widths are correctly calculated.
         m_handler.Init(m_ResultList, m_Text);
     
    @@ -82,7 +84,6 @@
         column.SetText( _("Column") );
         column.SetWidth(columnWidth);
         m_ResultList->InsertColumn(0, column);
    -    m_ResultList->SetIterator(iterator);
     
         // Call Fit to make sure all GetSize methods return correct values.
         m_sizer->Fit(this);

    I uploaded a test build at the following url -
    Quote
    http://codeblocks.biplab.in/mirror/nightly/rev11503test/CB_20181012_rev11503_test_win64.7z

    Request others to test this build and confirm the fix.
    Be a part of the solution, not a part of the problem.

    Offline oBFusCATed

    • Developer
    • Lives here!
    • *****
    • Posts: 13406
      • Travis build status
    Re: The 08 October 2018 build (11499) is out.
    « Reply #11 on: October 13, 2018, 12:53:26 am »
    Can you post full backtrace of the crash?
    (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 Biplab

    • Developer
    • Lives here!
    • *****
    • Posts: 1874
      • Biplab's Blog
    Re: The 08 October 2018 build (11499) is out.
    « Reply #12 on: October 13, 2018, 04:34:30 am »
    Can you post full backtrace of the crash?
    Full backtrace is similar to what @Quiss posted. Posting again-
    Quote
    -------------------

    Error occurred on Wednesday, October 10, 2018 at 22:49:49.

    codeblocks.exe caused an Access Violation at location 00000000709F40BB in module codeblocks.dll Reading from location FFFFFFFFFFFFFFFF.

    AddrPC           Params
    00000000709F40BB 00000000008CAA50 000000000C885D10 0000000000000000  codeblocks.dll!IncrementalListCtrl::OnGetItemText
    0000000069ED9C92 00000000013E2A80 00007FFC4A873380 00000000000EA8B0  wxmsw311u_gcc_cb.dll!wxListCtrl::MSWOnNotify
    0000000069E79964 0000AF985E35ECDF 0000000000050940 0000000000000434  wxmsw311u_gcc_cb.dll!wxWindow::MSWHandleMessage
    0000000069E67EBC 0000000080006010 0000000000000042 0000000000000000  wxmsw311u_gcc_cb.dll!wxWindow::MSWWindowProc
    00007FFC4A8C6CC1 0000AF9800000000 0000000069E708C0 00000000000309E4  USER32.dll!UserCallWinProcCheckWow
    00007FFC4A8C62CE 0000000000000000 0000000000050900 0000000000000329  USER32.dll!SendMessageWorker
    00007FFC4A8C6058 00000000008CB340 0000000000000000 00000000008CB259  USER32.dll!SendMessageW
    00007FFC3C6A1DE9 00007FFC4A30DBB0 00000000008CC290 0000000000000040  COMCTL32.dll!CCSendNotify
    00007FFC3C6A07F1 0000000000000000 0000000000000000 000000000F679490  COMCTL32.dll!CLVItemStore::OnGetItem
    00007FFC3C652D99 0000000000000000 0000000000000000 0000000000000000  COMCTL32.dll!CListView::GetItem
    00007FFC3C69E01E 0000000000000001 0000000000000000 0000000080006010  COMCTL32.dll!CListView::WndProc
    00007FFC3C69C279 0000000080006010 0000000000000001 0000000000000000  COMCTL32.dll!CListView::s_WndProc
    00007FFC4A8C6CC1 0000000000050940 00007FFC3C69C210 0000000000050940  USER32.dll!UserCallWinProcCheckWow
    00007FFC4A8C688B 00000000008CBBB0 0000000000000000 0000000000000000  USER32.dll!CallWindowProcW
    00007FFC3C67D96B 0000000000000000 0000000000000000 00000000008CBBB0  COMCTL32.dll!CallNextSubclassProc
    00007FFC3C67DA88 0000000000000000 0000000000050940 0000000000000000  COMCTL32.dll!CallNextSubclassProc
    00007FFC3C67D802 0000000080006010 00000000008CBDB0 00000000008CC330  COMCTL32.dll!MasterSubclassProc
    00007FFC4A8C6CC1 0000000000050940 00007FFC3C67D760 0000000000050940  USER32.dll!UserCallWinProcCheckWow
    00007FFC4A8C688B 000000000C885D10 00000000008CC290 000000000000104B  USER32.dll!CallWindowProcW
    0000000069E6E6A0 00007FFC4A8C6FC2 0000000000000000 0000000000000000  wxmsw311u_gcc_cb.dll!wxWindow::MSWDefWindowProc
    0000000069E67EE4 0000000080006010 00000000008CC330 0000000000000000  wxmsw311u_gcc_cb.dll!wxWindow::MSWWindowProc
    00007FFC4A8C6CC1 0000000000000000 0000000069E708C0 0000000000050940  USER32.dll!UserCallWinProcCheckWow
    00007FFC4A8C62CE 0000000000000402 00000000008CC200 0000000000000000  USER32.dll!SendMessageWorker
    00007FFC4A8C6058 0000000000000000 0000000000000004 00000000008CC7D8  USER32.dll!SendMessageW
    0000000069ED3F3D 000000000C885D10 000000000000284B 0000000000000000  wxmsw311u_gcc_cb.dll!wxListCtrl::GetItem
    0000000069ED904C 00000000008CC9B0 00007FFC49A3789E 000000000F75EF20  wxmsw311u_gcc_cb.dll!wxListCtrl::MSWOnNotify
    0000000069E79964 0000000000000000 0000000003C90018 0000000000000000  wxmsw311u_gcc_cb.dll!wxWindow::MSWHandleMessage
    0000000069E67EBC 0000000080006010 00007FFC3C67E3F2 0000000000000001  wxmsw311u_gcc_cb.dll!wxWindow::MSWWindowProc
    00007FFC4A8C6CC1 00007FFC00000000 0000000069E708C0 00000000000309E4  USER32.dll!UserCallWinProcCheckWow
    00007FFC4A8C62CE 0000000000000000 0000000000050900 0000000000000329  USER32.dll!SendMessageWorker
    00007FFC4A8C6058 00000000008CCF40 0000000000000000 00000000008CCEB9  USER32.dll!SendMessageW
    00007FFC3C6A1DE9 0000000000000002 0000000000000000 0000000000000001  COMCTL32.dll!CCSendNotify
    00007FFC3C654464 0000000000000000 0000000000000000 0000000000000000  COMCTL32.dll!CLVItemStore::_SendChange
    00007FFC3C6A118A 0000EDE62E282765 0000000000000001 0000000000000001  COMCTL32.dll!CLVItemStore::OnSetItemState
    00007FFC3C6A0003 00007FFC4A8C6FC2 00007FFC4A8C6B37 0000000000000003  COMCTL32.dll!CListView::SetItemState
    00007FFC3C69E16F 0000000000000001 0000000000000000 0000000080006010  COMCTL32.dll!CListView::WndProc
    00007FFC3C69C279 0000000080006010 0000000000000001 0000000000000000  COMCTL32.dll!CListView::s_WndProc
    00007FFC4A8C6CC1 0000000000050940 00007FFC3C69C210 0000000000050940  USER32.dll!UserCallWinProcCheckWow
    00007FFC4A8C688B 00000000008CD7E0 0000000000000000 0000000000000000  USER32.dll!CallWindowProcW
    00007FFC3C67D96B 0000000000000000 0000000000000000 00000000008CD7E0  COMCTL32.dll!CallNextSubclassProc
    00007FFC3C67DA88 0000000000000000 0000000000050940 0000000000000000  COMCTL32.dll!CallNextSubclassProc
    00007FFC3C67D802 0000000080006010 0000000000000000 0000000000000001  COMCTL32.dll!MasterSubclassProc
    00007FFC4A8C6CC1 0000000000050940 00007FFC3C67D760 0000000000050940  USER32.dll!UserCallWinProcCheckWow
    00007FFC4A8C688B 000000000C885D10 00000000008CDE70 000000000000102B  USER32.dll!CallWindowProcW
    0000000069E6E6A0 0000000000000000 0000000080006010 0000000000000048  wxmsw311u_gcc_cb.dll!wxWindow::MSWDefWindowProc
    0000000069E67EE4 0000000080006010 0000000000000000 000000000C9DCE40  wxmsw311u_gcc_cb.dll!wxWindow::MSWWindowProc
    00007FFC4A8C6CC1 0000000000000001 0000000069E708C0 0000000000050940  USER32.dll!UserCallWinProcCheckWow
    00007FFC4A8C62CE 0000000000000001 0000000000000000 0000000000000000  USER32.dll!SendMessageWorker
    00007FFC4A8C6058 00000000008CDE70 00000000008CDEC8 0000000000000000  USER32.dll!SendMessageW
    0000000069ED81BB 00000000008CED00 00000000709F2F85 00000000008CED08  wxmsw311u_gcc_cb.dll!wxListCtrl::SetItemState
    00000000709F35A1 000000000C885D10 00000000008CED00 00000000008CED5C  codeblocks.dll!FilterItemsFinalize
    00000000709F372C 00000000008CEC48 000000000C885D10 00000000008CE550  codeblocks.dll!IncrementalSelectHandler::FilterItems
    00000000709F32DC 00000000008CEC48 000000000C885D10 000000000CA4BE20  codeblocks.dll!IncrementalSelectHandler::Init
    0000000000455479 00000000008CE900 0000000002935890 00000000008CED00  codeblocks.exe!0x55479
    0000000000454E1B 00000000008CE900 0000000002935890 00000000008CED00  codeblocks.exe!0x54e1b
    0000000000496D77 0000000002A8C270 00000000008CF370 0000000000000002  codeblocks.exe!0x96d77
    0000000069C03536 0000000000000001 0000000069D661A7 0000000000000801  wxmsw311u_gcc_cb.dll!wxAppConsoleBase::CallEventHandler
    0000000069D65C2E 0000000000000000 0000000002935890 0000000002935890  wxmsw311u_gcc_cb.dll!wxEvtHandler::ProcessEventIfMatchesId
    0000000069D65D33 0000000002A8C270 0000000006F972E0 0000000000000000  wxmsw311u_gcc_cb.dll!wxEventHashTable::HandleEvent
    0000000069D664A7 0000000000010302 0000000000000111 0000000000000000  wxmsw311u_gcc_cb.dll!wxEvtHandler::TryHereOnly
    0000000069D65ED3 0000000000000000 00000000031C47F0 00000000FFFFFFFF  wxmsw311u_gcc_cb.dll!wxEvtHandler::DoTryChain
    0000000069D66568 8100000000000000 00007FFC4A8C457D 0000000000000001  wxmsw311u_gcc_cb.dll!wxEvtHandler::ProcessEvent
    000000006A08C6B5 0000000000000003 00007FFC4A8C8B56 00000000008CF350  wxmsw311u_gcc_cb.dll!wxWindowBase::TryAfter
    0000000069D6825B 00000000013E4DF0 000000000C902520 00000000000A0653  wxmsw311u_gcc_cb.dll!wxEvtHandler::SafelyProcessEvent
    000000006A030885 00000000091FAE70 000000006A03060F 0000000000000003  wxmsw311u_gcc_cb.dll!wxMenuBase::DoProcessEvent
    000000006A0309BB 0000000000000047 00000000008CF560 0000000100000050  wxmsw311u_gcc_cb.dll!wxMenuBase::SendEvent
    0000000069EC25F8 0000000002935890 00000000000006B8 0000000000000000  wxmsw311u_gcc_cb.dll!wxFrame::HandleCommand
    0000000069EC3AC0 0000000080006010 0000000000000001 0000000000000000  wxmsw311u_gcc_cb.dll!wxFrame::MSWWindowProc
    00007FFC4A8C6CC1 00000000008CF798 0000000069E708C0 00000000000705FA  USER32.dll!UserCallWinProcCheckWow
    00007FFC4A8C699C 0000000000000000 0000000000000000 0000000000010302  USER32.dll!DispatchClientMessage
    00007FFC4A8D0453 000000000000003F 00007FFC4AD80C80 0000000000000001  USER32.dll!__fnDWORD
    00007FFC4C8BDC04 0000000069E93EE9 0000000000000001 0000000000000000  ntdll.dll!KiUserCallbackDispatch
    00007FFC490812A4 0000000000000001 0000000000000000 000000000000003F  win32u.dll!NtUserTranslateAccelerator
    0000000069E93EE9 0000000002935890 FFFFFFFF00000000 00000000008CFA20  wxmsw311u_gcc_cb.dll!wxAcceleratorTable::Translate
    0000000069EC23B4 0000000000000000 0000000000000000 00000000008CFA10  wxmsw311u_gcc_cb.dll!wxFrame::MSWDoTranslateMessage
    0000000000511778 0000000002935890 00000000008CFA10 0000000000000000  codeblocks.exe!0x111778
    0000000069EBCE68 01D460BD72ED733A 0000000000000000 0000000000000000  wxmsw311u_gcc_cb.dll!wxGUIEventLoop::PreProcessMessage
    0000000069EBCD81 00000000089FE6B0 000000006AC9E100 0000000000000000  wxmsw311u_gcc_cb.dll!wxGUIEventLoop::ProcessMessage
    0000000069EBCBB9 000000006AC9E140 000000000CA26DB0 000000006AC9E140  wxmsw311u_gcc_cb.dll!wxGUIEventLoop::Dispatch
    0000000069C3DE72 000000006AC9E140 00007FFC4AD09960 0000000000000040  wxmsw311u_gcc_cb.dll!wxEventLoopManual::ProcessEvents
    0000000069C3DF3B 00000000028463C0 000000000CA26DB0 0000000000000008  wxmsw311u_gcc_cb.dll!wxEventLoopManual::DoRun
    0000000069C3DB1A 000000000956F460 000000020000001C 000000000965F800  wxmsw311u_gcc_cb.dll!wxEventLoopBase::Run
    0000000069C082FA 0000000000000000 0000000002846450 00000000F50001F4  wxmsw311u_gcc_cb.dll!wxAppConsoleBase::MainLoop
    00000000004051AE 00000000028463C0 0000000069D7314B 00000000000E2482  codeblocks.exe!0x51ae
    0000000069C87138 000000000000002D 000000000000002D 0000000000000000  wxmsw311u_gcc_cb.dll!wxInitialize
    00000000004022E3 0000000000400000 0000000000000000 00000000000E364F  codeblocks.exe!0x22e3
    00000000004013E8 0000000000000000 0000000000000000 0000000000000000  codeblocks.exe!0x13e8
    00000000004014EB 0000000000000000 0000000000000000 0000000000000000  codeblocks.exe!0x14eb
    00007FFC4AE03034 0000000000000000 0000000000000000 0000000000000000  KERNEL32.DLL!BaseThreadInitThunk
    00007FFC4C891461 0000000000000000 0000000000000000 0000000000000000  ntdll.dll!RtlUserThreadStart
    Be a part of the solution, not a part of the problem.

    Offline Quiss

    • Multiple posting newcomer
    • *
    • Posts: 76
    Re: The 08 October 2018 build (11499) is out.
    « Reply #13 on: October 13, 2018, 06:29:22 am »
    Yes, patch fixes the issue. Without that, after step into this line:
    Code
    list.SetItemState(0, wxLIST_STATE_SELECTED, wxLIST_STATE_SELECTED);

    It goes to:
    Code
    wxString IncrementalListCtrl::OnGetItemText(long item, long column) const
    {
        return m_Iterator->GetDisplayText(item, column);
    }
    Which is where crash occures.

    Offline headkase

    • Almost regular
    • **
    • Posts: 159
    Re: The 08 October 2018 build (11499) is out.
    « Reply #14 on: October 17, 2018, 03:50:11 am »
    Hey guys i got a Problem on Manjaro/Arch with Version 17.12
    i installed CB through official repo and it crashs at copy text ( strg + c / + v )

    now i installed through AUR codeblocks-svn and its fine, but i didnt find official nightlies for linux.

    where could i find and how to install that?

    You're on Manjaro, not Arch.  Manjaro configures things for you so you don't actually know how it's set up like you know with Arch.

    codeblocks-svn from the AUR is the proper way to build from source.  Makepkg with that and it will pull in the most current version at the time you invoked it.

    Offline riban

    • Multiple posting newcomer
    • *
    • Posts: 26
    Re: The 08 October 2018 build (11499) is out.
    « Reply #15 on: October 20, 2018, 07:25:47 pm »
    Windows 7 64-bit: Something triggers Codeblocks to ramp CPU up to 100% (25% on 4 core because CB only uses one core) and closing Codeblocks leaves it running in the background consuming 100% CPU. Not figured out what is causing this yet but it is not compilation because I have been using it as an editor only with three projects in a workspace.

    Offline oBFusCATed

    • Developer
    • Lives here!
    • *****
    • Posts: 13406
      • Travis build status
    Re: The 08 October 2018 build (11499) is out.
    « Reply #16 on: October 20, 2018, 08:33:46 pm »
    The easiest way is to attach a debugger and break it to see where it is stuck.
    Is this reproducible? Does it happen with older night builds? With 17.12?
    (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 New Pagodi

    • Multiple posting newcomer
    • *
    • Posts: 41
    Re: The 08 October 2018 build (11499) is out.
    « Reply #17 on: October 20, 2018, 09:13:46 pm »
    Windows 7 64-bit: Something triggers Codeblocks to ramp CPU up to 100% (25% on 4 core because CB only uses one core) and closing Codeblocks leaves it running in the background consuming 100% CPU. Not figured out what is causing this yet but it is not compilation because I have been using it as an editor only with three projects in a workspace.

    I noticed the same thing yesterday when I heard my fans spinning louder than they should have been.  Task manager showed codeblocks was the culprit.  I then killed the program in task manager, restarted and the same problem happened again.  After doing that 2 or 3 times, I switched back to the March 10th build and didn't have any problem with the same projects.

    I switched back to this build today, but the problem doesn't seem to be happening today for some reason.

    Offline oBFusCATed

    • Developer
    • Lives here!
    • *****
    • Posts: 13406
      • Travis build status
    Re: The 08 October 2018 build (11499) is out.
    « Reply #18 on: October 21, 2018, 12:02:45 am »
    Interesting... Let us know if you see it again... If you can find the culprit it would be even better.
    (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 stahta01

    • Lives here!
    • ****
    • Posts: 7678
      • My Best Post
    Re: The 08 October 2018 build (11499) is out.
    « Reply #19 on: October 21, 2018, 04:03:06 am »
    Interesting... Let us know if you see it again... If you can find the culprit it would be even better.

    Link no idea if it is the same issue https://trac.wxwidgets.org/ticket/17094

    Tim S.
    C Programmer working to learn more about C++ and Git.
    On Windows 7 64 bit and Windows 10 64 bit.
    --
    When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

    Offline ollydbg

    • Developer
    • Lives here!
    • *****
    • Posts: 6034
    • OpenCV and Robotics
      • Chinese OpenCV forum moderator
    Re: The 08 October 2018 build (11499) is out.
    « Reply #20 on: October 21, 2018, 08:00:35 am »
    Maybe, CodeCompletion plugin may cause the hang issue, but this is only a wild guess. I have to reproduce the issue.  :)
    If some piece of memory should be reused, turn them to variables (or const variables).
    If some piece of operations should be reused, turn them to functions.
    If they happened together, then turn them to classes.

    Offline riban

    • Multiple posting newcomer
    • *
    • Posts: 26
    Re: The 08 October 2018 build (11499) is out.
    « Reply #21 on: October 21, 2018, 11:00:38 am »
    Full CPU usage is not occuring with 17.12 but continues to occur with SVN 11499. Code completion continues to work whilst in this state. I have not figured out what workflow (if any) triggers this. It looks quite random at the moment. I am running device manager to watch for when this occurs but this is proving challenging to capture.

    I started SVN 11499. Opened a workplace with three projects then left it alone. When I came back 30 mins later it was consuming 100% CPU. Then I started SVN 11499 without any projects open and within 5 mins it was consuming 100% CPU. So this is not driven by a manual user workflow. Anyone have instructions on how to gather useful debug info?
    « Last Edit: October 21, 2018, 12:42:38 pm by riban »

    Offline stahta01

    • Lives here!
    • ****
    • Posts: 7678
      • My Best Post
    Re: The 08 October 2018 build (11499) is out.
    « Reply #22 on: October 21, 2018, 04:11:27 pm »
    Can anyone test disabling and enabling of ThreadSearch plugin?

    It crashes on my Win7 64 bit PC.

    Edit: I am trying to duplicate the slow down issue and it failed to enable all the plugins.
    I plan to build CB from source to see where ThreadSearch crashes; but, it will likely be several days before I can do it.
    Edit2: Since ollydbg posted a backtrace I will not try to locate the ThreadSearch location. That is all that I planned to do.
    Fixing the reason for crashing is normally beyond my ability.

    Tim S.
    « Last Edit: October 21, 2018, 04:37:39 pm by stahta01 »
    C Programmer working to learn more about C++ and Git.
    On Windows 7 64 bit and Windows 10 64 bit.
    --
    When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

    Offline ollydbg

    • Developer
    • Lives here!
    • *****
    • Posts: 6034
    • OpenCV and Robotics
      • Chinese OpenCV forum moderator
    Re: The 08 October 2018 build (11499) is out.
    « Reply #23 on: October 21, 2018, 04:24:29 pm »
    ...
    So this is not driven by a manual user workflow. Anyone have instructions on how to gather useful debug info?
    Normally, I guess the parser goes to an endless loop in this case. I can debug the parser, but I need a test project to reproduce this bug.
    Any way, I will review the code changes made recently in the code completion plugin.
    Thanks.
    If some piece of memory should be reused, turn them to variables (or const variables).
    If some piece of operations should be reused, turn them to functions.
    If they happened together, then turn them to classes.

    Offline ollydbg

    • Developer
    • Lives here!
    • *****
    • Posts: 6034
    • OpenCV and Robotics
      • Chinese OpenCV forum moderator
    Re: The 08 October 2018 build (11499) is out.
    « Reply #24 on: October 21, 2018, 04:32:38 pm »
    Can anyone test disabling and enabling of ThreadSearch plugin?

    It crashes on my Win7 64 bit PC.

    Edit: I am trying to duplicate the slow down issue and it failed to enable all the plugins.
    I plan to build CB from source to see where ThreadSearch crashes; but, it will likely be several days before I can do it.

    Tim S.
    Hi, Tim, I just test this. I'm using 32bit mingw-w64's gcc 7.2, and wx 3.1.1 under Windows 7(64bit) OS.
    I see that disabling thread-search plugin cause a crash, see the bt below:

    Code
    [debug][New Thread 1996.0x1c54]
    [debug]Thread 1 received signal SIGSEGV, Segmentation fault.
    [debug]0x0fca33bd in ThreadSearchViewManagerMessagesNotebook::RemoveViewFromManager (this=0x18cc5fd0) at D:\code\cb\cb_sf_git\clean-trunk-for-commit\src\plugins\contrib\ThreadSearch\ThreadSearchViewManagerMessagesNotebook.cpp:61
    [debug]D:\code\cb\cb_sf_git\clean-trunk-for-commit\src\plugins\contrib\ThreadSearch\ThreadSearchViewManagerMessagesNotebook.cpp:61:1999:beg:0xfca33bd
    [debug]>>>>>>cb_gdb:

    At D:\code\cb\cb_sf_git\clean-trunk-for-commit\src\plugins\contrib\ThreadSearch\ThreadSearchViewManagerMessagesNotebook.cpp:61

    [debug]> show language
    [debug]The current source language is "auto; currently c++".
    [debug]>>>>>>cb_gdb:
    [debug]> bt 30
    [debug]#0  0x0fca33bd in ThreadSearchViewManagerMessagesNotebook::RemoveViewFromManager (this=0x18cc5fd0) at D:\code\cb\cb_sf_git\clean-trunk-for-commit\src\plugins\contrib\ThreadSearch\ThreadSearchViewManagerMessagesNotebook.cpp:61
    [debug]#1  0x0fc8675c in ThreadSearch::OnRelease (this=0x86e8788) at D:\code\cb\cb_sf_git\clean-trunk-for-commit\src\plugins\contrib\ThreadSearch\ThreadSearch.cpp:231
    [debug]#2  0x694a1a56 in cbPlugin::Release (this=0x86e8788, appShutDown=false) at D:\code\cb\cb_sf_git\clean-trunk-for-commit\src\sdk\cbplugin.cpp:88
    [debug]#3  0x69543722 in PluginManager::DetachPlugin (this=0x8261870, plugin=0x86e8788) at D:\code\cb\cb_sf_git\clean-trunk-for-commit\src\sdk\pluginmanager.cpp:209
    [debug]#4  0x6954d8a9 in PluginsConfigurationDlg::OnToggle (this=0x28f3ec, event=...) at D:\code\cb\cb_sf_git\clean-trunk-for-commit\src\sdk\pluginsconfigurationdlg.cpp:216
    [debug]#5  0x01f72d82 in wxAppConsoleBase::HandleEvent(wxEvtHandler*, void (wxEvtHandler::*)(wxEvent&), wxEvent&) const () from E:\wxWidgets-3.1.1-rc\lib\gcc_dll\wxmsw311u_gcc_cb.dll
    [debug]#6  0x01f73257 in wxAppConsoleBase::CallEventHandler(wxEvtHandler*, wxEventFunctor&, wxEvent&) const () from E:\wxWidgets-3.1.1-rc\lib\gcc_dll\wxmsw311u_gcc_cb.dll
    [debug]#7  0x020d01de in wxEvtHandler::ProcessEventIfMatchesId(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&) () from E:\wxWidgets-3.1.1-rc\lib\gcc_dll\wxmsw311u_gcc_cb.dll
    [debug]#8  0x020d02aa in wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*) () from E:\wxWidgets-3.1.1-rc\lib\gcc_dll\wxmsw311u_gcc_cb.dll
    [debug]#9  0x020d0a31 in wxEvtHandler::TryHereOnly(wxEvent&) () from E:\wxWidgets-3.1.1-rc\lib\gcc_dll\wxmsw311u_gcc_cb.dll
    [debug]#10 0x020d0a9a in wxEvtHandler::ProcessEventLocally(wxEvent&) () from E:\wxWidgets-3.1.1-rc\lib\gcc_dll\wxmsw311u_gcc_cb.dll
    [debug]#11 0x020d0af3 in wxEvtHandler::ProcessEvent(wxEvent&) () from E:\wxWidgets-3.1.1-rc\lib\gcc_dll\wxmsw311u_gcc_cb.dll
    [debug]#12 0x023cb9c4 in wxWindowBase::TryAfter(wxEvent&) () from E:\wxWidgets-3.1.1-rc\lib\gcc_dll\wxmsw311u_gcc_cb.dll
    [debug]#13 0x020d27e2 in wxEvtHandler::SafelyProcessEvent(wxEvent&) () from E:\wxWidgets-3.1.1-rc\lib\gcc_dll\wxmsw311u_gcc_cb.dll
    [debug]#14 0x021f8dfd in wxButton::SendClickEvent() () from E:\wxWidgets-3.1.1-rc\lib\gcc_dll\wxmsw311u_gcc_cb.dll
    [debug]#15 0x021f8e81 in wxButton::MSWCommand(unsigned int, unsigned short) () from E:\wxWidgets-3.1.1-rc\lib\gcc_dll\wxmsw311u_gcc_cb.dll
    [debug]#16 0x021c9d19 in wxWindow::HandleCommand(unsigned short, unsigned short, HWND__*) () from E:\wxWidgets-3.1.1-rc\lib\gcc_dll\wxmsw311u_gcc_cb.dll
    [debug]#17 0x021d3a99 in wxWindow::MSWHandleMessage(long*, unsigned int, unsigned int, long) () from E:\wxWidgets-3.1.1-rc\lib\gcc_dll\wxmsw311u_gcc_cb.dll
    [debug]#18 0x021c4150 in wxWindow::MSWWindowProc(unsigned int, unsigned int, long) () from E:\wxWidgets-3.1.1-rc\lib\gcc_dll\wxmsw311u_gcc_cb.dll
    [debug]#19 0x021cc272 in wxWndProc(HWND__*, unsigned int, unsigned int, long)@16 () from E:\wxWidgets-3.1.1-rc\lib\gcc_dll\wxmsw311u_gcc_cb.dll
    [debug]#20 0x753e62fa in gapfnScSendMessage () from C:\windows\syswow64\user32.dll
    [debug]#21 0x000412ae in ?? ()
    [debug]#22 0x00000111 in ?? ()
    [debug]#23 0x00008320 in ?? ()
    [debug]#24 0x00021296 in ?? () from C:\Windows\SysWOW64\mpr.dll
    [debug]#25 0x753e6d3a in USER32!GetThreadDesktop () from C:\windows\syswow64\user32.dll
    [debug]#26 0x021cc200 in wxWindow::SubclassWin(HWND__*) () from E:\wxWidgets-3.1.1-rc\lib\gcc_dll\wxmsw311u_gcc_cb.dll
    [debug]#27 0x753e965e in USER32!GetWindow () from C:\windows\syswow64\user32.dll
    [debug]#28 0x00000000 in ?? ()
    [debug]>>>>>>cb_gdb:
    If some piece of memory should be reused, turn them to variables (or const variables).
    If some piece of operations should be reused, turn them to functions.
    If they happened together, then turn them to classes.

    Offline Kilmatead

    • Single posting newcomer
    • *
    • Posts: 5
    Re: The 08 October 2018 build (11499) is out.
    « Reply #25 on: October 21, 2018, 04:58:07 pm »
    Normally, I guess the parser goes to an endless loop in this case. I can debug the parser, but I need a test project to reproduce this bug.
    Any way, I will review the code changes made recently in the code completion plugin.
    Thanks.
    For what it's worth, Riban's observation that it seems to happen if you just leave CB idle in the background is an oddly reliable way of recreating the hang (anywhere from 30 minutes to an hour).

    A mini procdump of this hung CodeBlocks is available here

    And, just for giggles, processhacker shows the offending thread is always stuck in the same place:


    Offline stahta01

    • Lives here!
    • ****
    • Posts: 7678
      • My Best Post
    Re: The 08 October 2018 build (11499) is out.
    « Reply #26 on: October 21, 2018, 07:09:26 pm »
    Normally, I guess the parser goes to an endless loop in this case. I can debug the parser, but I need a test project to reproduce this bug.
    Any way, I will review the code changes made recently in the code completion plugin.
    Thanks.
    For what it's worth, Riban's observation that it seems to happen if you just leave CB idle in the background is an oddly reliable way of recreating the hang (anywhere from 30 minutes to an hour).

    I also duplicated the problem no idea how long I let CB idle before seeing it.
    I went away and saw the problem after I came back.

    I plan on trying the fix suggested in the wx bug post and seeing if it works.
    Edit: https://trac.wxwidgets.org/ticket/17094   [wxMSW] High CPU usage when application is idle
    Will take several hours since first I have to confirm issue is in wx git master branch
    Edit2: Will likely take several days; I will need to test the changes a lot for such a small piece of code.
    Edit3: Failed to see problem with CB SVN 11503 and WX Git master less than 5 days old; when only using Core plugins.
    Now going to try using core and contrib plugins and see if I can get high CB CPU usage.

    Tim S.
    « Last Edit: October 21, 2018, 11:39:17 pm by stahta01 »
    C Programmer working to learn more about C++ and Git.
    On Windows 7 64 bit and Windows 10 64 bit.
    --
    When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

    Offline oBFusCATed

    • Developer
    • Lives here!
    • *****
    • Posts: 13406
      • Travis build status
    Re: The 08 October 2018 build (11499) is out.
    « Reply #27 on: October 22, 2018, 06:55:50 pm »
    @Kilmatead: What happens if you disable the file manager plugin?
    (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 New Pagodi

    • Multiple posting newcomer
    • *
    • Posts: 41
    Re: The 08 October 2018 build (11499) is out.
    « Reply #28 on: October 22, 2018, 08:01:05 pm »
    @Kilmatead: What happens if you disable the file manager plugin?

    That seems to have stopped the problem for me, but I guess I should wait a day or two to say for sure.  What does that plugin do?

    Offline oBFusCATed

    • Developer
    • Lives here!
    • *****
    • Posts: 13406
      • Travis build status
    Re: The 08 October 2018 build (11499) is out.
    « Reply #29 on: October 22, 2018, 09:20:00 pm »
    Shows the File manager tab next to the Projects tab. It is showing a tree view of the files on the hard disk.
    Can someone reproduce this with a build with symbols and show us the function which causes the problem?

    Does this happen with the previous night build?
    (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 New Pagodi

    • Multiple posting newcomer
    • *
    • Posts: 41
    Re: The 08 October 2018 build (11499) is out.
    « Reply #30 on: October 22, 2018, 10:41:33 pm »
    I'll try to use the 15 August 2018 build for a few days and see if it happens.

    Offline Kilmatead

    • Single posting newcomer
    • *
    • Posts: 5
    Re: The 08 October 2018 build (11499) is out.
    « Reply #31 on: October 22, 2018, 11:38:58 pm »
    @Kilmatead: What happens if you disable the file manager plugin?
    As noted by New Pagodi, this seems to have solved it.  At least after giving it a speculative 3-hour "idle test". :)

    Quote from: oBFusCATed
    Does this happen with the previous night build?
    No... I used that build for 2 months with nary a complaint.

    Offline stahta01

    • Lives here!
    • ****
    • Posts: 7678
      • My Best Post
    Re: The 08 October 2018 build (11499) is out.
    « Reply #32 on: October 23, 2018, 12:14:40 am »
    Can now duplicate the CPU high usage very fast with nightly build.
    With FileManager Enabled, right click on folder and choose refresh under the Management pane and files tab

    Tim S.
    C Programmer working to learn more about C++ and Git.
    On Windows 7 64 bit and Windows 10 64 bit.
    --
    When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

    Offline stahta01

    • Lives here!
    • ****
    • Posts: 7678
      • My Best Post
    Re: The 08 October 2018 build (11499) is out.
    « Reply #33 on: October 26, 2018, 04:57:03 pm »
    Can now duplicate the CPU high usage very fast with nightly build.
    With FileManager Enabled, right click on folder and choose refresh under the Management pane and files tab

    Tim S.

    I am working on building CB using MSys2 GCC with debug build option.

    What gdb commands do I need to use/learn to get the information to so someone can fix this bug.

    I am a gdb newbie level user; the most advanced command I have used is bt (backtrace).

    Edit: Plan is to try the bt (backtrace) command unless someone gives better suggestion.

    Tim S.
    « Last Edit: October 26, 2018, 05:03:38 pm by stahta01 »
    C Programmer working to learn more about C++ and Git.
    On Windows 7 64 bit and Windows 10 64 bit.
    --
    When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

    Offline oBFusCATed

    • Developer
    • Lives here!
    • *****
    • Posts: 13406
      • Travis build status
    Re: The 08 October 2018 build (11499) is out.
    « Reply #34 on: October 26, 2018, 07:22:48 pm »
    "thread apply all bt" is better than bt, because it prints the stack for all threads.
    (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 Quiss

    • Multiple posting newcomer
    • *
    • Posts: 76
    Re: The 08 October 2018 build (11499) is out.
    « Reply #35 on: December 19, 2018, 01:58:40 pm »
    Can now duplicate the CPU high usage very fast with nightly build.
    With FileManager Enabled, right click on folder and choose refresh under the Management pane and files tab

    Tim S.
    I've built several revisions and found that, this starts with rev11463; rev11462 is ok.

    Windows 10-x64-v1809
    wxWidgets3.1.1-x64 with mingw64-7.2.0

    Offline oBFusCATed

    • Developer
    • Lives here!
    • *****
    • Posts: 13406
      • Travis build status
    Re: The 08 October 2018 build (11499) is out.
    « Reply #36 on: December 19, 2018, 02:54:22 pm »
    Thanks for doing the bisect. It is obvious that this commit is wrong. I don't know where I've looked while doing the review.

    Can you try if this change fixes it:
    Code
    diff --git a/src/plugins/contrib/FileManager/directorymonitor.cpp b/src/plugins/contrib/FileManager/directorymonitor.cpp
    index e6dd9b64f..f95220d8d 100644
    --- a/src/plugins/contrib/FileManager/directorymonitor.cpp
    +++ b/src/plugins/contrib/FileManager/directorymonitor.cpp
    @@ -370,10 +370,10 @@ public:
                     {
                         delete it->second;
                         it = m_monmap.erase(it);
    +                    continue;
                     }
    -                else
    -                    ++it;
                 }
    +            ++it;
             }
             for(size_t i=0;i<update_paths.GetCount();i++)
             {

    (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 Quiss

    • Multiple posting newcomer
    • *
    • Posts: 76
    Re: The 08 October 2018 build (11499) is out.
    « Reply #37 on: December 20, 2018, 06:37:49 am »
    Yes, this patch fixes the issue. No high cpu when right click-refresh folder, also it's been opened for half an hour.