Subject: Re: bug#66416: GDB output from new crash

From: Eli Zaretskii <[email-masked]>
Date: Thu, 12 Oct 2023 13:23:27 +0300

> From: Yuchen Guo <[email-masked]>
> Date: Thu, 12 Oct 2023 08:12:54 +0000
> 
> Thread 1 (Thread 0x69d2a03d7240 (LWP 4178)):
> #0  0x000069d2a5a93a8c in __pthread_kill_implementation () from /nix/store/ld03l52xq2ssn4x0g5asypsxqls40497-glibc-2.37-8/lib/libc.so.6
> No symbol table info available.
> #1  0x000069d2a5a44c86 in raise () from /nix/store/ld03l52xq2ssn4x0g5asypsxqls40497-glibc-2.37-8/lib/libc.so.6
> No symbol table info available.
> #2  0x0000000000522793 in terminate_due_to_signal (sig=sig@entry=11, backtrace_limit=backtrace_limit@entry=40) at emacs.c:464
> No locals.
> #3  0x000000000053de25 in handle_fatal_signal (sig=sig@entry=11) at sysdep.c:1783
> No locals.
> #4  0x000000000053de52 in deliver_thread_signal (sig=sig@entry=11, handler=handler@entry=0x53de17 <handle_fatal_signal>) at sysdep.c:1775
>         old_errno = 13
> #5  0x000000000053deb6 in deliver_fatal_thread_signal (sig=sig@entry=11) at sysdep.c:1795
> No locals.
> #6  0x000000000053dfa5 in handle_sigsegv (sig=11, siginfo=<optimized out>, arg=<optimized out>) at sysdep.c:1888
>         fatal = <optimized out>
> #7  <signal handler called>
> No symbol table info available.
> #8  ftcrfont_glyph_extents (font=0x3fe60998, glyph=1182, metrics=metrics@entry=0x0) at ftcrfont.c:94
>         ftcrfont_info = 0x3fe60998
>         row = 9
>         col = 30
>         cache = 0x12d
> #9  0x0000000000616e8e in ftcrfont_draw (s=0x77801d4f6d50, from=0, to=<optimized out>, x=427, y=427, with_background=<optimized out>) at ftcrfont.c:604
>         f = 0x42a23c18
>         ftcrfont_info = 0x3fe60998
>         cr = 0x3f4a1280
>         glyphs = 0x77801d4f68a0
>         len = 1
>         i = 0

Assuming you still have this session caught in GDB, please type at the
GDB prompt:

  (gdb) fr 8
  (gdb) p cache
  (gdb) p ftcrfont_info->metrics[row]

and post the results here.

Thanks.