Sublime Forum

Sublime Text 4 Can't open

#1

I have used ST3 on my mba mid 2015,MacOS Monterey 12.5, recently I upgrade to ST4 4126, but whenever I execute it, it crashes immediately

I use the terminal and key in “subl --safe-mode” to open it in safe mode, but sadly I get the reply
“Failed to receive exit code from application”

0 Likes

#2

On macOS you can launch safe mode with a key combination: https://www.sublimetext.com/docs/safe_mode.html. If you have a license I also suggest checking the development releases.

0 Likes

#3

I have tried this method to launch it in safe mode, but it still crash immediately, I don’t know why this terrible things happened

I don’t have a license sorry

0 Likes

#4

when I open the ST4 while pressing option, it shows nothing and still crashes immediately

0 Likes

#5

If you launch the “Console” application under macOS you should be able to view the crash report from the “Crash Reports” tab on the left hand side. Pasting the full report here would be ideal.

0 Likes

#6

the crash report you need is down below, thanks for your help
I don’t know why its process name is python3.8, but it shows up in the crash report every time when I try to open Sublime Text in the directory of Application, either in the normal mode or in safe mode.

If you need any more information, please let me know, thanks.


Translated Report (Full Report Below)

Process: python3.8 [869]
Path: /Users/USER/*/python3.8
Identifier: python3.8
Version: ???
Code Type: X86-64 (Native)
Parent Process: Exited process [868]
User ID: 501

Date/Time: 2022-10-10 14:40:15.8877 +0800
OS Version: macOS 12.5 (21G72)
Report Version: 12
Anonymous UUID: 8719118E-AA09-F22A-EE08-F02D96F49EFA

Time Awake Since Boot: 270 seconds

System Integrity Protection: enabled

Crashed Thread: 0 Dispatch queue: com.apple.main-thread

Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: UNKNOWN_0xD at 0x0000000000000000
Exception Codes: 0x000000000000000d, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY

Termination Reason: Namespace SIGNAL, Code 11 Segmentation fault: 11
Terminating Process: exc handler [869]

VM Region Info: 0 is not in any region. Bytes before following region: 4382380032
REGION TYPE START - END [ VSIZE] PRT/MAX SHRMOD REGION DETAIL
UNUSED SPACE AT START
—>
__TEXT 10535d000-105665000 [ 3104K] r-x/rwx SM=COW …R/*/python3.8

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 python3.8 0x105529651 0x10535d000 + 1885777
1 python3.8 0x105556192 0x10535d000 + 2068882
2 python3.8 0x105555e06 0x10535d000 + 2067974
3 python3.8 0x10535e768 0x10535d000 + 5992
4 dyld 0x1135a752e start + 462

Thread 0 crashed with X86 Thread State (64-bit):
rax: 0x00007ff7baba295c rbx: 0x00007ff7baba28b0 rcx: 0x00007ff7baba2b00 rdx: 0x00007ff7baba2a80
rdi: 0x00007ff7baba2820 rsi: 0x000000000ad3be40 rbp: 0x00007ff7baba28a0 rsp: 0x00007ff7baba2688
r8: 0x0000000000002108 r9: 0xffffffff00000000 r10: 0x0000000000000000 r11: 0x0000000000000210
r12: 0x00007ff7baba28b0 r13: 0x000000004058807c r14: 0x00007ff7baba28f8 r15: 0x000000011360e010
rip: 0x0000000105529651 rfl: 0x0000000000010a16 cr2: 0x0000000105529640

Logical CPU: 1
Error Code: 0x00000000
Trap Number: 13

Thread 0 instruction stream:
29 16 06 f2 33 42 35 fb-85 e3 d9 b4 e8 21 2e c4 )…3B5…!..
27 f9 10 63 b1 c9 c3 e2-17 d0 98 a4 ef f4 76 47 '…c…vG
14 c6 a8 2c 5f 6f f0 e6-c5 80 94 90 9c 1f ed 99 …,o…
f8 c4 73 34 cf ca f2 4a-5f be ca 00 dc 1b e2 fa …s4…J

05 ff a6 11 a5 58 b5 29-62 c4 8b b2 a5 6d c8 1d …X.)b…m…
33 90 e6 c4 f8 4d 95 74-ee d1 e6 45 8a df 1c 7c 3…M.t…E…|
[ec]f3 1d ac cb 0f 5b 3c-27 59 a7 05 77 60 d4 dc …[<'Y…w`… <==
51 28 d4 38 66 08 fd 55-b5 74 67 7e 08 f8 57 94 Q(.8f…U.tg~…W.
af e3 68 96 39 cb 8e e5-5b 21 07 d8 b6 fb b3 b2 …h.9…[!..
19 51 11 50 f7 55 6b 51-31 e9 d5 cb e3 17 51 3b .Q.P.UkQ1…Q;
9f ea 88 f8 8b a2 63 54-72 5d fa 58 d0 9b 75 14 …cTr].X…u.
ec f9 75 e6 a3 d2 25 c8-e9 4d 93 d9 72 db 37 49 …u…%…M…r.7I

Binary Images:
0x10535d000 - 0x105664fff python3.8 () <08e3d6ca-367e-3a11-b0fd-162a868ed9ae> /Users/USER//python3.8
0x1135a2000 - 0x11360dfff dyld (*) /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=142.5M resident=0K(0%) swapped_out_or_unallocated=142.5M(100%)
Writable regions: Total=537.2M written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=537.2M(100%)

                            VIRTUAL   REGION 

REGION TYPE SIZE COUNT (non-coalesced)
=========== ======= =======
Kernel Alloc Once 8K 1
MALLOC 137.1M 10
MALLOC guard page 16K 4
MALLOC_NANO (reserved) 384.0M 1 reserved VM address space (unallocated)
ObjC additional data 15K 1
STACK GUARD 4K 1
Stack 16.0M 1
VM_ALLOCATE 8K 2
__DATA 554K 39
__DATA_CONST 288K 33
__DATA_DIRTY 58K 22
__LINKEDIT 134.8M 4
__TEXT 7916K 43
dyld private memory 1024K 1
shared memory 8K 1
=========== ======= =======
TOTAL 681.6M 164
TOTAL, minus reserved VM space 297.6M 164


Full Report

{“app_name”:“python3.8”,“timestamp”:“2022-10-10 14:40:15.00 +0800”,“app_version”:"",“slice_uuid”:“08e3d6ca-367e-3a11-b0fd-162a868ed9ae”,“build_version”:"",“platform”:1,“share_with_app_devs”:0,“is_first_party”:1,“bug_type”:“309”,“os_version”:“macOS 12.5 (21G72)”,“incident_id”:“284586D5-84C3-4BF2-BA98-C257D103C65F”,“name”:“python3.8”}
{
“uptime” : 270,
“procLaunch” : “2022-10-10 14:40:15.8580 +0800”,
“procRole” : “Unspecified”,
“version” : 2,
“userID” : 501,
“deployVersion” : 210,
“modelCode” : “MacBookAir7,2”,
“procStartAbsTime” : 270989691368,
“coalitionID” : 957,
“osVersion” : {
“train” : “macOS 12.5”,
“build” : “21G72”,
“releaseType” : “User”
},
“captureTime” : “2022-10-10 14:40:15.8877 +0800”,
“incident” : “284586D5-84C3-4BF2-BA98-C257D103C65F”,
“bug_type” : “309”,
“pid” : 869,
“procExitAbsTime” : 271004850918,
“cpuType” : “X86-64”,
“procName” : “python3.8”,
“procPath” : “/Users/USER//python3.8",
“parentProc” : “Exited process”,
“parentPid” : 868,
“coalitionName” : “com.sublimetext.4”,
“crashReporterKey” : “8719118E-AA09-F22A-EE08-F02D96F49EFA”,
“responsiblePid” : 863,
“sip” : “enabled”,
“vmRegionInfo” : "0 is not in any region. Bytes before following region: 4382380032\n REGION TYPE START - END [ VSIZE] PRT/MAX SHRMOD REGION DETAIL\n UNUSED SPACE AT START\n—> \n __TEXT 10535d000-105665000 [ 3104K] r-x/rwx SM=COW …R/
/python3.8”,
“isCorpse” : 1,
“exception” : {“codes”:“0x000000000000000d, 0x0000000000000000”,“rawCodes”:[13,0],“type”:“EXC_BAD_ACCESS”,“signal”:“SIGSEGV”,“subtype”:“UNKNOWN_0xD at 0x0000000000000000”},
“termination” : {“flags”:0,“code”:11,“namespace”:“SIGNAL”,“indicator”:“Segmentation fault: 11”,“byProc”:“exc handler”,“byPid”:869},
“vmregioninfo” : “0 is not in any region. Bytes before following region: 4382380032\n REGION TYPE START - END [ VSIZE] PRT/MAX SHRMOD REGION DETAIL\n UNUSED SPACE AT START\n—> \n __TEXT 10535d000-105665000 [ 3104K] r-x/rwx SM=COW …R//python3.8",
“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”:8456,“instructionState”:{“instructionStream”:{“bytes”:[41,22,6,242,51,66,53,251,133,227,217,180,232,33,46,196,39,249,16,99,177,201,195,226,23,208,152,164,239,244,118,71,20,198,168,44,95,111,240,230,197,128,148,144,156,31,237,153,248,196,115,52,207,202,242,74,95,190,202,0,220,27,226,250,5,255,166,17,165,88,181,41,98,196,139,178,165,109,200,29,51,144,230,196,248,77,149,116,238,209,230,69,138,223,28,124,236,243,29,172,203,15,91,60,39,89,167,5,119,96,212,220,81,40,212,56,102,8,253,85,181,116,103,126,8,248,87,148,175,227,104,150,57,203,142,229,91,33,7,216,182,251,179,178,25,81,17,80,247,85,107,81,49,233,213,203,227,23,81,59,159,234,136,248,139,162,99,84,114,93,250,88,208,155,117,20,236,249,117,230,163,210,37,200,233,77,147,217,114,219,55,73],“offset”:96}},“threadState”:{“r13”:{“value”:1079541884},“rax”:{“value”:140701966412124},“rflags”:{“value”:68118},“cpu”:{“value”:1},“r14”:{“value”:140701966412024},“rsi”:{“value”:181648960},“r8”:{“value”:8456},“cr2”:{“value”:4384265792},“rdx”:{“value”:140701966412416},“r10”:{“value”:0},“r9”:{“value”:18446744069414584320},“r15”:{“value”:4620083216,“symbolLocation”:0,“symbol”:“dyld4::sConfigBuffer”},“rbx”:{“value”:140701966411952},“trap”:{“value”:13},“err”:{“value”:0},“r11”:{“value”:528},“rip”:{“value”:4384265809,“matchesCrashFrame”:1},“rbp”:{“value”:140701966411936},“rsp”:{“value”:140701966411400},“r12”:{“value”:140701966411952},“rcx”:{“value”:140701966412544},“flavor”:“x86_THREAD_STATE”,“rdi”:{“value”:140701966411808}},“queue”:“com.apple.main-thread”,“frames”:[{“imageOffset”:1885777,“imageIndex”:0},{“imageOffset”:2068882,“imageIndex”:0},{“imageOffset”:2067974,“imageIndex”:0},{“imageOffset”:5992,“imageIndex”:0},{“imageOffset”:21806,“symbol”:“start”,“symbolLocation”:462,“imageIndex”:1}]}],
“usedImages” : [
{
“source” : “P”,
“arch” : “x86_64”,
“base” : 4382380032,
“size” : 3178496,
“uuid” : “08e3d6ca-367e-3a11-b0fd-162a868ed9ae”,
“path” : "/Users/USER/
/python3.8”,
“name” : “python3.8”
},
{
“source” : “P”,
“arch” : “x86_64”,
“base” : 4619640832,
“size” : 442368,
“uuid” : “f71fb3ca-5fcc-3577-9457-b047888a46d1”,
“path” : “/usr/lib/dyld”,
“name” : “dyld”
}
],
“sharedCache” : {
“base” : 140703400046592,
“size” : 19331678208,
“uuid” : “cc386fb1-8c26-3cb7-8329-cc63095fca7d”
},
“vmSummary” : “ReadOnly portion of Libraries: Total=142.5M resident=0K(0%) swapped_out_or_unallocated=142.5M(100%)\nWritable regions: Total=537.2M written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=537.2M(100%)\n\n VIRTUAL REGION \nREGION TYPE SIZE COUNT (non-coalesced) \n=========== ======= ======= \nKernel Alloc Once 8K 1 \nMALLOC 137.1M 10 \nMALLOC guard page 16K 4 \nMALLOC_NANO (reserved) 384.0M 1 reserved VM address space (unallocated)\nObjC additional data 15K 1 \nSTACK GUARD 4K 1 \nStack 16.0M 1 \nVM_ALLOCATE 8K 2 \n__DATA 554K 39 \n__DATA_CONST 288K 33 \n__DATA_DIRTY 58K 22 \n__LINKEDIT 134.8M 4 \n__TEXT 7916K 43 \ndyld private memory 1024K 1 \nshared memory 8K 1 \n=========== ======= ======= \nTOTAL 681.6M 164 \nTOTAL, minus reserved VM space 297.6M 164 \n”,
“legacyInfo” : {
“threadTriggered” : {
“queue” : “com.apple.main-thread”
}
},
“trialInfo” : {
“rollouts” : [
{
“rolloutId” : “5fb4245a1bbfe8005e33a1e1”,
“factorPackIds” : {

  },
  "deploymentId" : 240000015
},
{
  "rolloutId" : "60186475825c62000ccf5450",
  "factorPackIds" : {

  },
  "deploymentId" : 240000026
}

],
“experiments” : [
{
“treatmentId” : “5b729754-3882-4560-826f-9c0bc27d77c6”,
“experimentId” : “6192fb082171a2330e561df0”,
“deploymentId” : 400000035
}
]
}
}

0 Likes