From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "B. Anyos" Newsgroups: gmane.emacs.devel Subject: Re: crash: divide by 0 Date: Mon, 03 Jan 2005 18:05:13 +0100 Message-ID: <41D97B49.2000702@freemail.hu> References: <41D972B1.8070004@freemail.hu> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1104772318 9505 80.91.229.6 (3 Jan 2005 17:11:58 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 3 Jan 2005 17:11:58 +0000 (UTC) Cc: sds@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jan 03 18:11:49 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1ClVkD-00065q-00 for ; Mon, 03 Jan 2005 18:11:49 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1ClVvN-00071Q-1A for ged-emacs-devel@m.gmane.org; Mon, 03 Jan 2005 12:23:21 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1ClVvD-00070J-Vh for emacs-devel@gnu.org; Mon, 03 Jan 2005 12:23:12 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1ClVvD-0006zv-HA for emacs-devel@gnu.org; Mon, 03 Jan 2005 12:23:11 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1ClVvD-0006zr-E1 for emacs-devel@gnu.org; Mon, 03 Jan 2005 12:23:11 -0500 Original-Received: from [81.0.70.197] (helo=evo2.evosoft.hu) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.34) id 1ClVji-0007JO-Q2; Mon, 03 Jan 2005 12:11:19 -0500 Original-Received: from evosoft.hu (griff.evosoft.hu [172.16.110.26]) by evo2.evosoft.hu (8.12.9p2/8.12.9) with ESMTP id j03H5IIW006666; Mon, 3 Jan 2005 18:05:18 +0100 (CET) (envelope-from banyos@freemail.hu) Original-Received: from (172.16.110.26) by mcafeeappl.evosoft.hu via smtp id 0b4d_c6c4c4aa_5da9_11d9_9f48_00114336bc63; Mon, 03 Jan 2005 18:06:14 +0100 (CET) Original-Received: from [172.16.111.121] (banyos2.evosoft.hu [172.16.111.121]) by evosoft.hu (8.12.3/8.12.3) with ESMTP id j03H5ATQ021614; Mon, 3 Jan 2005 18:05:10 +0100 (CET) (envelope-from banyos@freemail.hu) User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en Original-To: emacs-devel@gnu.org In-Reply-To: <41D972B1.8070004@freemail.hu> X-Enigmail-Version: 0.89.5.0 X-Enigmail-Supports: pgp-inline, pgp-mime X-evosoft-evo2-MailScanner-Information: Please contact the ISP for more information X-evosoft-evo2-MailScanner: Found to be clean X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:31739 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:31739 It seems that FRAME_SPACE_WIDTH (it->f) is zero (i.e. it->f->space_width is zero) While debugging and changing this to anything but zero the crash goes away. This space_width - according to the Changelog - is a relatively new code (added by Kenichi Handa on 2004-12-30) Could it be the problem that it is not initialized ? Bela B. Anyos said the following on 1/3/2005 17:28 PM: > I can confirm this, too. > I had a CVS update and a 'make bootstrap' today. > To reproduce the problem just try to load a file. > It crashes every time. > I also have a Windows client. Does this happen on other platform(s) ? > > Regards, > Bela > > Here's the stack dump: > > -------------------------- > x_produce_glyphs(it * 0x0009f010) line 19222 + 4 bytes > display_line(it * 0x00000060) line 14775 + 13 bytes > try_window(int -2127184384, text_pos {...}) line 12387 + 12 bytes > redisplay_window(int -2127184384, int 0) line 12027 + 10 bytes > redisplay_window_0(int -2127184384) line 10698 + 10 bytes > internal_condition_case_1(int (void)* 0x01050f61 > redisplay_window_0(int), int -2127184384, int -1590823544, int (void)* > 0x01050f4a redisplay_window_error(void)) line 1426 + 53 bytes > redisplay_windows(int -2127184384) line 10679 + 29 bytes > redisplay_internal(int 0) line 10259 + 8 bytes > redisplay() line 9489 + 7 bytes > read_char(int 1, int 9, int * 0x0082fc7c, int 556606464, int * > 0x0082fce0) line 2539 > read_key_sequence(int * 0x0082fd7c, int 30, int 556606464, int 0, int 1, > int 1) line 8820 + 36 bytes > command_loop_1() line 1532 + 40 bytes > internal_condition_case(int (void)* 0x0100e792 command_loop_1(void), int > 556692080, int (void)* 0x0100e3e9 cmd_error(void)) line 1386 > command_loop_2() line 1308 + 21 bytes > internal_catch(int 556688344, int (void)* 0x0100e65d > command_loop_2(void), int 556606464) line 1144 + 6 bytes > command_loop() line 1292 > recursive_edit_1() line 984 + 5 bytes > Frecursive_edit() line 1046 > main() line 1763 + 5 bytes > EMACS! mainCRTStartup + 180 bytes > KERNEL32! 77e8141a() > -------------------------- > > Sam Steingold said the following on 1/3/2005 16:58 PM: > >> GNU Emacs 21.3.50.1 (i386-msvc-nt5.0.2195) >> of 2005-01-03 on WINSTEINGOLDLAP >> --with-msvc (12.00) >> >> with the current CVS HEAD I am getting consistent crashes (division by >> 0) in xdisp.c:19222 (apparently "tab_width" is 0) >> > > > _______________________________________________ > Emacs-devel mailing list > Emacs-devel@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-devel > >