Subject: bug#59832: 30.0.50; [TREESIT] Segfault in treesit_load_language

From: Eli Zaretskii <[email-masked]>
Date: Mon, 05 Dec 2022 16:57:20 +0200

> From: German Pacenza <[email-masked]>
> Cc: [email-masked]
> Date: Mon, 05 Dec 2022 11:31:53 -0300
> 
> Thread 1 (Thread 0x7fffea480940 (LWP 1788) "emacs"):
> #0  treesit_load_language (language_symbol=<optimized out>, signal_symbol=0x7fffffffd348, signal_data=0x7fffffffd350) at treesit.c:565
> #1  0x00005555557e7e74 in Ftreesit_langauge_available_p (language=0x3d80, detail=0x30) at treesit.c:628

Thanks.  Please show the output of the following:

  (gdb) frame 0
  (gdb) print XCAR(tail)