From debbugs-submit-bounces@debbugs.gnu.org Wed Nov 30 00:23:19 2011 Received: (at submit) by debbugs.gnu.org; 30 Nov 2011 05:23:19 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RVcdY-000469-F8 for submit@debbugs.gnu.org; Wed, 30 Nov 2011 00:23:17 -0500 Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RVbyZ-000392-6Z for submit@debbugs.gnu.org; Tue, 29 Nov 2011 23:40:56 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RVbyW-000448-RU for submit@debbugs.gnu.org; Tue, 29 Nov 2011 23:40:54 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.2 required=5.0 tests=BAYES_00,HTML_MESSAGE, MIME_HTML_ONLY, RCVD_IN_DNSWL_NONE, T_DKIM_INVALID autolearn=no version=3.3.1 Received: from lists.gnu.org ([140.186.70.17]:42341) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RVbyW-000444-Pt for submit@debbugs.gnu.org; Tue, 29 Nov 2011 23:40:52 -0500 Received: from eggs.gnu.org ([140.186.70.92]:60934) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RVbyV-0000gc-7b for bug-gnu-emacs@gnu.org; Tue, 29 Nov 2011 23:40:52 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RVbyT-00043r-SZ for bug-gnu-emacs@gnu.org; Tue, 29 Nov 2011 23:40:51 -0500 Received: from hapkido.dreamhost.com ([66.33.216.122]:51703) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RVbyT-00043b-Iu for bug-gnu-emacs@gnu.org; Tue, 29 Nov 2011 23:40:49 -0500 Received: from homiemail-a32.g.dreamhost.com (caiajhbdccac.dreamhost.com [208.97.132.202]) by hapkido.dreamhost.com (Postfix) with ESMTP id 31E89183325 for ; Tue, 29 Nov 2011 18:06:26 -0800 (PST) Received: from homiemail-a32.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a32.g.dreamhost.com (Postfix) with ESMTP id EB08F58406E for ; Tue, 29 Nov 2011 18:06:11 -0800 (PST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=code-affinity.com; h=message-id :date:from:mime-version:to:subject:content-type: content-transfer-encoding; q=dns; s=code-affinity.com; b=MTT2r71 ManKEZVz8EgbYKkjqK3do6e/C+kXCV/oKZIE/ixmldwY4dhY11KtABfKPbu2HbUW ZkzZvyMujrddvsRRLyOS1pMUB/5/kJn7jdO495Erk09NhcHczBtpO3Nbl0Z+yU1B f5jui7hTxHTiLVpdw+D/l8TpTjpivoueMjeo= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=code-affinity.com; h= message-id:date:from:mime-version:to:subject:content-type: content-transfer-encoding; s=code-affinity.com; bh=Zh7WuU4Rr+fEj nPDkPg3WPN60ZE=; b=YwIPGO4TvzxGB08aA5O0tbPQ/FR6kyHHbFexkQeGO+8y/ oWOQw2GfhHuLtIYeHKyFGN+cbki4VkLiyq5koRKBgGq+W/t4BKmGXj79in+iJ7qb n1M0QoQhcgPBeg73rGQgelDmg56rsrL8mWr8+3jLLSUAOoNC9Z+mp4VwppD4ng= Received: from [192.168.1.100] (ip24-251-175-208.ph.ph.cox.net [24.251.175.208]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: tim.crews@code-affinity.com) by homiemail-a32.g.dreamhost.com (Postfix) with ESMTPSA id 537B7584065 for ; Tue, 29 Nov 2011 18:06:04 -0800 (PST) Message-ID: <4ED58F60.4000604@code-affinity.com> Date: Tue, 29 Nov 2011 19:05:20 -0700 From: Tim Crews User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:8.0) Gecko/20111105 Thunderbird/8.0 MIME-Version: 1.0 To: bug-gnu-emacs@gnu.org Subject: 24.0.91; Instant crash enabling linum-mode Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4-2.6 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.17 X-Spam-Score: -5.1 (-----) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Wed, 30 Nov 2011 00:23:14 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -5.1 (-----) Running on Windows 7 Pro 64-bit SP1.  Running Emacs from http://alpha.gnu.org/gnu/emacs/windows/, the latest version extracted from emacs-20111121-r106472-bin-i386.zip.

Start Emacs with runemacs -Q --no-init-file
C-x C-f foo.txt
M-x linum-mode
(Emacs doesn't crash yet)
Type anything.  Emacs instantly crashes.

Alternatively:

Start Emacs with runemacs -Q --no-init-file
C-x C-f foo.txt
Type anything
M-x linum-mode
Emacs instantly crashes.


If Emacs crashed, and you have the Emacs process in the gdb debugger,
please include the output from the following gdb commands:
    `bt full' and `xbacktrace'.
For information about debugging Emacs, please read the file
c:/emacs-24.0.91/etc/DEBUG.

(I am running Windows.  I have not been able to figure out how to get gdb running.  I would be glad to do it, if someone tells me how.)

In GNU Emacs 24.0.91.1 (i386-mingw-nt6.1.7601)
 of 2011-11-21 on MARVIN
Windowing system distributor `Microsoft Corp.', version 6.1.7601
configured using `configure --with-gcc (4.6) --no-opt --cflags -ID:/devel/emacs/libs/libXpm-3.5.8/include -ID:/devel/emacs/libs/libXpm-3.5.8/src -ID:/devel/emacs/libs/libpng-dev_1.4.3-1/include -ID:/devel/emacs/libs/zlib-dev_1.2.5-2/include -ID:/devel/emacs/libs/giflib-4.1.4-1/include -ID:/devel/emacs/libs/jpeg-6b-4/include -ID:/devel/emacs/libs/tiff-3.8.2-1/include -ID:/devel/emacs/libs/gnutls-2.10.1/include --ldflags -LD:/devel/emacs/libs/gnutls-2.10.1/lib'

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: ENU
  value of $XMODIFIERS: nil
  locale-coding-system: cp1252
  default enable-multibyte-characters: t

Major mode: Fundamental

Minor modes in effect:
  tooltip-mode: t
  mouse-wheel-mode: t
  tool-bar-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  blink-cursor-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent input:
M-x r e p o r t - e m <tab> <return>

Recent messages:
For information about GNU Emacs and the GNU system, type C-h C-a.

Load-path shadows:
None found.

Features:
(shadow sort gnus-util mail-extr message format-spec rfc822 mml easymenu
mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045
ietf-drums mm-util mail-prsvr mailabbrev mail-utils gmm-utils mailheader
emacsbug time-date tooltip ediff-hook vc-hooks lisp-float-type mwheel
dos-w32 disp-table ls-lisp w32-win w32-vars tool-bar dnd fontset image
fringe lisp-mode register page menu-bar rfn-eshadow timer select
scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham
georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao
korean japanese hebrew greek romanian slovak czech european ethiopic
indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple
abbrev minibuffer button faces cus-face files text-properties overlay
sha1 md5 base64 format env code-pages mule custom widget
hashtable-print-readable backquote make-network-process multi-tty emacs)

From debbugs-submit-bounces@debbugs.gnu.org Wed Nov 30 07:20:03 2011 Received: (at 10164) by debbugs.gnu.org; 30 Nov 2011 12:20:03 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RVj8r-0005K0-Rt for submit@debbugs.gnu.org; Wed, 30 Nov 2011 07:20:02 -0500 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RVj8p-0005Jt-Uf for 10164@debbugs.gnu.org; Wed, 30 Nov 2011 07:20:01 -0500 Received: from eliz by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1RVj8m-00006V-HK; Wed, 30 Nov 2011 07:19:56 -0500 Date: Wed, 30 Nov 2011 07:19:56 -0500 Message-Id: From: Eli Zaretskii To: Tim Crews In-reply-to: <4ED58F60.4000604@code-affinity.com> (message from Tim Crews on Tue, 29 Nov 2011 19:05:20 -0700) Subject: Re: bug#10164: 24.0.91; Instant crash enabling linum-mode References: <4ED58F60.4000604@code-affinity.com> X-Spam-Score: -6.6 (------) X-Debbugs-Envelope-To: 10164 Cc: 10164@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.6 (------) > Date: Tue, 29 Nov 2011 19:05:20 -0700 > From: Tim Crews > > Start Emacs with runemacs -Q --no-init-file > C-x C-f foo.txt > M-x linum-mode > (Emacs doesn't crash yet) > Type anything. Emacs instantly crashes. Arrgh! This is GCC 4.6.x "as-is" code reordering in action. Emacs crashes here: xassert (!row->enabled_p || row->mode_line_p || verify_row_hash (row)); Evidently, it calls verify_row_hash before it tests row->mode_line_p. From debbugs-submit-bounces@debbugs.gnu.org Wed Nov 30 07:29:47 2011 Received: (at 10164) by debbugs.gnu.org; 30 Nov 2011 12:29:47 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RVjIJ-0005Xl-1i for submit@debbugs.gnu.org; Wed, 30 Nov 2011 07:29:47 -0500 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RVjIH-0005Xf-AY for 10164@debbugs.gnu.org; Wed, 30 Nov 2011 07:29:45 -0500 Received: from eliz by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1RVjID-0000ic-Tp; Wed, 30 Nov 2011 07:29:41 -0500 Date: Wed, 30 Nov 2011 07:29:41 -0500 Message-Id: From: Eli Zaretskii To: Tim Crews , Chong Yidong In-reply-to: <4ED58F60.4000604@code-affinity.com> (message from Tim Crews on Tue, 29 Nov 2011 19:05:20 -0700) Subject: Re: bug#10164: 24.0.91; Instant crash enabling linum-mode References: <4ED58F60.4000604@code-affinity.com> X-Spam-Score: -6.6 (------) X-Debbugs-Envelope-To: 10164 Cc: 10164@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.6 (------) > Arrgh! This is GCC 4.6.x "as-is" code reordering in action. Emacs > crashes here: > > xassert (!row->enabled_p > || row->mode_line_p > || verify_row_hash (row)); > > Evidently, it calls verify_row_hash before it tests row->mode_line_p Fixed in revision 106555 on the trunk. Chong, I hope this is in time for the next pretest. It would be a pity to release a pretest with such a glaring problem. From debbugs-submit-bounces@debbugs.gnu.org Wed Nov 30 07:39:05 2011 Received: (at 10164) by debbugs.gnu.org; 30 Nov 2011 12:39:05 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RVjRI-0006UL-Ah for submit@debbugs.gnu.org; Wed, 30 Nov 2011 07:39:04 -0500 Received: from mail-gy0-f172.google.com ([209.85.160.172]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RVjRF-0006UB-Ug for 10164@debbugs.gnu.org; Wed, 30 Nov 2011 07:39:02 -0500 Received: by ghrr18 with SMTP id r18so575630ghr.3 for <10164@debbugs.gnu.org>; Wed, 30 Nov 2011 04:38:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; bh=GlbO9OXujBW9ebtYkq0sk2/aVgiRYAtpIunMxQKVlmI=; b=scmqe9c4+yN7tHweCXoRvwI4kT6FJVeDImcxgPmJ7dRKaxmIgmK92xMZUr5WX2u2ch EILXNrxzRJhl6DmwEv1XyJiH+0Moxg7qPICSCrCgT+egtzFX/uekHRH+cB4EiRQrRRgQ 4SR6xau7Ac9+SjsYCFgL0X6XuStOT1ISka+tk= Received: by 10.68.209.9 with SMTP id mi9mr6843837pbc.62.1322656738077; Wed, 30 Nov 2011 04:38:58 -0800 (PST) MIME-Version: 1.0 Received: by 10.142.135.16 with HTTP; Wed, 30 Nov 2011 04:38:17 -0800 (PST) In-Reply-To: References: <4ED58F60.4000604@code-affinity.com> From: Juanma Barranquero Date: Wed, 30 Nov 2011 13:38:17 +0100 Message-ID: Subject: Re: bug#10164: 24.0.91; Instant crash enabling linum-mode To: Eli Zaretskii Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -3.4 (---) X-Debbugs-Envelope-To: 10164 Cc: 10164@debbugs.gnu.org, Chong Yidong , Tim Crews X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.4 (---) On Wed, Nov 30, 2011 at 13:29, Eli Zaretskii wrote: > Chong, I hope this is in time for the next pretest. =C2=A0It would be a > pity to release a pretest with such a glaring problem. But verify_row_hash does nothing except checking and returning a flag, so the new code will never cause an assertion failure... =C2=A0 =C2=A0 Juanma =3D=3D=3D modified file 'src/dispnew.c' --- src/dispnew.c 2011-11-28 01:07:01 +0000 +++ src/dispnew.c 2011-11-30 12:25:09 +0000 @@ -608,9 +608,10 @@ row->glyphs[LAST_AREA] =3D row->glyphs[LEFT_MARGIN_AREA] + dim.width; } - xassert (!row->enabled_p - || row->mode_line_p - || verify_row_hash (row)); +#if XASSERTS + if (row->enabled_p && !row->mode_line_p) + verify_row_hash (row)); +#endif ++row; From debbugs-submit-bounces@debbugs.gnu.org Wed Nov 30 07:52:48 2011 Received: (at 10164) by debbugs.gnu.org; 30 Nov 2011 12:52:48 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RVjea-0006n7-0q for submit@debbugs.gnu.org; Wed, 30 Nov 2011 07:52:48 -0500 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RVjeY-0006n0-61 for 10164@debbugs.gnu.org; Wed, 30 Nov 2011 07:52:46 -0500 Received: from dann by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1RVjeS-00026Z-PX; Wed, 30 Nov 2011 07:52:40 -0500 From: Dan Nicolaescu To: Eli Zaretskii Subject: Re: bug#10164: 24.0.91; Instant crash enabling linum-mode References: <4ED58F60.4000604@code-affinity.com> X-Debbugs-No-Ack: yes Date: Wed, 30 Nov 2011 07:52:40 -0500 In-Reply-To: (Eli Zaretskii's message of "Wed, 30 Nov 2011 07:19:56 -0500") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -6.6 (------) X-Debbugs-Envelope-To: 10164 Cc: 10164@debbugs.gnu.org, Tim Crews X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.6 (------) Eli Zaretskii writes: >> Date: Tue, 29 Nov 2011 19:05:20 -0700 >> From: Tim Crews >> >> Start Emacs with runemacs -Q --no-init-file >> C-x C-f foo.txt >> M-x linum-mode >> (Emacs doesn't crash yet) >> Type anything. Emacs instantly crashes. > > Arrgh! This is GCC 4.6.x "as-is" code reordering in action. Emacs > crashes here: > > xassert (!row->enabled_p > || row->mode_line_p > || verify_row_hash (row)); > > Evidently, it calls verify_row_hash before it tests row->mode_line_p. Are you sure? Without interprocedural analysis the compiler cannot know that `verify_row_hash' does not alter row->enabled_p, so it cannot change the evaluation order. BTW, the argument for row_hash should be const. From debbugs-submit-bounces@debbugs.gnu.org Wed Nov 30 08:40:58 2011 Received: (at 10164) by debbugs.gnu.org; 30 Nov 2011 13:40:58 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RVkPC-0007wk-DO for submit@debbugs.gnu.org; Wed, 30 Nov 2011 08:40:58 -0500 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RVkP9-0007wb-5G for 10164@debbugs.gnu.org; Wed, 30 Nov 2011 08:40:56 -0500 Received: from eliz by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1RVkP5-0005BJ-8e; Wed, 30 Nov 2011 08:40:51 -0500 Date: Wed, 30 Nov 2011 08:40:51 -0500 Message-Id: From: Eli Zaretskii To: Juanma Barranquero In-reply-to: (message from Juanma Barranquero on Wed, 30 Nov 2011 13:38:17 +0100) Subject: Re: bug#10164: 24.0.91; Instant crash enabling linum-mode References: <4ED58F60.4000604@code-affinity.com> X-Spam-Score: -6.6 (------) X-Debbugs-Envelope-To: 10164 Cc: 10164@debbugs.gnu.org, cyd@gnu.org, tim.crews@code-affinity.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.6 (------) > From: Juanma Barranquero > Date: Wed, 30 Nov 2011 13:38:17 +0100 > Cc: Tim Crews , Chong Yidong , 10164@debbugs.gnu.org > > But verify_row_hash does nothing except checking and returning a flag, > so the new code will never cause an assertion failure... *Blush* Thanks for fixing, I somehow managed to delete the xassert itself.. From debbugs-submit-bounces@debbugs.gnu.org Wed Nov 30 08:54:48 2011 Received: (at 10164) by debbugs.gnu.org; 30 Nov 2011 13:54:48 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RVkca-0008Hg-0K for submit@debbugs.gnu.org; Wed, 30 Nov 2011 08:54:48 -0500 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RVkcX-0008HX-Al for 10164@debbugs.gnu.org; Wed, 30 Nov 2011 08:54:46 -0500 Received: from eliz by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1RVkcT-0005os-HE; Wed, 30 Nov 2011 08:54:41 -0500 Date: Wed, 30 Nov 2011 08:54:41 -0500 Message-Id: From: Eli Zaretskii To: Dan Nicolaescu In-reply-to: (message from Dan Nicolaescu on Wed, 30 Nov 2011 07:52:40 -0500) Subject: Re: bug#10164: 24.0.91; Instant crash enabling linum-mode References: <4ED58F60.4000604@code-affinity.com> X-Spam-Score: -6.6 (------) X-Debbugs-Envelope-To: 10164 Cc: 10164@debbugs.gnu.org, tim.crews@code-affinity.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.6 (------) > From: Dan Nicolaescu > Cc: Tim Crews , 10164@debbugs.gnu.org > Date: Wed, 30 Nov 2011 07:52:40 -0500 > > Eli Zaretskii writes: > > >> Date: Tue, 29 Nov 2011 19:05:20 -0700 > >> From: Tim Crews > >> > >> Start Emacs with runemacs -Q --no-init-file > >> C-x C-f foo.txt > >> M-x linum-mode > >> (Emacs doesn't crash yet) > >> Type anything. Emacs instantly crashes. > > > > Arrgh! This is GCC 4.6.x "as-is" code reordering in action. Emacs > > crashes here: > > > > xassert (!row->enabled_p > > || row->mode_line_p > > || verify_row_hash (row)); > > > > Evidently, it calls verify_row_hash before it tests row->mode_line_p. > > Are you sure? How else can I explain this display from GDB: (gdb) prow y=0 x=0 pwid=673 a+d=12+4=16 phys=12+4=16 vis=16 used=(LMargin=0,Text=84,RMargin=0) Hash=263825844 start=0 end=0 ENA MODEL ? MODEL says that this row has its mode_line_p flag set. Just to be sure, I ran the recipe again under GDB, setting a breakpoint inside verify_row_hash thusly: (gdb) break verify_row_hash if row->mode_line_p != 0 and sure enough, it breaks as soon as I turn on linum-mode, with ROW that shows the glyphs in the mode line. > Without interprocedural analysis the compiler cannot know > that `verify_row_hash' does not alter row->enabled_p, so it cannot > change the evaluation order. I don't know. Maybe GCC does perform such an analysis. Or maybe it decides that the result of this comparison in verify_row_hash: row->hash == row_hash (row) will not change even if row_hash does modify its argument ROW. Or maybe it's a bug in GCC. From debbugs-submit-bounces@debbugs.gnu.org Wed Nov 30 10:02:39 2011 Received: (at submit) by debbugs.gnu.org; 30 Nov 2011 15:02:39 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RVlgE-0001aX-Nr for submit@debbugs.gnu.org; Wed, 30 Nov 2011 10:02:39 -0500 Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RVlgB-0001aN-9C for submit@debbugs.gnu.org; Wed, 30 Nov 2011 10:02:37 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RVlg3-0007Ji-Iu for submit@debbugs.gnu.org; Wed, 30 Nov 2011 10:02:31 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_MED, RCVD_NUMERIC_HELO, RP_MATCHES_RCVD autolearn=unavailable version=3.3.1 Received: from lists.gnu.org ([140.186.70.17]:34931) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RVlg3-0007Jd-F7 for submit@debbugs.gnu.org; Wed, 30 Nov 2011 10:02:27 -0500 Received: from eggs.gnu.org ([140.186.70.92]:58391) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RVlfv-00074z-Q4 for bug-gnu-emacs@gnu.org; Wed, 30 Nov 2011 10:02:27 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RVlft-0007Ip-5O for bug-gnu-emacs@gnu.org; Wed, 30 Nov 2011 10:02:19 -0500 Received: from lo.gmane.org ([80.91.229.12]:49299) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RVlfs-0007IW-Ey for bug-gnu-emacs@gnu.org; Wed, 30 Nov 2011 10:02:16 -0500 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1RVlfn-0002RF-LT for bug-gnu-emacs@gnu.org; Wed, 30 Nov 2011 16:02:11 +0100 Received: from 193.34.186.16 ([193.34.186.16]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 30 Nov 2011 16:02:11 +0100 Received: from andrewjmoreton by 193.34.186.16 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 30 Nov 2011 16:02:11 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: bug-gnu-emacs@gnu.org From: Andy Moreton Subject: Re: bug#10164: 24.0.91; Instant crash enabling linum-mode Date: Wed, 30 Nov 2011 15:01:55 +0000 Lines: 44 Message-ID: References: <4ED58F60.4000604@code-affinity.com> Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 193.34.186.16 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.91 (windows-nt) Cancel-Lock: sha1:PAPcLJ7ICM3LVyx0xJL7XVRV4uQ= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.17 X-Spam-Score: -3.8 (---) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.8 (---) On Wed 30 Nov 2011, Dan Nicolaescu wrote: > Eli Zaretskii writes: > >>> Date: Tue, 29 Nov 2011 19:05:20 -0700 >>> From: Tim Crews >>> >>> Start Emacs with runemacs -Q --no-init-file >>> C-x C-f foo.txt >>> M-x linum-mode >>> (Emacs doesn't crash yet) >>> Type anything. Emacs instantly crashes. >> >> Arrgh! This is GCC 4.6.x "as-is" code reordering in action. Emacs >> crashes here: >> >> xassert (!row->enabled_p >> || row->mode_line_p >> || verify_row_hash (row)); >> >> Evidently, it calls verify_row_hash before it tests row->mode_line_p. > > Are you sure? Without interprocedural analysis the compiler cannot know > that `verify_row_hash' does not alter row->enabled_p, so it cannot > change the evaluation order. > BTW, the argument for row_hash should be const. The emacs build in this bug report is configured with system-configuration-options is a variable defined in `C source code'. Its value is "--with-gcc (4.6) --no-opt --cflags -ID:/devel/emacs/libs/libXpm-3.5.8/include -ID:/devel/emacs/libs/libXpm-3.5.8/src -ID:/devel/emacs/libs/libpng-dev_1.4.3-1/include -ID:/devel/emacs/libs/zlib-dev_1.2.5-2/include -ID:/devel/emacs/libs/giflib-4.1.4-1/include -ID:/devel/emacs/libs/jpeg-6b-4/include -ID:/devel/emacs/libs/tiff-3.8.2-1/include -ID:/devel/emacs/libs/gnutls-2.10.1/include --ldflags -LD:/devel/emacs/libs/gnutls-2.10.1/lib" This does not include "-fno-omit-frame-pointer", which is known to important for MinGW GCC 4.6. Perhaps that is the real issue here ? AndyM From debbugs-submit-bounces@debbugs.gnu.org Wed Nov 30 10:11:26 2011 Received: (at 10164) by debbugs.gnu.org; 30 Nov 2011 15:11:26 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RVlok-0001nD-4u for submit@debbugs.gnu.org; Wed, 30 Nov 2011 10:11:26 -0500 Received: from mail-qy0-f172.google.com ([209.85.216.172]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RVlof-0001my-A0 for 10164@debbugs.gnu.org; Wed, 30 Nov 2011 10:11:24 -0500 Received: by qyk32 with SMTP id 32so386141qyk.3 for <10164@debbugs.gnu.org>; Wed, 30 Nov 2011 07:11:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; bh=JKmM7ldLW2AxunLYCF160n+b5a3wyGYP/yAAWcY6LRE=; b=iqaF+kiuMQrxrMIC+RB0HVMVL05pVJ/xIsonOq3l/+vbtCgCeqNrlPUoemRSnCnbYC +976EwTY+xbdzckD2REBG2zcRIYcY7RqSU9EN6Z8+FyH2FuHVOfgh7+uEs5OoWBdhnw5 qHx4+pJnqbG6ZfyhNOi4ybbFMefsfBtP2Afyw= Received: by 10.68.30.39 with SMTP id p7mr4533573pbh.113.1322665876378; Wed, 30 Nov 2011 07:11:16 -0800 (PST) MIME-Version: 1.0 Received: by 10.142.135.16 with HTTP; Wed, 30 Nov 2011 07:10:35 -0800 (PST) In-Reply-To: References: <4ED58F60.4000604@code-affinity.com> From: Juanma Barranquero Date: Wed, 30 Nov 2011 16:10:35 +0100 Message-ID: Subject: Re: bug#10164: 24.0.91; Instant crash enabling linum-mode To: Andy Moreton Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -3.4 (---) X-Debbugs-Envelope-To: 10164 Cc: 10164@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.4 (---) On Wed, Nov 30, 2011 at 16:01, Andy Moreton wrot= e: > The emacs build in this bug report is configured with [...] > This does not include "-fno-omit-frame-pointer", which is known to > important for MinGW GCC 4.6. Perhaps that is the real issue here ? I see it with optimized and non-optimized builds (and the optimized build has -fno-omit-frame-pointer). =C2=A0 =C2=A0 Juanma From debbugs-submit-bounces@debbugs.gnu.org Wed Nov 30 10:51:09 2011 Received: (at 10164) by debbugs.gnu.org; 30 Nov 2011 15:51:09 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RVmRB-0002nB-2i for submit@debbugs.gnu.org; Wed, 30 Nov 2011 10:51:09 -0500 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RVmR8-0002n3-97 for 10164@debbugs.gnu.org; Wed, 30 Nov 2011 10:51:07 -0500 Received: from dann by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1RVmR3-0004c1-Nj; Wed, 30 Nov 2011 10:51:01 -0500 From: Dan Nicolaescu To: Eli Zaretskii Subject: Re: bug#10164: 24.0.91; Instant crash enabling linum-mode References: <4ED58F60.4000604@code-affinity.com> Date: Wed, 30 Nov 2011 10:51:01 -0500 In-Reply-To: (Eli Zaretskii's message of "Wed, 30 Nov 2011 08:54:41 -0500") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -6.6 (------) X-Debbugs-Envelope-To: 10164 Cc: 10164@debbugs.gnu.org, tim.crews@code-affinity.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.6 (------) Eli Zaretskii writes: >> From: Dan Nicolaescu >> Cc: Tim Crews , 10164@debbugs.gnu.org >> Date: Wed, 30 Nov 2011 07:52:40 -0500 >> >> Eli Zaretskii writes: >> >> >> Date: Tue, 29 Nov 2011 19:05:20 -0700 >> >> From: Tim Crews >> >> >> >> Start Emacs with runemacs -Q --no-init-file >> >> C-x C-f foo.txt >> >> M-x linum-mode >> >> (Emacs doesn't crash yet) >> >> Type anything. Emacs instantly crashes. >> > >> > Arrgh! This is GCC 4.6.x "as-is" code reordering in action. Emacs >> > crashes here: >> > >> > xassert (!row->enabled_p >> > || row->mode_line_p >> > || verify_row_hash (row)); >> > >> > Evidently, it calls verify_row_hash before it tests row->mode_line_p. >> >> Are you sure? > > How else can I explain this display from GDB: Compiler bug? > (gdb) prow > y=0 x=0 pwid=673 a+d=12+4=16 phys=12+4=16 vis=16 > used=(LMargin=0,Text=84,RMargin=0) Hash=263825844 > start=0 end=0 ENA MODEL > > ? MODEL says that this row has its mode_line_p flag set. > > Just to be sure, I ran the recipe again under GDB, setting a > breakpoint inside verify_row_hash thusly: > > (gdb) break verify_row_hash if row->mode_line_p != 0 > > and sure enough, it breaks as soon as I turn on linum-mode, with ROW > that shows the glyphs in the mode line. > >> Without interprocedural analysis the compiler cannot know >> that `verify_row_hash' does not alter row->enabled_p, so it cannot >> change the evaluation order. > > I don't know. Maybe GCC does perform such an analysis. Or maybe it It can't by default, `row_hash' is in a different file, so it's not available when compiling dispnew.c. > decides that the result of this comparison in verify_row_hash: > > row->hash == row_hash (row) > > will not change even if row_hash does modify its argument ROW. Or > maybe it's a bug in GCC. From debbugs-submit-bounces@debbugs.gnu.org Wed Nov 30 11:25:49 2011 Received: (at 10164) by debbugs.gnu.org; 30 Nov 2011 16:25:49 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RVmyj-0003a7-DU for submit@debbugs.gnu.org; Wed, 30 Nov 2011 11:25:49 -0500 Received: from mtaout20.012.net.il ([80.179.55.166]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RVmyi-0003a0-2A for 10164@debbugs.gnu.org; Wed, 30 Nov 2011 11:25:48 -0500 Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0LVH00000EW7HQ00@a-mtaout20.012.net.il> for 10164@debbugs.gnu.org; Wed, 30 Nov 2011 18:25:23 +0200 (IST) Received: from HOME-C4E4A596F7 ([77.126.234.164]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0LVH00LVMEYAYOG0@a-mtaout20.012.net.il>; Wed, 30 Nov 2011 18:25:23 +0200 (IST) Date: Wed, 30 Nov 2011 18:24:15 +0200 From: Eli Zaretskii Subject: Re: bug#10164: 24.0.91; Instant crash enabling linum-mode In-reply-to: X-012-Sender: halo1@inter.net.il To: Juanma Barranquero , Chong Yidong Message-id: <83bort60k0.fsf@gnu.org> References: <4ED58F60.4000604@code-affinity.com> X-Spam-Score: -2.1 (--) X-Debbugs-Envelope-To: 10164 Cc: 10164@debbugs.gnu.org, tim.crews@code-affinity.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.1 (--) > From: Juanma Barranquero > Date: Wed, 30 Nov 2011 15:32:25 +0100 > > On Wed, Nov 30, 2011 at 14:57, Eli Zaretskii wrote: > > > You mean, you still see the crash after the change?? > > Yes. I see it myself. Chong, please hold off the pretest while I debug this. From debbugs-submit-bounces@debbugs.gnu.org Wed Nov 30 11:29:55 2011 Received: (at 10164) by debbugs.gnu.org; 30 Nov 2011 16:29:55 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RVn2g-0003g8-7U for submit@debbugs.gnu.org; Wed, 30 Nov 2011 11:29:55 -0500 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RVn2d-0003g1-Na for 10164@debbugs.gnu.org; Wed, 30 Nov 2011 11:29:52 -0500 Received: from bb121-6-69-237.singnet.com.sg ([121.6.69.237]:48272 helo=furball) by fencepost.gnu.org with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1RVn2Y-0006du-82; Wed, 30 Nov 2011 11:29:46 -0500 From: Chong Yidong To: Eli Zaretskii Subject: Re: bug#10164: 24.0.91; Instant crash enabling linum-mode References: <4ED58F60.4000604@code-affinity.com> <83bort60k0.fsf@gnu.org> Date: Thu, 01 Dec 2011 00:29:37 +0800 In-Reply-To: <83bort60k0.fsf@gnu.org> (Eli Zaretskii's message of "Wed, 30 Nov 2011 18:24:15 +0200") Message-ID: <8762i13766.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.92 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -6.6 (------) X-Debbugs-Envelope-To: 10164 Cc: Juanma Barranquero , tim.crews@code-affinity.com, 10164@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.6 (------) Eli Zaretskii writes: >> On Wed, Nov 30, 2011 at 14:57, Eli Zaretskii wrote: >> >> > You mean, you still see the crash after the change?? >> >> Yes. > > I see it myself. > > Chong, please hold off the pretest while I debug this. I bumped the version number in the trunk before seeing this latest message. But, I haven't made the pretest tag yet---will wait. From debbugs-submit-bounces@debbugs.gnu.org Wed Nov 30 11:35:27 2011 Received: (at 10164) by debbugs.gnu.org; 30 Nov 2011 16:35:27 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RVn83-0003pB-Ag for submit@debbugs.gnu.org; Wed, 30 Nov 2011 11:35:27 -0500 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RVn81-0003p5-PW for 10164@debbugs.gnu.org; Wed, 30 Nov 2011 11:35:26 -0500 Received: from bb121-6-69-237.singnet.com.sg ([121.6.69.237]:48281 helo=furball) by fencepost.gnu.org with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1RVn7v-0007Kk-E4; Wed, 30 Nov 2011 11:35:21 -0500 From: Chong Yidong To: Eli Zaretskii Subject: Re: bug#10164: 24.0.91; Instant crash enabling linum-mode References: <4ED58F60.4000604@code-affinity.com> <83bort60k0.fsf@gnu.org> <8762i13766.fsf@gnu.org> Date: Thu, 01 Dec 2011 00:35:09 +0800 In-Reply-To: <8762i13766.fsf@gnu.org> (Chong Yidong's message of "Thu, 01 Dec 2011 00:29:37 +0800") Message-ID: <87y5uxa7r6.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.92 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -6.6 (------) X-Debbugs-Envelope-To: 10164 Cc: Juanma Barranquero , tim.crews@code-affinity.com, 10164@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.6 (------) Chong Yidong writes: > Eli Zaretskii writes: > >>> On Wed, Nov 30, 2011 at 14:57, Eli Zaretskii wrote: >>> >>> > You mean, you still see the crash after the change?? >>> >>> Yes. >> >> I see it myself. >> >> Chong, please hold off the pretest while I debug this. > > I bumped the version number in the trunk before seeing this latest > message. But, I haven't made the pretest tag yet---will wait. And FWIW, this bug seems to be Windows-only, since I don't see any crash on GNU/Linux. From debbugs-submit-bounces@debbugs.gnu.org Wed Nov 30 11:40:12 2011 Received: (at 10164) by debbugs.gnu.org; 30 Nov 2011 16:40:12 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RVnCd-0003wF-SJ for submit@debbugs.gnu.org; Wed, 30 Nov 2011 11:40:12 -0500 Received: from mail-qw0-f44.google.com ([209.85.216.44]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RVnCb-0003w5-8W for 10164@debbugs.gnu.org; Wed, 30 Nov 2011 11:40:10 -0500 Received: by qao25 with SMTP id 25so1515963qao.3 for <10164@debbugs.gnu.org>; Wed, 30 Nov 2011 08:40:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; bh=WB60MfTr6pdqPu89c0OBuuz3wKV+JQa61vS/M0yMgLw=; b=H94QiX7qpGOxpU8RJJruxl/XGucF5sp35bIc8iTFwzFa47A7WMrm3aOC9vHBqXv9Tu L/NTDEiZO+BIBVIEC0m6xt/0tNmT2AxtJ3Ve8seuM4Ojnx9D2P6a/l0lMq81DO/m1tcZ KTe6DYuhn+esDzgZ3rJbEALSdcTPcWuiGhZVg= Received: by 10.68.17.10 with SMTP id k10mr7733598pbd.79.1322671204170; Wed, 30 Nov 2011 08:40:04 -0800 (PST) MIME-Version: 1.0 Received: by 10.142.135.16 with HTTP; Wed, 30 Nov 2011 08:39:23 -0800 (PST) In-Reply-To: <87y5uxa7r6.fsf@gnu.org> References: <4ED58F60.4000604@code-affinity.com> <83bort60k0.fsf@gnu.org> <8762i13766.fsf@gnu.org> <87y5uxa7r6.fsf@gnu.org> From: Juanma Barranquero Date: Wed, 30 Nov 2011 17:39:23 +0100 Message-ID: Subject: Re: bug#10164: 24.0.91; Instant crash enabling linum-mode To: Chong Yidong Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -3.4 (---) X-Debbugs-Envelope-To: 10164 Cc: 10164@debbugs.gnu.org, Eli Zaretskii , tim.crews@code-affinity.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.4 (---) > And FWIW, this bug seems to be Windows-only, since I don't see any crash > on GNU/Linux. How do you test it? I get the crash with emacs -Q M-x linum-mode but not with emacs -Q -f linum-mode =C2=A0 =C2=A0 Juanma From debbugs-submit-bounces@debbugs.gnu.org Wed Nov 30 11:42:26 2011 Received: (at 10164) by debbugs.gnu.org; 30 Nov 2011 16:42:26 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RVnEl-0003zM-Gi for submit@debbugs.gnu.org; Wed, 30 Nov 2011 11:42:25 -0500 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RVnEi-0003zE-LP for 10164@debbugs.gnu.org; Wed, 30 Nov 2011 11:42:21 -0500 Received: from bb121-6-69-237.singnet.com.sg ([121.6.69.237]:48357 helo=furball) by fencepost.gnu.org with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1RVnEd-0007nR-Tn; Wed, 30 Nov 2011 11:42:16 -0500 From: Chong Yidong To: Juanma Barranquero Subject: Re: bug#10164: 24.0.91; Instant crash enabling linum-mode References: <4ED58F60.4000604@code-affinity.com> <83bort60k0.fsf@gnu.org> <8762i13766.fsf@gnu.org> <87y5uxa7r6.fsf@gnu.org> Date: Thu, 01 Dec 2011 00:42:07 +0800 In-Reply-To: (Juanma Barranquero's message of "Wed, 30 Nov 2011 17:39:23 +0100") Message-ID: <8762i1imu8.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.92 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -6.6 (------) X-Debbugs-Envelope-To: 10164 Cc: 10164@debbugs.gnu.org, Eli Zaretskii , tim.crews@code-affinity.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.6 (------) Juanma Barranquero writes: >> And FWIW, this bug seems to be Windows-only, since I don't see any crash >> on GNU/Linux. > > How do you test it? I get the crash with > > emacs -Q > M-x linum-mode > > but not with > > emacs -Q -f linum-mode Disregard that---I had accidentally recompiled without asserts enabled. I see the abort now. From debbugs-submit-bounces@debbugs.gnu.org Wed Nov 30 11:57:50 2011 Received: (at 10164-done) by debbugs.gnu.org; 30 Nov 2011 16:57:50 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RVnTh-0004LU-N8 for submit@debbugs.gnu.org; Wed, 30 Nov 2011 11:57:50 -0500 Received: from mtaout22.012.net.il ([80.179.55.172]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RVnTc-0004LI-OQ for 10164-done@debbugs.gnu.org; Wed, 30 Nov 2011 11:57:46 -0500 Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0LVH00300GES6Q00@a-mtaout22.012.net.il> for 10164-done@debbugs.gnu.org; Wed, 30 Nov 2011 18:57:39 +0200 (IST) Received: from HOME-C4E4A596F7 ([77.126.234.164]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0LVH00257GG2J590@a-mtaout22.012.net.il>; Wed, 30 Nov 2011 18:57:39 +0200 (IST) Date: Wed, 30 Nov 2011 18:56:31 +0200 From: Eli Zaretskii Subject: Re: bug#10164: 24.0.91; Instant crash enabling linum-mode In-reply-to: <8762i13766.fsf@gnu.org> X-012-Sender: halo1@inter.net.il To: Chong Yidong Message-id: <838vmx5z28.fsf@gnu.org> References: <4ED58F60.4000604@code-affinity.com> <83bort60k0.fsf@gnu.org> <8762i13766.fsf@gnu.org> X-Spam-Score: -2.1 (--) X-Debbugs-Envelope-To: 10164-done Cc: lekktu@gmail.com, 10164-done@debbugs.gnu.org, tim.crews@code-affinity.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.1 (--) > From: Chong Yidong > Cc: Juanma Barranquero , 10164@debbugs.gnu.org, tim.crews@code-affinity.com > Date: Thu, 01 Dec 2011 00:29:37 +0800 > > > Chong, please hold off the pretest while I debug this. > > I bumped the version number in the trunk before seeing this latest > message. But, I haven't made the pretest tag yet---will wait. Thanks. The bug is fixed in revision 106561. It was simply wrong to try to verify rows' hash values at that spot, because the code immediately before that reallocates the glyph arrays, so the contents of a glyph row could be complete garbage. Therefore, I removed the assertion. I'm amazed that this assertion didn't trigger until now. I guess too few people compile with asserts. Or maybe most calls to adjust_glyph_matrix don't really reallocate, since display margins are a relatively rarely used feature. Sorry about this, it was a shameful thinko on my part to introduce that assertion in the first place. From debbugs-submit-bounces@debbugs.gnu.org Wed Nov 30 12:37:58 2011 Received: (at 10164) by debbugs.gnu.org; 30 Nov 2011 17:37:58 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RVo6X-0005KJ-On for submit@debbugs.gnu.org; Wed, 30 Nov 2011 12:37:58 -0500 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RVo6W-0005KC-2j for 10164@debbugs.gnu.org; Wed, 30 Nov 2011 12:37:56 -0500 Received: from bb121-6-69-237.singnet.com.sg ([121.6.69.237]:48684 helo=furball) by fencepost.gnu.org with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1RVo6Q-0003Ux-8u; Wed, 30 Nov 2011 12:37:51 -0500 From: Chong Yidong To: 10164@debbugs.gnu.org Subject: Re: bug#10164: 24.0.91; Instant crash enabling linum-mode References: <4ED58F60.4000604@code-affinity.com> <83bort60k0.fsf@gnu.org> <8762i13766.fsf@gnu.org> <838vmx5z28.fsf@gnu.org> Date: Thu, 01 Dec 2011 01:37:39 +0800 In-Reply-To: <838vmx5z28.fsf@gnu.org> (Eli Zaretskii's message of "Wed, 30 Nov 2011 18:56:31 +0200") Message-ID: <877h2h1pgc.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.92 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -6.6 (------) X-Debbugs-Envelope-To: 10164 Cc: eliz@gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.6 (------) Eli Zaretskii writes: > Thanks. The bug is fixed in revision 106561. > > It was simply wrong to try to verify rows' hash values at that spot, > because the code immediately before that reallocates the glyph arrays, > so the contents of a glyph row could be complete garbage. Therefore, > I removed the assertion. > > I'm amazed that this assertion didn't trigger until now. I guess too > few people compile with asserts. Or maybe most calls to > adjust_glyph_matrix don't really reallocate, since display margins are > a relatively rarely used feature. > > Sorry about this, it was a shameful thinko on my part to introduce > that assertion in the first place. No worries, and thanks for looking into the problem on such short notice. I'll make the pretest shortly. From debbugs-submit-bounces@debbugs.gnu.org Wed Nov 30 12:50:30 2011 Received: (at 10164) by debbugs.gnu.org; 30 Nov 2011 17:50:30 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RVoIf-0005e3-9M for submit@debbugs.gnu.org; Wed, 30 Nov 2011 12:50:29 -0500 Received: from caiajhbdcbhh.dreamhost.com ([208.97.132.177] helo=homiemail-a97.g.dreamhost.com) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RVnyd-00055z-F9 for 10164@debbugs.gnu.org; Wed, 30 Nov 2011 12:29:48 -0500 Received: from homiemail-a97.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a97.g.dreamhost.com (Postfix) with ESMTP id 034F228606D for <10164@debbugs.gnu.org>; Wed, 30 Nov 2011 09:29:42 -0800 (PST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=code-affinity.com; h=message-id :date:from:mime-version:to:subject:references:in-reply-to :content-type:content-transfer-encoding; q=dns; s= code-affinity.com; b=QVsfyI8obp8VuIpKSCVO2ANAcIVXQIH3fOrHUhnKACY 7P2qhYeyfiP8qN5RZK9rkxKBx/k+cDyQPmCF/p8u55Xq38LvwFehJC1ZTcFgWzPP QV+BSMbJnaktxBVuS5LLo7PAT/gnFvLTwEYl1s2rrKQDHGYXp6lLF+HvgBoQbNfQ = DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=code-affinity.com; h= message-id:date:from:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; s= code-affinity.com; bh=kMkuU6Ydh0G+jtl0F6UVzlG0wIE=; b=DDefRmOfm3 XuEEHu3YVyAPznQHSG8EKdAFMcoLYMf8n3JYjbb3r/lTKAkbKxIhQnbTJaUfrlQ9 o7pNvtsUu4uYr9+w8wFELcgGCLy5nW1JUxnqTwho5ZE1eccHdOBt+7neg9UsdWAL BXjHeVtO1VIxAwmADKoWXhGyhywQel8SM= Received: from [192.168.1.100] (ip24-251-175-208.ph.ph.cox.net [24.251.175.208]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: tim.crews@code-affinity.com) by homiemail-a97.g.dreamhost.com (Postfix) with ESMTPSA id D371328606B for <10164@debbugs.gnu.org>; Wed, 30 Nov 2011 09:29:41 -0800 (PST) Message-ID: <4ED66803.2010002@code-affinity.com> Date: Wed, 30 Nov 2011 10:29:39 -0700 From: Tim Crews User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:8.0) Gecko/20111105 Thunderbird/8.0 MIME-Version: 1.0 To: 10164@debbugs.gnu.org Subject: Re: bug#10164: closed (Instant crash enabling linum-mode) References: <838vmx5z28.fsf@gnu.org> <4ED58F60.4000604@code-affinity.com> In-Reply-To: Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Score: -2.1 (--) X-Debbugs-Envelope-To: 10164 X-Mailman-Approved-At: Wed, 30 Nov 2011 12:50:26 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.7 (-) On 11/30/2011 9:58 AM, Eli Zaretskii wrote:
[I'm amazed that this assertion didn't trigger until now.  I guess too
few people compile with asserts.  Or maybe most calls to
adjust_glyph_matrix don't really reallocate, since display margins are
a relatively rarely used feature.]

I'm confused about that part.  I discovered the bug using the binary build that came from  http://alpha.gnu.org/gnu/emacs/windows/.  Isn't this where most people would get their copy of Emacs 24?  Wasn't it compiled with asserts?

Tim Crews
From debbugs-submit-bounces@debbugs.gnu.org Wed Nov 30 13:07:56 2011 Received: (at 10164) by debbugs.gnu.org; 30 Nov 2011 18:07:56 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RVoZX-000647-Vz for submit@debbugs.gnu.org; Wed, 30 Nov 2011 13:07:56 -0500 Received: from mtaout20.012.net.il ([80.179.55.166]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RVoZW-000640-Sj for 10164@debbugs.gnu.org; Wed, 30 Nov 2011 13:07:55 -0500 Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0LVH00100JOQOD00@a-mtaout20.012.net.il> for 10164@debbugs.gnu.org; Wed, 30 Nov 2011 20:07:42 +0200 (IST) Received: from HOME-C4E4A596F7 ([77.126.234.164]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0LVH00L7XJOTS7Y0@a-mtaout20.012.net.il>; Wed, 30 Nov 2011 20:07:42 +0200 (IST) Date: Wed, 30 Nov 2011 20:06:34 +0200 From: Eli Zaretskii Subject: Re: bug#10164: closed (Instant crash enabling linum-mode) In-reply-to: <4ED66803.2010002@code-affinity.com> X-012-Sender: halo1@inter.net.il To: Tim Crews Message-id: <831usp5vth.fsf@gnu.org> References: <838vmx5z28.fsf@gnu.org> <4ED58F60.4000604@code-affinity.com> <4ED66803.2010002@code-affinity.com> X-Spam-Score: -2.1 (--) X-Debbugs-Envelope-To: 10164 Cc: 10164@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.1 (--) > Date: Wed, 30 Nov 2011 10:29:39 -0700 > From: Tim Crews > > > I'm amazed that this assertion didn't trigger until now. I guess too > > few people compile with asserts. Or maybe most calls to > > adjust_glyph_matrix don't really reallocate, since display margins are > > a relatively rarely used feature. > > I'm confused about that part. I discovered the bug using the binary > build that came from http://alpha.gnu.org/gnu/emacs/windows/. > Isn't this where most people would get their copy of Emacs 24? I don't know. Quite a few people who track Emacs development build Emacs themselves. I do, for example. > Wasn't it compiled with asserts? Yes, it was. So is my Emacs. I just don't use linum-mode. The moment I tried it, it crashed for me as well. From debbugs-submit-bounces@debbugs.gnu.org Wed Nov 30 13:10:55 2011 Received: (at 10164) by debbugs.gnu.org; 30 Nov 2011 18:10:55 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RVocQ-00068n-Qo for submit@debbugs.gnu.org; Wed, 30 Nov 2011 13:10:55 -0500 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RVocO-00068f-Fi for 10164@debbugs.gnu.org; Wed, 30 Nov 2011 13:10:53 -0500 Received: from dann by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1RVocJ-0007q5-MY; Wed, 30 Nov 2011 13:10:47 -0500 From: Dan Nicolaescu To: 10164@debbugs.gnu.org Subject: Re: bug#10164: 24.0.91; Instant crash enabling linum-mode References: <4ED58F60.4000604@code-affinity.com> <83bort60k0.fsf@gnu.org> <8762i13766.fsf@gnu.org> <838vmx5z28.fsf@gnu.org> X-Debbugs-No-Ack: yes Date: Wed, 30 Nov 2011 13:10:47 -0500 In-Reply-To: <838vmx5z28.fsf@gnu.org> (Eli Zaretskii's message of "Wed, 30 Nov 2011 18:56:31 +0200") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -6.6 (------) X-Debbugs-Envelope-To: 10164 Cc: eliz@gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.6 (------) Eli Zaretskii writes: > I'm amazed that this assertion didn't trigger until now. I guess too > few people compile with asserts. You might want to add another option: configure --enable-checking=xasserts to enable asserts, it's easier to enable checks when one does not have to edit files. From debbugs-submit-bounces@debbugs.gnu.org Wed Nov 30 13:30:43 2011 Received: (at 10164) by debbugs.gnu.org; 30 Nov 2011 18:30:43 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RVovb-0006cL-Lh for submit@debbugs.gnu.org; Wed, 30 Nov 2011 13:30:43 -0500 Received: from mtaout21.012.net.il ([80.179.55.169]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RVovZ-0006cD-1U for 10164@debbugs.gnu.org; Wed, 30 Nov 2011 13:30:42 -0500 Received: from conversion-daemon.a-mtaout21.012.net.il by a-mtaout21.012.net.il (HyperSendmail v2007.08) id <0LVH00F00KOVGZ00@a-mtaout21.012.net.il> for 10164@debbugs.gnu.org; Wed, 30 Nov 2011 20:30:35 +0200 (IST) Received: from HOME-C4E4A596F7 ([77.126.234.164]) by a-mtaout21.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0LVH00FHVKQYD370@a-mtaout21.012.net.il>; Wed, 30 Nov 2011 20:30:35 +0200 (IST) Date: Wed, 30 Nov 2011 20:29:27 +0200 From: Eli Zaretskii Subject: Re: bug#10164: 24.0.91; Instant crash enabling linum-mode In-reply-to: X-012-Sender: halo1@inter.net.il To: Dan Nicolaescu Message-id: <83zkfd4g6w.fsf@gnu.org> References: <4ED58F60.4000604@code-affinity.com> <83bort60k0.fsf@gnu.org> <8762i13766.fsf@gnu.org> <838vmx5z28.fsf@gnu.org> X-Spam-Score: -2.1 (--) X-Debbugs-Envelope-To: 10164 Cc: 10164@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.1 (--) > From: Dan Nicolaescu > Cc: eliz@gnu.org > Date: Wed, 30 Nov 2011 13:10:47 -0500 > > Eli Zaretskii writes: > > > I'm amazed that this assertion didn't trigger until now. I guess too > > few people compile with asserts. > > You might want to add another option: > configure --enable-checking=xasserts > > to enable asserts, it's easier to enable checks when one does not have > to edit files. I thought that's what "configure --enable-asserts" did. Doesn't it? Or is that option inconvenient in some way? From debbugs-submit-bounces@debbugs.gnu.org Wed Nov 30 13:55:24 2011 Received: (at 10164) by debbugs.gnu.org; 30 Nov 2011 18:55:24 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RVpJU-0007Bh-6d for submit@debbugs.gnu.org; Wed, 30 Nov 2011 13:55:24 -0500 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RVpJR-0007BZ-QP for 10164@debbugs.gnu.org; Wed, 30 Nov 2011 13:55:22 -0500 Received: from dann by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1RVpJM-0002I7-V2; Wed, 30 Nov 2011 13:55:16 -0500 From: Dan Nicolaescu To: Eli Zaretskii Subject: Re: bug#10164: 24.0.91; Instant crash enabling linum-mode References: <4ED58F60.4000604@code-affinity.com> <83bort60k0.fsf@gnu.org> <8762i13766.fsf@gnu.org> <838vmx5z28.fsf@gnu.org> <83zkfd4g6w.fsf@gnu.org> Date: Wed, 30 Nov 2011 13:55:16 -0500 In-Reply-To: <83zkfd4g6w.fsf@gnu.org> (Eli Zaretskii's message of "Wed, 30 Nov 2011 20:29:27 +0200") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -6.6 (------) X-Debbugs-Envelope-To: 10164 Cc: 10164@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.6 (------) Eli Zaretskii writes: >> From: Dan Nicolaescu >> Cc: eliz@gnu.org >> Date: Wed, 30 Nov 2011 13:10:47 -0500 >> >> Eli Zaretskii writes: >> >> > I'm amazed that this assertion didn't trigger until now. I guess too >> > few people compile with asserts. >> >> You might want to add another option: >> configure --enable-checking=xasserts >> >> to enable asserts, it's easier to enable checks when one does not have >> to edit files. > > I thought that's what "configure --enable-asserts" did. Doesn't it? > Or is that option inconvenient in some way? I just didn't know about it... From unknown Sun Jun 22 07:54:53 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Thu, 29 Dec 2011 12:24:03 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator