Author Topic: Codeblocks not working on macos sonoma  (Read 6697 times)

Offline salman5678

  • Single posting newcomer
  • *
  • Posts: 1
Codeblocks not working on macos sonoma
« on: January 25, 2024, 01:51:03 pm »
On my MacBook Air m1 codeblocks is not working. Its asking me to reopen again and again after selecting compiler. Auto quitting. Is there any solution?

Offline Miguel Gimenez

  • Developer
  • Lives here!
  • *****
  • Posts: 1731
Re: Codeblocks not working on macos sonoma
« Reply #1 on: January 25, 2024, 02:16:42 pm »
See ticket 1425 for a possible solution.

Offline vwdvaan

  • Multiple posting newcomer
  • *
  • Posts: 17
Re: Codeblocks not working on macos sonoma
« Reply #2 on: June 20, 2025, 06:18:42 am »
Same here on Sonoma 14.7.2.
I compiled myself wxWidgets-3.2.8.1 and CodeBlocks-25.04 but it's crashes after i open CodeBlocks:
Code
<?xml version="1.0" encoding="UTF-8"?>
<report version="1.0" kind="exception">
  <system description="macOS Sonoma Version 14.7.2 (Build 23H311)"/>
  <stack>
    <frame level="0" function="wxFatalSignalHandler(int)" offset="0" address="0x10852f0ac"/>
    <frame level="1" function="_sigtramp" offset="0" address="0x7ff80638dfdd"/>
    <frame level="2" function="_sigtramp" offset="0" address="0x7ff7b8cb5e88"/>
    <frame level="3" function="ClassBrowser::SetParser(ParserBase*)" offset="0" address="0x117d74f7c"/>
    <frame level="4" function="ParseManager::CreateClassBrowser()" offset="0" address="0x117df6b72"/>
    <frame level="5" function="CodeCompletion::OnAttach()" offset="0" address="0x117d97c39"/>
    <frame level="6" function="cbPlugin::Attach()" offset="0" address="0x10883ee1c"/>
    <frame level="7" function="PluginManager::AttachPlugin(cbPlugin*, bool)" offset="0" address="0x1089a06ca"/>
    <frame level="8" function="PluginManager::LoadAllPlugins()" offset="0" address="0x1089a734d"/>
    <frame level="9" function="MainFrame::ScanForPlugins()" offset="0" address="0x107309f0a"/>
    <frame level="10" function="MainFrame::MainFrame(wxWindow*)" offset="0" address="0x1073048e3"/>
    <frame level="11" function="MainFrame::MainFrame(wxWindow*)" offset="0" address="0x10730cc7d"/>
    <frame level="12" function="CodeBlocksApp::InitFrame()" offset="0" address="0x10724a3b1"/>
    <frame level="13" function="CodeBlocksApp::OnInit()" offset="0" address="0x10724c791"/>
    <frame level="14" function="wxApp::CallOnInit()" offset="0" address="0x109b05480"/>
    <frame level="15" function="wxEntry(int&amp;, wchar_t**)" offset="0" address="0x1084abbe1"/>
    <frame level="16" function="main" offset="0" address="0x107248a43"/>
    <frame level="17" function="start" offset="0" address="0x7ff805fd3345"/>
  </stack>
</report>

Win 10, MinGW 122.0, wxWidgets 3.1.7

Offline Miguel Gimenez

  • Developer
  • Lives here!
  • *****
  • Posts: 1731
Re: Codeblocks not working on macos sonoma
« Reply #3 on: June 20, 2025, 10:12:27 am »
Disable the CodeCompletion plugin (rename CodeCompletion.dylib). You can later enable the new Clangd_client plugin.

The problem is in ClassBrowser::SetParser(), may be you can debug this (we do not have access to Macs).