bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#37637: 27.0.50; Segmentation fault when setting font face for new fr


From: Andreas Hilboll
Subject: bug#37637: 27.0.50; Segmentation fault when setting font face for new frames
Date: Mon, 07 Oct 2019 23:00:38 +0200
User-agent: mu4e 1.0; emacs 27.0.50

Please run Emacs under a debugger and show the C-level and Lisp-level
backtraces from the crash.

Sure thing, here we go:

(gdb) bt
#0 0x00005555557c133d in terminate_due_to_signal (sig=6, backtrace_limit=2147483647) at emacs.c:371 #1 0x00005555558de4c1 in die (msg=0x555555b781f0 "UNSIGNED_CMP (DEFAULT_FACE_ID, <, FRAME_FACE_CACHE (f)->used)", file=0x555555b7679d "font.c", line=3317) at alloc.c:7245 #2 0x000055555596f31d in font_open_for_lface (f=0x555556a28e50, entity=XIL(0x5555592ec375), attrs=0x5555578f9618, spec=XIL(0x555559345925)) at font.c:3317 #3 0x000055555596f6b9 in font_load_for_lface (f=0x555556a28e50, attrs=0x5555578f9618, spec=XIL(0x555559345925)) at font.c:3395 #4 0x000055555572df1a in Finternal_set_lisp_face_attribute (face=XIL(0x57e3f0), attr=XIL(0xc90), value=XIL(0x555559345925), frame=XIL(0x555556a28e55)) at xfaces.c:3150 #5 0x000055555593b24d in funcall_subr (subr=0x555556103220 <Sinternal_set_lisp_face_attribute>, numargs=4, args=0x7fffffff9e58) at eval.c:2875 #6 0x000055555593ac93 in Ffuncall (nargs=5, args=0x7fffffff9e50) at eval.c:2794 #7 0x00005555559b5d21 in exec_byte_code (bytestr=XIL(0x7ffff0d380ec), vector=XIL(0x7ffff0d37f8d), maxdepth=make_fixnum(14), args_template=make_fixnum(642), nargs=10, args=0x7fffffffa3c8)
   at bytecode.c:633
#8 0x000055555593b917 in funcall_lambda (fun=XIL(0x7ffff0d37f5d), nargs=10, arg_vector=0x7fffffffa3b8) at eval.c:2989 #9 0x000055555593acd7 in Ffuncall (nargs=11, args=0x7fffffffa3b0) at eval.c:2796 #10 0x0000555555939ecf in Fapply (nargs=4, args=0x7fffffffa5d0) at eval.c:2424 #11 0x000055555593b0bd in funcall_subr (subr=0x55555610c320 <Sapply>, numargs=4, args=0x7fffffffa5d0) at eval.c:2847 #12 0x000055555593ac93 in Ffuncall (nargs=5, args=0x7fffffffa5c8) at eval.c:2794 #13 0x00005555559b5d21 in exec_byte_code (bytestr=XIL(0x7ffff0d3812c), vector=XIL(0x7ffff0d37f05), maxdepth=make_fixnum(9), args_template=make_fixnum(771), nargs=3, args=0x7fffffffaae8)
   at bytecode.c:633
#14 0x000055555593b917 in funcall_lambda (fun=XIL(0x7ffff0d37ed5), nargs=3, arg_vector=0x7fffffffaad0) at eval.c:2989 #15 0x000055555593acd7 in Ffuncall (nargs=4, args=0x7fffffffaac8) at eval.c:2796 #16 0x00005555559b5d21 in exec_byte_code (bytestr=XIL(0x7ffff0d38d04), vector=XIL(0x7ffff0d36565), maxdepth=make_fixnum(12), args_template=make_fixnum(514), nargs=2, args=0x7fffffffb008)
   at bytecode.c:633
#17 0x000055555593b917 in funcall_lambda (fun=XIL(0x7ffff0d36535), nargs=2, arg_vector=0x7fffffffaff8) at eval.c:2989 #18 0x000055555593acd7 in Ffuncall (nargs=3, args=0x7fffffffaff0) at eval.c:2796 #19 0x00005555559b5d21 in exec_byte_code (bytestr=XIL(0x7ffff0e533cc), vector=XIL(0x7ffff0d3649d), maxdepth=make_fixnum(8), args_template=make_fixnum(770), nargs=3, args=0x7fffffffb4e8)
   at bytecode.c:633
#20 0x000055555593b917 in funcall_lambda (fun=XIL(0x7ffff0d3646d), nargs=3, arg_vector=0x7fffffffb4d0) at eval.c:2989 #21 0x000055555593acd7 in Ffuncall (nargs=4, args=0x7fffffffb4c8) at eval.c:2796 #22 0x00005555559b5d21 in exec_byte_code (bytestr=XIL(0x7ffff0e5363c), vector=XIL(0x7ffff0d34425), maxdepth=make_fixnum(7), args_template=XIL(0), nargs=0, args=0x0) at bytecode.c:633 #23 0x000055555593be78 in funcall_lambda (fun=XIL(0x7ffff0d343f5), nargs=6, arg_vector=0x7ffff0d34425) at eval.c:3067 #24 0x000055555593b54e in apply_lambda (fun=XIL(0x7ffff0d343f5), args=XIL(0x555556f09713), count=22) at eval.c:2926 #25 0x000055555593974a in eval_sub (form=XIL(0x555556f09723)) at eval.c:2318
#26 0x0000555555933c95 in Fprogn (body=XIL(0)) at eval.c:462
#27 0x000055555593578b in FletX (args=XIL(0x555556f07e13)) at eval.c:918 #28 0x000055555593915e in eval_sub (form=XIL(0x555556f07e03)) at eval.c:2226
#29 0x0000555555933c95 in Fprogn (body=XIL(0)) at eval.c:462
#30 0x000055555593bdd6 in funcall_lambda (fun=XIL(0x555556f07df3), nargs=1, arg_vector=0x0) at eval.c:3060 #31 0x000055555593b54e in apply_lambda (fun=XIL(0x555556f07df3), args=XIL(0x555556569d23), count=15) at eval.c:2926 #32 0x0000555555939966 in eval_sub (form=XIL(0x555556569d33)) at eval.c:2348
#33 0x0000555555933c95 in Fprogn (body=XIL(0)) at eval.c:462
#34 0x000055555593915e in eval_sub (form=XIL(0x555556f07c63)) at eval.c:2226 #35 0x0000555555933a08 in Fif (args=XIL(0x555556f07c43)) at eval.c:417 #36 0x000055555593915e in eval_sub (form=XIL(0x555556f07c33)) at eval.c:2226
#37 0x0000555555933c95 in Fprogn (body=XIL(0)) at eval.c:462
#38 0x000055555593bdd6 in funcall_lambda (fun=XIL(0x555556f07b83), nargs=1, arg_vector=0x0) at eval.c:3060 #39 0x000055555593adea in Ffuncall (nargs=2, args=0x7fffffffc598) at eval.c:2808 #40 0x0000555555939f0c in funcall_nil (nargs=2, args=0x7fffffffc598) at eval.c:2435 #41 0x000055555593a436 in run_hook_with_args (nargs=2, args=0x7fffffffc598, funcall=0x555555939ee9 <funcall_nil>) at eval.c:2612 #42 0x0000555555939f92 in Frun_hook_with_args (nargs=2, args=0x7fffffffc598) at eval.c:2477 #43 0x000055555593b0bd in funcall_subr (subr=0x55555610c3a0 <Srun_hook_with_args>, numargs=2, args=0x7fffffffc598) at eval.c:2847 #44 0x000055555593ac93 in Ffuncall (nargs=3, args=0x7fffffffc590) at eval.c:2794 #45 0x00005555559b5d21 in exec_byte_code (bytestr=XIL(0x7ffff0eed114), vector=XIL(0x7ffff0cd42cd), maxdepth=make_fixnum(14), args_template=make_fixnum(256), nargs=0, args=0x7fffffffcb70)
   at bytecode.c:633
#46 0x000055555593b917 in funcall_lambda (fun=XIL(0x7ffff0cd4295), nargs=0, arg_vector=0x7fffffffcb70) at eval.c:2989 #47 0x000055555593acd7 in Ffuncall (nargs=1, args=0x7fffffffcb68) at eval.c:2796 #48 0x00005555559b5d21 in exec_byte_code (bytestr=XIL(0x7ffff0eb318c), vector=XIL(0x7ffff0eb316d), maxdepth=make_fixnum(2), args_template=make_fixnum(0), nargs=0, args=0x7fffffffd270)
   at bytecode.c:633
