Skip to content

Instantly share code, notes, and snippets.

@zrzka
Created February 6, 2024 15:51
Show Gist options
  • Save zrzka/b01a3c8c013c5efcafd9fde6ac8b78a9 to your computer and use it in GitHub Desktop.
Save zrzka/b01a3c8c013c5efcafd9fde6ac8b78a9 to your computer and use it in GitHub Desktop.
Font face crash
* thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x8)
* frame #0: 0x00000001000cde08 emacs`lface_hash(v=0x0000000000000000) at xfaces.c:4434:41 [opt]
frame #1: 0x00000001000cdcb8 emacs`face_for_font(f=0x0000000131183230, font_object=0x0000000122716405, base_face=0x0000000000000000) at xfaces.c:4932:10 [opt]
frame #2: 0x00000001001e7a88 emacs`face_for_char(f=0x0000000131183230, face=0x00000001306818a0, c=<unavailable>, pos=<unavailable>, object=<unavailable>) at fontset.c:1014:14 [opt]
frame #3: 0x00000001001835ec emacs`Finternal_char_font [inlined] FACE_FOR_CHAR(f=0x0000000131183230, face=<unavailable>, character=9207, pos=-1, object=0x0000000000000000) at dispextern.h:1911:10 [opt]
frame #4: 0x00000001001835d8 emacs`Finternal_char_font(position=<unavailable>, ch=<unavailable>) at font.c:4521:13 [opt]
frame #5: 0x00000001001ac550 emacs`exec_byte_code(fun=<unavailable>, args_template=<unavailable>, nargs=<unavailable>, args=<unavailable>) at bytecode.c:809:14 [opt]
frame #6: 0x0000000100165620 emacs`funcall_lambda [inlined] fetch_and_exec_byte_code(fun=<unavailable>, args_template=<unavailable>, nargs=<unavailable>, args=<unavailable>) at eval.c:3085:10 [opt] [artificial]
frame #7: 0x0000000100163b40 emacs`apply_lambda(fun=0x0000000102b027f5, args=<unavailable>, count=(bytes = 2240)) at eval.c:3107:9 [opt]
frame #8: 0x000000010015e7ec emacs`eval_sub(form=<unavailable>) at lisp.h:0:10 [opt]
frame #9: 0x000000010015edd4 emacs`Fif(args=0x000000010f871253) at eval.c:388:10 [opt]
frame #10: 0x000000010015ea28 emacs`eval_sub(form=<unavailable>) at eval.c:2453:8 [opt]
frame #11: 0x000000010015f044 emacs`Fsetq(args=<unavailable>) at eval.c:483:13 [opt]
frame #12: 0x000000010015ea28 emacs`eval_sub(form=<unavailable>) at eval.c:2453:8 [opt]
frame #13: 0x000000010015ee60 emacs`Fprogn(body=0x000000010f884b73) at eval.c:436:13 [opt]
frame #14: 0x000000010015ea28 emacs`eval_sub(form=<unavailable>) at eval.c:2453:8 [opt]
frame #15: 0x000000010015ee60 emacs`Fprogn(body=0x000000010f883d53) at eval.c:436:13 [opt]
frame #16: 0x000000010015ea28 emacs`eval_sub(form=<unavailable>) at eval.c:2453:8 [opt]
frame #17: 0x0000000100161b14 emacs`internal_lisp_condition_case(var=<unavailable>, bodyform=<unavailable>, handlers=<unavailable>) at eval.c:1428:34 [opt]
frame #18: 0x000000010015ea28 emacs`eval_sub(form=<unavailable>) at eval.c:2453:8 [opt]
frame #19: 0x00000001001656cc emacs`funcall_lambda at eval.c:436:13 [opt]
frame #20: 0x00000001001656c0 emacs`funcall_lambda(fun=0x000000010f8a3dc3, nargs=0, arg_vector=0x0000000128028370) at eval.c:3237:11 [opt]
frame #21: 0x0000000100164e18 emacs`funcall_general(fun=<unavailable>, numargs=<unavailable>, args=<unavailable>) at eval.c:0 [opt] [artificial]
frame #22: 0x00000001001ac3d4 emacs`exec_byte_code(fun=<unavailable>, args_template=<unavailable>, nargs=<unavailable>, args=<unavailable>) at bytecode.c:811:14 [opt]
frame #23: 0x0000000100165620 emacs`funcall_lambda [inlined] fetch_and_exec_byte_code(fun=<unavailable>, args_template=<unavailable>, nargs=<unavailable>, args=<unavailable>) at eval.c:3085:10 [opt] [artificial]
frame #24: 0x0000000100163b40 emacs`apply_lambda(fun=0x0000000102dfad05, args=<unavailable>, count=(bytes = 2016)) at eval.c:3107:9 [opt]
frame #25: 0x000000010015e7ec emacs`eval_sub(form=<unavailable>) at lisp.h:0:10 [opt]
frame #26: 0x000000010015ee60 emacs`Fprogn(body=0x000000010f8a3c63) at eval.c:436:13 [opt]
frame #27: 0x000000010015ea28 emacs`eval_sub(form=<unavailable>) at eval.c:2453:8 [opt]
frame #28: 0x0000000100161b14 emacs`internal_lisp_condition_case(var=<unavailable>, bodyform=<unavailable>, handlers=<unavailable>) at eval.c:1428:34 [opt]
frame #29: 0x000000010015ea28 emacs`eval_sub(form=<unavailable>) at eval.c:2453:8 [opt]
frame #30: 0x0000000100195918 emacs`readevalloop_eager_expand_eval(val=<unavailable>, macroexpand=0x000000000269f710) at lread.c:2164:13 [opt]
frame #31: 0x00000001001959e0 emacs`readevalloop_eager_expand_eval(val=<unavailable>, macroexpand=0x000000000269f710) at lread.c:2161:8 [opt]
frame #32: 0x000000010018ddf8 emacs`readevalloop(readcharfun=0x0000000112e64e05, infile0=0x0000000000000000, sourcename=0x000000010f329144, printflag=false, unibyte=0x0000000000000000, readfun=0x0000000000000000, start=0x0000000000000000, end=0x0000000000000000) at lread.c:2348:15 [opt]
frame #33: 0x000000010018e1d0 emacs`Feval_buffer(buffer=<unavailable>, printflag=<unavailable>, filename=0x000000010f329144, unibyte=0x0000000000000000, do_allow_print=<unavailable>) at lread.c:2421:3 [opt]
frame #34: 0x00000001001ac550 emacs`exec_byte_code(fun=<unavailable>, args_template=<unavailable>, nargs=<unavailable>, args=<unavailable>) at bytecode.c:809:14 [opt]
frame #35: 0x0000000100165620 emacs`funcall_lambda [inlined] fetch_and_exec_byte_code(fun=<unavailable>, args_template=<unavailable>, nargs=<unavailable>, args=<unavailable>) at eval.c:3085:10 [opt] [artificial]
frame #36: 0x0000000100164e18 emacs`funcall_general(fun=<unavailable>, numargs=<unavailable>, args=<unavailable>) at eval.c:0 [opt] [artificial]
frame #37: 0x0000000100160ebc emacs`Ffuncall(nargs=5, args=0x000000016fdfe2b0) at eval.c:2999:21 [opt]
frame #38: 0x000000010018c02c emacs`Fload [inlined] call4(fn=<unavailable>, arg1=<unavailable>, arg2=0x000000010f329144, arg3=<unavailable>, arg4=<unavailable>) at lisp.h:3270:10 [opt]
frame #39: 0x000000010018c014 emacs`Fload(file=0x000000010f31e8b4, noerror=0x0000000000000000, nomessage=<unavailable>, nosuffix=0x0000000000000000, must_suffix=<unavailable>) at lread.c:1484:10 [opt]
frame #40: 0x000000010018e010 emacs`save_match_data_load(file=<unavailable>, noerror=<unavailable>, nomessage=<unavailable>, nosuffix=<unavailable>, must_suffix=<unavailable>) at lread.c:1637:24 [opt]
frame #41: 0x00000001001637e0 emacs`load_with_autoload_queue(file=0x000000010f31e8b4, noerror=0x0000000000000000, nomessage=0x0000000000000030, nosuffix=0x0000000000000000, must_suffix=0x0000000000000030) at eval.c:2291:7 [opt]
frame #42: 0x00000001001728a0 emacs`Frequire(feature=0x0000000012954008, filename=<unavailable>, noerror=0x0000000000000000) at fns.c:3418:13 [opt]
frame #43: 0x000000010015ecb0 emacs`eval_sub(form=<unavailable>) at eval.c:2508:15 [opt]
frame #44: 0x0000000100195918 emacs`readevalloop_eager_expand_eval(val=<unavailable>, macroexpand=0x000000000269f710) at lread.c:2164:13 [opt]
frame #45: 0x000000010018ddf8 emacs`readevalloop(readcharfun=0x0000000121040ded, infile0=0x0000000000000000, sourcename=0x000000012080d964, printflag=false, unibyte=0x0000000000000000, readfun=0x0000000000000000, start=0x0000000000000000, end=0x0000000000000000) at lread.c:2348:15 [opt]
frame #46: 0x000000010018e1d0 emacs`Feval_buffer(buffer=<unavailable>, printflag=<unavailable>, filename=0x000000012080d964, unibyte=0x0000000000000000, do_allow_print=<unavailable>) at lread.c:2421:3 [opt]
frame #47: 0x00000001001ac550 emacs`exec_byte_code(fun=<unavailable>, args_template=<unavailable>, nargs=<unavailable>, args=<unavailable>) at bytecode.c:809:14 [opt]
frame #48: 0x0000000100165620 emacs`funcall_lambda [inlined] fetch_and_exec_byte_code(fun=<unavailable>, args_template=<unavailable>, nargs=<unavailable>, args=<unavailable>) at eval.c:3085:10 [opt] [artificial]
frame #49: 0x0000000100164e18 emacs`funcall_general(fun=<unavailable>, numargs=<unavailable>, args=<unavailable>) at eval.c:0 [opt] [artificial]
frame #50: 0x0000000100160ebc emacs`Ffuncall(nargs=5, args=0x000000016fdfe980) at eval.c:2999:21 [opt]
frame #51: 0x000000010018c02c emacs`Fload [inlined] call4(fn=<unavailable>, arg1=<unavailable>, arg2=0x000000012080d964, arg3=<unavailable>, arg4=<unavailable>) at lisp.h:3270:10 [opt]
frame #52: 0x000000010018c014 emacs`Fload(file=0x000000012080d6b4, noerror=0x00000000023c1918, nomessage=<unavailable>, nosuffix=<unavailable>, must_suffix=<unavailable>) at lread.c:1484:10 [opt]
frame #53: 0x00000001001ac550 emacs`exec_byte_code(fun=<unavailable>, args_template=<unavailable>, nargs=<unavailable>, args=<unavailable>) at bytecode.c:809:14 [opt]
frame #54: 0x0000000100165620 emacs`funcall_lambda [inlined] fetch_and_exec_byte_code(fun=<unavailable>, args_template=<unavailable>, nargs=<unavailable>, args=<unavailable>) at eval.c:3085:10 [opt] [artificial]
frame #55: 0x0000000100163b40 emacs`apply_lambda(fun=0x0000000102debaad, args=<unavailable>, count=(bytes = 128)) at eval.c:3107:9 [opt]
frame #56: 0x000000010015e7ec emacs`eval_sub(form=0x00000001035d39d3) at lisp.h:0:10 [opt]
frame #57: 0x0000000100163910 emacs`Feval(form=0x00000001035d39d3, lexical=<unavailable>) at eval.c:2365:28 [opt]
frame #58: 0x00000001000e9a1c emacs`top_level_2 at keyboard.c:1142:10 [opt] [artificial]
frame #59: 0x0000000100161ea0 emacs`internal_condition_case(bfun=(emacs`top_level_2 at keyboard.c:1142:17), handlers=0x0000000000000090, hfun=(emacs`cmd_error at keyboard.c:936)) at eval.c:1474:25 [opt]
frame #60: 0x00000001000e99dc emacs`top_level_1(ignore=<unavailable>) at keyboard.c:1150:5 [opt]
frame #61: 0x0000000100161600 emacs`internal_catch(tag=0x000000000000eee0, func=(emacs`top_level_1 at keyboard.c:1147), arg=0x0000000000000000) at eval.c:1197:25 [opt]
frame #62: 0x0000000100242c4c emacs`command_loop.cold.1 at keyboard.c:1110:2 [opt]
frame #63: 0x00000001000d610c emacs`command_loop at keyboard.c:1110:2 [opt]
frame #64: 0x00000001000d5fc4 emacs`recursive_edit_1 at keyboard.c:720:9 [opt]
frame #65: 0x00000001000d6374 emacs`Frecursive_edit at keyboard.c:803:3 [opt]
frame #66: 0x00000001000d5124 emacs`main(argc=<unavailable>, argv=0x000000016fdff240) at emacs.c:2521:3 [opt]
frame #67: 0x00000001867ad0e0 dyld`start + 2360
warning: emacs was compiled with optimization - stepping may behave oddly; variables may not be available.
Process 20885 stopped
* thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x8)
frame #0: 0x00000001000cde08 emacs`lface_hash(v=0x0000000000000000) at xfaces.c:4434:41 [opt]
4431 static uintptr_t
4432 lface_hash (Lisp_Object *v)
4433 {
-> 4434 return (hash_string_case_insensitive (v[LFACE_FAMILY_INDEX])
4435 ^ hash_string_case_insensitive (v[LFACE_FOUNDRY_INDEX])
4436 ^ hash_string_case_insensitive (v[LFACE_FOREGROUND_INDEX])
4437 ^ hash_string_case_insensitive (v[LFACE_BACKGROUND_INDEX])
Target 0: (emacs) stopped.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment