From unknown Tue Jun 17 01:41:14 2025 X-Loop: help-debbugs@gnu.org Subject: bug#42676: 26.3, 27.1-rc1, master: Emacs (X11) segfaults if XIM is set but not XIM_Styles Resent-From: =?UTF-8?Q?Gr=C3=A9gory_?= =?UTF-8?Q?Mouni=C3=A9?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 02 Aug 2020 14:37:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 42676 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 42676@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.159637901030557 (code B ref -1); Sun, 02 Aug 2020 14:37:01 +0000 Received: (at submit) by debbugs.gnu.org; 2 Aug 2020 14:36:50 +0000 Received: from localhost ([127.0.0.1]:43116 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k2F6X-0007wm-Vd for submit@debbugs.gnu.org; Sun, 02 Aug 2020 10:36:50 -0400 Received: from lists.gnu.org ([209.51.188.17]:50598) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k2F6V-0007wZ-TO for submit@debbugs.gnu.org; Sun, 02 Aug 2020 10:36:49 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59318) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k2F6V-00022a-My for bug-gnu-emacs@gnu.org; Sun, 02 Aug 2020 10:36:47 -0400 Received: from zm-mta-out-3.u-ga.fr ([152.77.200.56]:51434) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k2F6O-0005vs-7F for bug-gnu-emacs@gnu.org; Sun, 02 Aug 2020 10:36:46 -0400 Received: from zm-mta-out.u-ga.fr (zm-mta-out.u-ga.fr [152.77.200.53]) by zm-mta-out-3.u-ga.fr (Postfix) with ESMTP id 11D5F40FD5 for ; Sun, 2 Aug 2020 16:36:35 +0200 (CEST) Received: from smtps.univ-grenoble-alpes.fr (smtps3.u-ga.fr [195.83.24.62]) by zm-mta-out.u-ga.fr (Postfix) with ESMTP id 0B4598082A for ; Sun, 2 Aug 2020 16:36:35 +0200 (CEST) Received: from [192.168.1.14] (unknown [88.126.6.51]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: mounieg@univ-grenoble-alpes.fr) by smtps.univ-grenoble-alpes.fr (Postfix) with ESMTPSA id DD38D40008 for ; Sun, 2 Aug 2020 16:36:34 +0200 (CEST) From: =?UTF-8?Q?Gr=C3=A9gory_?= =?UTF-8?Q?Mouni=C3=A9?= Message-ID: <192a3177-7c2a-6200-00ae-616f9e52ab91@imag.fr> 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 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="------------25385C118CEE4AF6A79AB4A1" Content-Language: en-US X-Greylist: Whitelist-UGA SMTP Authentifie (mounieg@univ-grenoble-alpes.fr) via submission-587 ACL (100) Received-SPF: neutral client-ip=152.77.200.56; envelope-from=Gregory.Mounie@imag.fr; helo=zm-mta-out-3.u-ga.fr X-detected-operating-system: by eggs.gnu.org: First seen = 2020/08/02 10:36:35 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] X-Spam_score_int: -10 X-Spam_score: -1.1 X-Spam_bar: - X-Spam_report: (-1.1 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_MSPIKE_H4=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_NONE=0.001, SPF_NEUTRAL=0.779 autolearn=no autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.6 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.6 (--) This is a multi-part message in MIME format. --------------25385C118CEE4AF6A79AB4A1 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit 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é --------------25385C118CEE4AF6A79AB4A1 Content-Type: text/x-patch; charset=UTF-8; name="0001-Emacs-segfaults-if-xim-is-set-but-not-xim_styles.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename*0="0001-Emacs-segfaults-if-xim-is-set-but-not-xim_styles.patch" >From 280e1f965e5a4d2521f2c282be6348144f687ee6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gr=C3=A9gory=20Mouni=C3=A9?= Date: Sun, 2 Aug 2020 15:56:33 +0200 Subject: [PATCH] Emacs segfaults if xim is set but not xim_styles Emacs segfaults at the X11 initialization if XIM is set and xim_styles is NULL. * src/xfns.c: Check also if FRAME_X_XIM_STYLES(f) is NULL --- src/xfns.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xfns.c b/src/xfns.c index 2ab5080d97..09dcbbfb92 100644 --- a/src/xfns.c +++ b/src/xfns.c @@ -2652,7 +2652,7 @@ create_frame_xic (struct frame *f) goto out; xim = FRAME_X_XIM (f); - if (!xim) + if (!xim || ! FRAME_X_XIM_STYLES(f)) goto out; /* Determine XIC style. */ -- 2.28.0 --------------25385C118CEE4AF6A79AB4A1-- From debbugs-submit-bounces@debbugs.gnu.org Sun Aug 02 13:24:02 2020 Received: (at control) by debbugs.gnu.org; 2 Aug 2020 17:24:02 +0000 Received: from localhost ([127.0.0.1]:43319 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k2HiL-0007uL-Mq for submit@debbugs.gnu.org; Sun, 02 Aug 2020 13:24:01 -0400 Received: from eggs.gnu.org ([209.51.188.92]:53584) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k2HiJ-0007u2-E0; Sun, 02 Aug 2020 13:24:00 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:53495) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k2HiD-0004MR-Gy; Sun, 02 Aug 2020 13:23:53 -0400 Received: from [176.228.60.248] (port=4723 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1k2HiD-0002Fc-0f; Sun, 02 Aug 2020 13:23:53 -0400 Date: Sun, 02 Aug 2020 20:23:36 +0300 Message-Id: <83o8ntarmv.fsf@gnu.org> From: Eli Zaretskii To: Yichao Yu In-Reply-To: (message from Yichao Yu on Sun, 2 Aug 2020 09:22:53 -0400) Subject: Re: bug#42673: 26.3; Return value of XGetIMValues not checked in xim_open_dpy (src/xterm.c) References: X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control Cc: 42673@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) merge 42673 42676 42677 thanks > From: Yichao Yu > Date: Sun, 2 Aug 2020 09:22:53 -0400 > Cc: Yichao Yu > > The call in question is at > https://git.savannah.gnu.org/cgit/emacs.git/tree/src/xterm.c?id=9fe2bdb88a4ebd4b2286c1c2a2a2ba7411af01b6#n10316 > Since the return value isn't checked, a failure to initialize here can > cause `dpyinfo->xim_styles` to be `NULL` which intern cause readers > like https://git.savannah.gnu.org/cgit/emacs.git/tree/src/xfns.c?id=9fe2bdb88a4ebd4b2286c1c2a2a2ba7411af01b6#n2659 > to pass a `NULL` pointer to `best_xim_style` and crash. > > The fix is to check if the return value of `XGetIMValues` is not > `NULL` and if it is not `NULL`, disable XIM. Thanks, other people also reported this, so this is now fixed on the emacs-27 branch. From unknown Tue Jun 17 01:41:14 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: =?UTF-8?Q?Gr=C3=A9gory_?= =?UTF-8?Q?Mouni=C3=A9?= Subject: bug#42676: closed (Re: bug#42676: 26.3, 27.1-rc1, master: Emacs (X11) segfaults if XIM is set but not XIM_Styles) Message-ID: References: <83mu3darlx.fsf@gnu.org> <192a3177-7c2a-6200-00ae-616f9e52ab91@imag.fr> X-Gnu-PR-Message: they-closed 42676 X-Gnu-PR-Package: emacs Reply-To: 42676@debbugs.gnu.org Date: Sun, 02 Aug 2020 17:25:03 +0000 Content-Type: multipart/mixed; boundary="----------=_1596389103-30551-1" This is a multi-part message in MIME format... ------------=_1596389103-30551-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #42676: 26.3, 27.1-rc1, master: Emacs (X11) segfaults if XIM is set but not= XIM_Styles which was filed against the emacs package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 42676@debbugs.gnu.org. --=20 42676: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D42676 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1596389103-30551-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 42676-done) by debbugs.gnu.org; 2 Aug 2020 17:24:32 +0000 Received: from localhost ([127.0.0.1]:43324 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k2Hiq-0007vN-AQ for submit@debbugs.gnu.org; Sun, 02 Aug 2020 13:24:32 -0400 Received: from eggs.gnu.org ([209.51.188.92]:53752) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k2Hip-0007vC-N7 for 42676-done@debbugs.gnu.org; Sun, 02 Aug 2020 13:24:32 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:53508) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k2Hii-0004QB-UC; Sun, 02 Aug 2020 13:24:24 -0400 Received: from [176.228.60.248] (port=4758 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1k2Hii-0002Hg-EC; Sun, 02 Aug 2020 13:24:24 -0400 Date: Sun, 02 Aug 2020 20:24:10 +0300 Message-Id: <83mu3darlx.fsf@gnu.org> From: Eli Zaretskii To: =?utf-8?Q?Gr=C3=A9gory_Mouni=C3=A9?= In-Reply-To: <192a3177-7c2a-6200-00ae-616f9e52ab91@imag.fr> (Gregory.Mounie@imag.fr) Subject: Re: bug#42676: 26.3, 27.1-rc1, master: Emacs (X11) segfaults if XIM is set but not XIM_Styles References: <192a3177-7c2a-6200-00ae-616f9e52ab91@imag.fr> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 42676-done Cc: 42676-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Grégory Mounié > > 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. ------------=_1596389103-30551-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 2 Aug 2020 14:36:50 +0000 Received: from localhost ([127.0.0.1]:43116 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k2F6X-0007wm-Vd for submit@debbugs.gnu.org; Sun, 02 Aug 2020 10:36:50 -0400 Received: from lists.gnu.org ([209.51.188.17]:50598) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k2F6V-0007wZ-TO for submit@debbugs.gnu.org; Sun, 02 Aug 2020 10:36:49 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59318) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k2F6V-00022a-My for bug-gnu-emacs@gnu.org; Sun, 02 Aug 2020 10:36:47 -0400 Received: from zm-mta-out-3.u-ga.fr ([152.77.200.56]:51434) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k2F6O-0005vs-7F for bug-gnu-emacs@gnu.org; Sun, 02 Aug 2020 10:36:46 -0400 Received: from zm-mta-out.u-ga.fr (zm-mta-out.u-ga.fr [152.77.200.53]) by zm-mta-out-3.u-ga.fr (Postfix) with ESMTP id 11D5F40FD5 for ; Sun, 2 Aug 2020 16:36:35 +0200 (CEST) Received: from smtps.univ-grenoble-alpes.fr (smtps3.u-ga.fr [195.83.24.62]) by zm-mta-out.u-ga.fr (Postfix) with ESMTP id 0B4598082A for ; Sun, 2 Aug 2020 16:36:35 +0200 (CEST) Received: from [192.168.1.14] (unknown [88.126.6.51]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: mounieg@univ-grenoble-alpes.fr) by smtps.univ-grenoble-alpes.fr (Postfix) with ESMTPSA id DD38D40008 for ; Sun, 2 Aug 2020 16:36:34 +0200 (CEST) To: bug-gnu-emacs@gnu.org From: =?UTF-8?Q?Gr=c3=a9gory_Mouni=c3=a9?= Subject: 26.3, 27.1-rc1, master: Emacs (X11) segfaults if XIM is set but not XIM_Styles Message-ID: <192a3177-7c2a-6200-00ae-616f9e52ab91@imag.fr> 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 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="------------25385C118CEE4AF6A79AB4A1" Content-Language: en-US X-Greylist: Whitelist-UGA SMTP Authentifie (mounieg@univ-grenoble-alpes.fr) via submission-587 ACL (100) Received-SPF: neutral client-ip=152.77.200.56; envelope-from=Gregory.Mounie@imag.fr; helo=zm-mta-out-3.u-ga.fr X-detected-operating-system: by eggs.gnu.org: First seen = 2020/08/02 10:36:35 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] X-Spam_score_int: -10 X-Spam_score: -1.1 X-Spam_bar: - X-Spam_report: (-1.1 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_MSPIKE_H4=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_NONE=0.001, SPF_NEUTRAL=0.779 autolearn=no autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.6 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.6 (--) This is a multi-part message in MIME format. --------------25385C118CEE4AF6A79AB4A1 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit 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é --------------25385C118CEE4AF6A79AB4A1 Content-Type: text/x-patch; charset=UTF-8; name="0001-Emacs-segfaults-if-xim-is-set-but-not-xim_styles.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename*0="0001-Emacs-segfaults-if-xim-is-set-but-not-xim_styles.patch" >From 280e1f965e5a4d2521f2c282be6348144f687ee6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gr=C3=A9gory=20Mouni=C3=A9?= Date: Sun, 2 Aug 2020 15:56:33 +0200 Subject: [PATCH] Emacs segfaults if xim is set but not xim_styles Emacs segfaults at the X11 initialization if XIM is set and xim_styles is NULL. * src/xfns.c: Check also if FRAME_X_XIM_STYLES(f) is NULL --- src/xfns.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xfns.c b/src/xfns.c index 2ab5080d97..09dcbbfb92 100644 --- a/src/xfns.c +++ b/src/xfns.c @@ -2652,7 +2652,7 @@ create_frame_xic (struct frame *f) goto out; xim = FRAME_X_XIM (f); - if (!xim) + if (!xim || ! FRAME_X_XIM_STYLES(f)) goto out; /* Determine XIC style. */ -- 2.28.0 --------------25385C118CEE4AF6A79AB4A1-- ------------=_1596389103-30551-1-- From unknown Tue Jun 17 01:41:14 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Yichao Yu Subject: bug#42673: closed (Re: bug#42676: 26.3, 27.1-rc1, master: Emacs (X11) segfaults if XIM is set but not XIM_Styles) Message-ID: References: <83mu3darlx.fsf@gnu.org> X-Gnu-PR-Message: they-closed 42673 X-Gnu-PR-Package: emacs Reply-To: 42673@debbugs.gnu.org Date: Sun, 02 Aug 2020 17:25:04 +0000 Content-Type: multipart/mixed; boundary="----------=_1596389104-30551-3" This is a multi-part message in MIME format... ------------=_1596389104-30551-3 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #42676: 26.3; Return value of XGetIMValues not checked in xim_open_dpy (src= /xterm.c) which was filed against the emacs package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 42673@debbugs.gnu.org. --=20 42676: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D42676 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1596389104-30551-3 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 42676-done) by debbugs.gnu.org; 2 Aug 2020 17:24:32 +0000 Received: from localhost ([127.0.0.1]:43324 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k2Hiq-0007vN-AQ for submit@debbugs.gnu.org; Sun, 02 Aug 2020 13:24:32 -0400 Received: from eggs.gnu.org ([209.51.188.92]:53752) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k2Hip-0007vC-N7 for 42676-done@debbugs.gnu.org; Sun, 02 Aug 2020 13:24:32 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:53508) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k2Hii-0004QB-UC; Sun, 02 Aug 2020 13:24:24 -0400 Received: from [176.228.60.248] (port=4758 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1k2Hii-0002Hg-EC; Sun, 02 Aug 2020 13:24:24 -0400 Date: Sun, 02 Aug 2020 20:24:10 +0300 Message-Id: <83mu3darlx.fsf@gnu.org> From: Eli Zaretskii To: =?utf-8?Q?Gr=C3=A9gory_Mouni=C3=A9?= In-Reply-To: <192a3177-7c2a-6200-00ae-616f9e52ab91@imag.fr> (Gregory.Mounie@imag.fr) Subject: Re: bug#42676: 26.3, 27.1-rc1, master: Emacs (X11) segfaults if XIM is set but not XIM_Styles References: <192a3177-7c2a-6200-00ae-616f9e52ab91@imag.fr> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 42676-done Cc: 42676-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Grégory Mounié > > 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. ------------=_1596389104-30551-3 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 2 Aug 2020 13:23:16 +0000 Received: from localhost ([127.0.0.1]:41967 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k2DxL-0005nX-Hk for submit@debbugs.gnu.org; Sun, 02 Aug 2020 09:23:16 -0400 Received: from lists.gnu.org ([209.51.188.17]:33198) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k2DxK-0005nO-2M for submit@debbugs.gnu.org; Sun, 02 Aug 2020 09:23:14 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:44452) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k2DxJ-0006hS-TM for bug-gnu-emacs@gnu.org; Sun, 02 Aug 2020 09:23:13 -0400 Received: from mail-lj1-x243.google.com ([2a00:1450:4864:20::243]:35823) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1k2DxE-0005wD-Am for bug-gnu-emacs@gnu.org; Sun, 02 Aug 2020 09:23:13 -0400 Received: by mail-lj1-x243.google.com with SMTP id i10so2153845ljn.2 for ; Sun, 02 Aug 2020 06:23:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to:cc; bh=1HlzhQqn93GxcULkJ1QbZV1aMNcu8orwFA8NiJ4Ft9Y=; b=MXX0BsO0dwNQ9E8+od6xSxsH666+lhUGmE6lElL79v02uZQCYMvXywl4dbQW2V2BWs uA5sYYI+cweY871b8u+6EorJWcdkllNIuu08nF6yAuXjnXeplDG4ApWcTVGgrUCaEArc xzxGGX4dQl0CdARJAsqfESLltgTfmjCbI55uIA1VwPPOoZ5OCUVQ7hRinRFCqAn7RP87 z9/vu21MOJWkDQzgzPXM8M7jX8DvFKQiWbIxf1/30WO605P2KFgOwtcqLZbSLsvGdhEX 2s48orMUk2kYnyDe4HPOYw8vdR/9yMS3HuMu0pHxJKIqCaTQC3b0Lpp6dFGYVWJe2GTG q8rg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to:cc; bh=1HlzhQqn93GxcULkJ1QbZV1aMNcu8orwFA8NiJ4Ft9Y=; b=R5t6tK05OBKoXgjmRylQWszpoQJQxnCCEcLliHdkjqWxKfGnA715dPi92RNcztK80G iscHMco3WcgXpYpcldwW8fqykla6iumJeCgxRPccKa6IfwUasjM6Af8N4sukIT1m7xcv 3PZ34X4PZ+K8VvI+6ohZYvfe9MOG8c0ZA93uHHq0DSm9T4QMbdC2m7NU5076DV0+mash k6XJxb3DssFOX/gpfGxBZuM1ZgXDfyGEy4120ZRbWEjyIwDWnoobym1jvoTI0Q1nVWON FhnOQ4TXilJBk9L7QFJdlQbEK//1jf/QCa10vp3kIkUXSfJeUcDYaxj+y1NUOk/A8opK zpDw== X-Gm-Message-State: AOAM532BrhXACieNMppMpQlwqG3DFDBK54BL3GKZkjKxod+PvdgOOBMt QRjTLfZQVzXf+4qrqW/F5t/YjoSJuzbfdCqKCS7de5AkwTM= X-Google-Smtp-Source: ABdhPJzVCEPZMeMRIPnWEaQShH0lO0tJWLaysag4EjvK90DUn0H4vSh1H1VKQGlqTKScZqtpaAcp83s5gP4lyA4ePF8= X-Received: by 2002:a2e:96cb:: with SMTP id d11mr5158732ljj.239.1596374584982; Sun, 02 Aug 2020 06:23:04 -0700 (PDT) MIME-Version: 1.0 From: Yichao Yu Date: Sun, 2 Aug 2020 09:22:53 -0400 Message-ID: Subject: 26.3; Return value of XGetIMValues not checked in xim_open_dpy (src/xterm.c) To: bug-gnu-emacs@gnu.org Content-Type: text/plain; charset="UTF-8" Received-SPF: pass client-ip=2a00:1450:4864:20::243; envelope-from=yyc1992@gmail.com; helo=mail-lj1-x243.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -0.1 (/) X-Debbugs-Envelope-To: submit Cc: Yichao Yu X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.1 (--) The call in question is at https://git.savannah.gnu.org/cgit/emacs.git/tree/src/xterm.c?id=9fe2bdb88a4ebd4b2286c1c2a2a2ba7411af01b6#n10316 Since the return value isn't checked, a failure to initialize here can cause `dpyinfo->xim_styles` to be `NULL` which intern cause readers like https://git.savannah.gnu.org/cgit/emacs.git/tree/src/xfns.c?id=9fe2bdb88a4ebd4b2286c1c2a2a2ba7411af01b6#n2659 to pass a `NULL` pointer to `best_xim_style` and crash. The fix is to check if the return value of `XGetIMValues` is not `NULL` and if it is not `NULL`, disable XIM. It currently triggers due to https://gitlab.freedesktop.org/xorg/lib/libx11/-/issues/116 but this function can also fail for other reasons including bugs on the input method side. It's not guaranteed to success and a failure in this function should not cause emacs itself to crash... In GNU Emacs 26.3 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.21) of 2020-07-29 built on yyc.yyc-arch.org Repository revision: d9eea1ad1bca16406a6d4c9bd0daa57a9d0a531f System Description: Arch Linux Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. user-error: Beginning of history; no preceding item [2 times] Making completion list... Quit C-x C-g is undefined Configured using: 'configure --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib --localstatedir=/var --with-x-toolkit=gtk3 --with-xft --with-wide-int --with-modules 'CFLAGS=-march=x86-64 -mtune=generic -O2 -pipe -fno-plt -g -fvar-tracking-assignments -fdebug-prefix-map=/home/yuyichao/projects/arch-pkg/pkg/tmp/emacs/repos/extra-x86_64/src=/usr/src/debug -ggdb3 -O0 -DDEBUG_XIC_FONTSET=1' CPPFLAGS=-D_FORTIFY_SOURCE=2 LDFLAGS=-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now' Configured features: XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS GSETTINGS GLIB NOTIFY ACL GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 XDBE XIM MODULES THREADS LIBSYSTEMD LCMS2 Important settings: value of $LANG: zh_CN.UTF-8 value of $XMODIFIERS: @im=fcitx locale-coding-system: utf-8-unix Major mode: Fundamental Minor modes in effect: tooltip-mode: t global-eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t buffer-read-only: t line-number-mode: t transient-mark-mode: t Load-path shadows: /usr/share/emacs/site-lisp/org/ox hides /usr/share/emacs/26.3/lisp/org/ox /usr/share/emacs/site-lisp/org/ox-texinfo hides /usr/share/emacs/26.3/lisp/org/ox-texinfo /usr/share/emacs/site-lisp/org/ox-publish hides /usr/share/emacs/26.3/lisp/org/ox-publish /usr/share/emacs/site-lisp/org/ox-org hides /usr/share/emacs/26.3/lisp/org/ox-org /usr/share/emacs/site-lisp/org/ox-odt hides /usr/share/emacs/26.3/lisp/org/ox-odt /usr/share/emacs/site-lisp/org/ox-md hides /usr/share/emacs/26.3/lisp/org/ox-md /usr/share/emacs/site-lisp/org/ox-man hides /usr/share/emacs/26.3/lisp/org/ox-man /usr/share/emacs/site-lisp/org/ox-latex hides /usr/share/emacs/26.3/lisp/org/ox-latex /usr/share/emacs/site-lisp/org/ox-icalendar hides /usr/share/emacs/26.3/lisp/org/ox-icalendar /usr/share/emacs/site-lisp/org/ox-html hides /usr/share/emacs/26.3/lisp/org/ox-html /usr/share/emacs/site-lisp/org/ox-beamer hides /usr/share/emacs/26.3/lisp/org/ox-beamer /usr/share/emacs/site-lisp/org/ox-ascii hides /usr/share/emacs/26.3/lisp/org/ox-ascii /usr/share/emacs/site-lisp/org/org hides /usr/share/emacs/26.3/lisp/org/org /usr/share/emacs/site-lisp/org/org-version hides /usr/share/emacs/26.3/lisp/org/org-version /usr/share/emacs/site-lisp/org/org-timer hides /usr/share/emacs/26.3/lisp/org/org-timer /usr/share/emacs/site-lisp/org/org-table hides /usr/share/emacs/26.3/lisp/org/org-table /usr/share/emacs/site-lisp/org/org-src hides /usr/share/emacs/26.3/lisp/org/org-src /usr/share/emacs/site-lisp/org/org-protocol hides /usr/share/emacs/26.3/lisp/org/org-protocol /usr/share/emacs/site-lisp/org/org-plot hides /usr/share/emacs/26.3/lisp/org/org-plot /usr/share/emacs/site-lisp/org/org-pcomplete hides /usr/share/emacs/26.3/lisp/org/org-pcomplete /usr/share/emacs/site-lisp/org/org-mouse hides /usr/share/emacs/26.3/lisp/org/org-mouse /usr/share/emacs/site-lisp/org/org-mobile hides /usr/share/emacs/26.3/lisp/org/org-mobile /usr/share/emacs/site-lisp/org/org-macs hides /usr/share/emacs/26.3/lisp/org/org-macs /usr/share/emacs/site-lisp/org/org-macro hides /usr/share/emacs/26.3/lisp/org/org-macro /usr/share/emacs/site-lisp/org/org-loaddefs hides /usr/share/emacs/26.3/lisp/org/org-loaddefs /usr/share/emacs/site-lisp/org/org-list hides /usr/share/emacs/26.3/lisp/org/org-list /usr/share/emacs/site-lisp/org/org-lint hides /usr/share/emacs/26.3/lisp/org/org-lint /usr/share/emacs/site-lisp/org/org-install hides /usr/share/emacs/26.3/lisp/org/org-install /usr/share/emacs/site-lisp/org/org-inlinetask hides /usr/share/emacs/26.3/lisp/org/org-inlinetask /usr/share/emacs/site-lisp/org/org-indent hides /usr/share/emacs/26.3/lisp/org/org-indent /usr/share/emacs/site-lisp/org/org-id hides /usr/share/emacs/26.3/lisp/org/org-id /usr/share/emacs/site-lisp/org/org-habit hides /usr/share/emacs/26.3/lisp/org/org-habit /usr/share/emacs/site-lisp/org/org-footnote hides /usr/share/emacs/26.3/lisp/org/org-footnote /usr/share/emacs/site-lisp/org/org-feed hides /usr/share/emacs/26.3/lisp/org/org-feed /usr/share/emacs/site-lisp/org/org-faces hides /usr/share/emacs/26.3/lisp/org/org-faces /usr/share/emacs/site-lisp/org/org-entities hides /usr/share/emacs/26.3/lisp/org/org-entities /usr/share/emacs/site-lisp/org/org-element hides /usr/share/emacs/26.3/lisp/org/org-element /usr/share/emacs/site-lisp/org/org-duration hides /usr/share/emacs/26.3/lisp/org/org-duration /usr/share/emacs/site-lisp/org/org-datetree hides /usr/share/emacs/26.3/lisp/org/org-datetree /usr/share/emacs/site-lisp/org/org-ctags hides /usr/share/emacs/26.3/lisp/org/org-ctags /usr/share/emacs/site-lisp/org/org-crypt hides /usr/share/emacs/26.3/lisp/org/org-crypt /usr/share/emacs/site-lisp/org/org-compat hides /usr/share/emacs/26.3/lisp/org/org-compat /usr/share/emacs/site-lisp/org/org-colview hides /usr/share/emacs/26.3/lisp/org/org-colview /usr/share/emacs/site-lisp/org/org-clock hides /usr/share/emacs/26.3/lisp/org/org-clock /usr/share/emacs/site-lisp/org/org-capture hides /usr/share/emacs/26.3/lisp/org/org-capture /usr/share/emacs/site-lisp/org/org-attach hides /usr/share/emacs/26.3/lisp/org/org-attach /usr/share/emacs/site-lisp/org/org-archive hides /usr/share/emacs/26.3/lisp/org/org-archive /usr/share/emacs/site-lisp/org/org-agenda hides /usr/share/emacs/26.3/lisp/org/org-agenda /usr/share/emacs/site-lisp/org/ob hides /usr/share/emacs/26.3/lisp/org/ob /usr/share/emacs/site-lisp/org/ob-vala hides /usr/share/emacs/26.3/lisp/org/ob-vala /usr/share/emacs/site-lisp/org/ob-tangle hides /usr/share/emacs/26.3/lisp/org/ob-tangle /usr/share/emacs/site-lisp/org/ob-table hides /usr/share/emacs/26.3/lisp/org/ob-table /usr/share/emacs/site-lisp/org/ob-stan hides /usr/share/emacs/26.3/lisp/org/ob-stan /usr/share/emacs/site-lisp/org/ob-sqlite hides /usr/share/emacs/26.3/lisp/org/ob-sqlite /usr/share/emacs/site-lisp/org/ob-sql hides /usr/share/emacs/26.3/lisp/org/ob-sql /usr/share/emacs/site-lisp/org/ob-shen hides /usr/share/emacs/26.3/lisp/org/ob-shen /usr/share/emacs/site-lisp/org/ob-shell hides /usr/share/emacs/26.3/lisp/org/ob-shell /usr/share/emacs/site-lisp/org/ob-sed hides /usr/share/emacs/26.3/lisp/org/ob-sed /usr/share/emacs/site-lisp/org/ob-screen hides /usr/share/emacs/26.3/lisp/org/ob-screen /usr/share/emacs/site-lisp/org/ob-scheme hides /usr/share/emacs/26.3/lisp/org/ob-scheme /usr/share/emacs/site-lisp/org/ob-sass hides /usr/share/emacs/26.3/lisp/org/ob-sass /usr/share/emacs/site-lisp/org/ob-ruby hides /usr/share/emacs/26.3/lisp/org/ob-ruby /usr/share/emacs/site-lisp/org/ob-ref hides /usr/share/emacs/26.3/lisp/org/ob-ref /usr/share/emacs/site-lisp/org/ob-python hides /usr/share/emacs/26.3/lisp/org/ob-python /usr/share/emacs/site-lisp/org/ob-processing hides /usr/share/emacs/26.3/lisp/org/ob-processing /usr/share/emacs/site-lisp/org/ob-plantuml hides /usr/share/emacs/26.3/lisp/org/ob-plantuml /usr/share/emacs/site-lisp/org/ob-picolisp hides /usr/share/emacs/26.3/lisp/org/ob-picolisp /usr/share/emacs/site-lisp/org/ob-perl hides /usr/share/emacs/26.3/lisp/org/ob-perl /usr/share/emacs/site-lisp/org/ob-org hides /usr/share/emacs/26.3/lisp/org/ob-org /usr/share/emacs/site-lisp/org/ob-octave hides /usr/share/emacs/26.3/lisp/org/ob-octave /usr/share/emacs/site-lisp/org/ob-ocaml hides /usr/share/emacs/26.3/lisp/org/ob-ocaml /usr/share/emacs/site-lisp/org/ob-mscgen hides /usr/share/emacs/26.3/lisp/org/ob-mscgen /usr/share/emacs/site-lisp/org/ob-maxima hides /usr/share/emacs/26.3/lisp/org/ob-maxima /usr/share/emacs/site-lisp/org/ob-matlab hides /usr/share/emacs/26.3/lisp/org/ob-matlab /usr/share/emacs/site-lisp/org/ob-makefile hides /usr/share/emacs/26.3/lisp/org/ob-makefile /usr/share/emacs/site-lisp/org/ob-lua hides /usr/share/emacs/26.3/lisp/org/ob-lua /usr/share/emacs/site-lisp/org/ob-lob hides /usr/share/emacs/26.3/lisp/org/ob-lob /usr/share/emacs/site-lisp/org/ob-lisp hides /usr/share/emacs/26.3/lisp/org/ob-lisp /usr/share/emacs/site-lisp/org/ob-lilypond hides /usr/share/emacs/26.3/lisp/org/ob-lilypond /usr/share/emacs/site-lisp/org/ob-ledger hides /usr/share/emacs/26.3/lisp/org/ob-ledger /usr/share/emacs/site-lisp/org/ob-latex hides /usr/share/emacs/26.3/lisp/org/ob-latex /usr/share/emacs/site-lisp/org/ob-js hides /usr/share/emacs/26.3/lisp/org/ob-js /usr/share/emacs/site-lisp/org/ob-java hides /usr/share/emacs/26.3/lisp/org/ob-java /usr/share/emacs/site-lisp/org/ob-io hides /usr/share/emacs/26.3/lisp/org/ob-io /usr/share/emacs/site-lisp/org/ob-hledger hides /usr/share/emacs/26.3/lisp/org/ob-hledger /usr/share/emacs/site-lisp/org/ob-haskell hides /usr/share/emacs/26.3/lisp/org/ob-haskell /usr/share/emacs/site-lisp/org/ob-groovy hides /usr/share/emacs/26.3/lisp/org/ob-groovy /usr/share/emacs/site-lisp/org/ob-gnuplot hides /usr/share/emacs/26.3/lisp/org/ob-gnuplot /usr/share/emacs/site-lisp/org/ob-fortran hides /usr/share/emacs/26.3/lisp/org/ob-fortran /usr/share/emacs/site-lisp/org/ob-forth hides /usr/share/emacs/26.3/lisp/org/ob-forth /usr/share/emacs/site-lisp/org/ob-exp hides /usr/share/emacs/26.3/lisp/org/ob-exp /usr/share/emacs/site-lisp/org/ob-eval hides /usr/share/emacs/26.3/lisp/org/ob-eval /usr/share/emacs/site-lisp/org/ob-emacs-lisp hides /usr/share/emacs/26.3/lisp/org/ob-emacs-lisp /usr/share/emacs/site-lisp/org/ob-ebnf hides /usr/share/emacs/26.3/lisp/org/ob-ebnf /usr/share/emacs/site-lisp/org/ob-dot hides /usr/share/emacs/26.3/lisp/org/ob-dot /usr/share/emacs/site-lisp/org/ob-ditaa hides /usr/share/emacs/26.3/lisp/org/ob-ditaa /usr/share/emacs/site-lisp/org/ob-css hides /usr/share/emacs/26.3/lisp/org/ob-css /usr/share/emacs/site-lisp/org/ob-core hides /usr/share/emacs/26.3/lisp/org/ob-core /usr/share/emacs/site-lisp/org/ob-coq hides /usr/share/emacs/26.3/lisp/org/ob-coq /usr/share/emacs/site-lisp/org/ob-comint hides /usr/share/emacs/26.3/lisp/org/ob-comint /usr/share/emacs/site-lisp/org/ob-clojure hides /usr/share/emacs/26.3/lisp/org/ob-clojure /usr/share/emacs/site-lisp/org/ob-calc hides /usr/share/emacs/26.3/lisp/org/ob-calc /usr/share/emacs/site-lisp/org/ob-awk hides /usr/share/emacs/26.3/lisp/org/ob-awk /usr/share/emacs/site-lisp/org/ob-asymptote hides /usr/share/emacs/26.3/lisp/org/ob-asymptote /usr/share/emacs/site-lisp/org/ob-abc hides /usr/share/emacs/26.3/lisp/org/ob-abc /usr/share/emacs/site-lisp/org/ob-R hides /usr/share/emacs/26.3/lisp/org/ob-R /usr/share/emacs/site-lisp/org/ob-J hides /usr/share/emacs/26.3/lisp/org/ob-J /usr/share/emacs/site-lisp/org/ob-C hides /usr/share/emacs/26.3/lisp/org/ob-C Features: (shadow sort mail-extr emacsbug message rmc puny seq byte-opt gv bytecomp byte-compile cconv cl-loaddefs cl-lib dired dired-loaddefs format-spec rfc822 mml easymenu mml-sec password-cache epa derived epg epg-config gnus-util rmail rmail-loaddefs mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils term/xterm xterm time-date elec-pair mule-util china-util tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel term/x-win x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow isearch timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core term/tty-colors frame cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite charscript charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray minibuffer cl-preloaded nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote threads dbusbind inotify lcms2 dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty make-network-process emacs) Memory information: ((conses 16 100499 7255) (symbols 48 20515 1) (miscs 40 76 80) (strings 32 28738 1115) (string-bytes 1 750466) (vectors 16 13058) (vector-slots 8 514211 18624) (floats 8 54 337) (intervals 56 232 0) (buffers 992 13)) ------------=_1596389104-30551-3-- From unknown Tue Jun 17 01:41:14 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: dfireBird _ Subject: bug#42677: closed (Re: bug#42676: 26.3, 27.1-rc1, master: Emacs (X11) segfaults if XIM is set but not XIM_Styles) Message-ID: References: <83mu3darlx.fsf@gnu.org> X-Gnu-PR-Message: they-closed 42677 X-Gnu-PR-Package: emacs Reply-To: 42677@debbugs.gnu.org Date: Sun, 02 Aug 2020 17:25:04 +0000 Content-Type: multipart/mixed; boundary="----------=_1596389104-30551-5" This is a multi-part message in MIME format... ------------=_1596389104-30551-5 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #42676: 27.1; 'Fatal Error 11: Segmentation fault' which was filed against the emacs package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 42677@debbugs.gnu.org. --=20 42676: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D42676 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1596389104-30551-5 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 42676-done) by debbugs.gnu.org; 2 Aug 2020 17:24:32 +0000 Received: from localhost ([127.0.0.1]:43324 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k2Hiq-0007vN-AQ for submit@debbugs.gnu.org; Sun, 02 Aug 2020 13:24:32 -0400 Received: from eggs.gnu.org ([209.51.188.92]:53752) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k2Hip-0007vC-N7 for 42676-done@debbugs.gnu.org; Sun, 02 Aug 2020 13:24:32 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:53508) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k2Hii-0004QB-UC; Sun, 02 Aug 2020 13:24:24 -0400 Received: from [176.228.60.248] (port=4758 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1k2Hii-0002Hg-EC; Sun, 02 Aug 2020 13:24:24 -0400 Date: Sun, 02 Aug 2020 20:24:10 +0300 Message-Id: <83mu3darlx.fsf@gnu.org> From: Eli Zaretskii To: =?utf-8?Q?Gr=C3=A9gory_Mouni=C3=A9?= In-Reply-To: <192a3177-7c2a-6200-00ae-616f9e52ab91@imag.fr> (Gregory.Mounie@imag.fr) Subject: Re: bug#42676: 26.3, 27.1-rc1, master: Emacs (X11) segfaults if XIM is set but not XIM_Styles References: <192a3177-7c2a-6200-00ae-616f9e52ab91@imag.fr> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 42676-done Cc: 42676-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Grégory Mounié > > 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. ------------=_1596389104-30551-5 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 2 Aug 2020 15:28:04 +0000 Received: from localhost ([127.0.0.1]:43195 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k2Fu7-0000lP-IB for submit@debbugs.gnu.org; Sun, 02 Aug 2020 11:28:04 -0400 Received: from lists.gnu.org ([209.51.188.17]:34352) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k2E9H-00065n-31 for submit@debbugs.gnu.org; Sun, 02 Aug 2020 09:35:38 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:46084) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k2E9G-0008CV-SE for bug-gnu-emacs@gnu.org; Sun, 02 Aug 2020 09:35:34 -0400 Received: from mail-ej1-x634.google.com ([2a00:1450:4864:20::634]:38430) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1k2E9D-0007Fe-F6 for bug-gnu-emacs@gnu.org; Sun, 02 Aug 2020 09:35:34 -0400 Received: by mail-ej1-x634.google.com with SMTP id d6so22101041ejr.5 for ; Sun, 02 Aug 2020 06:35:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=yegTE1rK4BjiAJYhyGWyqakr0Z+LPbb9j+tkndQc1Ls=; b=ECmiVWAGpt5CX+ciFueM74x4k8MGONbjMS116Y1gGqEJ7YK32xh8IUV0/fO/dJxyVs k/0wfAP76hhR2SLPtEuzxUH+Wx+j9fKb4uTVjjUz7oWQ/hdznQiSm2IBMiCrXrmWraxb R0N2TlMjWDfYm5ftMV0VEXYuTa1scTffJq8lwkyUXrjF8GqOwpyX3A3M1S/HCwZEozTX zisagZAoD1rVtL7WSmI1JX0KXwEfpQiImHkQOyF9LQWHl3lEUDmtOuXT4hE3TYQxGxP3 0QSLq2YJl352NpMgFwANK7WWQARhFvt6G2RILmUhLhEPLCgD1WSeE/ZfnhSpsSlFKvuO ClBw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=yegTE1rK4BjiAJYhyGWyqakr0Z+LPbb9j+tkndQc1Ls=; b=iCI6r+rIZOC2A89BCWVFJf0Y0ylLltYTr39ihPKtkQ/K530ZiviU+fZhhyoGY+c74a zSBKrP+mYplSMNK4luzQd+K5ECHxjej3f0ZBRLxoHbqY3LKQcojht1nocIwyzwcY6J3L RvpXuPm6CoGvOSx52yuDPFgAyoCpALBbz/AlusSfZRSjgr6ptN+TH/5XVUY1IYKdD6yc gfd5AoDst9Y1qzcRwIALjfgc2y/3e7TuQHfGQyefHMHjH1Odlw+fGe+Tpn4VfZG+bsMd G8x7KRQ0RR23s07b/fAVIpv7vEZ9wHqHAFL2/AvG3q4R/C2yB4SZcuIvA0NrhsFCJzlL bbKQ== X-Gm-Message-State: AOAM5309KF7d81EC2BubsW4iHspP48YhZHvM1wOQecMknso14OCUj0xG 9ATHTjzxWTVY8vK69AqAKR3E/kJDrfPb40aS9X2c1QgjGW4= X-Google-Smtp-Source: ABdhPJzm9NIBVso9Fv15wWIXrQlLxnM7PK8LpR4O8eyPPmawsmilI+zYW4nUXvWfRZN09G6AtVzaqyJEirU92NZT+1Y= X-Received: by 2002:a17:906:289a:: with SMTP id o26mr12079363ejd.309.1596375328412; Sun, 02 Aug 2020 06:35:28 -0700 (PDT) MIME-Version: 1.0 From: dfireBird _ Date: Sun, 2 Aug 2020 19:05:17 +0530 Message-ID: Subject: 27.1; 'Fatal Error 11: Segmentation fault' To: bug-gnu-emacs@gnu.org Content-Type: multipart/alternative; boundary="00000000000060d73905abe51879" Received-SPF: pass client-ip=2a00:1450:4864:20::634; envelope-from=aadhishrm11@gmail.com; helo=mail-ej1-x634.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -0.1 (/) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Sun, 02 Aug 2020 11:28:02 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.1 (--) --00000000000060d73905abe51879 Content-Type: text/plain; charset="UTF-8" Emacs started throwing 'Fatal Error 11: Segmentation fault'. N.B: It only occurs when using `emacs` or `emacs -Q` but not when using `emacs -nw`. The following message also occurs when using both `emacs` and `emacs -Q`: https://paste.rs/v6b Updates done before the crash 1. tesseract 2. leptonica 3. mlt 4. re2 5. openshadinglanguage 6. pacman-mirrorlist 7. imagemagick In GNU Emacs 27.1 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.21) of 2020-08-02 built on fireBird System Description: Arch Linux Recent messages: Loading zoom...done Loading /home/firebird/.emacs.d/init.el (source)...done Loading /home/firebird/.emacs.d/recentf...done Cleaning up the recentf list...done (0 removed) Error: highlight-indent-guides cannot auto set faces: `default' face is not set properly Configuring package smartparens...done For information about GNU Emacs and the GNU system, type C-h C-a. elcord: attempting reconnect.. elcord: connecting... elcord: connected. starting updates Configured features: XPM JPEG TIFF GIF PNG RSVG SOUND GPM DBUS GSETTINGS GLIB NOTIFY INOTIFY ACL GNUTLS LIBXML2 FREETYPE HARFBUZZ M17N_FLT LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 XDBE XIM MODULES THREADS LIBSYSTEMD JSON PDUMPER LCMS2 GMP Important settings: value of $LANG: en_US.UTF-8 value of $XMODIFIERS: @im=ibus locale-coding-system: utf-8-unix Major mode: Dashboard Minor modes in effect: global-flycheck-mode: t zoom-mode: t shell-dirtrack-mode: t async-bytecomp-package-mode: t treemacs-icons-dired-mode: t global-company-mode: t company-mode: t yas-global-mode: t yas-minor-mode: t dap-ui-mode: t lsp-treemacs-sync-mode: t treemacs-filewatch-mode: t treemacs-follow-mode: t treemacs-git-mode: deferred treemacs-fringe-indicator-mode: t gdb-many-windows: t dap-mode: t show-paren-mode: t electric-pair-mode: t global-wakatime-mode: t wakatime-mode: t recentf-mode: t page-break-lines-mode: t projectile-mode: t ivy-mode: t nyan-mode: t doom-modeline-mode: t display-battery-mode: t global-emojify-mode: t emojify-mode: t override-global-mode: t which-key-mode: t elcord-mode: t straight-use-package-mode: t straight-package-neutering-mode: t tooltip-mode: t global-eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t buffer-read-only: t column-number-mode: t line-number-mode: t transient-mark-mode: t Load-path shadows: /home/firebird/.emacs.d/straight/build/let-alist/let-alist hides /usr/local/share/emacs/27.1/lisp/emacs-lisp/let-alist Features: (shadow sort mail-extr emacsbug sendmail disp-table rainbow-delimiters hideshow smartparens-config smartparens-javascript smartparens-rust smartparens-org smartparens-markdown smartparens-text smartparens-c smartparens highlight-indent-guides display-line-numbers linum whitespace vc-mtn vc-hg vc-git diff-mode vc-bzr vc-src vc-sccs vc-svn vc-cvs vc-rcs vc vc-dispatcher toc-org org-bullets ol-eww ol-rmail ol-mhe ol-irc ol-info ol-gnus nnir gnus-sum gnus-group gnus-undo gnus-start gnus-cloud nnimap nnmail mail-source utf7 netrc nnoo gnus-spec gnus-int gnus-range message rfc822 mml mml-sec epa derived epg epg-config mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader gnus-win gnus nnheader gnus-util rmail rmail-loaddefs rfc2047 rfc2045 ietf-drums mail-utils mm-util mail-prsvr ol-docview doc-view jka-compr image-mode exif ol-bibtex bibtex ol-bbdb ol-w3m org-agenda rustic-flycheck flycheck company-box company-box-doc company-box-icons company-oddmuse company-keywords company-etags company-gtags company-dabbrev-code company-dabbrev company-files company-capf company-cmake company-xcode company-clang company-semantic company-eclim company-template company-bbdb .emacs zoom 2048-game 2048-game-autoloads kana kanji-mode shr text-property-search svg xml dom kana-autoloads kanji-mode-autoloads graphql-mode let-alist graphql-mode-autoloads docker docker-volume docker-network docker-machine docker-image docker-container docker-faces docker-compose docker-utils json-mode json-reformat json-snatcher docker-tramp tramp-cache tramp tramp-loaddefs trampver tramp-integration files-x tramp-compat shell parse-time iso8601 ls-lisp docker-core transient async-bytecomp async tablist tablist-filter semantic/wisent/comp semantic/wisent semantic/wisent/wisent semantic/util-modes semantic/util semantic pp semantic/tag semantic/lex semantic/fw mode-local cedet docker-autoloads tablist-autoloads json-mode-autoloads json-snatcher-autoloads json-reformat-autoloads docker-tramp-autoloads docker-compose-mode docker-compose-mode-autoloads yaml-mode-autoloads dockerfile-mode-autoloads org-bullets-autoloads toc-org-autoloads grip-mode grip-mode-autoloads glsl-mode-autoloads gdscript-mode-autoloads go-tag-autoloads gotest-autoloads go-mode-autoloads lsp-rust rustic-racer rustic-babel rustic-popup rustic-compile xterm-color rustic-util rustic-cargo rustic-interaction org-element avl-tree package browse-url url-handlers rustic rustic-common rustic-autoloads xterm-color-autoloads ccls ccls-member-hierarchy ccls-inheritance-hierarchy ccls-call-hierarchy ccls-tree ccls-code-lens ccls-semantic-highlight ccls-common ccls-autoloads cmake-mode-autoloads vue-mode-autoloads edit-indirect-autoloads ssass-mode-autoloads vue-html-mode vue-html-mode-autoloads tide-autoloads react-snippets-autoloads react-snippets rjsx-mode-autoloads add-node-modules-path-autoloads prettier-js-autoloads typescript-mode-autoloads web-mode-autoloads emmet-mode-autoloads mmm-mode mmm-univ mmm-class mmm-region mmm-auto mmm-vars mmm-utils mmm-compat mmm-mode-autoloads yasnippet-snippets-autoloads yasnippet-snippets company-box-autoloads company-web company-css web-completion-data company-web-autoloads web-completion-data-autoloads treemacs-icons-dired treemacs-icons-dired-autoloads treemacs-magit-autoloads treemacs-projectile treemacs-projectile-autoloads indium indium-list-sources indium-scratch indium-interaction indium-chrome indium-nodejs url url-proxy url-privacy url-expand url-methods url-history url-cookie url-domsuf mailcap indium-repl company indium-debugger indium-debugger-litable js2-refactor js2r-paredit js2r-conveniences js2r-conditionals js2r-wrapping js2r-functions yasnippet js2r-vars multiple-cursors-core rect js2r-iife js2r-formatting js2r-helpers indium-debugger-locals indium-breakpoint indium-inspector indium-render indium-faces indium-seq-fix js2-mode etags fileloop generator js cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs indium-client indium-structs json-process-client indium-autoloads json-process-client-autoloads company-autoloads js2-refactor-autoloads yasnippet-autoloads js2-mode-autoloads dap-node dap-chrome dap-utils dap-ui dap-ui-repl lsp-treemacs lsp-treemacs-themes treemacs treemacs-header-line treemacs-compatibility treemacs-mode treemacs-interface treemacs-extensions treemacs-persistence treemacs-mouse-interface treemacs-tag-follow-mode treemacs-filewatch-mode treemacs-tags treemacs-follow-mode treemacs-rendering treemacs-async treemacs-workspaces treemacs-dom treemacs-visuals treemacs-fringe-indicator treemacs-scope pulse treemacs-faces treemacs-icons treemacs-themes treemacs-core-utils pfuture ace-window avy hl-line treemacs-logging treemacs-customization treemacs-macros gdb-mi gud bui bui-list bui-info bui-entry bui-core bui-history bui-button bui-utils cus-edit cus-start cus-load dap-mode posframe dap-overlays lsp-mode lsp-protocol url-util spinner network-stream puny nsm rmc markdown-mode url-parse auth-source password-cache url-vars lv inline imenu filenotify ewoc em-glob esh-util dash-functional dap-mode-autoloads posframe-autoloads lsp-treemacs-autoloads treemacs-autoloads hydra-autoloads pfuture-autoloads bui-autoloads lsp-ui-autoloads flycheck-autoloads forge-autoloads ghub-autoloads treepy-autoloads let-alist-autoloads closql-autoloads emacsql-sqlite-autoloads emacsql-autoloads magit-autoloads git-commit-autoloads with-editor-autoloads transient-autoloads async-autoloads projectile-ripgrep ripgrep projectile-ripgrep-autoloads ripgrep-autoloads highlight-indent-guides-autoloads smartparens-autoloads rainbow-delimiters-autoloads paren elec-pair wakatime-mode wakatime-mode-autoloads vterm-autoloads dashboard dashboard-widgets time dashboard-autoloads recentf tree-widget wid-edit page-break-lines page-break-lines-autoloads counsel-projectile projectile grep ibuf-ext ibuffer ibuffer-loaddefs thingatpt counsel xdg xref project eieio eieio-core eieio-loaddefs dired dired-loaddefs compile swiper ivy delsel ivy-faces ivy-overlay colir color counsel-projectile-autoloads projectile-autoloads pkg-info-autoloads epl-autoloads counsel-autoloads swiper-autoloads lsp-ivy-autoloads lsp-mode-autoloads lv-autoloads markdown-mode-autoloads spinner-autoloads dash-functional-autoloads ivy-autoloads diff-hl-autoloads zoom-autoloads nyan-mode nyan-mode-autoloads doom-modeline doom-modeline-segments doom-modeline-env doom-modeline-core shrink-path rx f s doom-modeline-autoloads shrink-path-autoloads f-autoloads s-autoloads battery emojify apropos tar-mode arc-mode archive-mode pcase ht dash emojify-autoloads ht-autoloads dash-autoloads all-the-icons all-the-icons-faces data-material data-weathericons data-octicons data-fileicons data-faicons data-alltheicons memoize all-the-icons-autoloads memoize-autoloads ace-window-autoloads avy-autoloads edmacro kmacro multiple-cursors-autoloads finder-inf use-package-bind-key bind-key which-key which-key-autoloads elcord json map bindat elcord-autoloads cl-seq use-package-core use-package-autoloads bind-key-autoloads straight-autoloads info straight cl-macs cl-extra help-mode seq byte-opt gv bytecomp byte-compile cconv org ob ob-tangle ob-ref ob-lob ob-table ob-exp org-macro org-footnote org-src ob-comint org-pcomplete pcomplete comint ansi-color ring org-list org-faces org-entities time-date subr-x noutline outline easy-mmode org-version ob-emacs-lisp ob-core ob-eval org-table ol org-keys org-compat advice org-macs org-loaddefs format-spec find-func cal-menu easymenu calendar cal-loaddefs cl-loaddefs cl-lib tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel term/x-win x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode elisp-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core term/tty-colors frame minibuffer cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite charscript charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray cl-preloaded nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote threads dbusbind inotify lcms2 dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty make-network-process emacs) Memory information: ((conses 16 532367 426744) (symbols 48 55636 144) (strings 32 236948 69239) (string-bytes 1 6794939) (vectors 16 111475) (vector-slots 8 2980488 488870) (floats 8 996 1915) (intervals 56 1431 717) (buffers 1000 17)) --00000000000060d73905abe51879 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Emacs started throwing 'Fatal Error 11: Segmentation f= ault'. N.B: It
only occurs when using `emacs` or `emacs -Q` but not = when using `emacs -nw`.

The following message also occurs when using= both `emacs` and `emacs
-Q`: https://p= aste.rs/v6b

Updates done before the crash
1. tesseract
2. = leptonica
3. mlt
4. re2
5. openshadinglanguage
6. pacman-mirror= list
7. imagemagick



In GNU Emacs 27.1 (build 1, x86_64-pc= -linux-gnu, GTK+ Version 3.24.21)
=C2=A0of 2020-08-02 built on fireBird<= br>System Description: Arch Linux

Recent messages:
Loading zoom..= .done
Loading /home/firebird/.emacs.d/init.el (source)...done
Loading= /home/firebird/.emacs.d/recentf...done
Cleaning up the recentf list...d= one (0 removed)
Error: highlight-indent-guides cannot auto set faces: `d= efault' face is not set properly
Configuring package smartparens...d= one
For information about GNU Emacs and the GNU system, type C-h C-a.elcord: attempting reconnect..
elcord: connecting...
elcord: connect= ed. starting updates

Configured features:
XPM JPEG TIFF GIF PNG R= SVG SOUND GPM DBUS GSETTINGS GLIB NOTIFY INOTIFY
ACL GNUTLS LIBXML2 FREE= TYPE HARFBUZZ M17N_FLT LIBOTF XFT ZLIB
TOOLKIT_SCROLL_BARS GTK3 X11 XDBE= XIM MODULES THREADS LIBSYSTEMD JSON
PDUMPER LCMS2 GMP

Important = settings:
=C2=A0 value of $LANG: en_US.UTF-8
=C2=A0 value of $XMODIFI= ERS: @im=3Dibus
=C2=A0 locale-coding-system: utf-8-unix

Major mod= e: Dashboard

Minor modes in effect:
=C2=A0 global-flycheck-mode: = t
=C2=A0 zoom-mode: t
=C2=A0 shell-dirtrack-mode: t
=C2=A0 async-b= ytecomp-package-mode: t
=C2=A0 treemacs-icons-dired-mode: t
=C2=A0 gl= obal-company-mode: t
=C2=A0 company-mode: t
=C2=A0 yas-global-mode: t=
=C2=A0 yas-minor-mode: t
=C2=A0 dap-ui-mode: t
=C2=A0 lsp-treemac= s-sync-mode: t
=C2=A0 treemacs-filewatch-mode: t
=C2=A0 treemacs-foll= ow-mode: t
=C2=A0 treemacs-git-mode: deferred
=C2=A0 treemacs-fringe-= indicator-mode: t
=C2=A0 gdb-many-windows: t
=C2=A0 dap-mode: t
= =C2=A0 show-paren-mode: t
=C2=A0 electric-pair-mode: t
=C2=A0 global-= wakatime-mode: t
=C2=A0 wakatime-mode: t
=C2=A0 recentf-mode: t
= =C2=A0 page-break-lines-mode: t
=C2=A0 projectile-mode: t
=C2=A0 ivy-= mode: t
=C2=A0 nyan-mode: t
=C2=A0 doom-modeline-mode: t
=C2=A0 di= splay-battery-mode: t
=C2=A0 global-emojify-mode: t
=C2=A0 emojify-mo= de: t
=C2=A0 override-global-mode: t
=C2=A0 which-key-mode: t
=C2= =A0 elcord-mode: t
=C2=A0 straight-use-package-mode: t
=C2=A0 straigh= t-package-neutering-mode: t
=C2=A0 tooltip-mode: t
=C2=A0 global-eldo= c-mode: t
=C2=A0 electric-indent-mode: t
=C2=A0 mouse-wheel-mode: t=C2=A0 file-name-shadow-mode: t
=C2=A0 global-font-lock-mode: t
=C2= =A0 font-lock-mode: t
=C2=A0 auto-composition-mode: t
=C2=A0 auto-enc= ryption-mode: t
=C2=A0 auto-compression-mode: t
=C2=A0 buffer-read-on= ly: t
=C2=A0 column-number-mode: t
=C2=A0 line-number-mode: t
=C2= =A0 transient-mark-mode: t

Load-path shadows:
/home/firebird/.ema= cs.d/straight/build/let-alist/let-alist hides /usr/local/share/emacs/27.1/l= isp/emacs-lisp/let-alist

Features:
(shadow sort mail-extr emacsbu= g sendmail disp-table rainbow-delimiters
hideshow smartparens-config sma= rtparens-javascript smartparens-rust
smartparens-org smartparens-markdow= n smartparens-text smartparens-c
smartparens highlight-indent-guides dis= play-line-numbers linum
whitespace vc-mtn vc-hg vc-git diff-mode vc-bzr = vc-src vc-sccs vc-svn
vc-cvs vc-rcs vc vc-dispatcher toc-org org-bullets= ol-eww ol-rmail
ol-mhe ol-irc ol-info ol-gnus nnir gnus-sum gnus-group = gnus-undo
gnus-start gnus-cloud nnimap nnmail mail-source utf7 netrc nno= o
gnus-spec gnus-int gnus-range message rfc822 mml mml-sec epa derived e= pg
epg-config mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbre= v
gmm-utils mailheader gnus-win gnus nnheader gnus-util rmail
rmail-l= oaddefs rfc2047 rfc2045 ietf-drums mail-utils mm-util mail-prsvr
ol-docv= iew doc-view jka-compr image-mode exif ol-bibtex bibtex ol-bbdb
ol-w3m o= rg-agenda rustic-flycheck flycheck company-box company-box-doc
company-b= ox-icons company-oddmuse company-keywords company-etags
company-gtags co= mpany-dabbrev-code company-dabbrev company-files
company-capf company-cm= ake company-xcode company-clang company-semantic
company-eclim company-t= emplate company-bbdb .emacs zoom 2048-game
2048-game-autoloads kana kanj= i-mode shr text-property-search svg xml dom
kana-autoloads kanji-mode-au= toloads graphql-mode let-alist
graphql-mode-autoloads docker docker-volu= me docker-network
docker-machine docker-image docker-container docker-fa= ces docker-compose
docker-utils json-mode json-reformat json-snatcher do= cker-tramp
tramp-cache tramp tramp-loaddefs trampver tramp-integration f= iles-x
tramp-compat shell parse-time iso8601 ls-lisp docker-core transie= nt
async-bytecomp async tablist tablist-filter semantic/wisent/comp
s= emantic/wisent semantic/wisent/wisent semantic/util-modes semantic/util
= semantic pp semantic/tag semantic/lex semantic/fw mode-local cedet
docke= r-autoloads tablist-autoloads json-mode-autoloads
json-snatcher-autoload= s json-reformat-autoloads docker-tramp-autoloads
docker-compose-mode doc= ker-compose-mode-autoloads yaml-mode-autoloads
dockerfile-mode-autoloads= org-bullets-autoloads toc-org-autoloads
grip-mode grip-mode-autoloads g= lsl-mode-autoloads
gdscript-mode-autoloads go-tag-autoloads gotest-autol= oads
go-mode-autoloads lsp-rust rustic-racer rustic-babel rustic-popuprustic-compile xterm-color rustic-util rustic-cargo rustic-interactionorg-element avl-tree package browse-url url-handlers rustic
rustic-comm= on rustic-autoloads xterm-color-autoloads ccls
ccls-member-hierarchy ccl= s-inheritance-hierarchy ccls-call-hierarchy
ccls-tree ccls-code-lens ccl= s-semantic-highlight ccls-common
ccls-autoloads cmake-mode-autoloads vue= -mode-autoloads
edit-indirect-autoloads ssass-mode-autoloads vue-html-mo= de
vue-html-mode-autoloads tide-autoloads react-snippets-autoloads
re= act-snippets rjsx-mode-autoloads add-node-modules-path-autoloads
prettie= r-js-autoloads typescript-mode-autoloads web-mode-autoloads
emmet-mode-a= utoloads mmm-mode mmm-univ mmm-class mmm-region mmm-auto
mmm-vars mmm-ut= ils mmm-compat mmm-mode-autoloads
yasnippet-snippets-autoloads yasnippet= -snippets company-box-autoloads
company-web company-css web-completion-d= ata company-web-autoloads
web-completion-data-autoloads treemacs-icons-d= ired
treemacs-icons-dired-autoloads treemacs-magit-autoloads
treemacs= -projectile treemacs-projectile-autoloads indium
indium-list-sources ind= ium-scratch indium-interaction indium-chrome
indium-nodejs url url-proxy= url-privacy url-expand url-methods
url-history url-cookie url-domsuf ma= ilcap indium-repl company
indium-debugger indium-debugger-litable js2-re= factor js2r-paredit
js2r-conveniences js2r-conditionals js2r-wrapping js= 2r-functions
yasnippet js2r-vars multiple-cursors-core rect js2r-iife js= 2r-formatting
js2r-helpers indium-debugger-locals indium-breakpoint indi= um-inspector
indium-render indium-faces indium-seq-fix js2-mode etags fi= leloop
generator js cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles=
cc-align cc-engine cc-vars cc-defs indium-client indium-structs
json= -process-client indium-autoloads json-process-client-autoloads
company-a= utoloads js2-refactor-autoloads yasnippet-autoloads
js2-mode-autoloads d= ap-node dap-chrome dap-utils dap-ui dap-ui-repl
lsp-treemacs lsp-treemac= s-themes treemacs treemacs-header-line
treemacs-compatibility treemacs-m= ode treemacs-interface
treemacs-extensions treemacs-persistence treemacs= -mouse-interface
treemacs-tag-follow-mode treemacs-filewatch-mode treema= cs-tags
treemacs-follow-mode treemacs-rendering treemacs-async
treema= cs-workspaces treemacs-dom treemacs-visuals
treemacs-fringe-indicator tr= eemacs-scope pulse treemacs-faces
treemacs-icons treemacs-themes treemac= s-core-utils pfuture ace-window
avy hl-line treemacs-logging treemacs-cu= stomization treemacs-macros
gdb-mi gud bui bui-list bui-info bui-entry b= ui-core bui-history
bui-button bui-utils cus-edit cus-start cus-load dap= -mode posframe
dap-overlays lsp-mode lsp-protocol url-util spinner netwo= rk-stream puny
nsm rmc markdown-mode url-parse auth-source password-cach= e url-vars lv
inline imenu filenotify ewoc em-glob esh-util dash-functio= nal
dap-mode-autoloads posframe-autoloads lsp-treemacs-autoloads
tree= macs-autoloads hydra-autoloads pfuture-autoloads bui-autoloads
lsp-ui-au= toloads flycheck-autoloads forge-autoloads ghub-autoloads
treepy-autoloa= ds let-alist-autoloads closql-autoloads
emacsql-sqlite-autoloads emacsql= -autoloads magit-autoloads
git-commit-autoloads with-editor-autoloads tr= ansient-autoloads
async-autoloads projectile-ripgrep ripgrep projectile-= ripgrep-autoloads
ripgrep-autoloads highlight-indent-guides-autoloadssmartparens-autoloads rainbow-delimiters-autoloads paren elec-pair
waka= time-mode wakatime-mode-autoloads vterm-autoloads dashboard
dashboard-wi= dgets time dashboard-autoloads recentf tree-widget wid-edit
page-break-l= ines page-break-lines-autoloads counsel-projectile
projectile grep ibuf-= ext ibuffer ibuffer-loaddefs thingatpt counsel xdg
xref project eieio ei= eio-core eieio-loaddefs dired dired-loaddefs
compile swiper ivy delsel i= vy-faces ivy-overlay colir color
counsel-projectile-autoloads projectile= -autoloads pkg-info-autoloads
epl-autoloads counsel-autoloads swiper-aut= oloads lsp-ivy-autoloads
lsp-mode-autoloads lv-autoloads markdown-mode-a= utoloads
spinner-autoloads dash-functional-autoloads ivy-autoloads
di= ff-hl-autoloads zoom-autoloads nyan-mode nyan-mode-autoloads
doom-modeli= ne doom-modeline-segments doom-modeline-env
doom-modeline-core shrink-pa= th rx f s doom-modeline-autoloads
shrink-path-autoloads f-autoloads s-au= toloads battery emojify apropos
tar-mode arc-mode archive-mode pcase ht = dash emojify-autoloads
ht-autoloads dash-autoloads all-the-icons all-the= -icons-faces
data-material data-weathericons data-octicons data-fileicon= s
data-faicons data-alltheicons memoize all-the-icons-autoloads
memoi= ze-autoloads ace-window-autoloads avy-autoloads edmacro kmacro
multiple-= cursors-autoloads finder-inf use-package-bind-key bind-key
which-key whi= ch-key-autoloads elcord json map bindat elcord-autoloads
cl-seq use-pack= age-core use-package-autoloads bind-key-autoloads
straight-autoloads inf= o straight cl-macs cl-extra help-mode seq byte-opt
gv bytecomp byte-comp= ile cconv org ob ob-tangle ob-ref ob-lob ob-table
ob-exp org-macro org-f= ootnote org-src ob-comint org-pcomplete pcomplete
comint ansi-color ring= org-list org-faces org-entities time-date subr-x
noutline outline easy-= mmode org-version ob-emacs-lisp ob-core ob-eval
org-table ol org-keys or= g-compat advice org-macs org-loaddefs
format-spec find-func cal-menu eas= ymenu calendar cal-loaddefs
cl-loaddefs cl-lib tooltip eldoc electric un= iquify ediff-hook vc-hooks
lisp-float-type mwheel term/x-win x-win term/= common-win x-dnd tool-bar
dnd fontset image regexp-opt fringe tabulated-= list replace newcomment
text-mode elisp-mode lisp-mode prog-mode registe= r page tab-bar menu-bar
rfn-eshadow isearch timer select scroll-bar mous= e jit-lock font-lock
syntax facemenu font-core term/tty-colors frame min= ibuffer cl-generic
cham georgian utf-8-lang misc-lang vietnamese tibetan= thai tai-viet lao
korean japanese eucjp-ms cp51932 hebrew greek romania= n slovak czech
european ethiopic indian cyrillic chinese composite chars= cript charprop
case-table epa-hook jka-cmpr-hook help simple abbrev obar= ray
cl-preloaded nadvice loaddefs button faces cus-face macroexp filestext-properties overlay sha1 md5 base64 format env code-pages mule
cus= tom widget hashtable-print-readable backquote threads dbusbind
inotify l= cms2 dynamic-setting system-font-setting font-render-setting
move-toolba= r gtk x-toolkit x multi-tty make-network-process emacs)

Memory infor= mation:
((conses 16 532367 426744)
=C2=A0(symbols 48 55636 144)
= =C2=A0(strings 32 236948 69239)
=C2=A0(string-bytes 1 6794939)
=C2=A0= (vectors 16 111475)
=C2=A0(vector-slots 8 2980488 488870)
=C2=A0(floa= ts 8 996 1915)
=C2=A0(intervals 56 1431 717)
=C2=A0(buffers 1000 17))=
--00000000000060d73905abe51879-- ------------=_1596389104-30551-5--