#49 0x000055555593b917 in funcall_lambda (fun=XIL(0x7ffff0eb3135), nargs=0, arg_vector=0x7fffffffd270) at eval.c:2989 #50 0x000055555593acd7 in Ffuncall (nargs=1, args=0x7fffffffd268) at eval.c:2796 #51 0x0000555555929561 in Ffuncall_interactively (nargs=1, args=0x7fffffffd268) at callint.c:254 #52 0x000055555593b0bd in funcall_subr (subr=0x55555610bb20 <Sfuncall_interactively>, numargs=1, args=0x7fffffffd268) at eval.c:2847 #53 0x000055555593ac93 in Ffuncall (nargs=2, args=0x7fffffffd260) at eval.c:2794 #54 0x0000555555939a94 in Fapply (nargs=3, args=0x7fffffffd260) at eval.c:2377 #55 0x00005555559299ca in Fcall_interactively (function=XIL(0x2aaa9ad2e940), record_flag=XIL(0), keys=XIL(0x555558725905)) at callint.c:342 #56 0x000055555593b216 in funcall_subr (subr=0x55555610bb60 <Scall_interactively>, numargs=3, args=0x7fffffffd520) at eval.c:2872 #57 0x000055555593ac93 in Ffuncall (nargs=4, args=0x7fffffffd518) at eval.c:2794 #58 0x00005555559b5d21 in exec_byte_code (bytestr=XIL(0x7ffff0daabac), vector=XIL(0x7ffff0daa73d), maxdepth=make_fixnum(13), args_template=make_fixnum(1025), nargs=1, args=0x7fffffffda60)
   at bytecode.c:633
#59 0x000055555593b917 in funcall_lambda (fun=XIL(0x7ffff0daa70d), nargs=1, arg_vector=0x7fffffffda58) at eval.c:2989 #60 0x000055555593acd7 in Ffuncall (nargs=2, args=0x7fffffffda50) at eval.c:2796 #61 0x000055555593a5c3 in call1 (fn=XIL(0x4170), arg1=XIL(0x2aaa9ad2e940)) at eval.c:2654
#62 0x00005555557cef56 in command_loop_1 () at keyboard.c:1458
#63 0x0000555555936c77 in internal_condition_case (bfun=0x5555557ce71f <command_loop_1>, handlers=XIL(0x90), hfun=0x5555557cdd2e <cmd_error>) at eval.c:1355 #64 0x00005555557ce304 in command_loop_2 (ignore=XIL(0)) at keyboard.c:1091 #65 0x000055555593612b in internal_catch (tag=XIL(0xcea0), func=0x5555557ce2d7 <command_loop_2>, arg=XIL(0)) at eval.c:1116
#66 0x00005555557ce2a2 in command_loop () at keyboard.c:1070
#67 0x00005555557cd815 in recursive_edit_1 () at keyboard.c:714
#68 0x00005555557cda0d in Frecursive_edit () at keyboard.c:786
#69 0x00005555557c3aec in main (argc=1, argv=0x7fffffffdf58) at emacs.c:2055

Lisp Backtrace:
"internal-set-lisp-face-attribute" (0xffff9e58)
"set-face-attribute" (0xffffa3b8)
"apply" (0xffffa5d0)
"face-spec-set-2" (0xffffaad0)
"face-spec-recalc" (0xffffaff8)
"face-spec-set" (0xffffb4d0)
"custom-theme-set-faces" (0xffffb9d0)
"let*" (0xffffbce0)
"ah/setup-gui-frame" (0xffffbe30)
"progn" (0xffffc0a0)
"if" (0xffffc200)
0x56f07b80 Lisp type 3
"run-hook-with-args" (0xffffc598)
"make-frame" (0xffffcb70)
"make-frame-command" (0xffffd270)
"funcall-interactively" (0xffffd268)
"call-interactively" (0xffffd520)
"command-execute" (0xffffda58)


Please let me know if you need anything else.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]