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: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#42676: closed (26.3, 27.1-rc1, master: Emacs (X11) segfaults
 if XIM is set but not XIM_Styles)
Date: Sun, 02 Aug 2020 17:25:03 +0000
[Message part 1 (text/plain, inline)]
Your message dated Sun, 02 Aug 2020 20:24:10 +0300
with message-id <83mu3darlx.fsf <at> gnu.org>
and subject line Re: bug#42676: 26.3, 27.1-rc1, master: Emacs (X11) segfaults if XIM is set but not XIM_Styles
has caused the debbugs.gnu.org bug report #42676,
regarding 26.3, 27.1-rc1, master: Emacs (X11) segfaults if XIM is set but not XIM_Styles
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
42676: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=42676
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Grégory Mounié <Gregory.Mounie <at> imag.fr>
To: bug-gnu-emacs <at> gnu.org
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
[Message part 3 (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)]
[Message part 5 (message/rfc822, inline)]
From: Eli Zaretskii <eliz <at> gnu.org>
To: Grégory Mounié <Gregory.Mounie <at> imag.fr>
Cc: 42676-done <at> debbugs.gnu.org
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 <at> 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.


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

Previous Next


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