unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Michael Welsh Duggan <mwd@cert.org>
To: Eli Zaretskii <eliz@gnu.org>
Cc: "mwd@md5i.com" <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: Tue, 23 Mar 2021 10:18:25 -0400	[thread overview]
Message-ID: <y2tdef1rc6lzri.fsf@lx-birch.ad.sei.cmu.edu> (raw)
In-Reply-To: <83czvvdw7o.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 19 Mar 2021 11:00:59 -0400")

Eli Zaretskii <eliz@gnu.org> writes:

>> From: Michael Welsh Duggan <mwd@cert.org>
>> Cc: Michael Welsh Duggan <mwd@md5i.com>,
>>         "schwab@linux-m68k.org"
>>  <schwab@linux-m68k.org>,
>>         "47244@debbugs.gnu.org" <47244@debbugs.gnu.org>
>> Date: Fri, 19 Mar 2021 10:21:18 -0400
>> 
>> Lisp Backtrace:
>> "kill-buffer" (0xfffeca60)
>> 0x56e58d70 PVEC_COMPILED
>> "substitute-command-keys" (0xfffed728)
>> "redisplay_internal (C function)" (0x0)
>
> Thanks.  This case isn't interesting, because this is a temporary
> buffer we don't display.  So I guess we need to augment the breakpoint
> condition:
>
>   break buffer.c:1840 if redisplaying_p != 0 && b->window_count > 0

This triggered today.

#0  0x00005555555e1b6d in redisplay_internal ()
    at ../../master/src/xdisp.c:15789
        w = 0x555557ef0018
        sw = 0x555557ef0018
        fr = 0x555556d8c360
        pending = false
        must_finish = true
        match_p = true
        tlbufpos = {
          charpos = 127,
          bytepos = 127
        }
        tlendpos = {
          charpos = 0,
          bytepos = 0
        }
        number_of_visible_frames = 6
        count = 3
        sf = 0x555556d8c360
        polling_stopped_here = false
        tail = XIL(0)
        frame = XIL(0x555555d61a05)
        hscroll_retries = 0
        garbaged_frame_retries = 0
        consider_all_windows_p = false
        update_miniwindow_p = true
#1  0x00005555555e072a in redisplay () at ../../master/src/xdisp.c:15245
#2  0x00005555556e9a9d in read_char
    (commandflag=1, map=XIL(0x555559e15883), prev_event=XIL(0), used_mouse_menu=0x7fffffffdabf, end_time=0x0) at ../../master/src/keyboard.c:2496
        echo_current = false
        c = XIL(0)
        jmpcount = 93825000034176
        local_getcjmp = {{
            __jmpbuf = {93825000067056, 0, 93825000034176, 0, 0, 140737488345232, 93824994486998, 93825057660325},
            __mask_was_saved = -10032,
            __saved_mask = {
              __val = {93824994503983, 140737259836008, 140737259835960, 0, 46912259801784, 0, 140737259836008, 93825000034176, 0, 0, 140737488345344, 93824993978237, 4066447928, 93825000034176, 0, 0}
            }
          }}
        save_jump = {{
            __jmpbuf = {0, 32880, 0, 140737266328160, 0, 0, 93825057660320, 0},
            __mask_was_saved = 0,
            __saved_mask = {
              __val = {93825000067056, 93824994486998, 0, 140737488345184, 93824994508583, 140737266328160, 12884891664, 0, 32880, 93825057660320, 140737266328160, 93824995129573, 51539607552, 93825057660325, 93825057660320, 93824995130016}
            }
          }}
        tem = XIL(0)
        save = XIL(0x5555556fe77d)
        previous_echo_area_message = XIL(0)
        also_record = XIL(0)
        reread = false
        recorded = false
        polling_stopped_here = false
        orig_kboard = 0x555555df8ad0
