emacs启动不起来了

os:MacOS 14.5 emacs: emacs-plus@29

前天晚上笔记本电脑没电了,充电线没带,然后emacs没有正常关闭 今天打开,重新开机

打不开emacs了,重启后,也还是这样

大佬们帮忙看看

限于论坛字数限制,Full Report paste不上来

-------------------------------------
Translated Report (Full Report Below)
-------------------------------------

Process:               Emacs [2515]
Path:                  /usr/local/Cellar/emacs-plus@29/29.3/Emacs.app/Contents/MacOS/Emacs
Identifier:            org.gnu.Emacs
Version:               Version 29.3 (9.0)
Code Type:             X86-64 (Native)
Parent Process:        zsh [1631]
Responsible:           iTerm2 [1541]
User ID:               501

Date/Time:             2024-06-16 12:09:15.1826 +0800
OS Version:            macOS 14.5 (23F79)
Report Version:        12
Bridge OS Version:     8.5 (21P5077)
Anonymous UUID:        D15412C6-B892-60DD-D3C6-B71E797C4BEB


Time Awake Since Boot: 750 seconds

System Integrity Protection: disabled

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

Exception Type:        EXC_BAD_ACCESS (SIGABRT)
Exception Codes:       UNKNOWN_0xD at 0x0000000000000000
Exception Codes:       0x000000000000000d, 0x0000000000000000

Termination Reason:    Namespace SIGNAL, Code 6 Abort trap: 6
Terminating Process:   Emacs [2515]

VM Region Info: 0 is not in any region.  Bytes before following region: 4300619776
      REGION TYPE                    START - END         [ VSIZE] PRT/MAX SHRMOD  REGION DETAIL
      UNUSED SPACE AT START
--->  
      __TEXT                      100564000-1007b2000    [ 2360K] r-x/r-x SM=COW  /usr/local/Cellar/emacs-plus@29/29.3/Emacs.app/Contents/MacOS/Emacs

Kernel Triage:
VM - (arg = 0x0) Waiting on busy page was interrupted


