Page 1 of 1

codelite is crashing

Posted: Wed Jul 13, 2022 9:08 pm
by deep14

Hi, I have installed latest version of codelite from codelite.org on Mac OS Monterey, but as soon as I open it crashes (automatically closes down) within fraction of seconds. Can somebody please guide me on this ? Thanks. I am attaching video for link (https://imgur.com/a/CCAdzvM)


Re: codelite is crashing

Posted: Fri Jul 29, 2022 12:32 pm
by alvinru

It's crashing for me too. macOS Monterey 12.4, Macbook Air M1.


Re: codelite is crashing

Posted: Fri Jul 29, 2022 1:15 pm
by DavidGH

Hi,

I'm Linux-only here, so I can't give you any direct help; but:

You should get more information if you run CodeLite in a debugger. If you're lucky, you might find there's an easy fix e.g. you are missing a system library. Even if not, posting the output of the crash is likely to be more useful than a screenshot or video.

Regards,

David


Re: codelite is crashing

Posted: Wed Aug 17, 2022 2:37 pm
by brunobampi

the same here, when creating a workspace.
MacOS Monterey 12.5, MacPro Intel i5.


Re: codelite is crashing

Posted: Fri Aug 19, 2022 7:46 pm
by eranif
  1. How did you install CodeLite?
  2. When CodeLite crashes, can you paste the backtrace as reported by mac?
  3. Can you start CodeLite from a terminal open /path/to/codelite.app and see if you get any error in the command line?

Re: codelite is crashing

Posted: Tue Aug 23, 2022 12:45 pm
by ofekef

im also experiencing the same crash after creating a workspace
it happened straight after installing codelight
I am running macOS Monterey 12.5.1

This is the error details from my Mac (Sorry if its too long I tried to past only the relevant part):

Code: Select all

Date/Time:        2022-08-23 11:25:47.094 +0300
End time:         2022-08-23 11:25:48.099 +0300
OS Version:       macOS 12.5.1 (Build 21G83)
Architecture:     x86_64h
Report Version:   35.1
Incident Identifier: 664A4DCA-8BD2-43F4-B456-18FB2FC6B992
Share With Devs:  Yes

Data Source:      Stackshots
Shared Cache:     4D3A144C-02BB-31F1-BCA9-83A5CB058C59 slid base address 0x7ff805170000, slide 0x5170000
Shared Cache:     FE92A05B-555D-3715-9CF2-2E52C3583BDD slid base address 0x7ff831c04000, slide 0x31c04000

Command:          CodeLite
Path:             /Applications/codelite.app/Contents/MacOS/codelite
Architecture:     x86_64
Parent:           launchd [1]
PID:              2486
Time Since Fork:  137s

Event:            hang
Duration:         1.00s
Steps:            11 (100ms sampling interval)

Hardware model:   MacBookPro15,2
Active cpus:      8
HW page size:     4096
VM page size:     4096
Boot args:        chunklist-security-epoch=0 -chunklist-no-rev2-dev

Time Awake Since Boot: 6348s
Time Since Wake:  734s

Fan speed:        3235 rpm
Total CPU Time:   1.739s (6.0G cycles, 6.6G instructions, 0.90c/i)
Advisory levels:  Battery -> 2, User -> 2, ThermalPressure -> 1, Combined -> 2
Free disk space:  177.31 GB/233.47 GB, low space threshold 3072 MB

--------------------------------------------------
Timeline format: stacks are sorted chronologically
Use -i and -heavy to re-report with count sorting
--------------------------------------------------


Heaviest stack for the main thread of the target process:
  11  start + 462 (dyld + 21806) [0x113a2052e]
  11  main + 20 (codelite + 380020) [0x10d378c74]
  11  wxEntry(int&, wchar_t**) + 56 (libwx_osx_cocoau-3.1.6.0.0.dylib + 416632) [0x10ea68b78]
  11  wxApp::OnRun() + 26 (libwx_osx_cocoau-3.1.6.0.0.dylib + 1497994) [0x10eb70b8a]
  11  wxAppConsoleBase::MainLoop() + 116 (libwx_osx_cocoau-3.1.6.0.0.dylib + 43556) [0x10ea0da24]
  11  wxEventLoopBase::Run() + 85 (libwx_osx_cocoau-3.1.6.0.0.dylib + 211365) [0x10ea369a5]
  11  wxCFEventLoop::DoRun() + 29 (libwx_osx_cocoau-3.1.6.0.0.dylib + 882349) [0x10eada6ad]
  11  wxGUIEventLoop::OSXDoRun() + 154 (libwx_osx_cocoau-3.1.6.0.0.dylib + 1915610) [0x10ebd6ada]
  11  -[NSApplication run] + 586 (AppKit + 195865) [0x7ff807f80d19]
  11  -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1394 (AppKit + 251498) [0x7ff807f8e66a]
  11  _DPSNextEvent + 927 (AppKit + 257965) [0x7ff807f8ffad]
  11  _BlockUntilNextEventMatchingListInModeWithFilter + 70 (HIToolbox + 188645) [0x7ff80e2040e5]
  11  ReceiveNextEventCommon + 283 (HIToolbox + 188947) [0x7ff80e204213]
  11  RunCurrentEventLoopInMode + 292 (HIToolbox + 189926) [0x7ff80e2045e6]
  11  CFRunLoopRunSpecific + 562 (CoreFoundation + 515692) [0x7ff805555e6c]
  11  __CFRunLoopRun + 840 (CoreFoundation + 518260) [0x7ff805556874]
  11  __CFRunLoopDoObservers + 543 (CoreFoundation + 521186) [0x7ff8055573e2]
  11  __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 23 (CoreFoundation + 521552) [0x7ff805557550]
  11  wxCFEventLoop::OSXCommonModeObserverCallBack(__CFRunLoopObserver*, int, void*) + 66 (libwx_osx_cocoau-3.1.6.0.0.dylib + 880754) [0x10eada072]
  11  wxAppConsoleBase::ProcessPendingEvents() + 119 (libwx_osx_cocoau-3.1.6.0.0.dylib + 45495) [0x10ea0e1b7]
  11  wxEvtHandler::ProcessPendingEvents() + 235 (libwx_osx_cocoau-3.1.6.0.0.dylib + 1030795) [0x10eafea8b]
  11  wxEvtHandler::ProcessEvent(wxEvent&) + 96 (libwx_osx_cocoau-3.1.6.0.0.dylib + 1031184) [0x10eafec10]
  11  wxEvtHandler::ProcessEventLocally(wxEvent&) + 90 (libwx_osx_cocoau-3.1.6.0.0.dylib + 1031450) [0x10eafed1a]
  11  wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*) + 415 (libwx_osx_cocoau-3.1.6.0.0.dylib + 1028079) [0x10eafdfef]
  11  clMainFrame::OnProjectNewWorkspace(wxCommandEvent&) + 918 (codelite + 1624982) [0x10d4a8b96]
  11  Manager::CreateWorkspace(wxString const&, wxString const&) + 265 (codelite + 2086841) [0x10d5197b9]
  11  Manager::OpenWorkspace(wxString const&) + 635 (codelite + 2088427) [0x10d519deb]
  11  Manager::DoSetupWorkspace(wxString const&) + 214 (codelite + 2090438) [0x10d51a5c6]
  11  wxEvtHandler::ProcessEvent(wxEvent&) + 96 (libwx_osx_cocoau-3.1.6.0.0.dylib + 1031184) [0x10eafec10]
  11  wxEvtHandler::ProcessEventLocally(wxEvent&) + 59 (libwx_osx_cocoau-3.1.6.0.0.dylib + 1031419) [0x10eafecfb]
  11  wxEvtHandler::SearchDynamicEventTable(wxEvent&) + 222 (libwx_osx_cocoau-3.1.6.0.0.dylib + 1032078) [0x10eafef8e]
  11  GitPlugin::OnWorkspaceLoaded(clWorkspaceEvent&) + 355 (git.dylib + 113555) [0x11f623b93]
  11  GitPlugin::DoSetRepoPath(wxString const&) + 592 (git.dylib + 177184) [0x11f633420]
  11  GitPlugin::ProcessGitActionQueue() + 4132 (git.dylib + 184196) [0x11f634f84]
  11  EnvSetter::EnvSetter(std::__1::unordered_map<wxString, wxString, std::__1::hash<wxString>, std::__1::equal_to<wxString>, std::__1::allocator<std::__1::pair<wxString const, wxString> > >*) + 239 (git.dylib + 243503) [0x11f64372f]
  11  EnvironmentConfig::ApplyEnv(std::__1::unordered_map<wxString, wxString, std::__1::hash<wxString>, std::__1::equal_to<wxString>, std::__1::allocator<std::__1::pair<wxString const, wxString> > >*, wxString const&, wxString const&) + 44 (libplugin.dylib + 2925484) [0x10e41a3ac]
  11  wxMutex::Lock() + 52 (libwx_osx_cocoau-3.1.6.0.0.dylib + 954116) [0x10eaebf04]
  11  _pthread_mutex_firstfit_lock_slow + 205 (libsystem_pthread.dylib + 7355) [0x7ff80548ccbb]
  11  __psynch_mutexwait + 10 (libsystem_kernel.dylib + 15314) [0x7ff805456bd2]
 *11  psynch_mtxcontinue + 0 (pthread + 11285) [0xffffff8003765c15]


