From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#23386: Segfault when messing with font-backend Date: Wed, 27 Apr 2016 09:13:30 -0400 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1461762873 14473 80.91.229.3 (27 Apr 2016 13:14:33 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 27 Apr 2016 13:14:33 +0000 (UTC) To: 23386@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Apr 27 15:14:18 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1avPIG-0000DL-Os for geb-bug-gnu-emacs@m.gmane.org; Wed, 27 Apr 2016 15:14:16 +0200 Original-Received: from localhost ([::1]:43023 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1avPIG-0006Jp-2x for geb-bug-gnu-emacs@m.gmane.org; Wed, 27 Apr 2016 09:14:16 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43923) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1avPI7-0006C7-64 for bug-gnu-emacs@gnu.org; Wed, 27 Apr 2016 09:14:12 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1avPI2-00088R-6Q for bug-gnu-emacs@gnu.org; Wed, 27 Apr 2016 09:14:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:37281) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1avPI2-00088N-37 for bug-gnu-emacs@gnu.org; Wed, 27 Apr 2016 09:14:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1avPI1-0001hd-Ow for bug-gnu-emacs@gnu.org; Wed, 27 Apr 2016 09:14:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 27 Apr 2016 13:14:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 23386 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.14617628076492 (code B ref -1); Wed, 27 Apr 2016 13:14:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 27 Apr 2016 13:13:27 +0000 Original-Received: from localhost ([127.0.0.1]:49617 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1avPHT-0001ge-2U for submit@debbugs.gnu.org; Wed, 27 Apr 2016 09:13:27 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:52538) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1avPHR-0001gS-MG for submit@debbugs.gnu.org; Wed, 27 Apr 2016 09:13:26 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1avPHH-0007rv-I6 for submit@debbugs.gnu.org; Wed, 27 Apr 2016 09:13:20 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:56637) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1avPHH-0007rp-Fy for submit@debbugs.gnu.org; Wed, 27 Apr 2016 09:13:15 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43487) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1avPHB-0004qn-Q4 for bug-gnu-emacs@gnu.org; Wed, 27 Apr 2016 09:13:15 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1avPH6-0007mN-QJ for bug-gnu-emacs@gnu.org; Wed, 27 Apr 2016 09:13:09 -0400 Original-Received: from pruche.dit.umontreal.ca ([132.204.246.22]:52429) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1avPH6-0007kg-Jd for bug-gnu-emacs@gnu.org; Wed, 27 Apr 2016 09:13:04 -0400 Original-Received: from ceviche.home (lechon.iro.umontreal.ca [132.204.27.242]) by pruche.dit.umontreal.ca (8.14.7/8.14.1) with ESMTP id u3RDD2WL012472 for ; Wed, 27 Apr 2016 09:13:03 -0400 Original-Received: by ceviche.home (Postfix, from userid 20848) id 68A5B661ED; Wed, 27 Apr 2016 09:13:30 -0400 (EDT) X-NAI-Spam-Flag: NO X-NAI-Spam-Level: X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0.4 X-NAI-Spam-Rules: 3 Rules triggered BEC_TRC1=0.2, GEN_SPAM_FEATRE=0.2, RV5655=0 X-NAI-Spam-Version: 2.3.0.9418 : core <5655> : inlines <4724> : streams <1626142> : uri <2197794> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 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.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:116909 Archived-At: Package: Emacs Version: 25.0.50 If I do % emacs -Q --eval "(push '(font-backend x) default-frame-alist)" I get a segfault. This is with the latest emacs-25. See the backtrace below. Stefan Program received signal SIGSEGV, Segmentation fault. 0xf70b3b36 in XftCharIndex () from /usr/lib/i386-linux-gnu/libXft.so.2 (gdb) xbacktrace (gdb) bt #0 0xf70b3b36 in XftCharIndex () from /usr/lib/i386-linux-gnu/libXft.so.2 #1 0x082d4d69 in xftfont_encode_char (font=0x8779b00, c=92) at xftfont.c:537 #2 0x08074145 in get_char_glyph_code (c=, font=font@entry=0x8779b00, char2b=char2b@entry=0xffffbbbe) at xdisp.c:24681 #3 0x080bdbfd in x_produce_glyphs (it=0xffffbc08) at xdisp.c:27011 #4 0x0807d80c in produce_special_glyphs (it=it@entry=0xffffc718, what=what@entry=IT_CONTINUATION) at xdisp.c:26643 #5 0x0809bcd6 in init_iterator (it=, w=, charpos=, bytepos=, row=, base_face_id=) at xdisp.c:2856 #6 0x080b0bb4 in resize_mini_window (w=0x8852930, exact_p=true) at xdisp.c:10970 #7 0x080b0fa9 in resize_mini_window_1 (a1=142944560, exactly=...) at xdisp.c:10912 #8 0x080828d4 in with_echo_area_buffer (w=0x8852930, which=which@entry=0, fn=fn@entry=0x80b0f91 , a1=142944560, a2=...) at xdisp.c:10642 #9 0x080b7082 in resize_echo_area_exactly () at xdisp.c:10890 #10 0x081ad0d6 in command_loop_1 () at keyboard.c:1274 #11 0x0823977d in internal_condition_case (bfun=0x81ad053 , handlers=..., hfun=0x819da9e ) at eval.c:1309 #12 0x081963cd in command_loop_2 (ignore=...) at keyboard.c:1099 #13 0x082396f4 in internal_catch (tag=..., func=0x81963ac , arg=...) at eval.c:1074 #14 0x0819635c in command_loop () at keyboard.c:1078 #15 0x0819d535 in recursive_edit_1 () at keyboard.c:684 #16 0x0819d9b9 in Frecursive_edit () at keyboard.c:755 #17 0x08195adc in main (argc=, argv=0xffffd514) at emacs.c:1605 (gdb)