Thread 0 Crashed::  Dispatch queue: com.apple.main-thread
0   libsystem_kernel.dylib        	    0x7ff8181e014a __pthread_kill + 10
1   libsystem_pthread.dylib       	    0x7ff818218ebd pthread_kill + 262
2   libsystem_c.dylib             	    0x7ff8181040a8 raise + 24
3   Emacs                         	       0x1007712ac terminate_due_to_signal + 169
4   Emacs                         	       0x100771a4f emacs_abort + 15
5   Emacs                         	       0x1007372af ns_term_shutdown + 151
6   Emacs                         	       0x10062d176 shut_down_emacs + 331
7   Emacs                         	       0x10077127a terminate_due_to_signal + 119
8   Emacs                         	       0x10064d7ae deliver_fatal_thread_signal + 119
9   Emacs                         	       0x10064ef76 handle_sigsegv + 55
10  libsystem_platform.dylib      	    0x7ff818247fdd _sigtramp + 29
11  ???                           	               0x0 ???
12  Emacs                         	       0x100627f50 face_for_font + 43
13  Emacs                         	       0x10071ff5b face_for_char + 506
14  Emacs                         	       0x1006c7a76 Finternal_char_font + 367
15  Emacs                         	       0x1006eaa4c exec_byte_code + 2538
16  Emacs                         	       0x1006ea02d Fbyte_code + 130
17  Emacs                         	       0x1006a94a6 eval_sub + 2209
18  Emacs                         	       0x1006d1e0a readevalloop + 1522
19  Emacs                         	       0x1006d02b7 Fload + 2506
20  Emacs                         	       0x1006d209b save_match_data_load + 77
21  Emacs                         	       0x1006ad216 load_with_autoload_queue + 107
22  Emacs                         	       0x1006b8bbb Frequire + 565
23  Emacs                         	       0x1006ab0c5 Ffuncall + 348
24  Emacs                         	       0x1006a9314 eval_sub + 1807
25  Emacs                         	       0x1006a96c0 Fprog1 + 19
26  Emacs                         	       0x1006a9209 eval_sub + 1540
27  Emacs                         	       0x1006a963c Fprogn + 32
28  Emacs                         	       0x1006aa610 FletX + 94
29  Emacs                         	       0x1006a9209 eval_sub + 1540
30  Emacs                         	       0x1006a963c Fprogn + 32
31  Emacs                         	       0x1006ae88b funcall_lambda + 1203
32  Emacs                         	       0x1006ab0c5 Ffuncall + 348
33  Emacs                         	       0x1006eaa4c exec_byte_code + 2538
34  Emacs                         	       0x1006ea02d Fbyte_code + 130
35  Emacs                         	       0x1006a94a6 eval_sub + 2209
36  Emacs                         	       0x1006d1e0a readevalloop + 1522
37  Emacs                         	       0x1006d02b7 Fload + 2506
38  Emacs                         	       0x1006d209b save_match_data_load + 77
39  Emacs                         	       0x1006ad216 load_with_autoload_queue + 107
40  Emacs                         	       0x1006b8bbb Frequire + 565
41  Emacs                         	       0x1006ab0c5 Ffuncall + 348
42  Emacs                         	       0x1006ad7dc Fapply + 596
43  Emacs                         	       0x1006a9314 eval_sub + 1807
44  Emacs                         	       0x1006a96c0 Fprog1 + 19
45  Emacs                         	       0x1006a9209 eval_sub + 1540
46  Emacs                         	       0x1006a963c Fprogn + 32
47  Emacs                         	       0x1006aa610 FletX + 94
48  Emacs                         	       0x1006a9209 eval_sub + 1540
49  Emacs                         	       0x1006a963c Fprogn + 32
50  Emacs                         	       0x1006ae88b funcall_lambda + 1203
51  Emacs                         	       0x1006ab0c5 Ffuncall + 348
52  Emacs                         	       0x1006ad7dc Fapply + 596
53  Emacs                         	       0x1006eaa4c exec_byte_code + 2538
54  Emacs                         	       0x1006ad4be apply_lambda + 260
55  Emacs                         	       0x1006a9012 eval_sub + 1037
56  Emacs                         	       0x1006a9166 eval_sub + 1377
57  Emacs                         	       0x1006a95ed Fif + 18
58  Emacs                         	       0x1006a9209 eval_sub + 1540
59  Emacs                         	       0x1006a963c Fprogn + 32
60  Emacs                         	       0x1006a9209 eval_sub + 1540
61  Emacs                         	       0x1006ab9f5 internal_lisp_condition_case + 738
62  Emacs                         	       0x1006a9209 eval_sub + 1540
63  Emacs                         	       0x1006d8217 readevalloop_eager_expand_eval + 199
64  Emacs                         	       0x1006d8271 readevalloop_eager_expand_eval + 289
65  Emacs                         	       0x1006d1e03 readevalloop + 1515
66  Emacs                         	       0x1006d225a Feval_buffer + 352
67  Emacs                         	       0x1006eaa4c exec_byte_code + 2538
68  Emacs                         	       0x1006ab0c5 Ffuncall + 348
69  Emacs                         	       0x1006cff19 Fload + 1580
70  Emacs                         	       0x1006d209b save_match_data_load + 77
71  Emacs                         	       0x1006ad216 load_with_autoload_queue + 107
72  Emacs                         	       0x1006b8bbb Frequire + 565
73  Emacs                         	       0x1006ab0c5 Ffuncall + 348
74  Emacs                         	       0x1006a9314 eval_sub + 1807
75  Emacs                         	       0x1006a96c0 Fprog1 + 19
76  Emacs                         	       0x1006a9209 eval_sub + 1540
77  Emacs                         	       0x1006a963c Fprogn + 32
78  Emacs                         	       0x1006aa610 FletX + 94
79  Emacs                         	       0x1006a9209 eval_sub + 1540
80  Emacs                         	       0x1006a963c Fprogn + 32
81  Emacs                         	       0x1006ae88b funcall_lambda + 1203
82  Emacs                         	       0x1006ab0c5 Ffuncall + 348
83  Emacs                         	       0x1006eaa4c exec_byte_code + 2538
84  Emacs                         	       0x1006ad4be apply_lambda + 260
85  Emacs                         	       0x1006a9012 eval_sub + 1037
86  Emacs                         	       0x1006d8217 readevalloop_eager_expand_eval + 199
87  Emacs                         	       0x1006d1e03 readevalloop + 1515
88  Emacs                         	       0x1006d225a Feval_buffer + 352
89  Emacs                         	       0x1006eaa4c exec_byte_code + 2538
90  Emacs                         	       0x1006ab0c5 Ffuncall + 348
91  Emacs                         	       0x1006cff19 Fload + 1580
92  Emacs                         	       0x1006eaa4c exec_byte_code + 2538
93  Emacs                         	       0x1006ad4be apply_lambda + 260
94  Emacs                         	       0x1006a9012 eval_sub + 1037
95  Emacs                         	       0x1006ad317 Feval + 84
96  Emacs                         	       0x1006abbfb internal_condition_case + 86
97  Emacs                         	       0x100641817 top_level_1 + 45
98  Emacs                         	       0x1006ab689 internal_catch + 80
99  Emacs                         	       0x100771671 command_loop.cold.1 + 54
100 Emacs                         	       0x10062fe15 command_loop + 132
101 Emacs                         	       0x10062fd00 recursive_edit_1 + 142
102 Emacs                         	       0x10062ffa7 Frecursive_edit + 208
103 Emacs                         	       0x10062ef6e main + 7584
104 dyld                          	    0x7ff817e8d366 start + 1942

