Author Topic: The 03 May 2021 build (12315) is out.  (Read 3562 times)

Offline killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 5295
The 03 May 2021 build (12315) is out.
« on: May 03, 2021, 10:21:14 am »
We switched to wx 3.1.5 --> download the new wx dll's see link below

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 : https://sourceforge.net/projects/codeblocks/files/Binaries/Nightlies/Prerequisites/wxmsw31u_gcc_cb_wx315_2D_gcc810-mingw64.7z
A link to Mingw64 dll's needed by Code::Blocks : http://sourceforge.net/projects/codeblocks/files/Binaries/Nightlies/Prerequisites/Mingw64dlls8.1.0.7z


The 03 May 2021 build is out.
  - Windows :
   http://sourceforge.net/projects/codeblocks/files/Binaries/Nightlies/2021/CB_20210503_rev12315_win64.7z
  - Linux :
   none

The current SDK version is : 2.6.0

Resolved Fixed:

  • help_plugin: Fix access violation on windows (ticket #1089, thanks Miguel Gimenez)

Regressions/Confirmed/Annoying/Common bugs:


    « Last Edit: May 12, 2021, 11:22:43 pm by killerbot »

    Offline LETARTARE

    • Regular
    • ***
    • Posts: 445
    • L'ami de l'homme.The friend of man.
    CB-rev12462, plugins : AddOnForQt-3.3 sdk290
    1-Win7 Business Pack1 64bits : wx-3.1.5, gcc-8.1.0,
    2-Vista Business Pack2 32bits : wx-3.1.4, gcc-8.1.0
    3-OpenSuse-15.2-Leap 64bits : wx-3.03, gcc-7.5.
    => !! The messages are translated by Deepl !!

    Offline dimi_s

    • Single posting newcomer
    • *
    • Posts: 3
    Re: The 03 May 2021 build (12315) is out.
    « Reply #2 on: May 04, 2021, 07:21:35 am »
    Hi CB-Team!

    Downloaded, unpacked, and ran.
    After the GUI configuration CB closed and got an error (see attachement)

    Error is reproducible. Simply delete the AppData folder and run it again (I use CbLauncher for portable mode).
    When the program is closed for the first time, you will be asked: save the configuration or not. Answer "Yes" and this error occurs.
    « Last Edit: May 04, 2021, 07:25:48 am by dimi_s »

    Offline Khram

    • Multiple posting newcomer
    • *
    • Posts: 28
    • 3D-tensor mathematics - vector space
      • ShipDesign
    Re: The 03 May 2021 build (12315) is out.
    « Reply #3 on: May 04, 2021, 08:22:37 am »
    ...
    Get quick announcements through the RSS feed http://www.codeblocks.org/nightly/CodeBlock_RSS.xml == 404 Not Found
    C++ & Fortran in MinGW-GCC-4.3.3 & Equation-GCC-11.1 with CB-12487

    Offline Miguel Gimenez

    • Lives here!
    • ****
    • Posts: 734
    Re: The 03 May 2021 build (12315) is out.
    « Reply #4 on: May 04, 2021, 10:03:53 am »
    This is the backtrace of dimi_s error:

    Code
    #0  0x62db6178 in wxChoice::GetString(unsigned int) const () from C:\WINDOWS\SYSTEM32\wxmsw315u_gcc_custom.dll
    #1  0x0cf2cb7e in FileExplorer::WriteConfig (this=0x1d8215a8)
        at C:\Codeblocks\src\plugins\contrib\FileManager\FileExplorer.cpp:820
    #2  0x0cf28810 in FileExplorer::~FileExplorer (this=0x1d8215a8, __in_chrg=<optimized out>)
        at C:\Codeblocks\src\plugins\contrib\FileManager\FileExplorer.cpp:365
    #3  0x0cf28909 in FileExplorer::~FileExplorer (this=0x1d8215a8, __in_chrg=<optimized out>)
        at C:\Codeblocks\src\plugins\contrib\FileManager\FileExplorer.cpp:369
    #4  0x0cf57bac in FileManagerPlugin::OnRelease (this=0xa9f2580)
        at C:\Codeblocks\src\plugins\contrib\FileManager\FileManager.cpp:56
    #5  0x694ab4ce in cbPlugin::Release (this=0xa9f2580, appShutDown=true) at C:\Codeblocks\src\sdk\cbplugin.cpp:88
    #6  0x6958b970 in PluginManager::DetachPlugin (this=0x4ac18f8, plugin=0xa9f2580)
        at C:\Codeblocks\src\sdk\pluginmanager.cpp:209
    #7  0x695950ab in PluginManager::UnloadPlugin (this=0x4ac18f8, plugin=0xa9f2580)
        at C:\Codeblocks\src\sdk\pluginmanager.cpp:1146
    #8  0x6959505d in PluginManager::UnloadAllPlugins (this=0x4ac18f8) at C:\Codeblocks\src\sdk\pluginmanager.cpp:1133
    #9  0x6958b81e in PluginManager::~PluginManager (this=0x4ac18f8, __in_chrg=<optimized out>)
        at C:\Codeblocks\src\sdk\pluginmanager.cpp:178
    #10 0x6958b897 in PluginManager::~PluginManager (this=0x4ac18f8, __in_chrg=<optimized out>)
        at C:\Codeblocks\src\sdk\pluginmanager.cpp:179
    #11 0x697d3d14 in Mgr<PluginManager>::Free () at C:/Codeblocks/src/include/manager.h:235
    #12 0x6957a95f in Manager::Shutdown () at C:\Codeblocks\src\sdk\manager.cpp:242
    #13 0x00492b3a in MainFrame::OnApplicationClose (this=0x4818590, event=...) at C:\Codeblocks\src\src\main.cpp:3118
    #14 0x62a43222 in wxAppConsoleBase::HandleEvent(wxEvtHandler*, void (wxEvtHandler::*)(wxEvent&), wxEvent&) const ()
       from C:\WINDOWS\SYSTEM32\wxmsw315u_gcc_custom.dll
    #15 0x01efecb8 in ?? ()
    Backtrace stopped: previous frame inner to this frame (corrupt stack?)

    Offline ollydbg

    • Developer
    • Lives here!
    • *****
    • Posts: 5358
    • OpenCV and Robotics
      • Chinese OpenCV forum moderator
    Re: The 03 May 2021 build (12315) is out.
    « Reply #5 on: May 04, 2021, 10:40:21 am »
    This is the backtrace of dimi_s error:

    Code
    #0  0x62db6178 in wxChoice::GetString(unsigned int) const () from C:\WINDOWS\SYSTEM32\wxmsw315u_gcc_custom.dll
    #1  0x0cf2cb7e in FileExplorer::WriteConfig (this=0x1d8215a8)
        at C:\Codeblocks\src\plugins\contrib\FileManager\FileExplorer.cpp:820
    #2  0x0cf28810 in FileExplorer::~FileExplorer (this=0x1d8215a8, __in_chrg=<optimized out>)
        at C:\Codeblocks\src\plugins\contrib\FileManager\FileExplorer.cpp:365
    #3  0x0cf28909 in FileExplorer::~FileExplorer (this=0x1d8215a8, __in_chrg=<optimized out>)
        at C:\Codeblocks\src\plugins\contrib\FileManager\FileExplorer.cpp:369
    #4  0x0cf57bac in FileManagerPlugin::OnRelease (this=0xa9f2580)
        at C:\Codeblocks\src\plugins\contrib\FileManager\FileManager.cpp:56
    #5  0x694ab4ce in cbPlugin::Release (this=0xa9f2580, appShutDown=true) at C:\Codeblocks\src\sdk\cbplugin.cpp:88
    #6  0x6958b970 in PluginManager::DetachPlugin (this=0x4ac18f8, plugin=0xa9f2580)
        at C:\Codeblocks\src\sdk\pluginmanager.cpp:209
    #7  0x695950ab in PluginManager::UnloadPlugin (this=0x4ac18f8, plugin=0xa9f2580)
        at C:\Codeblocks\src\sdk\pluginmanager.cpp:1146
    #8  0x6959505d in PluginManager::UnloadAllPlugins (this=0x4ac18f8) at C:\Codeblocks\src\sdk\pluginmanager.cpp:1133
    #9  0x6958b81e in PluginManager::~PluginManager (this=0x4ac18f8, __in_chrg=<optimized out>)
        at C:\Codeblocks\src\sdk\pluginmanager.cpp:178
    #10 0x6958b897 in PluginManager::~PluginManager (this=0x4ac18f8, __in_chrg=<optimized out>)
        at C:\Codeblocks\src\sdk\pluginmanager.cpp:179
    #11 0x697d3d14 in Mgr<PluginManager>::Free () at C:/Codeblocks/src/include/manager.h:235
    #12 0x6957a95f in Manager::Shutdown () at C:\Codeblocks\src\sdk\manager.cpp:242
    #13 0x00492b3a in MainFrame::OnApplicationClose (this=0x4818590, event=...) at C:\Codeblocks\src\src\main.cpp:3118
    #14 0x62a43222 in wxAppConsoleBase::HandleEvent(wxEvtHandler*, void (wxEvtHandler::*)(wxEvent&), wxEvent&) const ()
       from C:\WINDOWS\SYSTEM32\wxmsw315u_gcc_custom.dll
    #15 0x01efecb8 in ?? ()
    Backtrace stopped: previous frame inner to this frame (corrupt stack?)

    I got a similar error in 64bit windows and 64bit gcc 11.1 compiler:

    Code
    #0  0x000000006921b840 in wxChoice::GetString(unsigned int) const () from d:\code\wxWidgets-3.1.5\lib\gcc_dll\wxmsw315u_gcc_cb.dll
    #1  0x000000006dc8a793 in FileExplorer::WriteConfig (this=0xc5a5040) at D:\code\cbsource\codeblocks_sf\src\plugins\contrib\FileManager\FileExplorer.cpp:820
    #2  0x000000006dc86fe2 in FileExplorer::~FileExplorer (this=0xc5a5040, __in_chrg=<optimized out>) at D:\code\cbsource\codeblocks_sf\src\plugins\contrib\FileManager\FileExplorer.cpp:365
    #3  0x000000006dc870e7 in FileExplorer::~FileExplorer (this=0xc5a5040, __in_chrg=<optimized out>) at D:\code\cbsource\codeblocks_sf\src\plugins\contrib\FileManager\FileExplorer.cpp:369
    #4  0x000000006dcac5ad in FileManagerPlugin::OnRelease (this=0xbc40550) at D:\code\cbsource\codeblocks_sf\src\plugins\contrib\FileManager\FileManager.cpp:56
    #5  0x000000007096418b in cbPlugin::Release (this=0xbc40550, appShutDown=true) at D:\code\cbsource\codeblocks_sf\src\sdk\cbplugin.cpp:88
    #6  0x0000000070a1ae1f in PluginManager::DetachPlugin (this=0x690de10, plugin=0xbc40550) at D:\code\cbsource\codeblocks_sf\src\sdk\pluginmanager.cpp:209
    #7  0x0000000070a2245a in PluginManager::UnloadPlugin (this=0x690de10, plugin=0xbc40550) at D:\code\cbsource\codeblocks_sf\src\sdk\pluginmanager.cpp:1146
    #8  0x0000000070a223e1 in PluginManager::UnloadAllPlugins (this=0x690de10) at D:\code\cbsource\codeblocks_sf\src\sdk\pluginmanager.cpp:1133
    #9  0x0000000070a1ac98 in PluginManager::~PluginManager (this=0x690de10, __in_chrg=<optimized out>) at D:\code\cbsource\codeblocks_sf\src\sdk\pluginmanager.cpp:178
    #10 0x0000000070a1ad23 in PluginManager::~PluginManager (this=0x690de10, __in_chrg=<optimized out>) at D:\code\cbsource\codeblocks_sf\src\sdk\pluginmanager.cpp:179
    #11 0x0000000070c44060 in Mgr<PluginManager>::Free () at D:\code\cbsource\codeblocks_sf\src\include\manager.h:235
    #12 0x0000000070a0bd23 in Manager::Shutdown () at D:\code\cbsource\codeblocks_sf\src\sdk\manager.cpp:242
    #13 0x000000000047459a in MainFrame::OnApplicationClose (this=0x480ddf0, event=...) at D:\code\cbsource\codeblocks_sf\src\src\main.cpp:3118
    #14 0x0000000068f8301f in wxAppConsoleBase::CallEventHandler(wxEvtHandler*, wxEventFunctor&, wxEvent&) const () from d:\code\wxWidgets-3.1.5\lib\gcc_dll\wxmsw315u_gcc_cb.dll
    #15 0x00000000690cdae4 in wxEvtHandler::ProcessEventIfMatchesId(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&) () from d:\code\wxWidgets-3.1.5\lib\gcc_dll\wxmsw315u_gcc_cb.dll
    #16 0x00000000690cdc8b in wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*) () from d:\code\wxWidgets-3.1.5\lib\gcc_dll\wxmsw315u_gcc_cb.dll
    #17 0x00000000690ce340 in wxEvtHandler::TryHereOnly(wxEvent&) () from d:\code\wxWidgets-3.1.5\lib\gcc_dll\wxmsw315u_gcc_cb.dll
    #18 0x00000000690cdda3 in wxEvtHandler::DoTryChain(wxEvent&) () from d:\code\wxWidgets-3.1.5\lib\gcc_dll\wxmsw315u_gcc_cb.dll
    #19 0x00000000690ce4a2 in wxEvtHandler::ProcessEvent(wxEvent&) () from d:\code\wxWidgets-3.1.5\lib\gcc_dll\wxmsw315u_gcc_cb.dll
    #20 0x00000000690d003c in wxEvtHandler::SafelyProcessEvent(wxEvent&) () from d:\code\wxWidgets-3.1.5\lib\gcc_dll\wxmsw315u_gcc_cb.dll
    #21 0x00000000693e320f in wxWindowBase::Close(bool) () from d:\code\wxWidgets-3.1.5\lib\gcc_dll\wxmsw315u_gcc_cb.dll
    #22 0x0000000069232dbc in wxFrame::MSWWindowProc(unsigned int, unsigned long long, long long) () from d:\code\wxWidgets-3.1.5\lib\gcc_dll\wxmsw315u_gcc_cb.dll
    #23 0x0000000077249bbd in USER32!TranslateMessageEx () from C:\Windows\system32\user32.dll
    #24 0x000000007724729b in USER32!SetWindowTextW () from C:\Windows\system32\user32.dll
    #25 0x00000000772467e9 in USER32!IsDialogMessageW () from C:\Windows\system32\user32.dll
    #26 0x00000000775fb5cf in ntdll!KiUserCallbackDispatcher () from C:\Windows\SYSTEM32\ntdll.dll
    #27 0x000000007724681a in USER32!IsDialogMessageW () from C:\Windows\system32\user32.dll
    #28 0x0000000077246862 in USER32!IsDialogMessageW () from C:\Windows\system32\user32.dll
    #29 0x00000000772475ea in USER32!SetWindowTextW () from C:\Windows\system32\user32.dll
    #30 0x000007fefb5d795a in UxTheme!DrawThemeParentBackground () from C:\Windows\system32\uxtheme.dll
    #31 0x000007fefb5f637a in UxTheme!DrawThemeEdge () from C:\Windows\system32\uxtheme.dll
    #32 0x000007fefb5d168e in ?? () from C:\Windows\system32\uxtheme.dll
    #33 0x000007fefb5d1445 in ?? () from C:\Windows\system32\uxtheme.dll
    #34 0x00000000772489d7 in USER32!GetWindowDC () from C:\Windows\system32\user32.dll
    #35 0x00000000691c7ed1 in wxWindow::MSWDefWindowProc(unsigned int, unsigned long long, long long) () from d:\code\wxWidgets-3.1.5\lib\gcc_dll\wxmsw315u_gcc_cb.dll
    #36 0x00000000691c041e in wxWindow::MSWWindowProc(unsigned int, unsigned long long, long long) () from d:\code\wxWidgets-3.1.5\lib\gcc_dll\wxmsw315u_gcc_cb.dll
    #37 0x0000000077248975 in USER32!GetWindowDC () from C:\Windows\system32\user32.dll
    #38 0x0000000077246a5c in USER32!SetTimer () from C:\Windows\system32\user32.dll
    #39 0x0000000077246b61 in USER32!SendMessageW () from C:\Windows\system32\user32.dll
    #40 0x000007fefb5fa87e in UxTheme!OpenThemeDataEx () from C:\Windows\system32\uxtheme.dll
    #41 0x000007fefb5d168e in ?? () from C:\Windows\system32\uxtheme.dll
    #42 0x000007fefb5d1445 in ?? () from C:\Windows\system32\uxtheme.dll
    #43 0x00000000772489d7 in USER32!GetWindowDC () from C:\Windows\system32\user32.dll
    #44 0x00000000691c7ed1 in wxWindow::MSWDefWindowProc(unsigned int, unsigned long long, long long) () from d:\code\wxWidgets-3.1.5\lib\gcc_dll\wxmsw315u_gcc_cb.dll
    #45 0x00000000691c041e in wxWindow::MSWWindowProc(unsigned int, unsigned long long, long long) () from d:\code\wxWidgets-3.1.5\lib\gcc_dll\wxmsw315u_gcc_cb.dll
    #46 0x0000000077249bbd in USER32!TranslateMessageEx () from C:\Windows\system32\user32.dll
    #47 0x00000000772498c2 in USER32!TranslateMessage () from C:\Windows\system32\user32.dll
    #48 0x00000000691f5805 in wxGUIEventLoop::Dispatch() () from d:\code\wxWidgets-3.1.5\lib\gcc_dll\wxmsw315u_gcc_cb.dll
    #49 0x0000000068fb4b69 in wxEventLoopManual::ProcessEvents() () from d:\code\wxWidgets-3.1.5\lib\gcc_dll\wxmsw315u_gcc_cb.dll
    #50 0x0000000068fb4c21 in wxEventLoopManual::DoRun() () from d:\code\wxWidgets-3.1.5\lib\gcc_dll\wxmsw315u_gcc_cb.dll
    #51 0x0000000068fb493b in wxEventLoopBase::Run() () from d:\code\wxWidgets-3.1.5\lib\gcc_dll\wxmsw315u_gcc_cb.dll
    #52 0x0000000068f86062 in wxAppConsoleBase::MainLoop() () from d:\code\wxWidgets-3.1.5\lib\gcc_dll\wxmsw315u_gcc_cb.dll
    #53 0x000000000040565a in CodeBlocksApp::OnRun (this=0x22438f0) at D:\code\cbsource\codeblocks_sf\src\src\app.cpp:906
    #54 0x0000000068ff8c21 in wxEntryReal(int&, wchar_t**) () from d:\code\wxWidgets-3.1.5\lib\gcc_dll\wxmsw315u_gcc_cb.dll
    #55 0x0000000000402534 in WinMain (hInstance=0x400000, hPrevInstance=0x0, lpCmdLine=0x2b3ccf "--debug-log --no-dde --no-check-associations --multiple-instance --no-splash-screen --verbose -p debug20210504", nCmdShow=10) at D:\code\cbsource\codeblocks_sf\src\src\app.cpp:349
    #56 0x00000000004013c7 in __tmainCRTStartup ()
    #57 0x00000000004014c6 in WinMainCRTStartup ()

    Is it a copy/paste error?

    Because I see this:

    Code
        count=static_cast<int>(m_Loc->GetCount())-static_cast<int>(m_favdirs.GetCount());
        cfg->Write(_T("FileExplorer/RootList/Len"), count);
        for(int i=0;i<count;i++)
        {
            wxString ref=wxString::Format(_T("FileExplorer/RootList/I%i"),i);
            cfg->Write(ref, m_Loc->GetString(m_favdirs.GetCount()+i));
        }
        count=static_cast<int>(m_Loc->GetCount());
        cfg->Write(_T("FileExplorer/WildMask/Len"), count);
        for(int i=0;i<count;i++)
        {
            wxString ref=wxString::Format(_T("FileExplorer/WildMask/I%i"),i);
            cfg->Write(ref, m_WildCards->GetString(i));
        }

    The second time the "count" variable get assigned is from the m_Loc? Should be m_WildCards, right?
    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 oBFusCATed

    • Developer
    • Lives here!
    • *****
    • Posts: 13393
      • Travis build status
    Re: The 03 May 2021 build (12315) is out.
    « Reply #6 on: May 04, 2021, 10:57:43 am »
    Yes, it seems like a copy paste error.
    (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 ollydbg

    • Developer
    • Lives here!
    • *****
    • Posts: 5358
    • OpenCV and Robotics
      • Chinese OpenCV forum moderator
    Re: The 03 May 2021 build (12315) is out.
    « Reply #7 on: May 04, 2021, 12:55:28 pm »
    Yes, it seems like a copy paste error.

    I fixed it in r12319.
    Thanks everyone for the help!
    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.