From: Alex <agrambot@gmail.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 28710@debbugs.gnu.org
Subject: bug#28710: 27.0.50; eassert failure in maybe_produce_line_number
Date: Mon, 09 Oct 2017 13:36:41 -0600 [thread overview]
Message-ID: <87shesazau.fsf@gmail.com> (raw)
In-Reply-To: <83lgkkqhnm.fsf@gnu.org> (Eli Zaretskii's message of "Mon, 09 Oct 2017 21:51:09 +0300")
Eli Zaretskii <eliz@gnu.org> 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 <dumped_data+4020672>
> "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 <command_loop_1>, handlers=XIL(0x5220), hfun=0x590aa5 <cmd_error>) 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 <command_loop_2>, 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 <bss_sbrk_buffer+8062480>) at xdisp.c:600
600 }
#0 0x000000000043eddc in fset_redisplay (f=0x15cac30 <bss_sbrk_buffer+8062480>) at xdisp.c:600
#1 0x000000000057abb6 in xg_update_scrollbar_pos (f=0x15cac30 <bss_sbrk_buffer+8062480>, scrollbar_id=0, top=0, left=736, width=16, height=612) at gtkutil.c:3942
#2 0x0000000000547fd9 in XTset_vertical_scroll_bar (w=0x15cbc30 <bss_sbrk_buffer+8066576>, portion=1228, whole=8237, position=0) at xterm.c:6809
#3 0x00000000004728d9 in set_vertical_scroll_bar (w=0x15cbc30 <bss_sbrk_buffer+8066576>) 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 <redisplay_window_0>, arg=XIL(0x15cbc35), handlers=XIL(0xe82d93), hfun=0x46cf87 <redisplay_window_error>) 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 <command_loop_1>, handlers=XIL(0x5220), hfun=0x590aa5 <cmd_error>) 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 <command_loop_2>, 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
next prev parent reply other threads:[~2017-10-09 19:36 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-10-04 22:31 bug#28710: 27.0.50; eassert failure in maybe_produce_line_number Alex
2017-10-05 8:30 ` Eli Zaretskii
2017-10-05 23:51 ` Alex
2017-10-06 8:38 ` Eli Zaretskii
2017-10-07 23:05 ` Alex
2017-10-08 6:29 ` Eli Zaretskii
2017-10-08 7:11 ` Alex
2017-10-08 9:35 ` Eli Zaretskii
2017-10-08 10:09 ` Eli Zaretskii
2017-10-09 13:03 ` Eli Zaretskii
2017-10-08 19:05 ` Alex
2017-10-08 19:50 ` Eli Zaretskii
2017-10-08 21:19 ` Alex
2017-10-09 12:40 ` Eli Zaretskii
2017-10-09 17:56 ` Alex
2017-10-09 18:51 ` Eli Zaretskii
2017-10-09 19:36 ` Alex [this message]
2017-10-10 6:21 ` Eli Zaretskii
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87shesazau.fsf@gmail.com \
--to=agrambot@gmail.com \
--cc=28710@debbugs.gnu.org \
--cc=eliz@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.