unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Michael Welsh Duggan <mwd@cert.org>
To: martin rudalics <rudalics@gmx.at>
Cc: Michael Welsh Duggan <mwd@md5i.com>,
	"schwab@linux-m68k.org" <schwab@linux-m68k.org>,
	"47244@debbugs.gnu.org" <47244@debbugs.gnu.org>
Subject: bug#47244: 28.0.50; SIGSEGV in long-runnning Emacs
Date: Wed, 07 Apr 2021 11:29:49 -0400	[thread overview]
Message-ID: <y2tdef7dledseq.fsf@lx-birch.ad.sei.cmu.edu> (raw)
In-Reply-To: <5181da75-e80d-22e0-bdcb-a0ffdc1bac6a@gmx.at> (martin rudalics's message of "Wed, 7 Apr 2021 09:35:06 -0400")

martin rudalics <rudalics@gmx.at> writes:

>  > I can run with this, but I am uncertain how I should be using it.  What
>  > should I be trapping on and looking at?  I'm guessing the same process
>  > as I used before, but we get another variable we can look at in the
>  > process?
>
> Occasionally, with your two visible frames setup for Gnus look at its
> value.  So far we only know that it can eventually become 2 and by
> explicitly setting Vframe_list to nil and triggering a window_list call
> it gets set to 6.  I'd like to know whether it can become 2 earlier
> and/or we can detect some sort of pattern how it gets set to that value.

Don't know where to go from here, but I have a breakpoint set on

      replace_buffer_in_windows_safely_count = 0;

conditioned on count != 0.

I've hit that, and here's some info.  Don't know where to go from here,
but I'm happy to give more info if requested.

Thread 3.1 "emacs" hit Breakpoint 5, replace_buffer_in_windows_safely (
    buffer=XIL(0x555556c75c9d)) at ../../master/src/window.c:3477
3477          replace_buffer_in_windows_safely_count = 0;
(gdb) p Vwindow_list
$1 = XIL(0x555557f034d3)
(gdb) p list_length(Vwindow_list)
$2 = 2
(gdb) p Vwindow_list 
$3 = XIL(0x555557f034d3)
(gdb) xlist
$4 = 0x55555791df75
Lisp_Vectorlike
PVEC_WINDOW
$5 = (struct window *) 0x55555791df70
100x57+0+0
---
$6 = 0x5555577f28a5
Lisp_Vectorlike
PVEC_WINDOW
$7 = (struct window *) 0x5555577f28a0
100x1+0+57
---
nil
(gdb) p $5->contents 
$8 = XIL(0x5555579dc345)
(gdb) xbuffer
$9 = (struct buffer *) 0x5555579dc340
0x555557e69358 "build.py"
(gdb) p $7->contents 
$10 = XIL(0x7ffff2a3cb25)
(gdb) xbuffer
$11 = (struct buffer *) 0x7ffff2a3cb20
0x7ffff2d244ea " *Minibuf-0*"
(gdb) p window_list_lengths
$12 = XIL(0x5555575cd343)
(gdb) xlist
$13 = 0x1a
Lisp_Int0
$14 = 6
---
$15 = 0x1e
Lisp_Int1
$16 = 7
---
$17 = 0x1a
Lisp_Int0
$18 = 6
---
$19 = 0x1e
Lisp_Int1
$20 = 7
---
$21 = 0x1a
Lisp_Int0
$22 = 6
---
$23 = 0x1e
Lisp_Int1
$24 = 7
---
$25 = 0x1a
Lisp_Int0
$26 = 6
---
$27 = 0x1e
Lisp_Int1
$28 = 7
---
$29 = 0x1a
Lisp_Int0
$30 = 6
---
$31 = 0x22
Lisp_Int0
$32 = 8
---
...
$33 = 93825046649712
(gdb) p Vframe_list
$34 = XIL(0x5555582da543)
(gdb) xlist
$35 = 0x555558285545
Lisp_Vectorlike
PVEC_FRAME
$36 = (struct frame *) 0x555558285540
"build.py"
---
$37 = 0x555556fc830d
Lisp_Vectorlike
PVEC_FRAME
$38 = (struct frame *) 0x555556fc8308
"*Server*"
---
$39 = 0x555555eff9dd
Lisp_Vectorlike
PVEC_FRAME
$40 = (struct frame *) 0x555555eff9d8
"F1"
---
nil


-- 
Michael Welsh Duggan
(mwd@cert.org)





  reply	other threads:[~2021-04-07 15:29 UTC|newest]

Thread overview: 160+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-18 15:39 bug#47244: 28.0.50; SIGSEGV in long-runnning Emacs Michael Welsh Duggan
2021-03-18 15:42 ` Michael Welsh Duggan
2021-03-18 15:49   ` Michael Welsh Duggan
2021-03-18 16:02     ` Andreas Schwab
2021-03-18 16:02   ` Eli Zaretskii
2021-03-18 16:27     ` Michael Welsh Duggan
2021-03-18 16:45       ` Eli Zaretskii
2021-03-18 16:54         ` Michael Welsh Duggan
2021-03-18 18:41           ` Eli Zaretskii
2021-03-18 18:54             ` Michael Welsh Duggan
2021-03-18 19:16               ` Eli Zaretskii
2021-03-18 19:24                 ` Michael Welsh Duggan
2021-03-18 19:51                   ` Eli Zaretskii
2021-03-18 20:13                     ` Andreas Schwab
2021-03-18 20:27                       ` Eli Zaretskii
2021-03-19  1:50                         ` Michael Welsh Duggan
2021-03-19  6:47                           ` Eli Zaretskii
2021-03-19 13:37                             ` Michael Welsh Duggan
2021-03-19 13:41                               ` Michael Welsh Duggan
2021-03-19 13:51                                 ` Eli Zaretskii
2021-03-19 13:49                               ` Eli Zaretskii
2021-03-19 14:18                                 ` Michael Welsh Duggan
2021-03-19 14:21                                   ` Michael Welsh Duggan
2021-03-19 15:00                                     ` Eli Zaretskii
2021-03-19 15:14                                       ` Michael Welsh Duggan
2021-03-23 14:18                                       ` Michael Welsh Duggan
2021-03-23 15:02                                         ` Eli Zaretskii
2021-03-23 15:08                                           ` Michael Welsh Duggan
2021-03-23 16:42                                             ` Eli Zaretskii
2021-03-23 15:23                                         ` martin rudalics
2021-03-23 15:53                                           ` Michael Welsh Duggan
2021-03-23 16:45                                             ` Eli Zaretskii
2021-03-24  6:53                                             ` martin rudalics
2021-03-24 14:14                                               ` Michael Welsh Duggan
2021-03-24 16:09                                                 ` martin rudalics
2021-03-25  2:19                                                   ` Michael Welsh Duggan
2021-03-25  6:25                                                     ` Eli Zaretskii
2021-03-29 14:06                                                       ` Michael Welsh Duggan
2021-03-29 14:28                                                         ` Eli Zaretskii
2021-03-29 14:39                                                           ` Michael Welsh Duggan
2021-03-29 15:02                                                             ` Eli Zaretskii
2021-03-29 15:07                                                               ` Eli Zaretskii
2021-03-29 15:21                                                                 ` Michael Welsh Duggan
2021-03-29 15:26                                                                   ` Michael Welsh Duggan
2021-03-29 15:27                                                                   ` Eli Zaretskii
2021-03-29 15:33                                                                     ` Michael Welsh Duggan
2021-03-29 15:34                                                                       ` Michael Welsh Duggan
2021-03-29 15:41                                                                       ` Eli Zaretskii
2021-03-29 16:23                                                                         ` Michael Welsh Duggan
2021-03-29 15:21                                                                 ` Eli Zaretskii
2021-03-29 16:05                                                                   ` martin rudalics
2021-03-29 16:26                                                                     ` Michael Welsh Duggan
2021-03-29 17:33                                                                       ` martin rudalics
2021-03-29 19:12                                                                         ` Michael Welsh Duggan
2021-03-30  7:30                                                                           ` martin rudalics
2021-03-30 13:39                                                                             ` Michael Welsh Duggan
2021-03-30 14:36                                                                               ` martin rudalics
2021-03-30 14:51                                                                                 ` Michael Welsh Duggan
2021-03-30 15:05                                                                                   ` martin rudalics
2021-03-30 14:13                                                                             ` Michael Welsh Duggan
2021-03-30 14:36                                                                               ` martin rudalics
2021-03-30 14:48                                                                                 ` Eli Zaretskii
2021-03-30 15:05                                                                                   ` martin rudalics
2021-03-30 15:13                                                                                     ` Eli Zaretskii
2021-03-30 16:52                                                                                       ` martin rudalics
2021-03-30 17:05                                                                                         ` Eli Zaretskii
2021-03-31  6:41                                                                                           ` martin rudalics
2021-03-31  7:09                                                                                             ` Eli Zaretskii
2021-03-30 15:03                                                                                 ` Michael Welsh Duggan
2021-03-30 16:52                                                                                   ` martin rudalics
2021-03-31 13:23                                                                                 ` Michael Welsh Duggan
2021-03-31 13:53                                                                                   ` Michael Welsh Duggan
2021-03-31 14:01                                                                                     ` Eli Zaretskii
2021-03-31 14:32                                                                                       ` martin rudalics
2021-03-31 14:48                                                                                         ` Michael Welsh Duggan
2021-03-31 15:49                                                                                           ` martin rudalics
2021-03-31 17:01                                                                                             ` Michael Welsh Duggan
2021-03-31 18:41                                                                                               ` martin rudalics
2021-03-31 19:14                                                                                                 ` Michael Welsh Duggan
2021-03-31 19:18                                                                                                   ` Michael Welsh Duggan
2021-04-01  7:14                                                                                                     ` martin rudalics
2021-04-01  7:45                                                                                                       ` Eli Zaretskii
2021-04-01 13:20                                                                                                         ` Michael Welsh Duggan
2021-04-01 13:22                                                                                                           ` Eli Zaretskii
2021-04-01 13:54                                                                                             ` Michael Welsh Duggan
2021-04-01 14:56                                                                                               ` martin rudalics
2021-04-01 18:30                                                                                                 ` Michael Welsh Duggan
2021-04-01 19:31                                                                                                   ` Michael Welsh Duggan
2021-04-02  6:48                                                                                                   ` martin rudalics
2021-04-05 18:15                                                                                                     ` Michael Welsh Duggan
2021-04-05 18:45                                                                                                       ` martin rudalics
2021-04-05 19:57                                                                                                         ` Michael Welsh Duggan
2021-04-05 20:39                                                                                                           ` martin rudalics
2021-04-05 20:56                                                                                                             ` Michael Welsh Duggan
2021-04-06  8:10                                                                                                               ` martin rudalics
2021-04-06 14:40                                                                                                                 ` Michael Welsh Duggan
2021-04-06 16:12                                                                                                                   ` martin rudalics
2021-04-06 16:48                                                                                                                     ` Michael Welsh Duggan
2021-04-06 17:00                                                                                                                       ` martin rudalics
2021-04-06 17:24                                                                                                                         ` Michael Welsh Duggan
2021-04-07  2:22                                                                                                                           ` Michael Welsh Duggan
2021-04-07  7:52                                                                                                                             ` Andreas Schwab
2021-04-07  9:00                                                                                                                             ` martin rudalics
2021-04-07 12:42                                                                                                                               ` Michael Welsh Duggan
2021-04-07 13:35                                                                                                                                 ` martin rudalics
2021-04-07 15:29                                                                                                                                   ` Michael Welsh Duggan [this message]
2021-04-07 16:16                                                                                                                                     ` martin rudalics
2021-04-07 17:37                                                                                                                                       ` Michael Welsh Duggan
2021-04-07 17:55                                                                                                                                         ` Michael Welsh Duggan
2021-04-07 18:31                                                                                                                                         ` Michael Welsh Duggan
2021-04-07 19:25                                                                                                                                           ` Michael Welsh Duggan
2021-04-07 20:25                                                                                                                                             ` martin rudalics
2021-04-07 20:32                                                                                                                                               ` Michael Welsh Duggan
2021-04-08  6:59                                                                                                                                                 ` martin rudalics
2021-04-08 10:47                                                                                                                                                   ` Gregory Heytings
2021-04-08 11:39                                                                                                                                                     ` Eli Zaretskii
2021-04-08 12:06                                                                                                                                                       ` Andreas Schwab
2021-04-08 12:29                                                                                                                                                         ` Eli Zaretskii
2021-04-08 12:43                                                                                                                                                           ` Gregory Heytings
2021-04-08 12:59                                                                                                                                                             ` Eli Zaretskii
2021-04-08 16:20                                                                                                                                                               ` Gregory Heytings
2021-04-08 12:03                                                                                                                                                     ` martin rudalics
2021-04-08 12:24                                                                                                                                                       ` Gregory Heytings
2021-04-08 13:39                                                                                                                                                         ` Michael Welsh Duggan
2021-04-08 14:35                                                                                                                                                   ` Michael Welsh Duggan
2021-04-08 15:08                                                                                                                                                     ` Eli Zaretskii
2021-04-08 15:24                                                                                                                                                       ` Andreas Schwab
2021-04-08 15:21                                                                                                                                                     ` Michael Welsh Duggan
2021-04-08 15:33                                                                                                                                                       ` Michael Welsh Duggan
2021-04-08 15:48                                                                                                                                                       ` martin rudalics
2021-04-08 16:01                                                                                                                                                         ` Michael Welsh Duggan
2021-04-08 16:14                                                                                                                                                           ` martin rudalics
2021-04-08 16:35                                                                                                                                                           ` Eli Zaretskii
2021-04-08 16:42                                                                                                                                                             ` Michael Welsh Duggan
2021-04-08 15:58                                                                                                                                                       ` Eli Zaretskii
2021-04-08 16:05                                                                                                                                                         ` Michael Welsh Duggan
2021-04-08 16:28                                                                                                                                                           ` Eli Zaretskii
2021-04-08 16:37                                                                                                                                                             ` Michael Welsh Duggan
2021-04-08 16:49                                                                                                                                                               ` Eli Zaretskii
2021-04-08 17:15                                                                                                                                                                 ` Michael Welsh Duggan
2021-04-08 17:11                                                                                                                                                         ` Michael Welsh Duggan
2021-04-08 17:46                                                                                                                                                           ` Eli Zaretskii
2021-04-08 17:51                                                                                                                                                             ` Michael Welsh Duggan
2021-04-08 18:52                                                                                                                                                           ` martin rudalics
2021-04-09 20:59                                                                                                                                                             ` Michael Welsh Duggan
2021-04-10  7:15                                                                                                                                                               ` martin rudalics
2021-04-10 14:53                                                                                                                                                                 ` Michael Welsh Duggan
2021-04-10 18:57                                                                                                                                                                   ` martin rudalics
2021-04-17  8:01                                                                                                                                                                     ` martin rudalics
2021-04-20 14:03                                                                                                                                                                       ` Michael Welsh Duggan
2021-04-07 19:40                                                                                                                                           ` Eli Zaretskii
2021-04-07 18:48                                                                                                                                         ` martin rudalics
2021-04-07 18:53                                                                                                                                           ` Michael Welsh Duggan
2021-04-07 20:25                                                                                                                                             ` martin rudalics
2021-04-07  9:00                                                                                                                           ` martin rudalics
2021-03-19  8:15                         ` martin rudalics
2021-03-19  8:19                           ` Eli Zaretskii
2021-03-19  9:18                             ` martin rudalics
2021-03-19  9:37                               ` martin rudalics
2021-03-19 11:55                               ` 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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=y2tdef7dledseq.fsf@lx-birch.ad.sei.cmu.edu \
    --to=mwd@cert.org \
    --cc=47244@debbugs.gnu.org \
    --cc=mwd@md5i.com \
    --cc=rudalics@gmx.at \
    --cc=schwab@linux-m68k.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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).