--- Begin Message ---
Subject: |
26.3, 27.1-rc1, master: Emacs (X11) segfaults if XIM is set but not XIM_Styles |
Date: |
Sun, 2 Aug 2020 16:36:32 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.11.0 |
Hello
Emacs (emacs -Q with X11) segfaults in xfns.c (create_frame_xic), at
its initialization, if XIM pointer is set, but not XIM_styles pointer.
The patch extends the check on xim pointer to add the XIM_Styles
pointer too.
The code is at least several years old (git blame write "2014-03" in
26.3 branch). The bug is present in master, 27.1-rc1 and 26.3 branch.
The bug triggers today in my settings (emacs 26.3 from my debian/sid
with gdm3 and windowmaker), but I do not know exactly why yet.
Have a nice day
Grégory Mounié
0001-Emacs-segfaults-if-xim-is-set-but-not-xim_styles.patch
Description: Text Data
--- End Message ---
--- Begin Message ---
Subject: |
Re: bug#42676: 26.3, 27.1-rc1, master: Emacs (X11) segfaults if XIM is set but not XIM_Styles |
Date: |
Sun, 02 Aug 2020 20:24:10 +0300 |
> From: Grégory Mounié
> <Gregory.Mounie@imag.fr>
> Date: Sun, 2 Aug 2020 16:36:32 +0200
>
> Emacs (emacs -Q with X11) segfaults in xfns.c (create_frame_xic), at
> its initialization, if XIM pointer is set, but not XIM_styles pointer.
>
> The patch extends the check on xim pointer to add the XIM_Styles
> pointer too.
Thanks, I installed this change.
--- End Message ---