#3  0x00005555556f8848 in read_key_sequence
    (keybuf=0x7fffffffdcc0, prompt=XIL(0), dont_downcase_last=false, can_return_switch_frame=true, fix_current_buffer=true, prevent_redisplay=false)
    at ../../master/src/keyboard.c:9491
        interrupted_kboard = 0x555555df8ad0
        interrupted_frame = 0x555556d8c360
        key = XIL(0x555555713fdd)
        used_mouse_menu = false
        echo_local_start = 0
        last_real_key_start = 0
        keys_local_start = 0
        new_binding = XIL(0x555556e620a0)
        count = 3
        t = 0
        echo_start = 0
        keys_start = 0
        current_binding = XIL(0x555559e15883)
        first_unbound = 31
        mock_input = 0
        used_mouse_menu_history = {false <repeats 30 times>}
        fkey = {
          parent = XIL(0x555556b8de53),
          map = XIL(0x555556b8de53),
          start = 0,
          end = 0
        }
        keytran = {
          parent = XIL(0x7ffff2c29383),
          map = XIL(0x7ffff2c29383),
          start = 0,
          end = 0
        }
        indec = {
          parent = XIL(0x555556b8de43),
          map = XIL(0x555556b8de43),
          start = 0,
          end = 0
        }
        shift_translated = false
        delayed_switch_frame = XIL(0)
        original_uppercase = XIL(0)
        original_uppercase_position = -1
        dummyflag = false
        starting_buffer = 0x5555593b9da0
        fake_prefixed_keys = XIL(0)
        first_event = XIL(0)
        second_event = XIL(0)
#4  0x00005555556e6d1f in command_loop_1 () at ../../master/src/keyboard.c:1353
        cmd = XIL(0x7fffffffde10)
        keybuf = {XIL(0), XIL(0x7ffff2c2932d), make_fixnum(23456248600171), XIL(0x15665d0), XIL(0x7fffffffdd70), XIL(0x55555579dee5), XIL(0x15665d0), XIL(0x7ffff25804c4), XIL(0x555559e15ae3), XIL(0x7ffff2c2932d), XIL(0x7ffff2c2932d), XIL(0x555559e15ae3), XIL(0x7ffff25804c4), XIL(0x15665d0), XIL(0), XIL(0), XIL(0x555555cc4f80), XIL(0), XIL(0), XIL(0x7fffffffdd70), XIL(0x5555556e3c40), XIL(0xffffddc0), XIL(0x555555cc4f80), XIL(0), XIL(0), XIL(0x7fffffffdda0), XIL(0x5555557979dd), make_fixnum(0), XIL(0x7fffffffdde0), make_fixnum(23456248654899)}
        i = 1
        prev_modiff = 0
        prev_buffer = 0x0
        already_adjusted = false
#5  0x000055555579acc9 in internal_condition_case (bfun=0x5555556e68d9 <command_loop_1>, handlers=XIL(0x90), hfun=0x5555556e6075 <cmd_error>) at ../../master/src/eval.c:1439
        val = XIL(0x5555556e3c40)
        c = 0x555555dc03e0
#6  0x00005555556e65a1 in command_loop_2 (ignore=XIL(0)) at ../../master/src/keyboard.c:1094
        val = make_fixnum(0)
#7  0x000055555579a4d7 in internal_catch (tag=XIL(0xd9e0), func=0x5555556e6574 <command_loop_2>, arg=XIL(0)) at ../../master/src/eval.c:1189
        val = XIL(0xd9e0)
        c = 0x555555da9710
#8  0x00005555556e6540 in command_loop () at ../../master/src/keyboard.c:1073
#9  0x00005555556e5c46 in recursive_edit_1 () at ../../master/src/keyboard.c:720
        count = 1
        val = XIL(0x7fffffffdf50)
#10 0x00005555556e5dc9 in Frecursive_edit () at ../../master/src/keyboard.c:789
        count = 0
        buffer = XIL(0)
#11 0x00005555556e27f6 in main (argc=2, argv=0x7fffffffe1b8) at ../../master/src/emacs.c:2050
        stack_bottom_variable = 0x7ffff617e053
        no_loadup = false
        junk = 0x0
        dname_arg = 0x0
        ch_to_dir = 0x0
        original_pwd = 0x0
        dump_mode = 0x0
        skip_args = 1
        temacs = 0x0
        attempt_load_pdump = true
        rlim = {
          rlim_cur = 10022912,
          rlim_max = 18446744073709551615
        }
        lc_all = 0x0
        sockfd = -1
        module_assertions = false

Lisp Backtrace:
"redisplay_internal (C function)" (0x0)


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





  parent reply	other threads:[~2021-03-23 14:18 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 [this message]
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
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=y2tdef1rc6lzri.fsf@lx-birch.ad.sei.cmu.edu \
    --to=mwd@cert.org \
    --cc=47244@debbugs.gnu.org \
    --cc=eliz@gnu.org \
    --cc=mwd@md5i.com \
    --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).