From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Alex Newsgroups: gmane.emacs.bugs Subject: bug#28710: 27.0.50; eassert failure in maybe_produce_line_number Date: Mon, 09 Oct 2017 13:36:41 -0600 Message-ID: <87shesazau.fsf@gmail.com> References: <8760buwnne.fsf@gmail.com> <83d162xahp.fsf@gnu.org> <87bmllxieq.fsf@gmail.com> <83wp48vffr.fsf@gnu.org> <878tgmd0e9.fsf@gmail.com> <83d15ytan9.fsf@gnu.org> <874lracdw6.fsf@gmail.com> <837ew6t214.fsf@gnu.org> <871smd1muu.fsf@gmail.com> <83po9xs9ka.fsf@gnu.org> <87wp45z69y.fsf@gmail.com> <83376ssddj.fsf@gnu.org> <877ew4ciij.fsf@gmail.com> <83lgkkqhnm.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1507577838 10191 195.159.176.226 (9 Oct 2017 19:37:18 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 9 Oct 2017 19:37:18 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.60 (gnu/linux) Cc: 28710@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Oct 09 21:37: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 1e1drQ-0001Wo-IB for geb-bug-gnu-emacs@m.gmane.org; Mon, 09 Oct 2017 21:37:08 +0200 Original-Received: from localhost ([::1]:59460 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e1drX-0000j4-Mm for geb-bug-gnu-emacs@m.gmane.org; Mon, 09 Oct 2017 15:37:15 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56643) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e1drO-0000iH-5W for bug-gnu-emacs@gnu.org; Mon, 09 Oct 2017 15:37:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e1drK-0007UM-Vn for bug-gnu-emacs@gnu.org; Mon, 09 Oct 2017 15:37:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:49938) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1e1drK-0007U7-Re for bug-gnu-emacs@gnu.org; Mon, 09 Oct 2017 15:37:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1e1drK-00060p-Kv for bug-gnu-emacs@gnu.org; Mon, 09 Oct 2017 15:37:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Alex Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 09 Oct 2017 19:37:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 28710 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 28710-submit@debbugs.gnu.org id=B28710.150757781223085 (code B ref 28710); Mon, 09 Oct 2017 19:37:02 +0000 Original-Received: (at 28710) by debbugs.gnu.org; 9 Oct 2017 19:36:52 +0000 Original-Received: from localhost ([127.0.0.1]:58618 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e1dr9-00060H-Tc for submit@debbugs.gnu.org; Mon, 09 Oct 2017 15:36:52 -0400 Original-Received: from mail-it0-f45.google.com ([209.85.214.45]:49144) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e1dr8-000600-HG for 28710@debbugs.gnu.org; Mon, 09 Oct 2017 15:36:50 -0400 Original-Received: by mail-it0-f45.google.com with SMTP id m123so15203301ita.3 for <28710@debbugs.gnu.org>; Mon, 09 Oct 2017 12:36:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=Dz8uwR6YXdbP1jVyNGGYDfd7NHrUBogW6pQs33ShT48=; b=cG0l3Vnegj1PcvD1KQoKwzhbi6u4YmfSWiBo2//XWD4cCodkcYCmVPniSycopgU/em FcNijz8GEZxQtoQqaGpNrwbuwZLlau4Q1YFynznl44dTG8NIYuzsIM739HQEuEntCy8A fY2aOS6zpznJxpaBr10zoP6Ov8wv8J46/cCXPImtx1CjGzpdFSTdnIiFJKnMggf+sOv7 RxubXzAIdqh8IY+quo467yvKsNMV1OiIX3HmM+t/IIUw5EWzJy0LbjCHkcqrqByyqhA3 IOk0WmGC0s1mbwiy4fxLyfZxjdIBdh0L6KVSx3C5puUcfdQhKCq3CFu2Fq8xYmkLHSjT HrEg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=Dz8uwR6YXdbP1jVyNGGYDfd7NHrUBogW6pQs33ShT48=; b=F/X54TxkfV4PuIY3oouNhYtTCSIxvZny/IZM6TgwMDuFbVTUDvl9znUADktPWQXTLs qLew7mDmfGnVImp+XP1uq2oHJnblllNgGFFjIf8P3FaA1XN83UzmiQNAc7GJrTQTIPnJ 02Uda/5DSizeklszfTCZR6Wb29ReRU1+GRgCrbKdN0AvnOgz7FII3FiPsjZQUtEzTwPG I+cdcLgHxJLwioQ/smsPLI5g5DSkXoX0nZ1d1rHMpLJDDePHl90mUw8oyo+PoYUMdnLn xZPb+7M5XNTzYLNqcYMKJtnMZ7UDwtSwURyFOphFLnVfKzUBfqyI83dy3wkXDDK4PHkD zksQ== X-Gm-Message-State: AMCzsaWDh7bOAetwamyq64PaL7mHdTmBY1/jDJboxmq1juvEoa729sPz KpOEqfb0iEfFxKY+9os7ii1HIw== X-Google-Smtp-Source: AOwi7QC1eQ7/fsxrr+Ai9xKcOfZEiPg081mPM+IxzWS97HUrrJ4rJDVijXJnI4S9NkDXYjKWwihfbQ== X-Received: by 10.36.95.10 with SMTP id r10mr14491803itb.73.1507577804531; Mon, 09 Oct 2017 12:36:44 -0700 (PDT) Original-Received: from lylat (S010664777d9cebe3.ss.shawcable.net. [70.64.85.59]) by smtp.gmail.com with ESMTPSA id w96sm3286323ioe.76.2017.10.09.12.36.42 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 09 Oct 2017 12:36:43 -0700 (PDT) In-Reply-To: <83lgkkqhnm.fsf@gnu.org> (Eli Zaretskii's message of "Mon, 09 Oct 2017 21:51:09 +0300") 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:138139 Archived-At: Eli Zaretskii writes: > OK, then you could use a slightly different way: > > Thread 1 hit Breakpoint 3, Fredraw_display () at dispnew.c:3032 > 3032 FOR_EACH_FRAME (tail, frame) > (gdb) n > 3033 if (FRAME_VISIBLE_P (XFRAME (frame))) > (gdb) p frame > $1 = XIL(0xa000000001b5e380) > (gdb) xframe > $2 = (struct frame *) 0x1b5e380 > "emacs@HOME-C4E4A596F7" > (gdb) p $2->redisplay > $3 = true > (gdb) watch -l $2->redisplay > Hardware watchpoint 4: -location $2->redisplay > (gdb) commands > Type commands for breakpoint(s) 4, one per line. > End with a line saying just "end". > >bt > >continue > >end > (gdb) continue Okay, I got the second backtrace after pressing RET: Thread 1 "emacs" hit Hardware watchpoint 4: -location $2->redisplay Old value = true New value = false redisplay_internal () at xdisp.c:14366 14366 f->garbaged = false; #0 0x000000000046bd61 in redisplay_internal () at xdisp.c:14366 #1 0x00000000004690da in redisplay () at xdisp.c:13488 #2 0x0000000000594cb1 in read_char (commandflag=1, map=XIL(0x541d1c3), prev_event=XIL(0), used_mouse_menu=0x7ffd34b0a21f, end_time=0x0) at keyboard.c:2480 #3 0x00000000005a500f in read_key_sequence (keybuf=0x7ffd34b0a370, bufsize=30, prompt=XIL(0), dont_downcase_last=false, can_return_switch_frame=true, fix_current_buffer=true, prevent_redisplay=false) at keyboard.c:9147 #4 0x00000000005918e2 in command_loop_1 () at keyboard.c:1368 #5 0x0000000000646e96 in internal_condition_case (bfun=0x59149e , handlers=XIL(0x5220), hfun=0x590aa5 ) at eval.c:1332 #6 0x0000000000591078 in command_loop_2 (ignore=XIL(0)) at keyboard.c:1110 #7 0x000000000064639f in internal_catch (tag=XIL(0xc6c0), func=0x59104b , arg=XIL(0)) at eval.c:1097 #8 0x0000000000591016 in command_loop () at keyboard.c:1089 #9 0x000000000059058f in recursive_edit_1 () at keyboard.c:695 #10 0x0000000000590784 in Frecursive_edit () at keyboard.c:766 #11 0x000000000058e32c in main (argc=2, argv=0x7ffd34b0a838) at emacs.c:1713 Lisp Backtrace: "redisplay_internal (C function)" (0x0) Thread 1 "emacs" hit Hardware watchpoint 4: -location $2->redisplay Old value = false New value = true fset_redisplay (f=0x15cac30 ) at xdisp.c:600 600 } #0 0x000000000043eddc in fset_redisplay (f=0x15cac30 ) at xdisp.c:600 #1 0x000000000057abb6 in xg_update_scrollbar_pos (f=0x15cac30 , scrollbar_id=0, top=0, left=736, width=16, height=612) at gtkutil.c:3942 #2 0x0000000000547fd9 in XTset_vertical_scroll_bar (w=0x15cbc30 , portion=1228, whole=8237, position=0) at xterm.c:6809 #3 0x00000000004728d9 in set_vertical_scroll_bar (w=0x15cbc30 ) at xdisp.c:16372 #4 0x0000000000476f90 in redisplay_window (window=XIL(0x15cbc35), just_this_one_p=false) at xdisp.c:17527 #5 0x000000000046d001 in redisplay_window_0 (window=XIL(0x15cbc35)) at xdisp.c:14799 #6 0x0000000000646f71 in internal_condition_case_1 (bfun=0x46cfbf , arg=XIL(0x15cbc35), handlers=XIL(0xe82d93), hfun=0x46cf87 ) at eval.c:1356 #7 0x000000000046cf5c in redisplay_windows (window=XIL(0x15cbc35)) at xdisp.c:14779 #8 0x000000000046b8f5 in redisplay_internal () at xdisp.c:14268 #9 0x00000000004690da in redisplay () at xdisp.c:13488 #10 0x0000000000594cb1 in read_char (commandflag=1, map=XIL(0x55117d3), prev_event=XIL(0), used_mouse_menu=0x7ffd34b0a21f, end_time=0x0) at keyboard.c:2480 #11 0x00000000005a500f in read_key_sequence (keybuf=0x7ffd34b0a370, bufsize=30, prompt=XIL(0), dont_downcase_last=false, can_return_switch_frame=true, fix_current_buffer=true, prevent_redisplay=false) at keyboard.c:9147 #12 0x00000000005918e2 in command_loop_1 () at keyboard.c:1368 #13 0x0000000000646e96 in internal_condition_case (bfun=0x59149e , handlers=XIL(0x5220), hfun=0x590aa5 ) at eval.c:1332 #14 0x0000000000591078 in command_loop_2 (ignore=XIL(0)) at keyboard.c:1110 #15 0x000000000064639f in internal_catch (tag=XIL(0xc6c0), func=0x59104b , arg=XIL(0)) at eval.c:1097 #16 0x0000000000591016 in command_loop () at keyboard.c:1089 #17 0x000000000059058f in recursive_edit_1 () at keyboard.c:695 #18 0x0000000000590784 in Frecursive_edit () at keyboard.c:766 #19 0x000000000058e32c in main (argc=2, argv=0x7ffd34b0a838) at emacs.c:1713