User forums > Nightly builds

The 03 May 2021 build (12315) is out.

<< < (2/2)

ollydbg:

--- Quote from: Miguel Gimenez 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?)

--- End code ---

--- End quote ---

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 ()
--- End code ---

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));
    }
--- End code ---

The second time the "count" variable get assigned is from the m_Loc? Should be m_WildCards, right?

oBFusCATed:
Yes, it seems like a copy paste error.

ollydbg:

--- Quote from: oBFusCATed on May 04, 2021, 10:57:43 am ---Yes, it seems like a copy paste error.

--- End quote ---

I fixed it in r12319.
Thanks everyone for the help!

Navigation

[0] Message Index

[*] Previous page

Go to full version