Thread 1:
0   libsystem_pthread.dylib       	    0x7ff818214ac0 start_wqthread + 0

Thread 2:
0   libsystem_pthread.dylib       	    0x7ff818214ac0 start_wqthread + 0

Thread 3:
0   libsystem_pthread.dylib       	    0x7ff818214ac0 start_wqthread + 0

Thread 4:
0   libsystem_pthread.dylib       	    0x7ff818214ac0 start_wqthread + 0

Thread 5:
0   libsystem_kernel.dylib        	    0x7ff8181de1ee __pselect + 10
1   libsystem_kernel.dylib        	    0x7ff8181de0e3 pselect$DARWIN_EXTSN + 42
2   Emacs                         	       0x100738536 -[EmacsApp fd_handler:] + 155
3   Foundation                    	    0x7ff81929ed9c __NSThread__start__ + 1013
4   libsystem_pthread.dylib       	    0x7ff81821918b _pthread_start + 99
5   libsystem_pthread.dylib       	    0x7ff818214ae3 thread_start + 15

Thread 6:: com.apple.NSEventThread
0   libsystem_kernel.dylib        	    0x7ff8181d93ce mach_msg2_trap + 10
1   libsystem_kernel.dylib        	    0x7ff8181e7c88 mach_msg2_internal + 84
2   libsystem_kernel.dylib        	    0x7ff8181e0510 mach_msg_overwrite + 653
3   libsystem_kernel.dylib        	    0x7ff8181d96bd mach_msg + 19
4   CoreFoundation                	    0x7ff8182f61c5 __CFRunLoopServiceMachPort + 143
5   CoreFoundation                	    0x7ff8182f4c35 __CFRunLoopRun + 1371
6   CoreFoundation                	    0x7ff8182f4112 CFRunLoopRunSpecific + 557
7   AppKit                        	    0x7ff81bac2bbc _NSEventThread + 122
8   libsystem_pthread.dylib       	    0x7ff81821918b _pthread_start + 99
9   libsystem_pthread.dylib       	    0x7ff818214ae3 thread_start + 15


Thread 0 crashed with X86 Thread State (64-bit):
  rax: 0x0000000000000000  rbx: 0x0000000000000006  rcx: 0x0000000100cc1588  rdx: 0x0000000000000000
  rdi: 0x0000000000000103  rsi: 0x0000000000000006  rbp: 0x0000000100cc15b0  rsp: 0x0000000100cc1588
   r8: 0x011dfff85b76e831   r9: 0x00000000abe7311a  r10: 0x00007ff85b759fc0  r11: 0x0000000000000246
  r12: 0x0000000000000103  r13: 0x00007f928890306d  r14: 0x00007ff85b759fc0  r15: 0x0000000000000016
  rip: 0x00007ff8181e014a  rfl: 0x0000000000000246  cr2: 0x0000000000000000
  
Logical CPU:     0
Error Code:      0x02000148 
Trap Number:     133

Thread 0 instruction stream:
  00 00 48 83 c3 fb eb 1a-b8 ff ff e7 ff 41 23 86  ..H..........A#.
  00 01 00 00 0d 00 00 08-00 41 89 86 00 01 00 00  .........A......
  31 db 49 89 9e e8 00 00-00 49 c7 86 a8 00 00 00  1.I......I......
  00 00 00 00 49 8b 96 08-01 00 00 4c 89 ff 4c 89  ....I......L..L.
  f6 e8 3f 49 00 00 41 8b-86 a0 00 00 00 48 83 c4  ..?I..A......H..
  08 5b 41 5c 41 5d 41 5e-41 5f 5d c3 55 48 89 e5  .[A\A]A^A_].UH..
 [48]8b 47 08 48 8b 48 14-8a 11 84 d2 74 27 48 ff  H.G.H.H.....t'H.	<==
  c1 31 c0 48 01 c0 0f b6-d2 8d 72 bf 44 8d 42 20  .1.H......r.D.B 
  83 fe 1a 44 0f 43 c2 4c-31 c0 8a 11 48 ff c1 84  ...D.C.L1...H...
  d2 75 e0 eb 02 31 c0 48-8b 4f 10 48 8b 51 14 40  .u...1.H.O.H.Q.@
  8a 32 40 84 f6 74 2c 48-ff c2 31 c9 48 01 c9 40  [email protected],H..1.H..@
  0f b6 f6 44 8d 46 bf 44-8d 4e 20 41 83 f8 1a 44  ...D.F.D.N A...D

Binary Images:
       0x1012ce000 -        0x1012dafff libobjc-trampolines.dylib (*) <caf1eb21-6511-3736-9b71-deedf5e9226b> /usr/lib/libobjc-trampolines.dylib
       0x101301000 -        0x10136cfff libtiff.6.dylib (*) <55079858-b796-3ef8-b4e8-592f70f72fef> /usr/local/Cellar/libtiff/4.6.0/lib/libtiff.6.dylib
       0x1014e3000 -        0x10156cfff libjpeg.8.3.2.dylib (*) <00dc0fbe-adb2-33c7-9f1c-e1e81a59f818> /usr/local/Cellar/jpeg-turbo/3.0.2/lib/libjpeg.8.3.2.dylib
       0x100ea2000 -        0x100ec5fff libpng16.16.dylib (*) <a7ce725b-8c2f-31a7-881e-3849519be95c> /usr/local/Cellar/libpng/1.6.43/lib/libpng16.16.dylib
       0x100e81000 -        0x100e88fff libgif.7.2.0.dylib (*) <1e87a809-bbad-3043-9063-362131602de3> /usr/local/Cellar/giflib/5.2.1/lib/libgif.7.2.0.dylib
       0x100e91000 -        0x100e94fff libwebpdemux.2.0.14.dylib (*) <37546c25-6369-3e26-8b89-59d966f8d863> /usr/local/Cellar/webp/1.3.2/lib/libwebpdemux.2.0.14.dylib
       0x1013bf000 -        0x1013eafff libwebpdecoder.3.1.8.dylib (*) <0c5a7ac3-55f0-39f7-8b2a-583a05f454b4> /usr/local/Cellar/webp/1.3.2/lib/libwebpdecoder.3.1.8.dylib
       0x10175d000 -        0x1018e6fff libgnutls.30.dylib (*) <ce0eeeba-8de6-3c51-9c61-1ae51aca0af4> /usr/local/Cellar/gnutls/3.8.4/lib/libgnutls.30.dylib
       0x101585000 -        0x1015c4fff liblcms2.2.dylib (*) <f0b1d472-d96c-3a76-bcaa-d876e0e0f3c2> /usr/local/Cellar/little-cms2/2.16/lib/liblcms2.2.dylib
       0x101385000 -        0x101390fff libjansson.4.dylib (*) <32c9595a-8e95-38a7-9654-ebf183b617b1> /usr/local/Cellar/jansson/2.14/lib/libjansson.4.dylib
       0x1015dd000 -        0x101638fff libgmp.10.dylib (*) <6329e5e8-f4e6-3534-90bd-0972dd970ccd> /usr/local/Cellar/gmp/6.3.0/lib/libgmp.10.dylib
       0x101441000 -        0x10145efff libtree-sitter.0.22.dylib (*) <0e2a500c-8d29-39dc-9994-63287bd752bc> /usr/local/Cellar/tree-sitter/0.22.2/lib/libtree-sitter.0.22.dylib
       0x101a5d000 -        0x101b5cfff libsqlite3.0.dylib (*) <6e615441-b74f-3d4f-99a4-614a228135f7> /usr/local/Cellar/sqlite/3.45.2/lib/libsqlite3.0.dylib
       0x101939000 -        0x1019dffff libzstd.1.5.6.dylib (*) <2bc8492d-2343-3f75-bfb5-653fb78584f9> /usr/local/Cellar/zstd/1.5.6/lib/libzstd.1.5.6.dylib
       0x101468000 -        0x101487fff liblzma.5.dylib (*) <da48310f-4fba-31db-b426-f57a6be7992d> /usr/local/Cellar/xz/5.4.6/lib/liblzma.5.dylib
       0x1016b4000 -        0x101707fff libwebp.7.1.8.dylib (*) <af7a0b09-341e-311f-b3dc-4a6acdeb46af> /usr/local/Cellar/webp/1.3.2/lib/libwebp.7.1.8.dylib
       0x100ed2000 -        0x100ed5fff libsharpyuv.0.0.1.dylib (*) <1bf98541-6fde-3dfa-9967-2867d0018117> /usr/local/Cellar/webp/1.3.2/lib/libsharpyuv.0.0.1.dylib
       0x1014b7000 -        0x1014cefff libintl.8.dylib (*) <de029f22-11da-36d8-a0e6-050af177861c> /usr/local/Cellar/gettext/0.22.5/lib/libintl.8.dylib
       0x101cb9000 -        0x101d88fff libp11-kit.0.dylib (*) <45112839-2da4-35e4-9d85-546344c3e159> /usr/local/Cellar/p11-kit/0.25.3/lib/libp11-kit.0.dylib
       0x10171c000 -        0x10174bfff libidn2.0.dylib (*) <001072cd-deb8-3e92-9b04-26774f347fd4> /usr/local/Cellar/libidn2/2.3.7/lib/libidn2.0.dylib
       0x101fb2000 -        0x102159fff libunistring.5.dylib (*) <22e580d0-76a9-37a5-b1d2-607c52c38146> /usr/local/Cellar/libunistring/1.2/lib/libunistring.5.dylib
       0x10139d000 -        0x1013acfff libtasn1.6.dylib (*) <9f0522bd-e0df-3a5a-91e5-a022f485fdc5> /usr/local/Cellar/libtasn1/4.19.0/lib/libtasn1.6.dylib
       0x1019f1000 -        0x101a28fff libnettle.8.8.dylib (*) <76bc7424-3b78-35e0-9085-2250846c6533> /usr/local/Cellar/nettle/3.9.1/lib/libnettle.8.8.dylib
       0x101b81000 -        0x101bb8fff libhogweed.6.8.dylib (*) <79ee9783-3599-38ed-af6d-46c6372998c9> /usr/local/Cellar/nettle/3.9.1/lib/libhogweed.6.8.dylib
       0x100564000 -        0x1007b1fff org.gnu.Emacs (Version 29.3) <f40207bb-1024-33a0-9b8f-b959866a827e> /usr/local/Cellar/emacs-plus@29/29.3/Emacs.app/Contents/MacOS/Emacs
    0x7ff8181d8000 -     0x7ff818212ff7 libsystem_kernel.dylib (*) <13597eeb-2ea0-3d48-8be1-dfc4872a784b> /usr/lib/system/libsystem_kernel.dylib
    0x7ff818213000 -     0x7ff81821eff7 libsystem_pthread.dylib (*) <25b2f3eb-07b4-3cb9-9457-2c26210c27c8> /usr/lib/system/libsystem_pthread.dylib
    0x7ff8180bf000 -     0x7ff818146ff7 libsystem_c.dylib (*) <93fb3816-608b-33af-83d2-209b4bd673ad> /usr/lib/system/libsystem_c.dylib
    0x7ff818244000 -     0x7ff81824eff7 libsystem_platform.dylib (*) <acde8386-eb3f-36f2-bc5e-069cc59d079c> /usr/lib/system/libsystem_platform.dylib
               0x0 - 0xffffffffffffffff ??? (*) <00000000-0000-0000-0000-000000000000> ???
    0x7ff817e87000 -     0x7ff817f17b9f dyld (*) <baa6f02e-dff3-3562-8c99-ea2820c91ad9> /usr/lib/dyld
    0x7ff819249000 -     0x7ff819e7fff3 com.apple.Foundation (6.9) <086a9e16-7c3a-32b4-821e-214a25c9a7eb> /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation
    0x7ff81827a000 -     0x7ff818714ffc com.apple.CoreFoundation (6.9) <59d4644f-7aa6-3767-80ab-73d7a388a4ff> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
    0x7ff81b926000 -     0x7ff81cd54ff2 com.apple.AppKit (6.9) <33ecd3dc-c895-35e2-a1fd-c1761b155964> /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit

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: 2
    thread_create: 2
    thread_set_state: 0

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

                                VIRTUAL   REGION 
