GNU bug report logs - #42676
26.3, 27.1-rc1, master: Emacs (X11) segfaults if XIM is set but not XIM_Styles

Previous Next

Package: emacs;

Reported by: Grégory Mounié <Gregory.Mounie <at> imag.fr>

Date: Sun, 2 Aug 2020 14:37:01 UTC

Severity: normal

Merged with 42673, 42677

Found in versions 26.3, 27.1

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Grégory Mounié <Gregory.Mounie <at> imag.fr>
To: 42676 <at> debbugs.gnu.org
Subject: bug#42676: 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
[Message part 1 (text/plain, inline)]
 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 (text/x-patch, attachment)]

This bug report was last modified 4 years and 290 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.