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

From: Eli Zaretskii <[email-masked]>
Date: Thu, 12 Oct 2023 15:31:09 +0300

> From: Yuchen Guo <[email-masked]>
> Cc: [email-masked]
> Date: Thu, 12 Oct 2023 11:22:47 +0000
> 
> Eli Zaretskii <[email-masked]> writes:
> 
> > 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.
> 
> #8  ftcrfont_glyph_extents (font=0x3fe60998, glyph=1182, metrics=metrics@entry=0x0) at ftcrfont.c:94
> warning: Source file is more recent than executable.
> 94	  if (METRICS_STATUS (cache) == METRICS_INVALID)
> $1 = (struct font_metrics *) 0x12d
> $2 = (struct font_metrics *) 0x1
> quit

Po Lu, any idea what happened here?  ftcrfont_info->metrics is clearly
bogus, but how did it happen and why?  The argument FONT seems to be
valid.