Subject: bug#45511: 27.1; Emacs crashes in gui_produce_glyphs when using a custom function for org-roam-insert

From: Eli Zaretskii <[email-masked]>
Date: Mon, 28 Dec 2020 21:28:55 +0200

> From: Maikol Solís <[email-masked]>
> Date: Mon, 28 Dec 2020 12:42:08 -0600
> Cc: Maikol Solís <[email-masked]>, 
> 	[email-masked]
> 
> (gdb) bt
> #0  0x00000000004693ed in gui_produce_glyphs (it=0x7ffd8df127a0) at xdisp.c:29925
> #1  0x000000000044d632 in maybe_produce_line_number (it=it@entry=0x7ffd8df16260) at xdisp.c:22909
> #2  0x000000000045a0ee in display_line (it=it@entry=0x7ffd8df16260, cursor_vpos=cursor_vpos@entry=1)
> at xdisp.c:23161
> #3  0x000000000045e00d in try_window (window=0x234d765, pos=..., flags=<optimized out>) at
> xdisp.c:19182

Thanks.  This is a duplicate of bug#44111, which is already fixed for
the upcoming Emacs 27.2.  If you can find a binary of the pretest
Emacs 27.1.90, you should see this problem gone there.