Menu

#1400 crash with remove broken files plugin

Undefined
open
nobody
None
Undefined
2025-04-01
2023-08-08
bluehazzard
No

to reproduce this crash:
1) Open some files in codeblocks and add them to a project. Leave them open in an editor
2) Move the files outside codeblocks to a different folder or delte them
3) Call the Plugins->Find broken files plugin
4) Confirm to remove the broken files (one should be open in an editor)
5) Confirm to close the editor
6) crash...

#0 0x7ff9e3be8cbc   ??() (C:\msys64\mingw64\bin\libstdc++-6.dll:??)
#1 0x7ff9adc7ad00   wxString::wxString(this=0x54265fd8a0, stringSrc=...) ( \wxWidgets-3.2.1\include\wx\string.h:1157)
#2 0x7ff9adc736c2   OpenFilesListPlugin::RefreshOpenFilesTree(this=0x220b18bf9e0, ed=0x220b7a53950, remove=false) ( \codeblocks_svn\src\plugins\openfileslist\openfileslistplugin.cpp:262)
#3 0x7ff9adc73f21   OpenFilesListPlugin::OnEditorActivated(this=0x220b18bf9e0, event=...) ( \codeblocks_svn\src\plugins\openfileslist\openfileslistplugin.cpp:360)
#4 0x7ff9adc78c99   cbEventFunctor<OpenFilesListPlugin, CodeBlocksEvent>::Call(this=0x220ae2878d0, event=...) ( \codeblocks_svn\src\include\cbfunctor.h:49)
#5 0x7ff9d4444c11   Manager::ProcessEvent(this=0x220ad5c5e70, event=...) ( \codeblocks_svn\src\sdk\manager.cpp:268)
#6 0x7ff9d44608da   PluginManager::NotifyPlugins(this=0x220b0c92c50, event=...) ( \codeblocks_svn\src\sdk\pluginmanager.cpp:1620)
#7 0x7ff9d4407b81   EditorManager::OnPageChanged(this=0x220adb01b70, event=...) ( \codeblocks_svn\src\sdk\editormanager.cpp:1538)
#8 0x7ff9d3062e77   wxAppConsoleBase::CallEventHandler(wxEvtHandler*, wxEventFunctor&, wxEvent&) const() ( \wxWidgets-3.2.1\lib\gcc_dll\wxmsw32u_gcc_custom.dll:??)
#9 0x7ff9d31b2aa5   wxEvtHandler::ProcessEventIfMatchesId(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&) () ( \wxWidgets-3.2.1\lib\gcc_dll\wxmsw32u_gcc_custom.dll:??)
#10 0x7ff9d31b2c8b  wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*) () ( \wxWidgets-3.2.1\lib\gcc_dll\wxmsw32u_gcc_custom.dll:??)
#11 0x7ff9d31b32cd  wxEvtHandler::TryHereOnly(wxEvent&) () ( \wxWidgets-3.2.1\lib\gcc_dll\wxmsw32u_gcc_custom.dll:??)
#12 0x7ff9d31b2d73  wxEvtHandler::DoTryChain(wxEvent&) () ( \wxWidgets-3.2.1\lib\gcc_dll\wxmsw32u_gcc_custom.dll:??)
#13 0x7ff9d31b3421  wxEvtHandler::ProcessEvent(wxEvent&) () ( \wxWidgets-3.2.1\lib\gcc_dll\wxmsw32u_gcc_custom.dll:??)
#14 0x7ff9d34d57c8  wxWindowBase::TryAfter(wxEvent&) () ( \wxWidgets-3.2.1\lib\gcc_dll\wxmsw32u_gcc_custom.dll:??)
#15 0x7ff9d36ee1cd  wxAuiNotebook::DoModifySelection(unsigned long long, bool) () ( \wxWidgets-3.2.1\lib\gcc_dll\wxmsw32u_gcc_custom.dll:??)
#16 0x7ff9d36f0231  wxAuiNotebook::RemovePage(unsigned long long) () ( \wxWidgets-3.2.1\lib\gcc_dll\wxmsw32u_gcc_custom.dll:??)
#17 0x7ff9d436b118  cbAuiNotebook::RemovePage(this=0x220adb088c0, page=12) ( \codeblocks_svn\src\sdk\cbauibook.cpp:482)
#18 0x7ff9d36e7253  wxAuiNotebook::DeletePage(unsigned long long) () ( \wxWidgets-3.2.1\lib\gcc_dll\wxmsw32u_gcc_custom.dll:??)
#19 0x7ff9d436b08c  cbAuiNotebook::DeletePage(this=0x220adb088c0, page=12) ( \codeblocks_svn\src\sdk\cbauibook.cpp:468)
#20 0x7ff9d44037f2  EditorManager::Close(this=0x220adb01b70, editor=0x220b7a50bb0, dontsave=false) ( \codeblocks_svn\src\sdk\editormanager.cpp:754)
#21 0x7ff9d440375d  EditorManager::Close(this=0x220adb01b70, filename=..., dontsave=false) ( \codeblocks_svn\src\sdk\editormanager.cpp:741)
#22 0x7ff9d439615a  cbProject::RemoveFile(this=0x220b39a9eb0, pf=0x220b80bcad0, closeEditor=true) ( \codeblocks_svn\src\sdk\cbproject.cpp:993)
#23 0x7ff9d44a4d3f  ScriptBindings::cbProject_RemoveFile(v=0x220ad61c700) ( \codeblocks_svn\src\sdk\scripting\bindings\scriptbindings.cpp:648)
#24 0x7ff9d4629122  SQVM::CallNative(this=0x220ad61c700, nclosure=0x220ae082b50, nargs=2, newbase=18, retval=..., suspend=@0x54265fe84f: false) ( \codeblocks_svn\src\sdk\scripting\squirrel\sqvm.cpp:1224)
#25 0x7ff9d4624707  SQVM::Execute(this=0x220ad61c700, closure=..., nargs=2, stackbase=1, outres=..., raiseerror=1, et=SQVM::ET_CALL) ( \codeblocks_svn\src\sdk\scripting\squirrel\sqvm.cpp:789)
#26 0x7ff9d462aa1c  SQVM::Call(this=0x220ad61c700, closure=..., nparams=2, stackbase=1, outres=..., raiseerror=1) ( \codeblocks_svn\src\sdk\scripting\squirrel\sqvm.cpp:1593)
#27 0x7ff9d460eb31  sq_call(v=0x220ad61c700, params=2, retval=0, raiseerror=1) ( \codeblocks_svn\src\sdk\scripting\squirrel\sqapi.cpp:1155)
#28 0x7ff9d46a25cb  ScriptBindings::Caller::CallRaw(this=0x54265fed00, hasReturn=false) ( \codeblocks_svn\src\include\scripting\bindings\sc_utils.h:1484)
#29 0x7ff9d46a1ffd  ScriptBindings::Caller::CallByName1<int>(this=0x54265fed00, functionName=0x7ff9d485915c <BlkAllc::verbose+991> "OnMenuClicked", arg0=0) ( \codeblocks_svn\src\include\scripting\bindings\sc_utils.h:1600)

Discussion

  • pecan

    pecan - 2023-10-14

    I cannot reproduce this error with head rev 13372

     
  • hamam hussein hasin alli

    ello, what does this warning mean when completing the installation? One or more plugins were not loaded.

    This usually happens when a plugin is built for a different version of the Code::Blocks SDK.

    Check the application log for more info.

    List of failed plugins:

    libSpell Checker.dylib

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.