From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Kaushal Modi Newsgroups: gmane.emacs.bugs Subject: bug#29326: 26.0.90; Emacs crash on running comment-dwim Date: Fri, 17 Nov 2017 17:11:53 +0000 Message-ID: References: <83efoxidyf.fsf@gnu.org> <834lptic0f.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="001a114faab0f400ba055e30d5e0" X-Trace: blaine.gmane.org 1510938797 2360 195.159.176.226 (17 Nov 2017 17:13:17 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 17 Nov 2017 17:13:17 +0000 (UTC) Cc: 29326@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Nov 17 18:13:13 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eFkCT-00005b-EU for geb-bug-gnu-emacs@m.gmane.org; Fri, 17 Nov 2017 18:13:09 +0100 Original-Received: from localhost ([::1]:47017 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eFkCa-0007tv-GE for geb-bug-gnu-emacs@m.gmane.org; Fri, 17 Nov 2017 12:13:16 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50475) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eFkCQ-0007sr-1T for bug-gnu-emacs@gnu.org; Fri, 17 Nov 2017 12:13:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eFkCM-0004jF-Ng for bug-gnu-emacs@gnu.org; Fri, 17 Nov 2017 12:13:06 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:36527) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eFkCM-0004ix-Jk for bug-gnu-emacs@gnu.org; Fri, 17 Nov 2017 12:13:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1eFkCM-0004E9-Cb for bug-gnu-emacs@gnu.org; Fri, 17 Nov 2017 12:13:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Kaushal Modi Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 17 Nov 2017 17:13:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 29326 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 29326-submit@debbugs.gnu.org id=B29326.151093873216186 (code B ref 29326); Fri, 17 Nov 2017 17:13:02 +0000 Original-Received: (at 29326) by debbugs.gnu.org; 17 Nov 2017 17:12:12 +0000 Original-Received: from localhost ([127.0.0.1]:45208 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eFkBY-0004D0-11 for submit@debbugs.gnu.org; Fri, 17 Nov 2017 12:12:12 -0500 Original-Received: from mail-yw0-f171.google.com ([209.85.161.171]:39401) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eFkBW-0004Cn-5X for 29326@debbugs.gnu.org; Fri, 17 Nov 2017 12:12:10 -0500 Original-Received: by mail-yw0-f171.google.com with SMTP id g204so1534226ywa.6 for <29326@debbugs.gnu.org>; Fri, 17 Nov 2017 09:12:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=+ghc5CovsTlF5N9Si5xSHc1fdgud39uMZdtBcgBQpbE=; b=b2YXy77UphpTOfKLgYz7M/TE+qD1PftRpytsiD7GNlxp9nbbk5uRMt8LxlM/CzwE/u WTTMZml5uQalYw/4wq8QiDlC13HLxvVa8lVCq+MoGt4d11xP6JsPu9nHJNldxaqfqUYG MQpy34XuF8VijhQ3oV9X649wJwqQNihIGwqqv8rmRGOglnxUP9HTCxkaUMsEVwLfuqIu 0Aw/E16D4bqitepREk4qZqxRhJZOlK5nRN9uZbZm+DVhco63rvhAwEd416I1bTDhL00A 2sqQwgcJNS7Py2RbwwzE0+UlrsCN3agMleH/fM7H+2Qz5t5YZPymo6kS/ClKNHuEti56 LA3g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=+ghc5CovsTlF5N9Si5xSHc1fdgud39uMZdtBcgBQpbE=; b=HtpZ0hBc2+v25aMmVHC175eF401Yd2yIJE4HLjWXVJPTiVb5zFCgjlIySajFaMvsDc B9dwR1yjZrDv9MT0ptEOwsRKtNRXnC45Nfwkr4EJg+sxRK91u1KsWt9Rdgl9+uF3JEEW vMSjXoCu2s4x/qW9ULTPmU2rkUIA1hPhXvGhcgTlpLKssPlZ5/kbdfJhx0uE7LBHMi2e NVpLhJLzv5txd+m7ThyiUrZiE0lkurCS1Uj6HVx+f+VEd1VRicR1TdRfZv6lGjZzKJH3 GeNcATBVH0nKEog8IStc4nOwJoDcJXoXzrDarqOMaD1tstP2DK1v74PUZVFQ13P8a2zU IFHg== X-Gm-Message-State: AJaThX4EXRAITUdevkM8+IS3hFRJ0QYdBxemg9DdFDkTgEigjv+Am1i6 GNIAd9wm3Aw4Rxz/psAJW6gkLpng2mHvJaMiJf4= X-Google-Smtp-Source: AGs4zMZeU36332HBiU5fN0jnneuCRPPBYCnc6+6BOIZrvrXfbTFnUvnHKoM77Gfy/15puC4H5K1ROFf678TRCs5ynfE= X-Received: by 10.13.213.135 with SMTP id x129mr3481327ywd.185.1510938724530; Fri, 17 Nov 2017 09:12:04 -0800 (PST) In-Reply-To: <834lptic0f.fsf@gnu.org> 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:140015 Archived-At: --001a114faab0f400ba055e30d5e0 Content-Type: text/plain; charset="UTF-8" On Fri, Nov 17, 2017 at 2:46 AM Eli Zaretskii wrote: > > In this call frame #3, what is the value of ZV? > > Same question about the value of Z. > (gdb) f 2 #2 0x00000000006232d5 in die (msg=0x723428 "charpos < 0 || (charpos >= BUF_BEG (current_buffer) && charpos <= ZV)", file=0x72313d "xdisp.c", line=2752) at alloc.c:7419 7419 terminate_due_to_signal (SIGABRT, INT_MAX); (gdb) p ZV $1 = 263 (gdb) p charpos No symbol "charpos" in current context. (gdb) f 2 #2 0x00000000006232d5 in die (msg=0x723428 "charpos < 0 || (charpos >= BUF_BEG (current_buffer) && charpos <= ZV)", file=0x72313d "xdisp.c", line=2752) at alloc.c:7419 7419 terminate_due_to_signal (SIGABRT, INT_MAX); (gdb) p charpos No symbol "charpos" in current context. (gdb) f 3 #3 0x0000000000449caa in init_iterator (it=0x7fffffff22f0, w=0x1593770, charpos=360, bytepos=360, row=0x7511660, base_face_id=DEFAULT_FACE_ID) at xdisp.c:2751 2751 eassert (charpos < 0 || (charpos >= BUF_BEG (current_buffer) (gdb) p ZV $2 = 263 (gdb) p Z $3 = 263 (gdb) -- Kaushal Modi --001a114faab0f400ba055e30d5e0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Fri, Nov 17= , 2017 at 2:46 AM Eli Zaretskii <eliz@gn= u.org> wrote:
> In this c= all frame #3, what is the value of ZV?

Same question about the value of Z.

(gd= b) f 2
#2=C2=A0 0x00000000006232d5 in die (msg=3D0x723428 &qu= ot;charpos < 0 || (charpos >=3D BUF_BEG (current_buffer) && c= harpos <=3D ZV)",
=C2=A0 =C2=A0 file=3D0x72313d "xdi= sp.c", line=3D2752) at alloc.c:7419
7419=C2=A0 =C2=A0 =C2=A0= terminate_due_to_signal (SIGABRT, INT_MAX);
(gdb) p ZV
$1 =3D 263
(gdb) p charpos
No symbol "charpos&quo= t; in current context.
(gdb) f 2
#2=C2=A0 0x00000000006= 232d5 in die (msg=3D0x723428 "charpos < 0 || (charpos >=3D BUF_B= EG (current_buffer) && charpos <=3D ZV)",
=C2=A0 = =C2=A0 file=3D0x72313d "xdisp.c", line=3D2752) at alloc.c:7419
7419=C2=A0 =C2=A0 =C2=A0 terminate_due_to_signal (SIGABRT, INT_MAX)= ;
(gdb) p charpos
No symbol "charpos" in curr= ent context.

(gdb) f 3
#3=C2=A0 0x000000= 0000449caa in init_iterator (it=3D0x7fffffff22f0, w=3D0x1593770, charpos=3D= 360, bytepos=3D360, row=3D0x7511660,
=C2=A0 =C2=A0 base_face_id= =3DDEFAULT_FACE_ID) at xdisp.c:2751
2751=C2=A0 =C2=A0 =C2=A0 eass= ert (charpos < 0 || (charpos >=3D BUF_BEG (current_buffer)
= (gdb) p ZV
$2 =3D 263
(gdb) p Z
$3 =3D 263
(gdb)=C2=A0
--

Ka= ushal Modi

--001a114faab0f400ba055e30d5e0--