From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#42677: 27.1; 'Fatal Error 11: Segmentation fault' Date: Sun, 02 Aug 2020 19:26:12 +0200 Message-ID: <875za1gdsb.fsf@gnus.org> References: <83pn89au25.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="12035"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: 42677@debbugs.gnu.org To: dfireBird _ Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Aug 02 19:27:13 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1k2HlP-0002yw-Bq for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 02 Aug 2020 19:27:11 +0200 Original-Received: from localhost ([::1]:48678 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k2HlO-0000Au-DE for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 02 Aug 2020 13:27:10 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:36154) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k2HlG-00009p-Gq for bug-gnu-emacs@gnu.org; Sun, 02 Aug 2020 13:27:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:60031) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1k2HlG-0004ph-73 for bug-gnu-emacs@gnu.org; Sun, 02 Aug 2020 13:27:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1k2HlG-00080w-3q for bug-gnu-emacs@gnu.org; Sun, 02 Aug 2020 13:27:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 02 Aug 2020 17:27:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 42677 X-GNU-PR-Package: emacs Original-Received: via spool by 42677-submit@debbugs.gnu.org id=B42677.159638918530755 (code B ref 42677); Sun, 02 Aug 2020 17:27:02 +0000 Original-Received: (at 42677) by debbugs.gnu.org; 2 Aug 2020 17:26:25 +0000 Original-Received: from localhost ([127.0.0.1]:43343 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k2Hkf-0007zy-9S for submit@debbugs.gnu.org; Sun, 02 Aug 2020 13:26:25 -0400 Original-Received: from quimby.gnus.org ([95.216.78.240]:35508) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k2Hkd-0007zl-GV for 42677@debbugs.gnu.org; Sun, 02 Aug 2020 13:26:24 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=fFLXqYO/Rfu2f/H1HFWfgNXKa2fjwYgRPMIAKVsuPc4=; b=FVgzNavDThsNDoVyk9nXE3lf74 abSJpkWnOpgMyZ8xChmJUaUBxJQCz2GWdxIvmCAyS1yz225Aw0j5dafPOc78YwhYWeq+jeGhRd1b+ aEYRbGBNf0KVYJRkOF6adfRAwExwBPDgD0o4RNv8MfDtZK0e+CCf4b5BQdS7lay1HFxs=; Original-Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1k2HkU-0004Dw-5J; Sun, 02 Aug 2020 19:26:16 +0200 In-Reply-To: (dfireBird's message of "Sun, 2 Aug 2020 22:18:39 +0530") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:183873 Archived-At: dfireBird _ writes: > Thanks for helping. > I used a paste since it's quite long text: https://paste.rs/uZR. This looks very much like bug#42673: Thread 1 (Thread 0x7ffff2dbe440 (LWP 65741)): #0 0x0000555555665c20 in best_xim_style (xim=0x0) at xfns.c:2665 #1 create_frame_xic (f=f@entry=0x55555600cbc0) at xfns.c:2665 > 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. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no