Subject: bug#59802: 30.0.50; Checkbox button not rendered

From: Eli Zaretskii <[email-masked]>
Date: Sat, 03 Dec 2022 20:22:12 +0200

> From: Manuel Giraud <[email-masked]>
> Cc: [email-masked]
> Date: Sat, 03 Dec 2022 19:16:51 +0100
> 
> Now this is strange.  Here is what I get at the svg_load break point for
> img:
> 
> --8<---------------cut here---------------start------------->8---
> (gdb) p img
> $2 = (struct image *) 0x10980e87d0
> (gdb) p img->spec
> Cannot access memory at address 0x10980e8860
> --8<---------------cut here---------------end--------------->8---

If you step till this line:

  /* If IMG->spec specifies a file name, create a non-file spec from it.  */
  file_name = image_spec_value (img->spec, QCfile, NULL);  <<<<<<<<<<<<<<<

is img still garbled and GDB cannot display img->spec?

If so, I suggest to go up the callstack and look for the reason why 'img' is
garbled.