From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#14272: 24.3.50; crash on loading theme Date: Fri, 26 Apr 2013 12:51:43 +0300 Message-ID: <83mwsltya8.fsf@gnu.org> References: <87ehdy0yki.fsf@yagnesh.org> <83y5c5u8ux.fsf@gnu.org> <87y5c5zrne.fsf@yagnesh.org> <83vc79u3uc.fsf@gnu.org> <87mwslzltp.fsf@yagnesh.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1366969993 31191 80.91.229.3 (26 Apr 2013 09:53:13 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 26 Apr 2013 09:53:13 +0000 (UTC) Cc: 14272@debbugs.gnu.org To: Yagnesh Raghava Yakkala Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Apr 26 11:53:17 2013 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 1UVfL6-0003sF-Jw for geb-bug-gnu-emacs@m.gmane.org; Fri, 26 Apr 2013 11:53:12 +0200 Original-Received: from localhost ([::1]:37308 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UVfL6-0002X1-6d for geb-bug-gnu-emacs@m.gmane.org; Fri, 26 Apr 2013 05:53:12 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:51290) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UVfKy-0002WS-IY for bug-gnu-emacs@gnu.org; Fri, 26 Apr 2013 05:53:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UVfKx-0005ju-D3 for bug-gnu-emacs@gnu.org; Fri, 26 Apr 2013 05:53:04 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:40108) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UVfKx-0005jj-3I for bug-gnu-emacs@gnu.org; Fri, 26 Apr 2013 05:53:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1UVfKw-00010G-69 for bug-gnu-emacs@gnu.org; Fri, 26 Apr 2013 05:53:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 26 Apr 2013 09:53:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 14272 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 14272-submit@debbugs.gnu.org id=B14272.13669699253606 (code B ref 14272); Fri, 26 Apr 2013 09:53:02 +0000 Original-Received: (at 14272) by debbugs.gnu.org; 26 Apr 2013 09:52:05 +0000 Original-Received: from localhost ([127.0.0.1]:44217 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UVfK0-0000vx-5D for submit@debbugs.gnu.org; Fri, 26 Apr 2013 05:52:05 -0400 Original-Received: from mtaout22.012.net.il ([80.179.55.172]:61847) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UVfJx-0000vG-71 for 14272@debbugs.gnu.org; Fri, 26 Apr 2013 05:52:03 -0400 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0MLU00600VO4UM00@a-mtaout22.012.net.il> for 14272@debbugs.gnu.org; Fri, 26 Apr 2013 12:51:59 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MLU006C9WQMGR70@a-mtaout22.012.net.il>; Fri, 26 Apr 2013 12:51:59 +0300 (IDT) In-reply-to: <87mwslzltp.fsf@yagnesh.org> X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 140.186.70.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-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:73719 Archived-At: > From: Yagnesh Raghava Yakkala > Cc: 14272@debbugs.gnu.org > Date: Fri, 26 Apr 2013 18:24:18 +0900 > > > most probably because font->average_width is zero, because > > FRAME_COLUMN_WIDTH gets its value for font's average_width. > > > > Please do this, after Emacs crashes under GD: > > > > (gdb) frame 1 > > (gdb) p *font > > (gdb) pp font_object > > --8<---------------cut here---------------start------------->8--- > (gdb) frame 1 > #1 0x0000000000506e83 in x_new_font (f=0x11c1418, font_object=19333709, fontset=23) at xterm.c:7913 > warning: Source file is more recent than executable. > 7913 compute_fringe_widths (f, 1); > (gdb) p *font > $1 = { > header = { > size = 4611686018679132178 > }, > props = {13094754, 16139730, 12959410, 12846194, 13089778, 102720, 102528, 102656, 0, 12846194, 12846194, 0, 23107046, 12846194, 17130513, 17130353, 16123585, 14753874}, > min_width = 0, > max_width = 0, > pixel_size = 0, > height = 3, > space_width = 0, > average_width = 0, <<<<<<<<<<<<<<<<<<<<<<<< As expected. > (gdb) pp font_object > # ^ I guess the marked part says it all (assuming I'm right in concluding that this zero is the size of the font that is being requested). > > please try this recipe in that build. > > I don't really know how to do that. Did you build your Emacs? If so, then add the --enable-checking switch to the configure script when you run it, and then rebuild with "make". If you don't build your Emacs, then don't worry about this part of my response. > IIRC, I installed a custom font few months ago, that may be the reason. Are you saying that using this theme worked in the past?