unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#57439: 29.0.50; xterm.c:20623: Emacs fatal error: assertion failed: !must_free_data
@ 2022-08-26 20:35 Gregor Zattler
  2022-08-27  1:52 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
  0 siblings, 1 reply; 4+ messages in thread
From: Gregor Zattler @ 2022-08-26 20:35 UTC (permalink / raw)
  To: 57439

Dear Emacs developers,

for me Emacs crashes if build Emacs master with git HEAD on
9ba6a7c508cbaed5eeedd56e7df633b722bf86b7 with --with-x-toolkit=no :

1. emacs -Q
2. click on "Options" menu
3. crash

originally I did this with an -O3 optimized build, then for
a hopefully better backtrace I re-build Emacs with -O0
(which to build took roughly three times the amount of wall
time than building the optimized one).

This is the full backtrace:

Starting program: /home/grfz/src/emacs-9ba6a7c508cbaed5eeedd56e7df633b722bf86b7/src/emacs -Q
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7fffee4e5700 (LWP 388108)]
[New Thread 0x7fffedcc6700 (LWP 388109)]
[New Thread 0x7fffed4c5700 (LWP 388110)]

Thread 1 "emacs" hit Breakpoint 1, terminate_due_to_signal (sig=6, backtrace_limit=2147483647) at emacs.c:420
420	{
#0  terminate_due_to_signal (sig=6, backtrace_limit=2147483647) at emacs.c:420
#1  0x000055555581a383 in die (msg=0x5555559a1ee2 "!must_free_data", file=0x5555559a006b "xterm.c", line=20623) at alloc.c:7672
#2  0x00005555557165a2 in handle_one_xevent (dpyinfo=0x5555562bf3f0, event=0x7fffffffc830, finish=0x7fffffffc820, hold_quit=0x7fffffffc950) at xterm.c:20623
        must_free_data = true
        xi_event = 0x0
        xev = 0x0
        inev = {
          kind = NO_EVENT,
          ie = {
            kind = NO_EVENT,
            part = scroll_bar_nowhere,
            code = 0,
            modifiers = 0,
            x = XIL(0),
            y = XIL(0),
            timestamp = 0,
            frame_or_window = XIL(0),
            arg = XIL(0),
            device = XIL(0x30)
          },
          sie = {
            kind = NO_EVENT,
            dpyinfo = 0x0,
            requestor = 0,
            selection = 0,
            target = 0,
            property = 0,
            time = 0
          }
        }
        count = 0
        do_help = 0
        gen_help_device = 0x0
        gen_help_time = 0
        nbytes = 0
        any = 0x0
        f = 0x0
        hlinfo = 0x5555562bf4e8
        compose_status = {
          compose_ptr = 0x0,
          chars_matched = 0
        }
        configureEvent = {
          type = -15328,
          xany = {
            type = -15328,
            serial = 1,
            send_event = -15248,
            display = 0x0,
            window = 0
          },
          xkey = {
            type = -15328,
            serial = 1,
            send_event = -15248,
            display = 0x0,
            window = 0,
            root = 0,
            subwindow = 137438953472,
            time = 0,
            x = 16,
            y = 0,
            x_root = -198587520,
            y_root = 32767,
            state = 1447534640,
            keycode = 21845,
            same_screen = -169075262
          },
          xbutton = {
            type = -15328,
            serial = 1,
            send_event = -15248,
            display = 0x0,
            window = 0,
            root = 0,
            subwindow = 137438953472,
            time = 0,
            x = 16,
            y = 0,
            x_root = -198587520,
            y_root = 32767,
            state = 1447534640,
            button = 21845,
            same_screen = -169075262
          },
          xmotion = {
            type = -15328,
            serial = 1,
            send_event = -15248,
            display = 0x0,
            window = 0,
            root = 0,
            subwindow = 137438953472,
            time = 0,
            x = 16,
            y = 0,
            x_root = -198587520,
            y_root = 32767,
            state = 1447534640,
            is_hint = 85 'U',
            same_screen = -169075262
          },
          xcrossing = {
            type = -15328,
            serial = 1,
            send_event = -15248,
            display = 0x0,
            window = 0,
            root = 0,
            subwindow = 137438953472,
            time = 0,
            x = 16,
            y = 0,
            x_root = -198587520,
            y_root = 32767,
            mode = 1447534640,
            detail = 21845,
            same_screen = -169075262,
            focus = 32767,
            state = 48
          },
          xfocus = {
            type = -15328,
            serial = 1,
            send_event = -15248,
            display = 0x0,
            window = 0,
            mode = 0,
            detail = 0
          },
          xexpose = {
            type = -15328,
            serial = 1,
            send_event = -15248,
            display = 0x0,
            window = 0,
            x = 0,
            y = 0,
            width = 0,
            height = 32,
            count = 0
          },
          xgraphicsexpose = {
            type = -15328,
            serial = 1,
            send_event = -15248,
            display = 0x0,
            drawable = 0,
            x = 0,
            y = 0,
            width = 0,
            height = 32,
            count = 0,
            major_code = 0,
            minor_code = 16
          },
          xnoexpose = {
            type = -15328,
            serial = 1,
            send_event = -15248,
            display = 0x0,
            drawable = 0,
            major_code = 0,
            minor_code = 0
          },
          xvisibility = {
            type = -15328,
            serial = 1,
            send_event = -15248,
            display = 0x0,
            window = 0,
            state = 0
          },
          xcreatewindow = {
            type = -15328,
            serial = 1,
            send_event = -15248,
            display = 0x0,
            parent = 0,
            window = 0,
            x = 0,
            y = 32,
            width = 0,
            height = 0,
            border_width = 16,
            override_redirect = 0
          },
          xdestroywindow = {
            type = -15328,
            serial = 1,
            send_event = -15248,
            display = 0x0,
            event = 0,
            window = 0
          },
          xunmap = {
            type = -15328,
            serial = 1,
            send_event = -15248,
            display = 0x0,
            event = 0,
            window = 0,
            from_configure = 0
          },
          xmap = {
            type = -15328,
            serial = 1,
            send_event = -15248,
            display = 0x0,
            event = 0,
            window = 0,
            override_redirect = 0
          },
          xmaprequest = {
            type = -15328,
            serial = 1,
            send_event = -15248,
            display = 0x0,
            parent = 0,
            window = 0
          },
          xreparent = {
            type = -15328,
            serial = 1,
            send_event = -15248,
            display = 0x0,
            event = 0,
            window = 0,
            parent = 137438953472,
            x = 0,
            y = 0,
            override_redirect = 16
          },
          xconfigure = {
            type = -15328,
            serial = 1,
            send_event = -15248,
            display = 0x0,
            event = 0,
            window = 0,
            x = 0,
            y = 32,
            width = 0,
            height = 0,
            border_width = 16,
            above = 140737289767808,
            override_redirect = 1447534640
          },
          xgravity = {
            type = -15328,
            serial = 1,
            send_event = -15248,
            display = 0x0,
            event = 0,
            window = 0,
            x = 0,
            y = 32
          },
          xresizerequest = {
            type = -15328,
            serial = 1,
            send_event = -15248,
            display = 0x0,
            window = 0,
            width = 0,
            height = 0
          },
          xconfigurerequest = {
            type = -15328,
            serial = 1,
            send_event = -15248,
            display = 0x0,
            parent = 0,
            window = 0,
            x = 0,
            y = 32,
            width = 0,
            height = 0,
            border_width = 16,
            above = 140737289767808,
            detail = 1447534640,
            value_mask = 140737319280066
          },
          xcirculate = {
            type = -15328,
            serial = 1,
            send_event = -15248,
            display = 0x0,
            event = 0,
            window = 0,
            place = 0
          },
          xcirculaterequest = {
            type = -15328,
            serial = 1,
            send_event = -15248,
            display = 0x0,
            parent = 0,
            window = 0,
            place = 0
          },
          xproperty = {
            type = -15328,
            serial = 1,
            send_event = -15248,
            display = 0x0,
            window = 0,
            atom = 0,
            time = 137438953472,
            state = 0
          },
          xselectionclear = {
            type = -15328,
            serial = 1,
            send_event = -15248,
            display = 0x0,
            window = 0,
            selection = 0,
            time = 137438953472
          },
          xselectionrequest = {
            type = -15328,
            serial = 1,
            send_event = -15248,
            display = 0x0,
            owner = 0,
            requestor = 0,
            selection = 137438953472,
            target = 0,
            property = 16,
            time = 140737289767808
          },
          xselection = {
            type = -15328,
            serial = 1,
            send_event = -15248,
            display = 0x0,
            requestor = 0,
            selection = 0,
            target = 137438953472,
            property = 0,
            time = 16
          },
          xcolormap = {
            type = -15328,
            serial = 1,
            send_event = -15248,
            display = 0x0,
            window = 0,
            colormap = 0,
            new = 0,
            state = 32
          },
          xclient = {
            type = -15328,
            serial = 1,
            send_event = -15248,
            display = 0x0,
            window = 0,
            message_type = 0,
            format = 0,
            data = {
              b = "\000\000\000\000\000\000\000\000\020\000\000\000\000\000\000\000\200\313", <incomplete sequence \364>,
              s = {0, 0, 0, 0, 16, 0, 0, 0, -13440, -3031},
              l = {0, 16, 140737289767808, 93825008115760, 140737319280066}
            }
          },
          xmapping = {
            type = -15328,
            serial = 1,
            send_event = -15248,
            display = 0x0,
            window = 0,
            request = 0,
            first_keycode = 0,
            count = 0
          },
          xerror = {
            type = -15328,
            display = 0x1,
            resourceid = 140737488340080,
            serial = 0,
            error_code = 0 '\000',
            request_code = 0 '\000',
            minor_code = 0 '\000'
          },
          xkeymap = {
            type = -15328,
            serial = 1,
            send_event = -15248,
            display = 0x0,
            window = 0,
            key_vector = '\000' <repeats 12 times>, " ", '\000' <repeats 11 times>, "\020\000\000\000\000\000\000"
          },
          xgeneric = {
            type = -15328,
            serial = 1,
            send_event = -15248,
            display = 0x0,
            extension = 0,
            evtype = 0
          },
          xcookie = {
            type = -15328,
            serial = 1,
            send_event = -15248,
            display = 0x0,
            extension = 0,
            evtype = 0,
            cookie = 0,
            data = 0x2000000000
          },
          pad = {140737488340000, 1, 140737488340080, 0, 0, 0, 137438953472, 0, 16, 140737289767808, 93825008115760, 140737319280066, 48, 93825008468896, 3, 93825006950976, 1, -5792004391315976448, 49, 93825006260112, 0, 1, 0, 93825006260136}
        }
        next_event = {
          type = -15080,
          xany = {
            type = -15080,
            serial = 140737283907471,
            send_event = 0,
            display = 0x1000100000005,
            window = 589830
          },
          xkey = {
            type = -15080,
            serial = 140737283907471,
            send_event = 0,
            display = 0x1000100000005,
            window = 589830,
            root = 2533300560527360,
            subwindow = 0,
            time = 0,
            x = 0,
            y = 1072693248,
            x_root = 0,
            y_root = 0,
            state = 0,
            keycode = 0,
            same_screen = -2044997888
          },
          xbutton = {
            type = -15080,
            serial = 140737283907471,
            send_event = 0,
            display = 0x1000100000005,
            window = 589830,
            root = 2533300560527360,
            subwindow = 0,
            time = 0,
            x = 0,
            y = 1072693248,
            x_root = 0,
            y_root = 0,
            state = 0,
            button = 0,
            same_screen = -2044997888
          },
          xmotion = {
            type = -15080,
            serial = 140737283907471,
            send_event = 0,
            display = 0x1000100000005,
            window = 589830,
            root = 2533300560527360,
            subwindow = 0,
            time = 0,
            x = 0,
            y = 1072693248,
            x_root = 0,
            y_root = 0,
            state = 0,
            is_hint = 0 '\000',
            same_screen = -2044997888
          },
          xcrossing = {
            type = -15080,
            serial = 140737283907471,
            send_event = 0,
            display = 0x1000100000005,
            window = 589830,
            root = 2533300560527360,
            subwindow = 0,
            time = 0,
            x = 0,
            y = 1072693248,
            x_root = 0,
            y_root = 0,
            mode = 0,
            detail = 0,
            same_screen = -2044997888,
            focus = -1348556111,
            state = 0
          },
          xfocus = {
            type = -15080,
            serial = 140737283907471,
            send_event = 0,
            display = 0x1000100000005,
            window = 589830,
            mode = 327680,
            detail = 589830
          },
          xexpose = {
            type = -15080,
            serial = 140737283907471,
            send_event = 0,
            display = 0x1000100000005,
            window = 589830,
            x = 327680,
            y = 589830,
            width = 0,
            height = 0,
            count = 0
          },
          xgraphicsexpose = {
            type = -15080,
            serial = 140737283907471,
            send_event = 0,
            display = 0x1000100000005,
            drawable = 589830,
            x = 327680,
            y = 589830,
            width = 0,
            height = 0,
            count = 0,
            major_code = 0,
            minor_code = 0
          },
          xnoexpose = {
            type = -15080,
            serial = 140737283907471,
            send_event = 0,
            display = 0x1000100000005,
            drawable = 589830,
            major_code = 327680,
            minor_code = 589830
          },
          xvisibility = {
            type = -15080,
            serial = 140737283907471,
            send_event = 0,
            display = 0x1000100000005,
            window = 589830,
            state = 327680
          },
          xcreatewindow = {
            type = -15080,
            serial = 140737283907471,
            send_event = 0,
            display = 0x1000100000005,
            parent = 589830,
            window = 2533300560527360,
            x = 0,
            y = 0,
            width = 0,
            height = 0,
            border_width = 0,
            override_redirect = 1072693248
          },
          xdestroywindow = {
            type = -15080,
            serial = 140737283907471,
            send_event = 0,
            display = 0x1000100000005,
            event = 589830,
            window = 2533300560527360
          },
          xunmap = {
            type = -15080,
            serial = 140737283907471,
            send_event = 0,
            display = 0x1000100000005,
            event = 589830,
            window = 2533300560527360,
            from_configure = 0
          },
          xmap = {
            type = -15080,
            serial = 140737283907471,
            send_event = 0,
            display = 0x1000100000005,
            event = 589830,
            window = 2533300560527360,
            override_redirect = 0
          },
          xmaprequest = {
            type = -15080,
            serial = 140737283907471,
            send_event = 0,
            display = 0x1000100000005,
            parent = 589830,
            window = 2533300560527360
          },
          xreparent = {
            type = -15080,
            serial = 140737283907471,
            send_event = 0,
            display = 0x1000100000005,
            event = 589830,
            window = 2533300560527360,
            parent = 0,
            x = 0,
            y = 0,
            override_redirect = 0
          },
          xconfigure = {
            type = -15080,
            serial = 140737283907471,
            send_event = 0,
            display = 0x1000100000005,
            event = 589830,
            window = 2533300560527360,
            x = 0,
            y = 0,
            width = 0,
            height = 0,
            border_width = 0,
            above = 0,
            override_redirect = 0
          },
          xgravity = {
            type = -15080,
            serial = 140737283907471,
            send_event = 0,
            display = 0x1000100000005,
            event = 589830,
            window = 2533300560527360,
            x = 0,
            y = 0
          },
          xresizerequest = {
            type = -15080,
            serial = 140737283907471,
            send_event = 0,
            display = 0x1000100000005,
            window = 589830,
            width = 327680,
            height = 589830
          },
          xconfigurerequest = {
            type = -15080,
            serial = 140737283907471,
            send_event = 0,
            display = 0x1000100000005,
            parent = 589830,
            window = 2533300560527360,
            x = 0,
            y = 0,
            width = 0,
            height = 0,
            border_width = 0,
            above = 0,
            detail = 0,
            value_mask = 12654739682393575168
          },
          xcirculate = {
            type = -15080,
            serial = 140737283907471,
            send_event = 0,
            display = 0x1000100000005,
            event = 589830,
            window = 2533300560527360,
            place = 0
          },
          xcirculaterequest = {
            type = -15080,
            serial = 140737283907471,
            send_event = 0,
            display = 0x1000100000005,
            parent = 589830,
            window = 2533300560527360,
            place = 0
          },
          xproperty = {
            type = -15080,
            serial = 140737283907471,
            send_event = 0,
            display = 0x1000100000005,
            window = 589830,
            atom = 2533300560527360,
            time = 0,
            state = 0
          },
          xselectionclear = {
            type = -15080,
            serial = 140737283907471,
            send_event = 0,
            display = 0x1000100000005,
            window = 589830,
            selection = 2533300560527360,
            time = 0
          },
          xselectionrequest = {
            type = -15080,
            serial = 140737283907471,
            send_event = 0,
            display = 0x1000100000005,
            owner = 589830,
            requestor = 2533300560527360,
            selection = 0,
            target = 0,
            property = 4607182418800017408,
            time = 0
          },
          xselection = {
            type = -15080,
            serial = 140737283907471,
            send_event = 0,
            display = 0x1000100000005,
            requestor = 589830,
            selection = 2533300560527360,
            target = 0,
            property = 0,
            time = 4607182418800017408
          },
          xcolormap = {
            type = -15080,
            serial = 140737283907471,
            send_event = 0,
            display = 0x1000100000005,
            window = 589830,
            colormap = 2533300560527360,
            new = 0,
            state = 0
          },
          xclient = {
            type = -15080,
            serial = 140737283907471,
            send_event = 0,
            display = 0x1000100000005,
            window = 589830,
            message_type = 2533300560527360,
            format = 0,
            data = {
              b = '\000' <repeats 14 times>, "\360?\000\000\000",
              s = {0, 0, 0, 0, 0, 0, 0, 16368, 0, 0},
              l = {0, 4607182418800017408, 0, 0, -5792004391315976448}
            }
          },
          xmapping = {
            type = -15080,
            serial = 140737283907471,
            send_event = 0,
            display = 0x1000100000005,
            window = 589830,
            request = 327680,
            first_keycode = 589830,
            count = 0
          },
          xerror = {
            type = -15080,
            display = 0x7ffff3d05f8f,
            resourceid = 0,
            serial = 281479271677957,
            error_code = 6 '\006',
            request_code = 0 '\000',
            minor_code = 9 '\t'
          },
          xkeymap = {
            type = -15080,
            serial = 140737283907471,
            send_event = 0,
            display = 0x1000100000005,
            window = 589830,
            key_vector = "\000\000\005\000\006\000\t", '\000' <repeats 23 times>, "\360?"
          },
          xgeneric = {
            type = -15080,
            serial = 140737283907471,
            send_event = 0,
            display = 0x1000100000005,
            extension = 589830,
            evtype = 0
          },
          xcookie = {
            type = -15080,
            serial = 140737283907471,
            send_event = 0,
            display = 0x1000100000005,
            extension = 589830,
            evtype = 0,
            cookie = 327680,
            data = 0x0
          },
          pad = {140737488340248, 140737283907471, 0, 281479271677957, 589830, 2533300560527360, 0, 0, 4607182418800017408, 0, 0, -5792004391315976448, 4656922125817348096, 93825008238640, 93825006255312, 93825008238640, 93825006255312, 93825008402064, 0, 140737348934833, 93825006048928, 93825006255312, 93825006746496, 140737348876041}
        }
        coding = make_fixnum(51539607552)
        dx = 0
        dy = 0
        sa_avail = 16384
        sa_count = {
          bytes = 224
        }
#3  0x000055555571ce00 in XTread_socket (terminal=0x5555561975f0, hold_quit=0x7fffffffc950) at xterm.c:23665
        finish = 0
        event = {
          type = 35,
          xany = {
            type = 35,
            serial = 4260,
            send_event = 0,
            display = 0x5555562b3cd0,
            window = 30064771203
          },
          xkey = {
            type = 35,
            serial = 4260,
            send_event = 0,
            display = 0x5555562b3cd0,
            window = 30064771203,
            root = 116,
            subwindow = 0,
            time = 44172686,
            x = 133,
            y = 9,
            x_root = 2029,
            y_root = 11,
            state = 0,
            keycode = 3,
            same_screen = 1
          },
          xbutton = {
            type = 35,
            serial = 4260,
            send_event = 0,
            display = 0x5555562b3cd0,
            window = 30064771203,
            root = 116,
            subwindow = 0,
            time = 44172686,
            x = 133,
            y = 9,
            x_root = 2029,
            y_root = 11,
            state = 0,
            button = 3,
            same_screen = 1
          },
          xmotion = {
            type = 35,
            serial = 4260,
            send_event = 0,
            display = 0x5555562b3cd0,
            window = 30064771203,
            root = 116,
            subwindow = 0,
            time = 44172686,
            x = 133,
            y = 9,
            x_root = 2029,
            y_root = 11,
            state = 0,
            is_hint = 3 '\003',
            same_screen = 1
          },
          xcrossing = {
            type = 35,
            serial = 4260,
            send_event = 0,
            display = 0x5555562b3cd0,
            window = 30064771203,
            root = 116,
            subwindow = 0,
            time = 44172686,
            x = 133,
            y = 9,
            x_root = 2029,
            y_root = 11,
            mode = 0,
            detail = 3,
            same_screen = 1,
            focus = 0,
            state = 272
          },
          xfocus = {
            type = 35,
            serial = 4260,
            send_event = 0,
            display = 0x5555562b3cd0,
            window = 30064771203,
            mode = 116,
            detail = 0
          },
          xexpose = {
            type = 35,
            serial = 4260,
            send_event = 0,
            display = 0x5555562b3cd0,
            window = 30064771203,
            x = 116,
            y = 0,
            width = 0,
            height = 0,
            count = 44172686
          },
          xgraphicsexpose = {
            type = 35,
            serial = 4260,
            send_event = 0,
            display = 0x5555562b3cd0,
            drawable = 30064771203,
            x = 116,
            y = 0,
            width = 0,
            height = 0,
            count = 44172686,
            major_code = 0,
            minor_code = 133
          },
          xnoexpose = {
            type = 35,
            serial = 4260,
            send_event = 0,
            display = 0x5555562b3cd0,
            drawable = 30064771203,
            major_code = 116,
            minor_code = 0
          },
          xvisibility = {
            type = 35,
            serial = 4260,
            send_event = 0,
            display = 0x5555562b3cd0,
            window = 30064771203,
            state = 116
          },
          xcreatewindow = {
            type = 35,
            serial = 4260,
            send_event = 0,
            display = 0x5555562b3cd0,
            parent = 30064771203,
            window = 116,
            x = 0,
            y = 0,
            width = 44172686,
            height = 0,
            border_width = 133,
            override_redirect = 9
          },
          xdestroywindow = {
            type = 35,
            serial = 4260,
            send_event = 0,
            display = 0x5555562b3cd0,
            event = 30064771203,
            window = 116
          },
          xunmap = {
            type = 35,
            serial = 4260,
            send_event = 0,
            display = 0x5555562b3cd0,
            event = 30064771203,
            window = 116,
            from_configure = 0
          },
          xmap = {
            type = 35,
            serial = 4260,
            send_event = 0,
            display = 0x5555562b3cd0,
            event = 30064771203,
            window = 116,
            override_redirect = 0
          },
          xmaprequest = {
            type = 35,
            serial = 4260,
            send_event = 0,
            display = 0x5555562b3cd0,
            parent = 30064771203,
            window = 116
          },
          xreparent = {
            type = 35,
            serial = 4260,
            send_event = 0,
            display = 0x5555562b3cd0,
            event = 30064771203,
            window = 116,
            parent = 0,
            x = 44172686,
            y = 0,
            override_redirect = 133
          },
          xconfigure = {
            type = 35,
            serial = 4260,
            send_event = 0,
            display = 0x5555562b3cd0,
            event = 30064771203,
            window = 116,
            x = 0,
            y = 0,
            width = 44172686,
            height = 0,
            border_width = 133,
            above = 47244642285,
            override_redirect = 0
          },
          xgravity = {
            type = 35,
            serial = 4260,
            send_event = 0,
            display = 0x5555562b3cd0,
            event = 30064771203,
            window = 116,
            x = 0,
            y = 0
          },
          xresizerequest = {
            type = 35,
            serial = 4260,
            send_event = 0,
            display = 0x5555562b3cd0,
            window = 30064771203,
            width = 116,
            height = 0
          },
          xconfigurerequest = {
            type = 35,
            serial = 4260,
            send_event = 0,
            display = 0x5555562b3cd0,
            parent = 30064771203,
            window = 116,
            x = 0,
            y = 0,
            width = 44172686,
            height = 0,
            border_width = 133,
            above = 47244642285,
            detail = 0,
            value_mask = 1
          },
          xcirculate = {
            type = 35,
            serial = 4260,
            send_event = 0,
            display = 0x5555562b3cd0,
            event = 30064771203,
            window = 116,
            place = 0
          },
          xcirculaterequest = {
            type = 35,
            serial = 4260,
            send_event = 0,
            display = 0x5555562b3cd0,
            parent = 30064771203,
            window = 116,
            place = 0
          },
          xproperty = {
            type = 35,
            serial = 4260,
            send_event = 0,
            display = 0x5555562b3cd0,
            window = 30064771203,
            atom = 116,
            time = 0,
            state = 44172686
          },
          xselectionclear = {
            type = 35,
            serial = 4260,
            send_event = 0,
            display = 0x5555562b3cd0,
            window = 30064771203,
            selection = 116,
            time = 0
          },
          xselectionrequest = {
            type = 35,
            serial = 4260,
            send_event = 0,
            display = 0x5555562b3cd0,
            owner = 30064771203,
            requestor = 116,
            selection = 0,
            target = 44172686,
            property = 38654705797,
            time = 47244642285
          },
          xselection = {
            type = 35,
            serial = 4260,
            send_event = 0,
            display = 0x5555562b3cd0,
            requestor = 30064771203,
            selection = 116,
            target = 0,
            property = 44172686,
            time = 38654705797
          },
          xcolormap = {
            type = 35,
            serial = 4260,
            send_event = 0,
            display = 0x5555562b3cd0,
            window = 30064771203,
            colormap = 116,
            new = 0,
            state = 0
          },
          xclient = {
            type = 35,
            serial = 4260,
            send_event = 0,
            display = 0x5555562b3cd0,
            window = 30064771203,
            message_type = 116,
            format = 0,
            data = {
              b = "\216\005\242\002\000\000\000\000\205\000\000\000\t\000\000\000\355\a\000",
              s = {1422, 674, 0, 0, 133, 0, 9, 0, 2029, 0},
              l = {44172686, 38654705797, 47244642285, 12884901888, 1}
            }
          },
          xmapping = {
            type = 35,
            serial = 4260,
            send_event = 0,
            display = 0x5555562b3cd0,
            window = 30064771203,
            request = 116,
            first_keycode = 0,
            count = 0
          },
          xerror = {
            type = 35,
            display = 0x10a4,
            resourceid = 0,
            serial = 93825006255312,
            error_code = 131 '\203',
            request_code = 0 '\000',
            minor_code = 0 '\000'
          },
          xkeymap = {
            type = 35,
            serial = 4260,
            send_event = 0,
            display = 0x5555562b3cd0,
            window = 30064771203,
            key_vector = "t", '\000' <repeats 15 times>, "\216\005\242\002\000\000\000\000\205\000\000\000\t\000\000"
          },
          xgeneric = {
            type = 35,
            serial = 4260,
            send_event = 0,
            display = 0x5555562b3cd0,
            extension = 131,
            evtype = 7
          },
          xcookie = {
            type = 35,
            serial = 4260,
            send_event = 0,
            display = 0x5555562b3cd0,
            extension = 131,
            evtype = 7,
            cookie = 116,
            data = 0x0
          },
          pad = {35, 4260, 0, 93825006255312, 30064771203, 116, 0, 44172686, 38654705797, 47244642285, 12884901888, 1, 272, 93825007297472, 3, 93825007297616, 0, 0, 145, 93825007214544, 140737289767904, 32, 48, 93825007297552}
        }
        count = 0
        event_found = true
        dpyinfo = 0x5555562bf3f0
#4  0x0000555555779950 in gobble_input () at keyboard.c:7388
        nr = 0
        hold_quit = {
          kind = NO_EVENT,
          part = scroll_bar_nowhere,
          code = 0,
          modifiers = 0,
          x = XIL(0),
          y = XIL(0),
          timestamp = 0,
          frame_or_window = XIL(0),
          arg = XIL(0),
          device = XIL(0x30)
        }
        next = 0x0
        nread = 0
        err = false
        t = 0x5555561975f0
#5  0x0000555555779f4d in handle_async_input () at keyboard.c:7619
        nread = 21845
#6  0x0000555555779f6c in process_pending_signals () at keyboard.c:7633
#7  0x0000555555779fac in unblock_input_to (level=0) at keyboard.c:7648
#8  0x0000555555779fd0 in unblock_input () at keyboard.c:7667
#9  0x0000555555652f9c in x_menu_show (f=0x555556501a80, x=2029, y=25, menuflags=3, title=XIL(0x7fffeff0b4a4), error_name=0x7fffffffcb88) at xmenu.c:2878
        dummy_window = 25166060
        root = 311
        menu = 0x5555563fa510
        pane = 0
        selidx = 0
        lpane = 0
        status = 2
        entry = XIL(0)
        pane_prefix = XIL(0)
        datap = 0x0
        ulx = 1894
        uly = -13
        width = 270
        height = 459
        dispwidth = 5760
        dispheight = 2160
        i = 203
        j = 203
        lines = 25
        maxlines = 25
        maxwidth = 41
        dummy_int = 0
        dummy_uint = 32
        specpdl_count = {
          bytes = 128
        }
        sa_avail = 16384
        sa_count = {
          bytes = 128
        }
        dpyinfo = 0x5555562bf3f0
#10 0x0000555555650aa3 in x_popup_menu_1 (position=XIL(0x5555562a72d3), menu=XIL(0x7fffeff0b2e3)) at menu.c:1402
        keymap = XIL(0x7fffeff0b2e3)
        tem = XIL(0x5555562a7333)
        tem2 = XIL(0x5555562a72c3)
        xpos = 107
        ypos = 10
        title = XIL(0x7fffeff0b4a4)
        error_name = 0x0
        selection = XIL(0)
        f = 0x555556501a80
        x = make_fixnum(107)
        y = make_fixnum(10)
        window = XIL(0x555556501a85)
        menuflags = 3
        specpdl_count = {
          bytes = 96
        }
#11 0x000055555577f560 in read_char_x_menu_prompt (map=XIL(0x7fffeff0b2e3), prev_event=XIL(0x5555562a72d3), used_mouse_menu=0x7fffffffcfed) at keyboard.c:9331
        value = XIL(0xf5d0)
#12 0x000055555576c6f8 in read_char (commandflag=1, map=XIL(0x7fffeff0b2e3), prev_event=XIL(0x5555562a72d3), used_mouse_menu=0x7fffffffcfed, end_time=0x0) at keyboard.c:2845
        c = XIL(0)
        local_getcjmp = {{
            __jmpbuf = {93825006203603, 2421319902155308613, 93824992505232, 0, 0, 0, 2421319902060936773, 8416968827321646661},
            __mask_was_saved = 0,
            __saved_mask = {
              __val = {93825004008352, 140737488342624, 93824995356653, 0, 0, 140737488342672, 0, 0, 93825004008352, 140737488342688, 93824994548105, 0, 0, 140737488342736, 93824994548194, 140737488342768}
            }
          }}
        save_jump = {{
            __jmpbuf = {0, 0, 140737488342768, 39792, 39792, 93825004048144, 140737488342800, 93824994548105},
            __mask_was_saved = 65281,
            __saved_mask = {
              __val = {39792, 140737488342848, 93824994548194, 0, 0, 0, 93825004008352, 140737488342880, 93824994390968, 65328, 0, 140737488342928, 93824994391057, 139642271682816, 93825004008352, 0}
            }
          }}
        tem = XIL(0)
        save = XIL(0x55555608f3a0)
        previous_echo_area_message = XIL(0)
        also_record = XIL(0)
        reread = false
        recorded = false
        polling_stopped_here = false
        orig_kboard = 0x55555632db30
        jmpcount = {
          bytes = 96
        }
#13 0x00005555557813c1 in read_key_sequence (keybuf=0x7fffffffd1e0, prompt=XIL(0), dont_downcase_last=false, can_return_switch_frame=true, fix_current_buffer=true, prevent_redisplay=false) at keyboard.c:10045
        interrupted_kboard = 0x55555632db30
        interrupted_frame = 0x555556501a80
        key = XIL(0x5555562a72d3)
        used_mouse_menu = false
        echo_local_start = 0
        last_real_key_start = 2
        keys_local_start = 2
        new_binding = XIL(0x7fffeff0b2e3)
        count = {
          bytes = 96
        }
        t = 2
        echo_start = 0
        keys_start = 0
        current_binding = XIL(0x7fffeff0b2e3)
        first_unbound = 31
        mock_input = 0
        used_mouse_menu_history = {false <repeats 30 times>}
        fkey = {
          parent = XIL(0x5555562af5f3),
          map = XIL(0x5555562af5f3),
          start = 2,
          end = 2
        }
        keytran = {
          parent = XIL(0x7ffff05ffe6b),
          map = XIL(0x7ffff05ffe6b),
          start = 2,
          end = 2
        }
        indec = {
          parent = XIL(0x5555562af5e3),
          map = XIL(0x5555562af5e3),
          start = 2,
          end = 2
        }
        shift_translated = false
        delayed_switch_frame = XIL(0)
        original_uppercase = XIL(0)
        original_uppercase_position = -1
        dummyflag = false
        starting_buffer = 0x7fffefc2f708
        fake_prefixed_keys = XIL(0)
        first_event = XIL(0xab90)
        second_event = XIL(0)
#14 0x00005555557678cd in command_loop_1 () at keyboard.c:1384
        cmd = XIL(0x80)
        keybuf =
          {XIL(0xab90), XIL(0x5555562a72d3), XIL(0x7fffffffd220), XIL(0), XIL(0), XIL(0x55555608f3a0), XIL(0x7fffffffd230), XIL(0x55555584efed), XIL(0x7fffffffd240), XIL(0), XIL(0x7fffffffd260), make_fixnum(23456248839185), XIL(0x7fffffffd2b0), XIL(0x55555608f3a0), XIL(0), XIL(0), XIL(0x7fffffffd280), XIL(0x60), XIL(0x7fffffffd280), XIL(0x555555fe55a0), XIL(0x7fffffffd2c0), XIL(0x555555855599), XIL(0x100000000), XIL(0x90), XIL(0x7fffffffd2c0), XIL(0x5555562d5b80), XIL(0x7fffffffd2f0), XIL(0x90), XIL(0x7fffffffd2f0), XIL(0x555555855488)}
        i = 0
        prev_modiff = 0
        prev_buffer = 0x0
        already_adjusted = false
#15 0x0000555555855008 in internal_condition_case (bfun=0x555555767481 <command_loop_1>, handlers=XIL(0x90), hfun=0x5555557668bb <cmd_error>) at eval.c:1497
        val = XIL(0x7fffffffd350)
        c = 0x5555562d5b80
#16 0x000055555576706a in command_loop_2 (handlers=XIL(0x90)) at keyboard.c:1132
        val = XIL(0xf7e0)
#17 0x00005555558541b8 in internal_catch (tag=XIL(0xf7e0), func=0x555555767043 <command_loop_2>, arg=XIL(0x90)) at eval.c:1220
        val = XIL(0x555555763465)
        c = 0x5555562d5a40
#18 0x0000555555766fff in command_loop () at keyboard.c:1110
#19 0x000055555576637e in recursive_edit_1 () at keyboard.c:719
        count = {
          bytes = 32
        }
        val = XIL(0x55555585ba85)
#20 0x000055555576659b in Frecursive_edit () at keyboard.c:802
        count = {
          bytes = 0
        }
        buffer = XIL(0)
#21 0x0000555555761c5f in main (argc=2, argv=0x7fffffffd678) at emacs.c:2517
        stack_bottom_variable = 0x27ab
        no_loadup = false
        junk = 0x0
        dname_arg = 0x0
        ch_to_dir = 0x0
        original_pwd = 0x0
        dump_mode = 0x0
        skip_args = 0
        temacs = 0x0
        attempt_load_pdump = true
        only_version = false
        rlim = {
          rlim_cur = 10022912,
          rlim_max = 18446744073709551615
        }
        lc_all = 0x7fffffffedf2 ""
        sockfd = -1
        module_assertions = false



While I write this bug report with another Emacs, the info
below is from the Emacs which would crsh if I click on the
"Options" menu.


A fix for this bug is not important to me, I can go back to
building Emacs with --with-x-tookit=lucid.

Thanks for your attention, Gregor





In GNU Emacs 29.0.50 (build 1, x86_64-pc-linux-gnu, cairo version
 1.16.0) of 2022-08-26 built on no
Repository revision: 9ba6a7c508cbaed5eeedd56e7df633b722bf86b7
Repository branch: emacs-9ba6a7c508cbaed5eeedd56e7df633b722bf86b7
Windowing system distributor 'The X.Org Foundation', version 11.0.12011000
System Description: Debian GNU/Linux 11 (bullseye)

Configured using:
 'configure -C
 --prefix=/usr/local/stow/emacs-9ba6a7c508cbaed5eeedd56e7df633b722bf86b7--2022-08-26T13-12-42+02-00
 --enable-locallisppath=/etc/emacs:/usr/local/share/emacs/29.0/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/29.0/site-lisp:/usr/share/emacs/site-lisp
 --with-sound=yes --without-gconf --with-mailutils --build
 x86_64-linux-gnu --infodir=/usr/local/share/info:/usr/share/info
 --with-json --with-file-notification=yes --with-cairo --with-x=yes
 --with-x-toolkit=no --without-toolkit-scroll-bars
 --enable-checking=yes,glyphs --enable-check-lisp-object-type
 --with-native-compilation 'CFLAGS=-g3 -O0
 -ffile-prefix-map=/home/grfz/src/emacs-9ba6a7c508cbaed5eeedd56e7df633b722bf86b7=. -fstack-protector-strong
 -Wformat -Werror=format-security ''

Configured features:
ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ JPEG
JSON LCMS2 LIBOTF LIBSELINUX LIBSYSTEMD LIBXML2 M17N_FLT MODULES
NATIVE_COMP NOTIFY INOTIFY OLDXMENU PDUMPER PNG RSVG SECCOMP SOUND
THREADS TIFF X11 XDBE XIM XINPUT2 XPM ZLIB

Important settings:
  value of $LC_ALL:
  value of $LC_COLLATE: de_DE.utf8
  value of $LC_CTYPE: de_DE.utf8
  value of $LC_MESSAGES: POSIX
  value of $LC_MONETARY: de_DE.utf8
  value of $LC_NUMERIC: de_DE.utf8
  value of $LC_TIME: de_DE.utf8
  value of $LANG: de_DE.utf8
  locale-coding-system: utf-8-unix

Major mode: Lisp Interaction

Minor modes in effect:
  tooltip-mode: t
  global-eldoc-mode: t
  eldoc-mode: t
  show-paren-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  tool-bar-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  line-number-mode: t
  indent-tabs-mode: t
  transient-mark-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t

Load-path shadows:
None found.

Features:
(shadow sort mail-extr emacsbug message mailcap yank-media puny dired
dired-loaddefs rfc822 mml mml-sec password-cache epa derived epg rfc6068
epg-config gnus-util text-property-search mm-decode mm-bodies mm-encode
mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047
rfc2045 ietf-drums mm-util mail-prsvr mail-utils time-date subr-x
cl-loaddefs cl-lib rmc iso-transl tooltip eldoc paren electric uniquify
ediff-hook vc-hooks lisp-float-type elisp-mode mwheel term/x-win x-win
term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe
tabulated-list replace newcomment text-mode lisp-mode prog-mode register
page tab-bar menu-bar rfn-eshadow isearch easymenu timer select
scroll-bar mouse jit-lock font-lock syntax font-core term/tty-colors
frame minibuffer nadvice seq simple cl-generic indonesian philippine
cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao
korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech
european ethiopic indian cyrillic chinese composite emoji-zwj charscript
charprop case-table epa-hook jka-cmpr-hook help abbrev obarray oclosure
cl-preloaded button loaddefs faces cus-face macroexp files window
text-properties overlay sha1 md5 base64 format env code-pages mule
custom widget keymap hashtable-print-readable backquote threads dbusbind
inotify lcms2 dynamic-setting system-font-setting font-render-setting
cairo xinput2 x multi-tty make-network-process native-compile emacs)

Memory information:
((conses 16 52073 6234)
 (symbols 48 5359 0)
 (strings 32 14913 3253)
 (string-bytes 1 461560)
 (vectors 16 9997)
 (vector-slots 8 240796 7947)
 (floats 8 26 29)
 (intervals 56 279 0)
 (buffers 1000 10))






^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-08-27 13:08 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-08-26 20:35 bug#57439: 29.0.50; xterm.c:20623: Emacs fatal error: assertion failed: !must_free_data Gregor Zattler
2022-08-27  1:52 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-08-27 12:21   ` Gregor Zattler
2022-08-27 13:08     ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors

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).