REGION TYPE                        SIZE    COUNT (non-coalesced) 
===========                     =======  ======= 
Accelerate framework               128K        1 
Activity Tracing                   256K        1 
CG image                           124K        4 
ColorSync                          240K       29 
CoreAnimation                      208K       14 
CoreGraphics                        16K        3 
CoreImage                           28K        2 
CoreServices                       196K        1 
CoreUI image data                  884K        7 
Foundation                          16K        1 
Kernel Alloc Once                    8K        1 
MALLOC                             2.0G       71 
MALLOC guard page                   48K       12 
STACK GUARD                         24K        6 
Stack                             11.0M        7 
Stack (reserved)                  1596K        1         reserved VM address space (unallocated)
Stack Guard                       54.4M        1 
VM_ALLOCATE                         36K        6 
__CTF                               824        1 
__DATA                            26.9M      397 
__DATA_CONST                      20.1M      254 
__DATA_DIRTY                       813K      115 
__FONT_DATA                        2352        1 
__LINKEDIT                       182.0M       26 
__OBJC_RO                         71.8M        1 
__OBJC_RW                         2200K        2 
__TEXT                           345.4M      422 
dyld private memory                260K        2 
mapped file                        4.8G     1152 
shared memory                     1304K       19 
===========                     =======  ======= 
TOTAL                              7.5G     2560 
TOTAL, minus reserved VM space     7.5G     2560 




是不是最近更新了 macOS 系统?试过重新安装(也就是编译)Emacs 了吗

2 个赞

可以试试 GitHub Gist 或者 https://pastebin.com/

1 个赞

如果在终端 emacs --debug-init 不行的话,就重装一下吧,不费事。

2 个赞

是更新了,重装后解决了