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.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 42676 in the body.
You can then email your comments to 42676 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#42676; Package emacs. (Sun, 02 Aug 2020 14:37:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Grégory Mounié <Gregory.Mounie <at> imag.fr>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Sun, 02 Aug 2020 14:37:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

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 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)]

Merged 42673 42676 42677. Request was from Eli Zaretskii <eliz <at> gnu.org> to control <at> debbugs.gnu.org. (Sun, 02 Aug 2020 17:25:03 GMT) Full text and rfc822 format available.

Reply sent to Eli Zaretskii <eliz <at> gnu.org>:
You have taken responsibility. (Sun, 02 Aug 2020 17:25:03 GMT) Full text and rfc822 format available.

Notification sent to Grégory Mounié <Gregory.Mounie <at> imag.fr>:
bug acknowledged by developer. (Sun, 02 Aug 2020 17:25:03 GMT) Full text and rfc822 format available.

Message #12 received at 42676-done <at> debbugs.gnu.org (full text, mbox):

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.




Reply sent to Eli Zaretskii <eliz <at> gnu.org>:
You have taken responsibility. (Sun, 02 Aug 2020 17:25:04 GMT) Full text and rfc822 format available.

Notification sent to Yichao Yu <yyc1992 <at> gmail.com>:
bug acknowledged by developer. (Sun, 02 Aug 2020 17:25:04 GMT) Full text and rfc822 format available.

Reply sent to Eli Zaretskii <eliz <at> gnu.org>:
You have taken responsibility. (Sun, 02 Aug 2020 17:25:04 GMT) Full text and rfc822 format available.

Notification sent to dfireBird _ <aadhishrm11 <at> gmail.com>:
bug acknowledged by developer. (Sun, 02 Aug 2020 17:25:04 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 31 Aug 2020 11:24:07 GMT) Full text and rfc822 format available.

This bug report was last modified 3 years and 231 days ago.

Previous Next


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