From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Yagnesh Raghava Yakkala Newsgroups: gmane.emacs.bugs Subject: bug#14272: 24.3.50; crash on loading theme Date: Sat, 27 Apr 2013 23:35:28 +0900 Message-ID: <871u9wca8f.fsf@yagnesh.org> References: <87d2tg145s.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1367073360 30893 80.91.229.3 (27 Apr 2013 14:36:00 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 27 Apr 2013 14:36:00 +0000 (UTC) Cc: 14272@debbugs.gnu.org To: Handa Kenichi Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Apr 27 16:36:04 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 1UW6EM-0007pH-Sy for geb-bug-gnu-emacs@m.gmane.org; Sat, 27 Apr 2013 16:36:03 +0200 Original-Received: from localhost ([::1]:57997 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UW6EM-0002q0-4B for geb-bug-gnu-emacs@m.gmane.org; Sat, 27 Apr 2013 10:36:02 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:43251) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UW6EH-0002pv-Im for bug-gnu-emacs@gnu.org; Sat, 27 Apr 2013 10:35:58 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UW6EG-0002vU-ER for bug-gnu-emacs@gnu.org; Sat, 27 Apr 2013 10:35:57 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:42943) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UW6EF-0002vM-Uv for bug-gnu-emacs@gnu.org; Sat, 27 Apr 2013 10:35:56 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1UW6EL-0001wr-R6 for bug-gnu-emacs@gnu.org; Sat, 27 Apr 2013 10:36:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Yagnesh Raghava Yakkala Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 27 Apr 2013 14:36:01 +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.13670733447443 (code B ref 14272); Sat, 27 Apr 2013 14:36:01 +0000 Original-Received: (at 14272) by debbugs.gnu.org; 27 Apr 2013 14:35:44 +0000 Original-Received: from localhost ([127.0.0.1]:47052 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UW6E2-0001vt-FS for submit@debbugs.gnu.org; Sat, 27 Apr 2013 10:35:43 -0400 Original-Received: from mailgate4.sys.hokudai.ac.jp ([133.87.1.143]:49496) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UW6Dx-0001vY-QD for 14272@debbugs.gnu.org; Sat, 27 Apr 2013 10:35:40 -0400 Original-Received: from mailgate4.sys.hokudai.ac.jp (localhost.localdomain [127.0.0.1]) by localhost.sys.hokudai.ac.jp (Postfix) with ESMTP id 5462642DF97 for <14272@debbugs.gnu.org>; Sat, 27 Apr 2013 23:35:29 +0900 (JST) Original-Received: from okhotsk19 (sealion.lowtem.hokudai.ac.jp [133.87.217.30]) by mailgate4.sys.hokudai.ac.jp (Postfix) with ESMTP id 48F9742DF7D for <14272@debbugs.gnu.org>; Sat, 27 Apr 2013 23:35:20 +0900 (JST) Original-Received: from localhost (localhost [127.0.0.1]) by okhotsk19 (Postfix) with ESMTPS id 376BE180BF1; Sat, 27 Apr 2013 23:35:29 +0900 (JST) In-Reply-To: <87d2tg145s.fsf@gnu.org> (Handa Kenichi's message of "Sat, 27 Apr 2013 22:42:07 +0900") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) 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:73776 Archived-At: Hello Handa-san, On Apr 27 2013, Handa Kenichi wrote: > In article <83vc79u3uc.fsf@gnu.org>, Eli Zaretskii > writes: > >> The crash is caused by division by zero, here: > >> int font_wid =3D FRAME_COLUMN_WIDTH (f); >> int cols =3D (left_wid + right_wid + font_wid-1) / font_wid; >> <<<<<<<< > >> most probably because font->average_width is zero, because >> FRAME_COLUMN_WIDTH gets its value for font's average_width. > > I've just installed the attached fix to the trunk. Please > try the lastest code. That stopped crashing emacs and I see now what Glenn has been mentioning ab= out. Thanks., --=20 =E0=B0=8E=E0=B0=82=E0=B0=A6=E0=B0=B0=E0=B1=8B =E0=B0=AE=E0=B0=B9=E0=B0=BE= =E0=B0=A8=E0=B1=81=E0=B0=AD=E0=B0=BE=E0=B0=B5=E0=B1=81=E0=B0=B2=E0=B1=81 = =E0=B0=85=E0=B0=82=E0=B0=A6=E0=B0=B0=E0=B0=BF=E0=B0=95=E0=B0=BF =E0=B0=B5= =E0=B0=82=E0=B0=A6=E0=B0=A8=E0=B0=AE=E0=B1=81=E0=B0=B2=E0=B1=81. YYR