Subject: bug#69431: 30.0.50; Strange fontificaion behavior

From: Björn Bidar <[email-masked]>
Date: Sat, 23 Mar 2024 22:34:31 +0200

The bug in my last message only seem happen sometimes.
Now Emacs did not built without bootstrap as before
it failed with: error ("Invalid byte opcode: op=0, ptr=0")
imagemagick-register-types()
during the built.

After continuing to built with make bootstrap Emacs built fine but the same bug occured that
I originally mentioned happened again.
Crash in:
0x000000000059ea4e in funcall_subr (subr=0xbdc980 <Sinternal_get_lisp_face_attribute>, numargs=numargs@entry=3, 
    args=args@entry=0x7fffff6700e8) at /home/bidar/dev/emacs/emacs/src/eval.c:3094
#0  0x000000000059ea4e in funcall_subr
    (subr=0xbdc980 <Sinternal_get_lisp_face_attribute>, numargs=numargs@entry=3, args=args@entry=0x7fffff6700e8)
    at /home/bidar/dev/emacs/emacs/src/eval.c:3094
#1  0x000000000059f380 in funcall_general (fun=<optimized out>, numargs=numargs@entry=3, args=args@entry=0x7fffff6700e8)
    at /home/bidar/dev/emacs/emacs/src/lisp.h:2217
#2  0x000000000059f56a in Ffuncall (nargs=4, args=0x7fffff6700e0) at /home/bidar/dev/emacs/emacs/src/eval.c:3022
#3  0x00007ffff19ba9b2 in F666163652d617474726962757465_face_attribute_0 ()
    at /home/bidar/dev/emacs/emacs/src/../native-lisp/30.0.50-4df357ea/preloaded/faces-b9447c93-32c2609b.eln
#4  0x000000000059ea6c in funcall_subr (subr=0x7ffff1d608a8, numargs=numargs@entry=4, args=args@entry=0x7fffff670268)
    at /home/bidar/dev/emacs/emacs/src/eval.c:3096
#5  0x000000000059f380 in funcall_general (fun=<optimized out>, numargs=numargs@entry=4, args=args@entry=0x7fffff670268)
    at /home/bidar/dev/emacs/emacs/src/lisp.h:2217
#6  0x000000000059f56a in Ffuncall (nargs=5, args=0x7fffff670260) at /home/bidar/dev/emacs/emacs/src/eval.c:3022
#7  0x00007ffff19bacfc in F666163652d6174747269627574652d6d65726765642d77697468_face_attribute_merged_with_0 ()
    at /home/bidar/dev/emacs/emacs/src/../native-lisp/30.0.50-4df357ea/preloaded/faces-b9447c93-32c2609b.eln
#8  0x000000000059ea6c in funcall_subr (subr=0x7ffff227c6c8, numargs=numargs@entry=4, args=args@entry=0x7fffff6703f8)
    at /home/bidar/dev/emacs/emacs/src/eval.c:3096
#9  0x000000000059f380 in funcall_general (fun=<optimized out>, numargs=numargs@entry=4, args=args@entry=0x7fffff6703f8)
    at /home/bidar/dev/emacs/emacs/src/lisp.h:2217
#10 0x000000000059f56a in Ffuncall (nargs=5, args=0x7fffff6703f0) at /home/bidar/dev/emacs/emacs/src/eval.c:3022
#11 0x00007ffff19bab9e in F666163652d617474726962757465_face_attribute_0 ()
    at /home/bidar/dev/emacs/emacs/src/../native-lisp/30.0.50-4df357ea/preloaded/faces-b9447c93-32c2609b.eln
#12 0x000000000059ea6c in funcall_subr (subr=0x7ffff1d608a8, numargs=numargs@entry=4, args=args@entry=0x7fffff670568)
    at /home/bidar/dev/emacs/emacs/src/eval.c:3096
#13 0x000000000059f380 in funcall_general (fun=<optimized out>, numargs=numargs@entry=4, args=args@entry=0x7fffff670568)
    at /home/bidar/dev/emacs/emacs/src/lisp.h:2217
#14 0x000000000059f56a in Ffuncall (nargs=5, args=0x7fffff670560) at /home/bidar/dev/emacs/emacs/src/eval.c:3022
#15 0x00007ffff19bacfc in F666163652d6174747269627574652d6d65726765642d77697468_face_attribute_merged_with_0 ()
    at /home/bidar/dev/emacs/emacs/src/../native-lisp/30.0.50-4df357ea/preloaded/faces-b9447c93-32c2609b.eln
#16 0x000000000059ea6c in funcall_subr (subr=0x7ffff227c6c8, numargs=numargs@entry=4, args=args@entry=0x7fffff6706f8)
    at /home/bidar/dev/emacs/emacs/src/eval.c:3096
#17 0x000000000059f380 in funcall_general (fun=<optimized out>, numargs=numargs@entry=4, args=args@entry=0x7fffff6706f8)
    at /home/bidar/dev/emacs/emacs/src/lisp.h:2217
#18 0x000000000059f56a in Ffuncall (nargs=5, args=0x7fffff6706f0) at /home/bidar/dev/emacs/emacs/src/eval.c:3022
#19 0x00007ffff19bab9e in F666163652d617474726962757465_face_attribute_0 ()
    at /home/bidar/dev/emacs/emacs/src/../native-lisp/30.0.50-4df357ea/preloaded/faces-b9447c93-32c2609b.eln
#20 0x000000000059ea6c in funcall_subr (subr=0x7ffff1d608a8, numargs=numargs@entry=4, args=args@entry=0x7fffff670868)
    at /home/bidar/dev/emacs/emacs/src/eval.c:3096