Code lite crashes on launch macOS

CodeLite installation/troubleshooting forum
Manolis3007
CodeLite Curious
Posts: 3
Joined: Wed Mar 22, 2023 2:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Code lite crashes on launch macOS

Post by Manolis3007 »

After a fresh install from Brew, codelite crashes immediately upon start

I get the following error report:


Translated Report (Full Report Below)

Process: codelite [33883]
Path: /Applications/codelite.app/Contents/MacOS/CodeLite
Identifier: codelite
Version: ???
Code Type: ARM-64 (Native)
Parent Process: launchd [1]
User ID: 501

Date/Time: 2023-03-22 12:25:10.7383 +0200
OS Version: macOS 13.2.1 (22D68)
Report Version: 12
Anonymous UUID: 57DDF0A0-2705-B7F8-41B5-BA9C172000DF

Sleep/Wake UUID: 5E16BE79-0541-4AF4-9634-DC26497EF47A

Time Awake Since Boot: 42000 seconds
Time Since Wake: 3571 seconds

System Integrity Protection: enabled

Crashed Thread: 0

Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000

Termination Reason: Namespace DYLD, Code 1 Library missing
Library not loaded: /opt/homebrew//libjpeg.8.dylib
Referenced from: <FA381AE2-CE78-32CB-9B8F-2353672E8AD2> /Applications/codelite.app/Contents/MacOS/libtiff.5.dylib
Reason: tried: '/opt/homebrew/
/libjpeg.8.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/opt/homebrew//libjpeg.8.dylib' (no such file), '/opt/homebrew//libjpeg.8.dylib' (no such file), '/usr/local/lib/libjpeg.8.dylib' (no such file), '/usr/lib/libjpeg.8.dylib' (no such file, not in dyld cache)
(terminated at launch; ignore backtrace)

Thread 0 Crashed:
0 dyld 0x1a6b27190 __abort_with_payload + 8
1 dyld 0x1a6b31a00 abort_with_payload_wrapper_internal + 104
2 dyld 0x1a6b31a34 abort_with_payload + 16
3 dyld 0x1a6ac00a4 dyld4::halt(char const) + 328
4 dyld 0x1a6abd098 dyld4::prepare(dyld4::APIs&, dyld3::MachOAnalyzer const
) + 4204
5 dyld 0x1a6abbdc4 start + 2404

Thread 0 crashed with ARM Thread State (64-bit):
x0: 0x0000000000000006 x1: 0x0000000000000001 x2: 0x000000016bbcdc90 x3: 0x000000000000007f
x4: 0x000000016bbcd890 x5: 0x0000000000000000 x6: 0x0000000000000000 x7: 0x0000000000000000
x8: 0x0000000000000020 x9: 0x0000000000000009 x10: 0x0000000000000001 x11: 0x000000000000000a
x12: 0x0000000000000000 x13: 0x0000000000000033 x14: 0x0000000000000003 x15: 0xffffffffffffffff
x16: 0x0000000000000209 x17: 0x00000001a6ab9344 x18: 0x0000000000000000 x19: 0x0000000000000000
x20: 0x000000016bbcd890 x21: 0x000000000000007f x22: 0x000000016bbcdc90 x23: 0x0000000000000001
x24: 0x0000000000000006 x25: 0x0000000202877600 x26: 0x000000016bbcf3b0 x27: 0x000000016bbcf218
x28: 0x0000000000000000 fp: 0x000000016bbcd860 lr: 0x00000001a6b31a00
sp: 0x000000016bbcd820 pc: 0x00000001a6b27190 cpsr: 0x00001000
far: 0x0000000104854010 esr: 0x56000080 Address size fault

Binary Images:
0x1a6ab6000 - 0x1a6b40ba3 dyld (*) <191e84f1-4b95-39c8-b253-1c1ef56c0fa8> /usr/lib/dyld

External Modification Summary:
Calls made by other processes targeting this process:
task_for_pid: 0
thread_create: 0
thread_set_state: 0
Calls made by this process:
task_for_pid: 0
thread_create: 0
thread_set_state: 0
Calls made by all processes on this machine:
task_for_pid: 0
thread_create: 0
thread_set_state: 0

VM Region Summary:
ReadOnly portion of Libraries: Total=1.1G resident=0K(0%) swapped_out_or_unallocated=1.1G(100%)
Writable regions: Total=9.9M written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=9.9M(100%)

Code: Select all

                            VIRTUAL   REGION 

REGION TYPE SIZE COUNT (non-coalesced)
=========== ======= =======
STACK GUARD 56.0M 1
Stack 8176K 1
VM_ALLOCATE 16K 1
__AUTH 809K 193
__AUTH_CONST 15.8M 369
__CTF 756 1
__DATA 7965K 367
__DATA_CONST 18.8M 378
__DATA_DIRTY 954K 125
__FONT_DATA 2352 1
__LINKEDIT 776.9M 10
__OBJC_CONST 1708K 159
__OBJC_RO 65.5M 1
__OBJC_RW 1988K 1
__TEXT 370.0M 397
dyld private memory 512K 2
=========== ======= =======
TOTAL 1.3G 2007


Full Report

{"app_name":"codelite","timestamp":"2023-03-22 12:25:11.00 +0200","app_version":"","slice_uuid":"67aa7c99-4c14-39fb-9fc8-977d97601040","build_version":"","platform":1,"share_with_app_devs":0,"is_first_party":1,"bug_type":"309","os_version":"macOS 13.2.1 (22D68)","roots_installed":0,"incident_id":"892D3A6A-1AC5-46BF-A393-2FFBFF3977D4","name":"codelite"}
{
"uptime" : 42000,
"procRole" : "Default",
"version" : 2,
"userID" : 501,
"deployVersion" : 210,
"modelCode" : "MacBookAir10,1",
"coalitionID" : 3354,
"osVersion" : {
"train" : "macOS 13.2.1",
"build" : "22D68",
"releaseType" : "User"
},
"captureTime" : "2023-03-22 12:25:10.7383 +0200",
"incident" : "892D3A6A-1AC5-46BF-A393-2FFBFF3977D4",
"pid" : 33883,
"translated" : false,
"cpuType" : "ARM-64",
"roots_installed" : 0,
"bug_type" : "309",
"procLaunch" : "2023-03-22 12:25:10.7211 +0200",
"procStartAbsTime" : 1028951580877,
"procExitAbsTime" : 1028951970123,
"procName" : "codelite",
"procPath" : "\/Applications\/codelite.app\/Contents\/MacOS\/CodeLite",
"parentProc" : "launchd",
"parentPid" : 1,
"coalitionName" : "com.eranif.CodeLite",
"crashReporterKey" : "57DDF0A0-2705-B7F8-41B5-BA9C172000DF",
"throttleTimeout" : 2147483647,
"wakeTime" : 3571,
"sleepWakeUUID" : "5E16BE79-0541-4AF4-9634-DC26497EF47A",
"sip" : "enabled",
"exception" : {"codes":"0x0000000000000000, 0x0000000000000000","rawCodes":[0,0],"type":"EXC_CRASH","signal":"SIGABRT"},
"termination" : {"code":1,"flags":518,"namespace":"DYLD","indicator":"Library missing","details":["(terminated at launch; ignore backtrace)"],"reasons":["Library not loaded: \/opt\/homebrew\/\/libjpeg.8.dylib","Referenced from: <FA381AE2-CE78-32CB-9B8F-2353672E8AD2> \/Applications\/codelite.app\/Contents\/MacOS\/libtiff.5.dylib","Reason: tried: '\/opt\/homebrew\/\/libjpeg.8.dylib' (no such file), '\/System\/Volumes\/Preboot\/Cryptexes\/OS\/opt\/homebrew\/\/libjpeg.8.dylib' (no such file), '\/opt\/homebrew\/\/libjpeg.8.dylib' (no such file), '\/usr\/local\/lib\/libjpeg.8.dylib' (no such file), '\/usr\/lib\/libjpeg.8.dylib' (no such file, not in dyld cache)"]},
"extMods" : {"caller":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"system":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"targeted":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"warnings":0},
"faultingThread" : 0,
"threads" : [{"triggered":true,"id":453454,"threadState":{"x":[{"value":6},{"value":1},{"value":6102506640},{"value":127},{"value":6102505616},{"value":0},{"value":0},{"value":0},{"value":32},{"value":9},{"value":1},{"value":10},{"value":0},{"value":51},{"value":3},{"value":18446744073709551615},{"value":521},{"value":7091229508,"symbolLocation":392,"symbol":"simple_bprintf"},{"value":0},{"value":0},{"value":6102505616},{"value":127},{"value":6102506640},{"value":1},{"value":6},{"value":8632366592,"symbolLocation":0,"symbol":"gProcessInfo"},{"value":6102512560},{"value":6102512152},{"value":0}],"flavor":"ARM_THREAD_STATE64","lr":{"value":7091722752},"cpsr":{"value":4096},"fp":{"value":6102505568},"sp":{"value":6102505504},"esr":{"value":1442840704,"description":" Address size fault"},"pc":{"value":7091679632,"matchesCrashFrame":1},"far":{"value":4370808848}},"frames":[{"imageOffset":463248,"symbol":"abort_with_payload","symbolLocation":8,"imageIndex":0},{"imageOffset":506368,"symbol":"abort_with_payload_wrapper_internal","symbolLocation":104,"imageIndex":0},{"imageOffset":506420,"symbol":"abort_with_payload","symbolLocation":16,"imageIndex":0},{"imageOffset":41124,"symbol":"dyld4::halt(char const)","symbolLocation":328,"imageIndex":0},{"imageOffset":28824,"symbol":"dyld4::prepare(dyld4::APIs&, dyld3::MachOAnalyzer const)","symbolLocation":4204,"imageIndex":0},{"imageOffset":24004,"symbol":"start","symbolLocation":2404,"imageIndex":0}]}],
"usedImages" : [
{
"source" : "P",
"arch" : "arm64e",
"base" : 7091216384,
"size" : 568228,
"uuid" : "191e84f1-4b95-39c8-b253-1c1ef56c0fa8",
"path" : "\/usr\/lib\/dyld",
"name" : "dyld"
}
],
"sharedCache" : {
"base" : 7090569216,
"size" : 3447455744,
"uuid" : "835716ae-b363-3187-b065-cf94139bfc85"
},
"vmSummary" : "ReadOnly portion of Libraries: Total=1.1G resident=0K(0%) swapped_out_or_unallocated=1.1G(100%)\nWritable regions: Total=9.9M written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=9.9M(100%)\n\n VIRTUAL REGION \nREGION TYPE SIZE COUNT (non-coalesced) \n=========== ======= ======= \nSTACK GUARD 56.0M 1 \nStack 8176K 1 \nVM_ALLOCATE 16K 1 \nAUTH 809K 193 \nAUTH_CONST 15.8M 369 \nCTF 756 1 \nDATA 7965K 367 \nDATA_CONST 18.8M 378 \nDATA_DIRTY 954K 125 \nFONT_DATA 2352 1 \nLINKEDIT 776.9M 10 \nOBJC_CONST 1708K 159 \nOBJC_RO 65.5M 1 \nOBJC_RW 1988K 1 \nTEXT 370.0M 397 \ndyld private memory 512K 2 \n=========== ======= ======= \nTOTAL 1.3G 2007 \n",
"legacyInfo" : {
"threadTriggered" : {

}
},
"trialInfo" : {
"rollouts" : [
{
"rolloutId" : "62fe74515312cd4599bd3c80",
"factorPackIds" : {
"MYRIAD_BOOSTS" : "62fe74805312cd4599bd3c81"
},
"deploymentId" : 240000006
},
{
"rolloutId" : "6347054113acce15305b7b82",
"factorPackIds" : {
"SIRI_MEMORY_SYNC_CONFIG" : "634705e78e8be655c1316a6e"
},
"deploymentId" : 240000005
}
],
"experiments" : [

]
}
}

Model: MacBookAir10,1, BootROM 8419.80.7, proc 8:4:4 processors, 8 GB, SMC
Graphics: Apple M1, Apple M1, Built-In
Display: Color LCD, 2560 x 1600 Retina, Main, MirrorOff, Online
Memory Module: LPDDR4, Hynix
AirPort: spairport_wireless_card_type_wifi (0x14E4, 0x4378), wl0: Nov 30 2022 03:35:43 version 18.20.379.9.7.8.145 FWID 01-9578a936
Bluetooth: Version (null), 0 services, 0 devices, 0 incoming serial ports
Network Service: Wi-Fi, AirPort, en0
USB Device: USB31Bus
USB Device: USB31Bus
Thunderbolt Bus: MacBook Air, Apple Inc.
Thunderbolt Bus: MacBook Air, Apple Inc.

User avatar
eranif
CodeLite Plugin
Posts: 6367
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Code lite crashes on launch macOS

Post by eranif »

This was fixed, do brew update and reinstall codelite-offical cask

Make sure you have read the HOW TO POST thread
Manolis3007
CodeLite Curious
Posts: 3
Joined: Wed Mar 22, 2023 2:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Code lite crashes on launch macOS

Post by Manolis3007 »

Done, thanks!!!!

Post Reply