Process:          CodeLite [2486]
UUID:             2624D29E-3447-3064-AF2C-03506C14C161
Path:             /Applications/codelite.app/Contents/MacOS/codelite
Shared Cache:     4D3A144C-02BB-31F1-BCA9-83A5CB058C59 slid base address 0x7ff805170000, slide 0x5170000
Architecture:     x86_64
Parent:           launchd [1]
UID:              501
Footprint:        262.09 MB
Time Since Fork:  137s
Num samples:      11 (1-11)
CPU Time:         0.005s (13.2M cycles, 4.8M instructions, 2.78c/i)
Note:             1 idle work queue thread omitted

  Thread 0x1134a    DispatchQueue "com.apple.main-thread"(1)    11 samples (1-11)    priority 47 (base 47)
  <process frontmost, thread QoS user interactive (requested user interactive), process unclamped, process received importance donation from WindowServer [154], IO tier 0>
  11  start + 462 (dyld + 21806) [0x113a2052e] 1-11
    11  main + 20 (codelite + 380020) [0x10d378c74] 1-11
      11  wxEntry(int&, wchar_t**) + 56 (libwx_osx_cocoau-3.1.6.0.0.dylib + 416632) [0x10ea68b78] 1-11
        11  wxApp::OnRun() + 26 (libwx_osx_cocoau-3.1.6.0.0.dylib + 1497994) [0x10eb70b8a] 1-11
          11  wxAppConsoleBase::MainLoop() + 116 (libwx_osx_cocoau-3.1.6.0.0.dylib + 43556) [0x10ea0da24] 1-11
            11  wxEventLoopBase::Run() + 85 (libwx_osx_cocoau-3.1.6.0.0.dylib + 211365) [0x10ea369a5] 1-11
              11  wxCFEventLoop::DoRun() + 29 (libwx_osx_cocoau-3.1.6.0.0.dylib + 882349) [0x10eada6ad] 1-11
                11  wxGUIEventLoop::OSXDoRun() + 154 (libwx_osx_cocoau-3.1.6.0.0.dylib + 1915610) [0x10ebd6ada] 1-11
                  11  -[NSApplication run] + 586 (AppKit + 195865) [0x7ff807f80d19] 1-11
                    11  -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1394 (AppKit + 251498) [0x7ff807f8e66a] 1-11
                      11  _DPSNextEvent + 927 (AppKit + 257965) [0x7ff807f8ffad] 1-11
                        11  _BlockUntilNextEventMatchingListInModeWithFilter + 70 (HIToolbox + 188645) [0x7ff80e2040e5] 1-11
                          11  ReceiveNextEventCommon + 283 (HIToolbox + 188947) [0x7ff80e204213] 1-11
                            11  RunCurrentEventLoopInMode + 292 (HIToolbox + 189926) [0x7ff80e2045e6] 1-11
                              11  CFRunLoopRunSpecific + 562 (CoreFoundation + 515692) [0x7ff805555e6c] 1-11
                                11  __CFRunLoopRun + 840 (CoreFoundation + 518260) [0x7ff805556874] 1-11
                                  11  __CFRunLoopDoObservers + 543 (CoreFoundation + 521186) [0x7ff8055573e2] 1-11
                                    11  __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 23 (CoreFoundation + 521552) [0x7ff805557550] 1-11
                                      11  wxCFEventLoop::OSXCommonModeObserverCallBack(__CFRunLoopObserver*, int, void*) + 66 (libwx_osx_cocoau-3.1.6.0.0.dylib + 880754) [0x10eada072] 1-11
                                        11  wxAppConsoleBase::ProcessPendingEvents() + 119 (libwx_osx_cocoau-3.1.6.0.0.dylib + 45495) [0x10ea0e1b7] 1-11
                                          11  wxEvtHandler::ProcessPendingEvents() + 235 (libwx_osx_cocoau-3.1.6.0.0.dylib + 1030795) [0x10eafea8b] 1-11
                                            11  wxEvtHandler::ProcessEvent(wxEvent&) + 96 (libwx_osx_cocoau-3.1.6.0.0.dylib + 1031184) [0x10eafec10] 1-11
                                              11  wxEvtHandler::ProcessEventLocally(wxEvent&) + 90 (libwx_osx_cocoau-3.1.6.0.0.dylib + 1031450) [0x10eafed1a] 1-11
                                                11  wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*) + 415 (libwx_osx_cocoau-3.1.6.0.0.dylib + 1028079) [0x10eafdfef] 1-11
                                                  11  clMainFrame::OnProjectNewWorkspace(wxCommandEvent&) + 918 (codelite + 1624982) [0x10d4a8b96] 1-11
                                                    11  Manager::CreateWorkspace(wxString const&, wxString const&) + 265 (codelite + 2086841) [0x10d5197b9] 1-11
                                                      11  Manager::OpenWorkspace(wxString const&) + 635 (codelite + 2088427) [0x10d519deb] 1-11
                                                        11  Manager::DoSetupWorkspace(wxString const&) + 214 (codelite + 2090438) [0x10d51a5c6] 1-11
                                                          11  wxEvtHandler::ProcessEvent(wxEvent&) + 96 (libwx_osx_cocoau-3.1.6.0.0.dylib + 1031184) [0x10eafec10] 1-11
                                                            11  wxEvtHandler::ProcessEventLocally(wxEvent&) + 59 (libwx_osx_cocoau-3.1.6.0.0.dylib + 1031419) [0x10eafecfb] 1-11
                                                              11  wxEvtHandler::SearchDynamicEventTable(wxEvent&) + 222 (libwx_osx_cocoau-3.1.6.0.0.dylib + 1032078) [0x10eafef8e] 1-11
                                                                11  GitPlugin::OnWorkspaceLoaded(clWorkspaceEvent&) + 355 (git.dylib + 113555) [0x11f623b93] 1-11
                                                                  11  GitPlugin::DoSetRepoPath(wxString const&) + 592 (git.dylib + 177184) [0x11f633420] 1-11
                                                                    11  GitPlugin::ProcessGitActionQueue() + 4132 (git.dylib + 184196) [0x11f634f84] 1-11
                                                                      11  EnvSetter::EnvSetter(std::__1::unordered_map<wxString, wxString, std::__1::hash<wxString>, std::__1::equal_to<wxString>, std::__1::allocator<std::__1::pair<wxString const, wxString> > >*) + 239 (git.dylib + 243503) [0x11f64372f] 1-11
                                                                        11  EnvironmentConfig::ApplyEnv(std::__1::unordered_map<wxString, wxString, std::__1::hash<wxString>, std::__1::equal_to<wxString>, std::__1::allocator<std::__1::pair<wxString const, wxString> > >*, wxString const&, wxString const&) + 44 (libplugin.dylib + 2925484) [0x10e41a3ac] 1-11
                                                                          11  wxMutex::Lock() + 52 (libwx_osx_cocoau-3.1.6.0.0.dylib + 954116) [0x10eaebf04] 1-11
                                                                            11  _pthread_mutex_firstfit_lock_slow + 205 (libsystem_pthread.dylib + 7355) [0x7ff80548ccbb] 1-11
                                                                              11  __psynch_mutexwait + 10 (libsystem_kernel.dylib + 15314) [0x7ff805456bd2] 1-11
                                                                               *11  psynch_mtxcontinue + 0 (pthread + 11285) [0xffffff8003765c15] (blocked by turnstile waiting for CodeLite

Re: codelite is crashing

Posted: Mon Sep 12, 2022 12:11 pm
by eranif

Make sure you are installing it from brew and follow the instructions to the letter as described here:

https://docs.codelite.org/downloads/download/#macos

(especially the last step)