unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* help needed for getting a backtrace ( multi-head emacs_abort on lucid-frame)
@ 2022-04-17 21:05 Andrés Ramírez
  2022-04-17 23:59 ` Po Lu
  0 siblings, 1 reply; 20+ messages in thread
From: Andrés Ramírez @ 2022-04-17 21:05 UTC (permalink / raw)
  To: emacs-devel

Hi.

The first time I used the --daemon command line option I got:
,---- [  ]
| Warning: due to a long standing Gtk+ bug
| https://gitlab.gnome.org/GNOME/gtk/issues/221
| Emacs might crash when run in daemon mode and the X11 connection is unexpectedly lost.
| Using an Emacs configured with --with-x-toolkit=lucid does not have this problem.
| Starting Emacs daemon.
`----

The output of that message lead me to the lucid toolkit.

Also the first time I did M-x report-emacs-bug I got:
,---- [  ]
| Please describe exactly what actions triggered the bug
| and the precise symptoms of the bug.  If you can, give
| a recipe starting from `emacs -Q':
`----

That's the reason for trying to get a proper backtrace for this case.

Having said that this is the recipe for the missing backtrace:
source code: emacs-28.1.tar.xz
compiled emacs with: "--enable-checking=yes,glyphs --enable-check-lisp-object-type 'CFLAGS=-O0 -g3' --with-cairo --with-harfbuzz --with-modules --with-wide-int --with-x-toolkit=lucid --with-json=yes --with-xft"
 
--8<---------------cut here---------------start------------->8---
1. @host ./emacs  -Q -f toggle-debug-on-error --daemon
2. @host emacsclient -c -n --eval '(eshell)'
3. on eshell-buffer emacs-version Return 
4. @remoteMachine emacsclient -c -n ~/.bashrc {inside xterm} {JIC: be4 do 'ssh -Y user@host'} {.bashrc could have just a comment character}
5. M-x dired-jump
6. M-x eval-expression "(x-synchronize t)" {without the quotes}{when doing this step do not do #8}
7. M-x close-display-connection {both opened frames close, and emacs aborts. check trying to open a new-frame}
8. type exit and press Return on xterm.  {this step depends on step#6}
--8<---------------cut here---------------end--------------->8---

Expected Output:
emacs crash {it's an emacs_abort}
Both opened frames close. #2 and #4

NOTE: when starting emacs without calling 'toggle-debug-on-error' after step#7 when You open a new
frame. You could get the message:
'X protocol error: RenderBadGlyph (invalid Glyph parameter) on protocol request 139'

For Trying to get backtrace I have appended those lines to the file
/tmp/emacs/src/emacs-28.1/src/.gdbinit

,---- [  ]
| #@theEndOf close-display-connection x-close-connection is called
| # b  xfns.c:x-close-connection # does not work
| b xterm.c:x_delete_terminal
| b xterm.c:x_delete_display
| b terminal.c:delete_terminal
| b frame.c:delete_frame #very long function
| b sysdep.c:emacs_abort
| b emacs.c:terminate_due_to_signal
`----

Those breakpoints never get hitted.

Please. Let me know the right way of getting a backtrace on this
situation.

Best Regards



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

* Re: help needed for getting a backtrace ( multi-head emacs_abort on lucid-frame)
  2022-04-17 21:05 help needed for getting a backtrace ( multi-head emacs_abort on lucid-frame) Andrés Ramírez
@ 2022-04-17 23:59 ` Po Lu
       [not found]   ` <87y203np3y.fsf@manco.pe>
  0 siblings, 1 reply; 20+ messages in thread
From: Po Lu @ 2022-04-17 23:59 UTC (permalink / raw)
  To: Andrés Ramírez; +Cc: emacs-devel

Andrés Ramírez <rrandresf@gmail.com> writes:

> Hi.
>
> The first time I used the --daemon command line option I got:
> ,---- [  ]
> | Warning: due to a long standing Gtk+ bug
> | https://gitlab.gnome.org/GNOME/gtk/issues/221
> | Emacs might crash when run in daemon mode and the X11 connection is unexpectedly lost.
> | Using an Emacs configured with --with-x-toolkit=lucid does not have this problem.
> | Starting Emacs daemon.
> `----
>
> The output of that message lead me to the lucid toolkit.
>
> Also the first time I did M-x report-emacs-bug I got:
> ,---- [  ]
> | Please describe exactly what actions triggered the bug
> | and the precise symptoms of the bug.  If you can, give
> | a recipe starting from `emacs -Q':
> `----
>
> That's the reason for trying to get a proper backtrace for this case.
>
> Having said that this is the recipe for the missing backtrace:
> source code: emacs-28.1.tar.xz
> compiled emacs with: "--enable-checking=yes,glyphs --enable-check-lisp-object-type 'CFLAGS=-O0 -g3' --with-cairo --with-harfbuzz --with-modules --with-wide-int --with-x-toolkit=lucid --with-json=yes --with-xft"

--with-xft has no effect when you specify --with-cairo, so I'll assume
you've actually built Emacs with cairo support.

Crystal ball says it's somehow related to that.

> 1. @host ./emacs  -Q -f toggle-debug-on-error --daemon
> 2. @host emacsclient -c -n --eval '(eshell)'
> 3. on eshell-buffer emacs-version Return 
> 4. @remoteMachine emacsclient -c -n ~/.bashrc {inside xterm} {JIC: be4 do 'ssh -Y user@host'} {.bashrc could have just a comment character}
> 5. M-x dired-jump
> 6. M-x eval-expression "(x-synchronize t)" {without the quotes}{when doing this step do not do #8}
> 7. M-x close-display-connection {both opened frames close, and emacs aborts. check trying to open a new-frame}
> 8. type exit and press Return on xterm.  {this step depends on step#6}
>
> Expected Output:
> emacs crash {it's an emacs_abort}
> Both opened frames close. #2 and #4
>
> NOTE: when starting emacs without calling 'toggle-debug-on-error' after step#7 when You open a new
> frame. You could get the message:
> 'X protocol error: RenderBadGlyph (invalid Glyph parameter) on protocol request 139'
>
> For Trying to get backtrace I have appended those lines to the file
> /tmp/emacs/src/emacs-28.1/src/.gdbinit
>
> ,---- [  ]
> | #@theEndOf close-display-connection x-close-connection is called
> | # b  xfns.c:x-close-connection # does not work
> | b xterm.c:x_delete_terminal
> | b xterm.c:x_delete_display
> | b terminal.c:delete_terminal
> | b frame.c:delete_frame #very long function
> | b sysdep.c:emacs_abort
> | b emacs.c:terminate_due_to_signal
> `----
>
> Those breakpoints never get hitted.

The .gdbinit file defines commands in GDB which are useful for debugging
Emacs, but it is useless without attaching a debugger to Emacs in the
first place.



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

* Re: help needed for getting a backtrace ( multi-head emacs_abort on lucid-frame)
       [not found]     ` <87v8v7kv9h.fsf@yahoo.com>
@ 2022-04-18  3:52       ` andrés ramírez
  2022-04-18  5:06         ` Po Lu
  0 siblings, 1 reply; 20+ messages in thread
From: andrés ramírez @ 2022-04-18  3:52 UTC (permalink / raw)
  To: Po Lu; +Cc: emacs-devel

[-- Attachment #1: Type: text/plain, Size: 877 bytes --]

Hi. Po Lu.

Sorry I forgot to put emacs-devel on copy.

>>>>> "Po" == Po Lu <luangruo@yahoo.com> writes:

    Po> rrandresf@gmail.com writes:
    >>> The .gdbinit file defines commands in GDB which are useful for debugging Emacs, but it is
    >>> useless without attaching a debugger to Emacs in the first place.
    >> 
    >> My mistake. I forgot to mention my first line actually is:
    >> 
    >> gdb -i=mi --args ./emacs -Q -f toggle-debug-on-error --daemon
    >> 
    >> And It is run within the folder /tmp/emacs/src/emacs-28.1/build/src
    >> 
    >> Best Regards

    Po> I don't think GDB works if you run Emacs like that, since IIRC it forks a separate process.
    Po> Try running it as a foreground daemon, by replacing `--daemon' with `--fg-daemon'.

Indeed. It did the trick. Should M-x view-emacs-debug be modified?.

Now the breakpoints are being hitted.


[-- Attachment #2: gdblog --]
[-- Type: text/plain, Size: 32345 bytes --]

Current directory is /tmp/emacs/src/emacs-28.1/build/src/
GNU gdb (GDB) 11.2
Copyright (C) 2022 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-pc-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /tmp/emacs/src/emacs-28.1/build/src/emacs...
SIGINT is used by the debugger.
Are you sure you want to change it? (y or n) [answered Y; input not from terminal]
DISPLAY = :0
TERM = dumb
Breakpoint 2 at 0x1b1caa: file ../../src/xterm.c, line 10285.
(gdb) Warning: 'set target-async', an alias for the command 'set mi-async', is deprecated.
Use 'set mi-async'.

run
Starting program: /tmp/emacs/src/emacs-28.1/build/src/emacs -Q -f toggle-debug-on-error --fg-daemon
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".

Breakpoint 31, main (argc=5, argv=0x7fffffffe8a8) at ../../src/emacs.c:1186
1186	{
(gdb) cont
Continuing.
[New Thread 0x7ffff258a640 (LWP 13456)]
[New Thread 0x7ffff1bdf640 (LWP 13458)]
[New Thread 0x7ffff124f640 (LWP 13459)]
[Detaching after vfork from child process 13461]
[Detaching after vfork from child process 13462]

Thread 1 "emacs" hit Breakpoint 36, delete_frame (frame=XIL(0x55555672832d), force=XIL(0)) at ../../src/frame.c:1965
1965	  struct frame *f = decode_any_frame (frame);
(gdb) cont
Continuing.

Thread 1 "emacs" hit Breakpoint 33, x_delete_terminal (terminal=0x555556728110) at ../../src/xterm.c:13450
13450	  struct x_display_info *dpyinfo = terminal->display_info.x;
(gdb) cont
Continuing.

Thread 1 "emacs" hit Breakpoint 34, x_delete_display (dpyinfo=0x5555567aa360) at ../../src/xterm.c:13317
13317	  for (t = terminal_list; t; t = t->next_terminal)
(gdb) cont
Continuing.

Thread 1 "emacs" hit Breakpoint 35, delete_terminal (terminal=0x555556728110) at ../../src/terminal.c:319
319	  if (!terminal->name)
(gdb) cont
Continuing.

Thread 1 "emacs" hit Breakpoint 2, x_error_quitter (display=0x5555560e6960, event=0x7fffffffcf70) at ../../src/xterm.c:10285
10285	{
(gdb) bt
#0  x_error_quitter (display=0x5555560e6960, event=0x7fffffffcf70) at ../../src/xterm.c:10285
#1  0x0000555555705c8a in x_error_handler (display=0x5555560e6960, event=0x7fffffffcf70) at ../../src/xterm.c:10273
#2  0x00007ffff7bfc6a5 in _XError () at /usr/lib/libX11.so.6
#3  0x00007ffff7bfc7a8 in  () at /usr/lib/libX11.so.6
#4  0x00007ffff7bfc845 in  () at /usr/lib/libX11.so.6
#5  0x00007ffff7bfc91a in _XEventsQueued () at /usr/lib/libX11.so.6
#6  0x00007ffff7be8cc2 in XPending () at /usr/lib/libX11.so.6
#7  0x0000555555703bc2 in XTread_socket (terminal=0x555556035d58, hold_quit=0x7fffffffd260) at ../../src/xterm.c:9492
#8  0x00005555557554c7 in gobble_input () at ../../src/keyboard.c:6980
#9  0x0000555555755ac5 in handle_async_input () at ../../src/keyboard.c:7211
#10 0x0000555555755ae4 in process_pending_signals () at ../../src/keyboard.c:7225
#11 0x000055555582be90 in maybe_quit () at ../../src/eval.c:1724
#12 0x000055555582fd5e in Ffuncall (nargs=1, args=0x7fffffffd3a8) at ../../src/eval.c:2995
#13 0x00005555558902a5 in exec_byte_code (bytestr=XIL(0x7ffff2c1ad9c), vector=XIL(0x7ffff2c1a50d), maxdepth=make_fixnum(17), args_template=make_fixnum(769), nargs=3, args=0x7fffffffda88) at ../../src/bytecode.c:632
#14 0x0000555555830737 in fetch_and_exec_byte_code (fun=XIL(0x7ffff2c19a85), syms_left=make_fixnum(769), nargs=3, args=0x7fffffffda70) at ../../src/eval.c:3147
#15 0x0000555555830bfe in funcall_lambda (fun=XIL(0x7ffff2c19a85), nargs=3, arg_vector=0x7fffffffda70) at ../../src/eval.c:3228
#16 0x000055555582ff22 in Ffuncall (nargs=4, args=0x7fffffffda68) at ../../src/eval.c:3027
#17 0x0000555555823089 in Ffuncall_interactively (nargs=4, args=0x7fffffffda68) at ../../src/callint.c:260
#18 0x000055555583035c in funcall_subr (subr=0x555555e2c360 <Sfuncall_interactively>, numargs=4, args=0x7fffffffda68) at ../../src/eval.c:3078
#19 0x000055555582fece in Ffuncall (nargs=5, args=0x7fffffffda60) at ../../src/eval.c:3023
#20 0x000055555582ef43 in Fapply (nargs=3, args=0x7fffffffdca0) at ../../src/eval.c:2653
#21 0x000055555582352c in Fcall_interactively (function=XIL(0x2aaa9cd657f0), record_flag=XIL(0), keys=XIL(0x55555673ddad)) at ../../src/callint.c:353
#22 0x00005555558304df in funcall_subr (subr=0x555555e2c3a0 <Scall_interactively>, numargs=3, args=0x7fffffffde50) at ../../src/eval.c:3103
#23 0x000055555582fece in Ffuncall (nargs=4, args=0x7fffffffde48) at ../../src/eval.c:3023
#24 0x00005555558902a5 in exec_byte_code (bytestr=XIL(0x7ffff29de9cc), vector=XIL(0x7ffff29de635), maxdepth=make_fixnum(13), args_template=make_fixnum(1025), nargs=1, args=0x7fffffffe3a0) at ../../src/bytecode.c:632
#25 0x0000555555830737 in fetch_and_exec_byte_code (fun=XIL(0x7ffff29de605), syms_left=make_fixnum(1025), nargs=1, args=0x7fffffffe398) at ../../src/eval.c:3147
#26 0x0000555555830bfe in funcall_lambda (fun=XIL(0x7ffff29de605), nargs=1, arg_vector=0x7fffffffe398) at ../../src/eval.c:3228
#27 0x000055555582ff22 in Ffuncall (nargs=2, args=0x7fffffffe390) at ../../src/eval.c:3027
#28 0x000055555582f6c4 in call1 (fn=XIL(0x4590), arg1=XIL(0x2aaa9cd657f0)) at ../../src/eval.c:2883
#29 0x0000555555745250 in command_loop_1 () at ../../src/keyboard.c:1505
#30 0x000055555582b52e in internal_condition_case (bfun=0x555555744987 <command_loop_1>, handlers=XIL(0x90), hfun=0x555555743d73 <cmd_error>) at ../../src/eval.c:1450
#31 0x0000555555744540 in command_loop_2 (handlers=XIL(0x90)) at ../../src/keyboard.c:1133
#32 0x000055555582a6c0 in internal_catch (tag=XIL(0xe850), func=0x555555744516 <command_loop_2>, arg=XIL(0x90)) at ../../src/eval.c:1181
#33 0x00005555557444e2 in command_loop () at ../../src/keyboard.c:1111
#34 0x000055555574381f in recursive_edit_1 () at ../../src/keyboard.c:720
#35 0x0000555555743a41 in Frecursive_edit () at ../../src/keyboard.c:803
#36 0x000055555573f4e1 in main (argc=5, argv=0x7fffffffe8a8) at ../../src/emacs.c:2354

Lisp Backtrace:
"execute-extended-command" (0xffffda70)
"funcall-interactively" (0xffffda68)
"call-interactively" (0xffffde50)
"command-execute" (0xffffe398)
(gdb) cont

A syntax error in expression, near `'.
(gdb) cont
Continuing.

Thread 1 "emacs" hit Breakpoint 36, delete_frame (frame=XIL(0x55555629bfed), force=XIL(0xb2e0)) at ../../src/frame.c:1965
1965	  struct frame *f = decode_any_frame (frame);
(gdb) bt
#0  delete_frame (frame=XIL(0x55555629bfed), force=XIL(0xb2e0)) at ../../src/frame.c:1965
#1  0x0000555555705a38 in x_connection_closed (dpy=0x5555560e6960, error_message=0x7fffffffcdc0 "X protocol error: RenderBadGlyph (invalid Glyph parameter) on protocol request 139", ioerror=false) at ../../src/xterm.c:10197
#2  0x0000555555705d3f in x_error_quitter (display=0x5555560e6960, event=0x7fffffffcf70) at ../../src/xterm.c:10300
#3  0x0000555555705c8a in x_error_handler (display=0x5555560e6960, event=0x7fffffffcf70) at ../../src/xterm.c:10273
#4  0x00007ffff7bfc6a5 in _XError () at /usr/lib/libX11.so.6
#5  0x00007ffff7bfc7a8 in  () at /usr/lib/libX11.so.6
#6  0x00007ffff7bfc845 in  () at /usr/lib/libX11.so.6
#7  0x00007ffff7bfc91a in _XEventsQueued () at /usr/lib/libX11.so.6
#8  0x00007ffff7be8cc2 in XPending () at /usr/lib/libX11.so.6
#9  0x0000555555703bc2 in XTread_socket (terminal=0x555556035d58, hold_quit=0x7fffffffd260) at ../../src/xterm.c:9492
#10 0x00005555557554c7 in gobble_input () at ../../src/keyboard.c:6980
#11 0x0000555555755ac5 in handle_async_input () at ../../src/keyboard.c:7211
#12 0x0000555555755ae4 in process_pending_signals () at ../../src/keyboard.c:7225
#13 0x000055555582be90 in maybe_quit () at ../../src/eval.c:1724
#14 0x000055555582fd5e in Ffuncall (nargs=1, args=0x7fffffffd3a8) at ../../src/eval.c:2995
#15 0x00005555558902a5 in exec_byte_code (bytestr=XIL(0x7ffff2c1ad9c), vector=XIL(0x7ffff2c1a50d), maxdepth=make_fixnum(17), args_template=make_fixnum(769), nargs=3, args=0x7fffffffda88) at ../../src/bytecode.c:632
#16 0x0000555555830737 in fetch_and_exec_byte_code (fun=XIL(0x7ffff2c19a85), syms_left=make_fixnum(769), nargs=3, args=0x7fffffffda70) at ../../src/eval.c:3147
#17 0x0000555555830bfe in funcall_lambda (fun=XIL(0x7ffff2c19a85), nargs=3, arg_vector=0x7fffffffda70) at ../../src/eval.c:3228
#18 0x000055555582ff22 in Ffuncall (nargs=4, args=0x7fffffffda68) at ../../src/eval.c:3027
#19 0x0000555555823089 in Ffuncall_interactively (nargs=4, args=0x7fffffffda68) at ../../src/callint.c:260
#20 0x000055555583035c in funcall_subr (subr=0x555555e2c360 <Sfuncall_interactively>, numargs=4, args=0x7fffffffda68) at ../../src/eval.c:3078
#21 0x000055555582fece in Ffuncall (nargs=5, args=0x7fffffffda60) at ../../src/eval.c:3023
#22 0x000055555582ef43 in Fapply (nargs=3, args=0x7fffffffdca0) at ../../src/eval.c:2653
#23 0x000055555582352c in Fcall_interactively (function=XIL(0x2aaa9cd657f0), record_flag=XIL(0), keys=XIL(0x55555673ddad)) at ../../src/callint.c:353
#24 0x00005555558304df in funcall_subr (subr=0x555555e2c3a0 <Scall_interactively>, numargs=3, args=0x7fffffffde50) at ../../src/eval.c:3103
#25 0x000055555582fece in Ffuncall (nargs=4, args=0x7fffffffde48) at ../../src/eval.c:3023
#26 0x00005555558902a5 in exec_byte_code (bytestr=XIL(0x7ffff29de9cc), vector=XIL(0x7ffff29de635), maxdepth=make_fixnum(13), args_template=make_fixnum(1025), nargs=1, args=0x7fffffffe3a0) at ../../src/bytecode.c:632
#27 0x0000555555830737 in fetch_and_exec_byte_code (fun=XIL(0x7ffff29de605), syms_left=make_fixnum(1025), nargs=1, args=0x7fffffffe398) at ../../src/eval.c:3147
#28 0x0000555555830bfe in funcall_lambda (fun=XIL(0x7ffff29de605), nargs=1, arg_vector=0x7fffffffe398) at ../../src/eval.c:3228
#29 0x000055555582ff22 in Ffuncall (nargs=2, args=0x7fffffffe390) at ../../src/eval.c:3027
#30 0x000055555582f6c4 in call1 (fn=XIL(0x4590), arg1=XIL(0x2aaa9cd657f0)) at ../../src/eval.c:2883
#31 0x0000555555745250 in command_loop_1 () at ../../src/keyboard.c:1505
#32 0x000055555582b52e in internal_condition_case (bfun=0x555555744987 <command_loop_1>, handlers=XIL(0x90), hfun=0x555555743d73 <cmd_error>) at ../../src/eval.c:1450
#33 0x0000555555744540 in command_loop_2 (handlers=XIL(0x90)) at ../../src/keyboard.c:1133
#34 0x000055555582a6c0 in internal_catch (tag=XIL(0xe850), func=0x555555744516 <command_loop_2>, arg=XIL(0x90)) at ../../src/eval.c:1181
#35 0x00005555557444e2 in command_loop () at ../../src/keyboard.c:1111
#36 0x000055555574381f in recursive_edit_1 () at ../../src/keyboard.c:720
#37 0x0000555555743a41 in Frecursive_edit () at ../../src/keyboard.c:803
#38 0x000055555573f4e1 in main (argc=5, argv=0x7fffffffe8a8) at ../../src/emacs.c:2354

Lisp Backtrace:
"execute-extended-command" (0xffffda70)
"funcall-interactively" (0xffffda68)
"call-interactively" (0xffffde50)
"command-execute" (0xffffe398)
(gdb) cont
Continuing.

Thread 1 "emacs" hit Breakpoint 15, x_connection_closed (dpy=0x5555560e6960, error_message=0x7fffffffcdc0 "X protocol error: RenderBadGlyph (invalid Glyph parameter) on protocol request 139", ioerror=false) at ../../src/xterm.c:10222
10222	      dpyinfo->display = 0;
(gdb) bt
#0  x_connection_closed (dpy=0x5555560e6960, error_message=0x7fffffffcdc0 "X protocol error: RenderBadGlyph (invalid Glyph parameter) on protocol request 139", ioerror=false) at ../../src/xterm.c:10222
#1  0x0000555555705d3f in x_error_quitter (display=0x5555560e6960, event=0x7fffffffcf70) at ../../src/xterm.c:10300
#2  0x0000555555705c8a in x_error_handler (display=0x5555560e6960, event=0x7fffffffcf70) at ../../src/xterm.c:10273
#3  0x00007ffff7bfc6a5 in _XError () at /usr/lib/libX11.so.6
#4  0x00007ffff7bfc7a8 in  () at /usr/lib/libX11.so.6
#5  0x00007ffff7bfc845 in  () at /usr/lib/libX11.so.6
#6  0x00007ffff7bfc91a in _XEventsQueued () at /usr/lib/libX11.so.6
#7  0x00007ffff7be8cc2 in XPending () at /usr/lib/libX11.so.6
#8  0x0000555555703bc2 in XTread_socket (terminal=0x555556035d58, hold_quit=0x7fffffffd260) at ../../src/xterm.c:9492
#9  0x00005555557554c7 in gobble_input () at ../../src/keyboard.c:6980
#10 0x0000555555755ac5 in handle_async_input () at ../../src/keyboard.c:7211
#11 0x0000555555755ae4 in process_pending_signals () at ../../src/keyboard.c:7225
#12 0x000055555582be90 in maybe_quit () at ../../src/eval.c:1724
#13 0x000055555582fd5e in Ffuncall (nargs=1, args=0x7fffffffd3a8) at ../../src/eval.c:2995
#14 0x00005555558902a5 in exec_byte_code (bytestr=XIL(0x7ffff2c1ad9c), vector=XIL(0x7ffff2c1a50d), maxdepth=make_fixnum(17), args_template=make_fixnum(769), nargs=3, args=0x7fffffffda88) at ../../src/bytecode.c:632
#15 0x0000555555830737 in fetch_and_exec_byte_code (fun=XIL(0x7ffff2c19a85), syms_left=make_fixnum(769), nargs=3, args=0x7fffffffda70) at ../../src/eval.c:3147
#16 0x0000555555830bfe in funcall_lambda (fun=XIL(0x7ffff2c19a85), nargs=3, arg_vector=0x7fffffffda70) at ../../src/eval.c:3228
#17 0x000055555582ff22 in Ffuncall (nargs=4, args=0x7fffffffda68) at ../../src/eval.c:3027
#18 0x0000555555823089 in Ffuncall_interactively (nargs=4, args=0x7fffffffda68) at ../../src/callint.c:260
#19 0x000055555583035c in funcall_subr (subr=0x555555e2c360 <Sfuncall_interactively>, numargs=4, args=0x7fffffffda68) at ../../src/eval.c:3078
#20 0x000055555582fece in Ffuncall (nargs=5, args=0x7fffffffda60) at ../../src/eval.c:3023
#21 0x000055555582ef43 in Fapply (nargs=3, args=0x7fffffffdca0) at ../../src/eval.c:2653
#22 0x000055555582352c in Fcall_interactively (function=XIL(0x2aaa9cd657f0), record_flag=XIL(0), keys=XIL(0x55555673ddad)) at ../../src/callint.c:353
#23 0x00005555558304df in funcall_subr (subr=0x555555e2c3a0 <Scall_interactively>, numargs=3, args=0x7fffffffde50) at ../../src/eval.c:3103
#24 0x000055555582fece in Ffuncall (nargs=4, args=0x7fffffffde48) at ../../src/eval.c:3023
#25 0x00005555558902a5 in exec_byte_code (bytestr=XIL(0x7ffff29de9cc), vector=XIL(0x7ffff29de635), maxdepth=make_fixnum(13), args_template=make_fixnum(1025), nargs=1, args=0x7fffffffe3a0) at ../../src/bytecode.c:632
#26 0x0000555555830737 in fetch_and_exec_byte_code (fun=XIL(0x7ffff29de605), syms_left=make_fixnum(1025), nargs=1, args=0x7fffffffe398) at ../../src/eval.c:3147
#27 0x0000555555830bfe in funcall_lambda (fun=XIL(0x7ffff29de605), nargs=1, arg_vector=0x7fffffffe398) at ../../src/eval.c:3228
#28 0x000055555582ff22 in Ffuncall (nargs=2, args=0x7fffffffe390) at ../../src/eval.c:3027
#29 0x000055555582f6c4 in call1 (fn=XIL(0x4590), arg1=XIL(0x2aaa9cd657f0)) at ../../src/eval.c:2883
#30 0x0000555555745250 in command_loop_1 () at ../../src/keyboard.c:1505
#31 0x000055555582b52e in internal_condition_case (bfun=0x555555744987 <command_loop_1>, handlers=XIL(0x90), hfun=0x555555743d73 <cmd_error>) at ../../src/eval.c:1450
#32 0x0000555555744540 in command_loop_2 (handlers=XIL(0x90)) at ../../src/keyboard.c:1133
#33 0x000055555582a6c0 in internal_catch (tag=XIL(0xe850), func=0x555555744516 <command_loop_2>, arg=XIL(0x90)) at ../../src/eval.c:1181
#34 0x00005555557444e2 in command_loop () at ../../src/keyboard.c:1111
#35 0x000055555574381f in recursive_edit_1 () at ../../src/keyboard.c:720
#36 0x0000555555743a41 in Frecursive_edit () at ../../src/keyboard.c:803
#37 0x000055555573f4e1 in main (argc=5, argv=0x7fffffffe8a8) at ../../src/emacs.c:2354

Lisp Backtrace:
"execute-extended-command" (0xffffda70)
"funcall-interactively" (0xffffda68)
"call-interactively" (0xffffde50)
"command-execute" (0xffffe398)
(gdb) cont
Continuing.

Thread 1 "emacs" hit Breakpoint 33, x_delete_terminal (terminal=0x555556035d58) at ../../src/xterm.c:13450
13450	  struct x_display_info *dpyinfo = terminal->display_info.x;
(gdb) cont
Continuing.

Thread 1 "emacs" hit Breakpoint 34, x_delete_display (dpyinfo=0x5555561074c0) at ../../src/xterm.c:13317
13317	  for (t = terminal_list; t; t = t->next_terminal)
(gdb) bt
#0  x_delete_display (dpyinfo=0x5555561074c0) at ../../src/xterm.c:13317
#1  0x000055555570cae6 in x_delete_terminal (terminal=0x555556035d58) at ../../src/xterm.c:13523
#2  0x00005555556d5b55 in Fdelete_terminal (terminal=XIL(0x555556035d5d), force=XIL(0xb2e0)) at ../../src/terminal.c:395
#3  0x0000555555705bb5 in x_connection_closed (dpy=0x5555560e6960, error_message=0x7fffffffcdc0 "X protocol error: RenderBadGlyph (invalid Glyph parameter) on protocol request 139", ioerror=false) at ../../src/xterm.c:10233
#4  0x0000555555705d3f in x_error_quitter (display=0x5555560e6960, event=0x7fffffffcf70) at ../../src/xterm.c:10300
#5  0x0000555555705c8a in x_error_handler (display=0x5555560e6960, event=0x7fffffffcf70) at ../../src/xterm.c:10273
#6  0x00007ffff7bfc6a5 in _XError () at /usr/lib/libX11.so.6
#7  0x00007ffff7bfc7a8 in  () at /usr/lib/libX11.so.6
#8  0x00007ffff7bfc845 in  () at /usr/lib/libX11.so.6
#9  0x00007ffff7bfc91a in _XEventsQueued () at /usr/lib/libX11.so.6
#10 0x00007ffff7be8cc2 in XPending () at /usr/lib/libX11.so.6
#11 0x0000555555703bc2 in XTread_socket (terminal=0x555556035d58, hold_quit=0x7fffffffd260) at ../../src/xterm.c:9492
#12 0x00005555557554c7 in gobble_input () at ../../src/keyboard.c:6980
#13 0x0000555555755ac5 in handle_async_input () at ../../src/keyboard.c:7211
#14 0x0000555555755ae4 in process_pending_signals () at ../../src/keyboard.c:7225
#15 0x000055555582be90 in maybe_quit () at ../../src/eval.c:1724
#16 0x000055555582fd5e in Ffuncall (nargs=1, args=0x7fffffffd3a8) at ../../src/eval.c:2995
#17 0x00005555558902a5 in exec_byte_code (bytestr=XIL(0x7ffff2c1ad9c), vector=XIL(0x7ffff2c1a50d), maxdepth=make_fixnum(17), args_template=make_fixnum(769), nargs=3, args=0x7fffffffda88) at ../../src/bytecode.c:632
#18 0x0000555555830737 in fetch_and_exec_byte_code (fun=XIL(0x7ffff2c19a85), syms_left=make_fixnum(769), nargs=3, args=0x7fffffffda70) at ../../src/eval.c:3147
#19 0x0000555555830bfe in funcall_lambda (fun=XIL(0x7ffff2c19a85), nargs=3, arg_vector=0x7fffffffda70) at ../../src/eval.c:3228
#20 0x000055555582ff22 in Ffuncall (nargs=4, args=0x7fffffffda68) at ../../src/eval.c:3027
#21 0x0000555555823089 in Ffuncall_interactively (nargs=4, args=0x7fffffffda68) at ../../src/callint.c:260
#22 0x000055555583035c in funcall_subr (subr=0x555555e2c360 <Sfuncall_interactively>, numargs=4, args=0x7fffffffda68) at ../../src/eval.c:3078
#23 0x000055555582fece in Ffuncall (nargs=5, args=0x7fffffffda60) at ../../src/eval.c:3023
#24 0x000055555582ef43 in Fapply (nargs=3, args=0x7fffffffdca0) at ../../src/eval.c:2653
#25 0x000055555582352c in Fcall_interactively (function=XIL(0x2aaa9cd657f0), record_flag=XIL(0), keys=XIL(0x55555673ddad)) at ../../src/callint.c:353
#26 0x00005555558304df in funcall_subr (subr=0x555555e2c3a0 <Scall_interactively>, numargs=3, args=0x7fffffffde50) at ../../src/eval.c:3103
#27 0x000055555582fece in Ffuncall (nargs=4, args=0x7fffffffde48) at ../../src/eval.c:3023
#28 0x00005555558902a5 in exec_byte_code (bytestr=XIL(0x7ffff29de9cc), vector=XIL(0x7ffff29de635), maxdepth=make_fixnum(13), args_template=make_fixnum(1025), nargs=1, args=0x7fffffffe3a0) at ../../src/bytecode.c:632
#29 0x0000555555830737 in fetch_and_exec_byte_code (fun=XIL(0x7ffff29de605), syms_left=make_fixnum(1025), nargs=1, args=0x7fffffffe398) at ../../src/eval.c:3147
#30 0x0000555555830bfe in funcall_lambda (fun=XIL(0x7ffff29de605), nargs=1, arg_vector=0x7fffffffe398) at ../../src/eval.c:3228
#31 0x000055555582ff22 in Ffuncall (nargs=2, args=0x7fffffffe390) at ../../src/eval.c:3027
#32 0x000055555582f6c4 in call1 (fn=XIL(0x4590), arg1=XIL(0x2aaa9cd657f0)) at ../../src/eval.c:2883
#33 0x0000555555745250 in command_loop_1 () at ../../src/keyboard.c:1505
#34 0x000055555582b52e in internal_condition_case (bfun=0x555555744987 <command_loop_1>, handlers=XIL(0x90), hfun=0x555555743d73 <cmd_error>) at ../../src/eval.c:1450
#35 0x0000555555744540 in command_loop_2 (handlers=XIL(0x90)) at ../../src/keyboard.c:1133
#36 0x000055555582a6c0 in internal_catch (tag=XIL(0xe850), func=0x555555744516 <command_loop_2>, arg=XIL(0x90)) at ../../src/eval.c:1181
#37 0x00005555557444e2 in command_loop () at ../../src/keyboard.c:1111
#38 0x000055555574381f in recursive_edit_1 () at ../../src/keyboard.c:720
#39 0x0000555555743a41 in Frecursive_edit () at ../../src/keyboard.c:803
#40 0x000055555573f4e1 in main (argc=5, argv=0x7fffffffe8a8) at ../../src/emacs.c:2354

Lisp Backtrace:
"execute-extended-command" (0xffffda70)
"funcall-interactively" (0xffffda68)
"call-interactively" (0xffffde50)
"command-execute" (0xffffe398)
(gdb) cont
Continuing.

Thread 1 "emacs" hit Breakpoint 35, delete_terminal (terminal=0x555556035d58) at ../../src/terminal.c:319
319	  if (!terminal->name)
(gdb) bt
#0  delete_terminal (terminal=0x555556035d58) at ../../src/terminal.c:319
#1  0x000055555570c82d in x_delete_display (dpyinfo=0x5555561074c0) at ../../src/xterm.c:13325
#2  0x000055555570cae6 in x_delete_terminal (terminal=0x555556035d58) at ../../src/xterm.c:13523
#3  0x00005555556d5b55 in Fdelete_terminal (terminal=XIL(0x555556035d5d), force=XIL(0xb2e0)) at ../../src/terminal.c:395
#4  0x0000555555705bb5 in x_connection_closed (dpy=0x5555560e6960, error_message=0x7fffffffcdc0 "X protocol error: RenderBadGlyph (invalid Glyph parameter) on protocol request 139", ioerror=false) at ../../src/xterm.c:10233
#5  0x0000555555705d3f in x_error_quitter (display=0x5555560e6960, event=0x7fffffffcf70) at ../../src/xterm.c:10300
#6  0x0000555555705c8a in x_error_handler (display=0x5555560e6960, event=0x7fffffffcf70) at ../../src/xterm.c:10273
#7  0x00007ffff7bfc6a5 in _XError () at /usr/lib/libX11.so.6
#8  0x00007ffff7bfc7a8 in  () at /usr/lib/libX11.so.6
#9  0x00007ffff7bfc845 in  () at /usr/lib/libX11.so.6
#10 0x00007ffff7bfc91a in _XEventsQueued () at /usr/lib/libX11.so.6
#11 0x00007ffff7be8cc2 in XPending () at /usr/lib/libX11.so.6
#12 0x0000555555703bc2 in XTread_socket (terminal=0x555556035d58, hold_quit=0x7fffffffd260) at ../../src/xterm.c:9492
#13 0x00005555557554c7 in gobble_input () at ../../src/keyboard.c:6980
#14 0x0000555555755ac5 in handle_async_input () at ../../src/keyboard.c:7211
#15 0x0000555555755ae4 in process_pending_signals () at ../../src/keyboard.c:7225
#16 0x000055555582be90 in maybe_quit () at ../../src/eval.c:1724
#17 0x000055555582fd5e in Ffuncall (nargs=1, args=0x7fffffffd3a8) at ../../src/eval.c:2995
#18 0x00005555558902a5 in exec_byte_code (bytestr=XIL(0x7ffff2c1ad9c), vector=XIL(0x7ffff2c1a50d), maxdepth=make_fixnum(17), args_template=make_fixnum(769), nargs=3, args=0x7fffffffda88) at ../../src/bytecode.c:632
#19 0x0000555555830737 in fetch_and_exec_byte_code (fun=XIL(0x7ffff2c19a85), syms_left=make_fixnum(769), nargs=3, args=0x7fffffffda70) at ../../src/eval.c:3147
#20 0x0000555555830bfe in funcall_lambda (fun=XIL(0x7ffff2c19a85), nargs=3, arg_vector=0x7fffffffda70) at ../../src/eval.c:3228
#21 0x000055555582ff22 in Ffuncall (nargs=4, args=0x7fffffffda68) at ../../src/eval.c:3027
#22 0x0000555555823089 in Ffuncall_interactively (nargs=4, args=0x7fffffffda68) at ../../src/callint.c:260
#23 0x000055555583035c in funcall_subr (subr=0x555555e2c360 <Sfuncall_interactively>, numargs=4, args=0x7fffffffda68) at ../../src/eval.c:3078
#24 0x000055555582fece in Ffuncall (nargs=5, args=0x7fffffffda60) at ../../src/eval.c:3023
#25 0x000055555582ef43 in Fapply (nargs=3, args=0x7fffffffdca0) at ../../src/eval.c:2653
#26 0x000055555582352c in Fcall_interactively (function=XIL(0x2aaa9cd657f0), record_flag=XIL(0), keys=XIL(0x55555673ddad)) at ../../src/callint.c:353
#27 0x00005555558304df in funcall_subr (subr=0x555555e2c3a0 <Scall_interactively>, numargs=3, args=0x7fffffffde50) at ../../src/eval.c:3103
#28 0x000055555582fece in Ffuncall (nargs=4, args=0x7fffffffde48) at ../../src/eval.c:3023
#29 0x00005555558902a5 in exec_byte_code (bytestr=XIL(0x7ffff29de9cc), vector=XIL(0x7ffff29de635), maxdepth=make_fixnum(13), args_template=make_fixnum(1025), nargs=1, args=0x7fffffffe3a0) at ../../src/bytecode.c:632
#30 0x0000555555830737 in fetch_and_exec_byte_code (fun=XIL(0x7ffff29de605), syms_left=make_fixnum(1025), nargs=1, args=0x7fffffffe398) at ../../src/eval.c:3147
#31 0x0000555555830bfe in funcall_lambda (fun=XIL(0x7ffff29de605), nargs=1, arg_vector=0x7fffffffe398) at ../../src/eval.c:3228
#32 0x000055555582ff22 in Ffuncall (nargs=2, args=0x7fffffffe390) at ../../src/eval.c:3027
#33 0x000055555582f6c4 in call1 (fn=XIL(0x4590), arg1=XIL(0x2aaa9cd657f0)) at ../../src/eval.c:2883
#34 0x0000555555745250 in command_loop_1 () at ../../src/keyboard.c:1505
#35 0x000055555582b52e in internal_condition_case (bfun=0x555555744987 <command_loop_1>, handlers=XIL(0x90), hfun=0x555555743d73 <cmd_error>) at ../../src/eval.c:1450
#36 0x0000555555744540 in command_loop_2 (handlers=XIL(0x90)) at ../../src/keyboard.c:1133
#37 0x000055555582a6c0 in internal_catch (tag=XIL(0xe850), func=0x555555744516 <command_loop_2>, arg=XIL(0x90)) at ../../src/eval.c:1181
#38 0x00005555557444e2 in command_loop () at ../../src/keyboard.c:1111
#39 0x000055555574381f in recursive_edit_1 () at ../../src/keyboard.c:720
#40 0x0000555555743a41 in Frecursive_edit () at ../../src/keyboard.c:803
#41 0x000055555573f4e1 in main (argc=5, argv=0x7fffffffe8a8) at ../../src/emacs.c:2354

Lisp Backtrace:
"execute-extended-command" (0xffffda70)
"funcall-interactively" (0xffffda68)
"call-interactively" (0xffffde50)
"command-execute" (0xffffe398)
(gdb) cont
Continuing.

Thread 1 "emacs" hit Breakpoint 32, Fkill_emacs (arg=make_fixnum(-1)) at ../../src/emacs.c:2679
2679		call1 (Qrun_hook_query_error_with_timeout, Qkill_emacs_hook);
(gdb) bt
#0  Fkill_emacs (arg=make_fixnum(-1)) at ../../src/emacs.c:2679
#1  0x000055555583048c in funcall_subr (subr=0x555555e24b20 <Skill_emacs>, numargs=1, args=0x7fffffffc1d8) at ../../src/eval.c:3098
#2  0x000055555582fece in Ffuncall (nargs=2, args=0x7fffffffc1d0) at ../../src/eval.c:3023
#3  0x00005555558902a5 in exec_byte_code (bytestr=XIL(0x55555617a674), vector=XIL(0x55555934b56d), maxdepth=make_fixnum(40), args_template=make_fixnum(128), nargs=2, args=0x7fffffffc828) at ../../src/bytecode.c:632
#4  0x0000555555830737 in fetch_and_exec_byte_code (fun=XIL(0x55555934b835), syms_left=make_fixnum(128), nargs=2, args=0x7fffffffc828) at ../../src/eval.c:3147
#5  0x0000555555830bfe in funcall_lambda (fun=XIL(0x55555934b835), nargs=2, arg_vector=0x7fffffffc828) at ../../src/eval.c:3228
#6  0x000055555582ff22 in Ffuncall (nargs=3, args=0x7fffffffc820) at ../../src/eval.c:3027
#7  0x000055555582ef43 in Fapply (nargs=2, args=0x7fffffffc8d0) at ../../src/eval.c:2653
#8  0x000055555582f64b in apply1 (fn=XIL(0x50d0), arg=XIL(0x55555932f633)) at ../../src/eval.c:2869
#9  0x00005555558278e2 in call_debugger (arg=XIL(0x55555932f633)) at ../../src/eval.c:345
#10 0x000055555582cbea in maybe_call_debugger (conditions=XIL(0x7ffff2934dcb), sig=XIL(0x90), data=XIL(0x55555932f663)) at ../../src/eval.c:2039
#11 0x000055555582c290 in signal_or_quit (error_symbol=XIL(0x90), data=XIL(0x55555932f663), keyboard_quit=false) at ../../src/eval.c:1846
#12 0x000055555582befa in Fsignal (error_symbol=XIL(0x90), data=XIL(0x55555932f663)) at ../../src/eval.c:1747
#13 0x0000555555826c07 in xsignal (error_symbol=XIL(0x90), data=XIL(0x55555932f663)) at ../../src/lisp.h:4154
#14 0x000055555582c54d in xsignal1 (error_symbol=XIL(0x90), arg=XIL(0x555559277774)) at ../../src/eval.c:1904
#15 0x000055555582ce80 in verror (m=0x555555967377 "%s", ap=0x7fffffffcaf0) at ../../src/eval.c:2096
#16 0x000055555582cf31 in error (m=0x555555967377 "%s") at ../../src/eval.c:2107
#17 0x0000555555705c46 in x_connection_closed (dpy=0x5555560e6960, error_message=0x7fffffffcdc0 "X protocol error: RenderBadGlyph (invalid Glyph parameter) on protocol request 139", ioerror=false) at ../../src/xterm.c:10251
#18 0x0000555555705d3f in x_error_quitter (display=0x5555560e6960, event=0x7fffffffcf70) at ../../src/xterm.c:10300
#19 0x0000555555705c8a in x_error_handler (display=0x5555560e6960, event=0x7fffffffcf70) at ../../src/xterm.c:10273
#20 0x00007ffff7bfc6a5 in _XError () at /usr/lib/libX11.so.6
#21 0x00007ffff7bfc7a8 in  () at /usr/lib/libX11.so.6
#22 0x00007ffff7bfc845 in  () at /usr/lib/libX11.so.6
#23 0x00007ffff7bfc91a in _XEventsQueued () at /usr/lib/libX11.so.6
#24 0x00007ffff7be8cc2 in XPending () at /usr/lib/libX11.so.6
#25 0x0000555555703bc2 in XTread_socket (terminal=0x555556035d58, hold_quit=0x7fffffffd260) at ../../src/xterm.c:9492
#26 0x00005555557554c7 in gobble_input () at ../../src/keyboard.c:6980
#27 0x0000555555755ac5 in handle_async_input () at ../../src/keyboard.c:7211
#28 0x0000555555755ae4 in process_pending_signals () at ../../src/keyboard.c:7225
#29 0x000055555582be90 in maybe_quit () at ../../src/eval.c:1724
#30 0x000055555582fd5e in Ffuncall (nargs=1, args=0x7fffffffd3a8) at ../../src/eval.c:2995
#31 0x00005555558902a5 in exec_byte_code (bytestr=XIL(0x7ffff2c1ad9c), vector=XIL(0x7ffff2c1a50d), maxdepth=make_fixnum(17), args_template=make_fixnum(769), nargs=3, args=0x7fffffffda88) at ../../src/bytecode.c:632
#32 0x0000555555830737 in fetch_and_exec_byte_code (fun=XIL(0x7ffff2c19a85), syms_left=make_fixnum(769), nargs=3, args=0x7fffffffda70) at ../../src/eval.c:3147
#33 0x0000555555830bfe in funcall_lambda (fun=XIL(0x7ffff2c19a85), nargs=3, arg_vector=0x7fffffffda70) at ../../src/eval.c:3228
#34 0x000055555582ff22 in Ffuncall (nargs=4, args=0x7fffffffda68) at ../../src/eval.c:3027
#35 0x0000555555823089 in Ffuncall_interactively (nargs=4, args=0x7fffffffda68) at ../../src/callint.c:260
#36 0x000055555583035c in funcall_subr (subr=0x555555e2c360 <Sfuncall_interactively>, numargs=4, args=0x7fffffffda68) at ../../src/eval.c:3078
#37 0x000055555582fece in Ffuncall (nargs=5, args=0x7fffffffda60) at ../../src/eval.c:3023
#38 0x000055555582ef43 in Fapply (nargs=3, args=0x7fffffffdca0) at ../../src/eval.c:2653
#39 0x000055555582352c in Fcall_interactively (function=XIL(0x2aaa9cd657f0), record_flag=XIL(0), keys=XIL(0x55555673ddad)) at ../../src/callint.c:353
#40 0x00005555558304df in funcall_subr (subr=0x555555e2c3a0 <Scall_interactively>, numargs=3, args=0x7fffffffde50) at ../../src/eval.c:3103
#41 0x000055555582fece in Ffuncall (nargs=4, args=0x7fffffffde48) at ../../src/eval.c:3023
#42 0x00005555558902a5 in exec_byte_code (bytestr=XIL(0x7ffff29de9cc), vector=XIL(0x7ffff29de635), maxdepth=make_fixnum(13), args_template=make_fixnum(1025), nargs=1, args=0x7fffffffe3a0) at ../../src/bytecode.c:632
#43 0x0000555555830737 in fetch_and_exec_byte_code (fun=XIL(0x7ffff29de605), syms_left=make_fixnum(1025), nargs=1, args=0x7fffffffe398) at ../../src/eval.c:3147
#44 0x0000555555830bfe in funcall_lambda (fun=XIL(0x7ffff29de605), nargs=1, arg_vector=0x7fffffffe398) at ../../src/eval.c:3228
#45 0x000055555582ff22 in Ffuncall (nargs=2, args=0x7fffffffe390) at ../../src/eval.c:3027
#46 0x000055555582f6c4 in call1 (fn=XIL(0x4590), arg1=XIL(0x2aaa9cd657f0)) at ../../src/eval.c:2883
#47 0x0000555555745250 in command_loop_1 () at ../../src/keyboard.c:1505
#48 0x000055555582b52e in internal_condition_case (bfun=0x555555744987 <command_loop_1>, handlers=XIL(0x90), hfun=0x555555743d73 <cmd_error>) at ../../src/eval.c:1450
#49 0x0000555555744540 in command_loop_2 (handlers=XIL(0x90)) at ../../src/keyboard.c:1133
#50 0x000055555582a6c0 in internal_catch (tag=XIL(0xe850), func=0x555555744516 <command_loop_2>, arg=XIL(0x90)) at ../../src/eval.c:1181
#51 0x00005555557444e2 in command_loop () at ../../src/keyboard.c:1111
#52 0x000055555574381f in recursive_edit_1 () at ../../src/keyboard.c:720
#53 0x0000555555743a41 in Frecursive_edit () at ../../src/keyboard.c:803
#54 0x000055555573f4e1 in main (argc=5, argv=0x7fffffffe8a8) at ../../src/emacs.c:2354

Lisp Backtrace:
"kill-emacs" (0xffffc1d8)
"debug" (0xffffc828)
"execute-extended-command" (0xffffda70)
"funcall-interactively" (0xffffda68)
"call-interactively" (0xffffde50)
"command-execute" (0xffffe398)
(gdb) cont
Continuing.
[Thread 0x7ffff124f640 (LWP 13459) exited]
[Thread 0x7ffff1bdf640 (LWP 13458) exited]
[Thread 0x7ffff337cf40 (LWP 13452) exited]
[Inferior 1 (process 13452) exited with code 0377]
(gdb) 

[-- Attachment #3: Type: text/plain, Size: 60 bytes --]


My next step is trying to find the offending line.

Thanks

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

* Re: help needed for getting a backtrace ( multi-head emacs_abort on lucid-frame)
  2022-04-18  3:52       ` andrés ramírez
@ 2022-04-18  5:06         ` Po Lu
  2022-04-18  5:40           ` andrés ramírez
  0 siblings, 1 reply; 20+ messages in thread
From: Po Lu @ 2022-04-18  5:06 UTC (permalink / raw)
  To: andrés ramírez; +Cc: emacs-devel

andrés ramírez <rrandresf@gmail.com> writes:

> Now the breakpoints are being hitted.

> Thread 1 "emacs" hit Breakpoint 2, x_error_quitter (display=0x5555560e6960, event=0x7fffffffcf70) at ../../src/xterm.c:10285
> 10285	{
> (gdb) bt
> #0  x_error_quitter (display=0x5555560e6960, event=0x7fffffffcf70) at ../../src/xterm.c:10285
> #1  0x0000555555705c8a in x_error_handler (display=0x5555560e6960, event=0x7fffffffcf70) at ../../src/xterm.c:10273
> #2  0x00007ffff7bfc6a5 in _XError () at /usr/lib/libX11.so.6
> #3  0x00007ffff7bfc7a8 in  () at /usr/lib/libX11.so.6
> #4  0x00007ffff7bfc845 in  () at /usr/lib/libX11.so.6
> #5  0x00007ffff7bfc91a in _XEventsQueued () at /usr/lib/libX11.so.6
> #6  0x00007ffff7be8cc2 in XPending () at /usr/lib/libX11.so.6
> #7  0x0000555555703bc2 in XTread_socket (terminal=0x555556035d58, hold_quit=0x7fffffffd260) at ../../src/xterm.c:9492

This isn't right, since we're getting the error upon `XPending'.  Emacs
isn't running in synchronous mode.

Can you start Emacs with the following X resource applied?  (You will
have to remove it later, since it's not a recommended setting for
actually using Emacs.)

  Emacs.synchronous: True



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

* Re: help needed for getting a backtrace ( multi-head emacs_abort on lucid-frame)
  2022-04-18  5:06         ` Po Lu
@ 2022-04-18  5:40           ` andrés ramírez
  2022-04-18  5:55             ` Po Lu
  0 siblings, 1 reply; 20+ messages in thread
From: andrés ramírez @ 2022-04-18  5:40 UTC (permalink / raw)
  To: Po Lu; +Cc: emacs-devel

[-- Attachment #1: Type: text/plain, Size: 589 bytes --]

Hi. Po Lu.

>>>>> "Po" == Po Lu <luangruo@yahoo.com> writes:


[...]

    Po> This isn't right, since we're getting the error upon `XPending'.  Emacs isn't running in
    Po> synchronous mode.

    Po> Can you start Emacs with the following X resource applied?  (You will have to remove it
    Po> later, since it's not a recommended setting for actually using Emacs.)

    Po>   Emacs.synchronous: True

I think that is equivalent to:

,---- [  ]
| gdb -i=mi --args ./emacs -xrm "emacs.synchronous: true" -Q -f toggle-debug-on-error --fg-daemon
`----

Attached is the new backtrace file.

[-- Attachment #2: gdblog --]
[-- Type: text/plain, Size: 68851 bytes --]

Current directory is /tmp/emacs/src/emacs-28.1/build/src/
GNU gdb (GDB) 11.2
Copyright (C) 2022 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-pc-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /tmp/emacs/src/emacs-28.1/build/src/emacs...
SIGINT is used by the debugger.
Are you sure you want to change it? (y or n) [answered Y; input not from terminal]
DISPLAY = :0
TERM = dumb
Breakpoint 2 at 0x1b1caa: file ../../src/xterm.c, line 10285.
(gdb) Warning: 'set target-async', an alias for the command 'set mi-async', is deprecated.
Use 'set mi-async'.

run
Starting program: /tmp/emacs/src/emacs-28.1/build/src/emacs -xrm emacs.synchronous:\ true -Q -f toggle-debug-on-error --fg-daemon
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".

Breakpoint 31, main (argc=7, argv=0x7fffffffe878) at ../../src/emacs.c:1186
1186	{
(gdb) cont
Continuing.
[New Thread 0x7ffff258a640 (LWP 14599)]
[New Thread 0x7ffff1bdf640 (LWP 14601)]
[New Thread 0x7ffff124f640 (LWP 14602)]
[Detaching after vfork from child process 14604]
[Detaching after vfork from child process 14605]

Thread 1 "emacs" hit Breakpoint 36, delete_frame (frame=XIL(0x555555f274d5), force=XIL(0)) at ../../src/frame.c:1965
1965	  struct frame *f = decode_any_frame (frame);
(gdb) bt
#0  delete_frame (frame=XIL(0x555555f274d5), force=XIL(0)) at ../../src/frame.c:1965
#1  0x00005555555b273a in Fdelete_frame (frame=XIL(0x555555f274d5), force=XIL(0)) at ../../src/frame.c:2389
#2  0x00005555558304b0 in funcall_subr (subr=0x555555e1e860 <Sdelete_frame>, numargs=1, args=0x7fffffffc238) at ../../src/eval.c:3100
#3  0x000055555582fece in Ffuncall (nargs=2, args=0x7fffffffc230) at ../../src/eval.c:3023
#4  0x000055555582f6c4 in call1 (fn=XIL(0x5400), arg1=XIL(0x555555f274d5)) at ../../src/eval.c:2883
#5  0x00005555558425b7 in mapcar1 (leni=1, vals=0x0, fn=XIL(0x5400), seq=XIL(0x555559258283)) at ../../src/fns.c:2848
#6  0x0000555555842a74 in Fmapc (function=XIL(0x5400), sequence=XIL(0x555559258283)) at ../../src/fns.c:2921
#7  0x00005555558304b0 in funcall_subr (subr=0x555555e2e460 <Smapc>, numargs=2, args=0x7fffffffc440) at ../../src/eval.c:3100
#8  0x000055555582fece in Ffuncall (nargs=3, args=0x7fffffffc438) at ../../src/eval.c:3023
#9  0x00005555558902a5 in exec_byte_code (bytestr=XIL(0x7ffff2e7623c), vector=XIL(0x7ffff2e7609d), maxdepth=make_fixnum(7), args_template=make_fixnum(257), nargs=1, args=0x7fffffffcc68) at ../../src/bytecode.c:632
#10 0x0000555555830737 in fetch_and_exec_byte_code (fun=XIL(0x7ffff2e75f45), syms_left=make_fixnum(257), nargs=1, args=0x7fffffffcc60) at ../../src/eval.c:3147
#11 0x0000555555830bfe in funcall_lambda (fun=XIL(0x7ffff2e75f45), nargs=1, arg_vector=0x7fffffffcc60) at ../../src/eval.c:3228
#12 0x000055555582ff22 in Ffuncall (nargs=2, args=0x7fffffffcc58) at ../../src/eval.c:3027
#13 0x0000555555823089 in Ffuncall_interactively (nargs=2, args=0x7fffffffcc58) at ../../src/callint.c:260
#14 0x000055555583035c in funcall_subr (subr=0x555555e2c360 <Sfuncall_interactively>, numargs=2, args=0x7fffffffcc58) at ../../src/eval.c:3078
#15 0x000055555582fece in Ffuncall (nargs=3, args=0x7fffffffcc50) at ../../src/eval.c:3023
#16 0x000055555582eb6d in Fapply (nargs=3, args=0x7fffffffcc50) at ../../src/eval.c:2610
#17 0x000055555582352c in Fcall_interactively (function=XIL(0x2aaa9cfc1cd0), record_flag=XIL(0xc6c0), keys=XIL(0x5555567435f5)) at ../../src/callint.c:353
#18 0x00005555558304df in funcall_subr (subr=0x555555e2c3a0 <Scall_interactively>, numargs=3, args=0x7fffffffce00) at ../../src/eval.c:3103
#19 0x000055555582fece in Ffuncall (nargs=4, args=0x7fffffffcdf8) at ../../src/eval.c:3023
#20 0x00005555558902a5 in exec_byte_code (bytestr=XIL(0x7ffff29de9cc), vector=XIL(0x7ffff29de635), maxdepth=make_fixnum(13), args_template=make_fixnum(1025), nargs=2, args=0x7fffffffd390) at ../../src/bytecode.c:632
#21 0x0000555555830737 in fetch_and_exec_byte_code (fun=XIL(0x7ffff29de605), syms_left=make_fixnum(1025), nargs=2, args=0x7fffffffd380) at ../../src/eval.c:3147
#22 0x0000555555830bfe in funcall_lambda (fun=XIL(0x7ffff29de605), nargs=2, arg_vector=0x7fffffffd380) at ../../src/eval.c:3228
#23 0x000055555582ff22 in Ffuncall (nargs=3, args=0x7fffffffd378) at ../../src/eval.c:3027
#24 0x00005555558902a5 in exec_byte_code (bytestr=XIL(0x7ffff2c1ad9c), vector=XIL(0x7ffff2c1a50d), maxdepth=make_fixnum(17), args_template=make_fixnum(769), nargs=3, args=0x7fffffffda58) at ../../src/bytecode.c:632
#25 0x0000555555830737 in fetch_and_exec_byte_code (fun=XIL(0x7ffff2c19a85), syms_left=make_fixnum(769), nargs=3, args=0x7fffffffda40) at ../../src/eval.c:3147
#26 0x0000555555830bfe in funcall_lambda (fun=XIL(0x7ffff2c19a85), nargs=3, arg_vector=0x7fffffffda40) at ../../src/eval.c:3228
#27 0x000055555582ff22 in Ffuncall (nargs=4, args=0x7fffffffda38) at ../../src/eval.c:3027
#28 0x0000555555823089 in Ffuncall_interactively (nargs=4, args=0x7fffffffda38) at ../../src/callint.c:260
#29 0x000055555583035c in funcall_subr (subr=0x555555e2c360 <Sfuncall_interactively>, numargs=4, args=0x7fffffffda38) at ../../src/eval.c:3078
#30 0x000055555582fece in Ffuncall (nargs=5, args=0x7fffffffda30) at ../../src/eval.c:3023
#31 0x000055555582ef43 in Fapply (nargs=3, args=0x7fffffffdc70) at ../../src/eval.c:2653
#32 0x000055555582352c in Fcall_interactively (function=XIL(0x2aaa9cd657f0), record_flag=XIL(0), keys=XIL(0x55555932ef0d)) at ../../src/callint.c:353
#33 0x00005555558304df in funcall_subr (subr=0x555555e2c3a0 <Scall_interactively>, numargs=3, args=0x7fffffffde20) at ../../src/eval.c:3103
#34 0x000055555582fece in Ffuncall (nargs=4, args=0x7fffffffde18) at ../../src/eval.c:3023
#35 0x00005555558902a5 in exec_byte_code (bytestr=XIL(0x7ffff29de9cc), vector=XIL(0x7ffff29de635), maxdepth=make_fixnum(13), args_template=make_fixnum(1025), nargs=1, args=0x7fffffffe370) at ../../src/bytecode.c:632
#36 0x0000555555830737 in fetch_and_exec_byte_code (fun=XIL(0x7ffff29de605), syms_left=make_fixnum(1025), nargs=1, args=0x7fffffffe368) at ../../src/eval.c:3147
#37 0x0000555555830bfe in funcall_lambda (fun=XIL(0x7ffff29de605), nargs=1, arg_vector=0x7fffffffe368) at ../../src/eval.c:3228
#38 0x000055555582ff22 in Ffuncall (nargs=2, args=0x7fffffffe360) at ../../src/eval.c:3027
#39 0x000055555582f6c4 in call1 (fn=XIL(0x4590), arg1=XIL(0x2aaa9cd657f0)) at ../../src/eval.c:2883
#40 0x0000555555745250 in command_loop_1 () at ../../src/keyboard.c:1505
#41 0x000055555582b52e in internal_condition_case (bfun=0x555555744987 <command_loop_1>, handlers=XIL(0x90), hfun=0x555555743d73 <cmd_error>) at ../../src/eval.c:1450
#42 0x0000555555744540 in command_loop_2 (handlers=XIL(0x90)) at ../../src/keyboard.c:1133
#43 0x000055555582a6c0 in internal_catch (tag=XIL(0xe850), func=0x555555744516 <command_loop_2>, arg=XIL(0x90)) at ../../src/eval.c:1181
#44 0x00005555557444e2 in command_loop () at ../../src/keyboard.c:1111
#45 0x000055555574381f in recursive_edit_1 () at ../../src/keyboard.c:720
#46 0x0000555555743a41 in Frecursive_edit () at ../../src/keyboard.c:803
#47 0x000055555573f4e1 in main (argc=7, argv=0x7fffffffe878) at ../../src/emacs.c:2354

Lisp Backtrace:
"delete-frame" (0xffffc238)
"mapc" (0xffffc440)
"close-display-connection" (0xffffcc60)
"funcall-interactively" (0xffffcc58)
"call-interactively" (0xffffce00)
"command-execute" (0xffffd380)
"execute-extended-command" (0xffffda40)
"funcall-interactively" (0xffffda38)
"call-interactively" (0xffffde20)
"command-execute" (0xffffe368)
(gdb) cont
Continuing.

Thread 1 "emacs" hit Breakpoint 33, x_delete_terminal (terminal=0x555555f272b8) at ../../src/xterm.c:13450
13450	  struct x_display_info *dpyinfo = terminal->display_info.x;
(gdb) bt
#0  x_delete_terminal (terminal=0x555555f272b8) at ../../src/xterm.c:13450
#1  0x000055555571ce4b in Fx_close_connection (terminal=XIL(0x55555612ab64)) at ../../src/xfns.c:5786
#2  0x000055555583048c in funcall_subr (subr=0x555555e243a0 <Sx_close_connection>, numargs=1, args=0x7fffffffc440) at ../../src/eval.c:3098
#3  0x000055555582fece in Ffuncall (nargs=2, args=0x7fffffffc438) at ../../src/eval.c:3023
#4  0x00005555558902a5 in exec_byte_code (bytestr=XIL(0x7ffff2e7623c), vector=XIL(0x7ffff2e7609d), maxdepth=make_fixnum(7), args_template=make_fixnum(257), nargs=1, args=0x7fffffffcc68) at ../../src/bytecode.c:632
#5  0x0000555555830737 in fetch_and_exec_byte_code (fun=XIL(0x7ffff2e75f45), syms_left=make_fixnum(257), nargs=1, args=0x7fffffffcc60) at ../../src/eval.c:3147
#6  0x0000555555830bfe in funcall_lambda (fun=XIL(0x7ffff2e75f45), nargs=1, arg_vector=0x7fffffffcc60) at ../../src/eval.c:3228
#7  0x000055555582ff22 in Ffuncall (nargs=2, args=0x7fffffffcc58) at ../../src/eval.c:3027
#8  0x0000555555823089 in Ffuncall_interactively (nargs=2, args=0x7fffffffcc58) at ../../src/callint.c:260
#9  0x000055555583035c in funcall_subr (subr=0x555555e2c360 <Sfuncall_interactively>, numargs=2, args=0x7fffffffcc58) at ../../src/eval.c:3078
#10 0x000055555582fece in Ffuncall (nargs=3, args=0x7fffffffcc50) at ../../src/eval.c:3023
#11 0x000055555582eb6d in Fapply (nargs=3, args=0x7fffffffcc50) at ../../src/eval.c:2610
#12 0x000055555582352c in Fcall_interactively (function=XIL(0x2aaa9cfc1cd0), record_flag=XIL(0xc6c0), keys=XIL(0x5555567435f5)) at ../../src/callint.c:353
#13 0x00005555558304df in funcall_subr (subr=0x555555e2c3a0 <Scall_interactively>, numargs=3, args=0x7fffffffce00) at ../../src/eval.c:3103
#14 0x000055555582fece in Ffuncall (nargs=4, args=0x7fffffffcdf8) at ../../src/eval.c:3023
#15 0x00005555558902a5 in exec_byte_code (bytestr=XIL(0x7ffff29de9cc), vector=XIL(0x7ffff29de635), maxdepth=make_fixnum(13), args_template=make_fixnum(1025), nargs=2, args=0x7fffffffd390) at ../../src/bytecode.c:632
#16 0x0000555555830737 in fetch_and_exec_byte_code (fun=XIL(0x7ffff29de605), syms_left=make_fixnum(1025), nargs=2, args=0x7fffffffd380) at ../../src/eval.c:3147
#17 0x0000555555830bfe in funcall_lambda (fun=XIL(0x7ffff29de605), nargs=2, arg_vector=0x7fffffffd380) at ../../src/eval.c:3228
#18 0x000055555582ff22 in Ffuncall (nargs=3, args=0x7fffffffd378) at ../../src/eval.c:3027
#19 0x00005555558902a5 in exec_byte_code (bytestr=XIL(0x7ffff2c1ad9c), vector=XIL(0x7ffff2c1a50d), maxdepth=make_fixnum(17), args_template=make_fixnum(769), nargs=3, args=0x7fffffffda58) at ../../src/bytecode.c:632
#20 0x0000555555830737 in fetch_and_exec_byte_code (fun=XIL(0x7ffff2c19a85), syms_left=make_fixnum(769), nargs=3, args=0x7fffffffda40) at ../../src/eval.c:3147
#21 0x0000555555830bfe in funcall_lambda (fun=XIL(0x7ffff2c19a85), nargs=3, arg_vector=0x7fffffffda40) at ../../src/eval.c:3228
#22 0x000055555582ff22 in Ffuncall (nargs=4, args=0x7fffffffda38) at ../../src/eval.c:3027
#23 0x0000555555823089 in Ffuncall_interactively (nargs=4, args=0x7fffffffda38) at ../../src/callint.c:260
#24 0x000055555583035c in funcall_subr (subr=0x555555e2c360 <Sfuncall_interactively>, numargs=4, args=0x7fffffffda38) at ../../src/eval.c:3078
#25 0x000055555582fece in Ffuncall (nargs=5, args=0x7fffffffda30) at ../../src/eval.c:3023
#26 0x000055555582ef43 in Fapply (nargs=3, args=0x7fffffffdc70) at ../../src/eval.c:2653
#27 0x000055555582352c in Fcall_interactively (function=XIL(0x2aaa9cd657f0), record_flag=XIL(0), keys=XIL(0x55555932ef0d)) at ../../src/callint.c:353
#28 0x00005555558304df in funcall_subr (subr=0x555555e2c3a0 <Scall_interactively>, numargs=3, args=0x7fffffffde20) at ../../src/eval.c:3103
#29 0x000055555582fece in Ffuncall (nargs=4, args=0x7fffffffde18) at ../../src/eval.c:3023
#30 0x00005555558902a5 in exec_byte_code (bytestr=XIL(0x7ffff29de9cc), vector=XIL(0x7ffff29de635), maxdepth=make_fixnum(13), args_template=make_fixnum(1025), nargs=1, args=0x7fffffffe370) at ../../src/bytecode.c:632
#31 0x0000555555830737 in fetch_and_exec_byte_code (fun=XIL(0x7ffff29de605), syms_left=make_fixnum(1025), nargs=1, args=0x7fffffffe368) at ../../src/eval.c:3147
#32 0x0000555555830bfe in funcall_lambda (fun=XIL(0x7ffff29de605), nargs=1, arg_vector=0x7fffffffe368) at ../../src/eval.c:3228
#33 0x000055555582ff22 in Ffuncall (nargs=2, args=0x7fffffffe360) at ../../src/eval.c:3027
#34 0x000055555582f6c4 in call1 (fn=XIL(0x4590), arg1=XIL(0x2aaa9cd657f0)) at ../../src/eval.c:2883
#35 0x0000555555745250 in command_loop_1 () at ../../src/keyboard.c:1505
#36 0x000055555582b52e in internal_condition_case (bfun=0x555555744987 <command_loop_1>, handlers=XIL(0x90), hfun=0x555555743d73 <cmd_error>) at ../../src/eval.c:1450
#37 0x0000555555744540 in command_loop_2 (handlers=XIL(0x90)) at ../../src/keyboard.c:1133
#38 0x000055555582a6c0 in internal_catch (tag=XIL(0xe850), func=0x555555744516 <command_loop_2>, arg=XIL(0x90)) at ../../src/eval.c:1181
#39 0x00005555557444e2 in command_loop () at ../../src/keyboard.c:1111
#40 0x000055555574381f in recursive_edit_1 () at ../../src/keyboard.c:720
#41 0x0000555555743a41 in Frecursive_edit () at ../../src/keyboard.c:803
#42 0x000055555573f4e1 in main (argc=7, argv=0x7fffffffe878) at ../../src/emacs.c:2354

Lisp Backtrace:
"x-close-connection" (0xffffc440)
"close-display-connection" (0xffffcc60)
"funcall-interactively" (0xffffcc58)
"call-interactively" (0xffffce00)
"command-execute" (0xffffd380)
"execute-extended-command" (0xffffda40)
"funcall-interactively" (0xffffda38)
"call-interactively" (0xffffde20)
"command-execute" (0xffffe368)
(gdb) cont
Continuing.

Thread 1 "emacs" hit Breakpoint 34, x_delete_display (dpyinfo=0x555556730260) at ../../src/xterm.c:13317
13317	  for (t = terminal_list; t; t = t->next_terminal)
(gdb) bt
#0  x_delete_display (dpyinfo=0x555556730260) at ../../src/xterm.c:13317
#1  0x000055555570cae6 in x_delete_terminal (terminal=0x555555f272b8) at ../../src/xterm.c:13523
#2  0x000055555571ce4b in Fx_close_connection (terminal=XIL(0x55555612ab64)) at ../../src/xfns.c:5786
#3  0x000055555583048c in funcall_subr (subr=0x555555e243a0 <Sx_close_connection>, numargs=1, args=0x7fffffffc440) at ../../src/eval.c:3098
#4  0x000055555582fece in Ffuncall (nargs=2, args=0x7fffffffc438) at ../../src/eval.c:3023
#5  0x00005555558902a5 in exec_byte_code (bytestr=XIL(0x7ffff2e7623c), vector=XIL(0x7ffff2e7609d), maxdepth=make_fixnum(7), args_template=make_fixnum(257), nargs=1, args=0x7fffffffcc68) at ../../src/bytecode.c:632
#6  0x0000555555830737 in fetch_and_exec_byte_code (fun=XIL(0x7ffff2e75f45), syms_left=make_fixnum(257), nargs=1, args=0x7fffffffcc60) at ../../src/eval.c:3147
#7  0x0000555555830bfe in funcall_lambda (fun=XIL(0x7ffff2e75f45), nargs=1, arg_vector=0x7fffffffcc60) at ../../src/eval.c:3228
#8  0x000055555582ff22 in Ffuncall (nargs=2, args=0x7fffffffcc58) at ../../src/eval.c:3027
#9  0x0000555555823089 in Ffuncall_interactively (nargs=2, args=0x7fffffffcc58) at ../../src/callint.c:260
#10 0x000055555583035c in funcall_subr (subr=0x555555e2c360 <Sfuncall_interactively>, numargs=2, args=0x7fffffffcc58) at ../../src/eval.c:3078
#11 0x000055555582fece in Ffuncall (nargs=3, args=0x7fffffffcc50) at ../../src/eval.c:3023
#12 0x000055555582eb6d in Fapply (nargs=3, args=0x7fffffffcc50) at ../../src/eval.c:2610
#13 0x000055555582352c in Fcall_interactively (function=XIL(0x2aaa9cfc1cd0), record_flag=XIL(0xc6c0), keys=XIL(0x5555567435f5)) at ../../src/callint.c:353
#14 0x00005555558304df in funcall_subr (subr=0x555555e2c3a0 <Scall_interactively>, numargs=3, args=0x7fffffffce00) at ../../src/eval.c:3103
#15 0x000055555582fece in Ffuncall (nargs=4, args=0x7fffffffcdf8) at ../../src/eval.c:3023
#16 0x00005555558902a5 in exec_byte_code (bytestr=XIL(0x7ffff29de9cc), vector=XIL(0x7ffff29de635), maxdepth=make_fixnum(13), args_template=make_fixnum(1025), nargs=2, args=0x7fffffffd390) at ../../src/bytecode.c:632
#17 0x0000555555830737 in fetch_and_exec_byte_code (fun=XIL(0x7ffff29de605), syms_left=make_fixnum(1025), nargs=2, args=0x7fffffffd380) at ../../src/eval.c:3147
#18 0x0000555555830bfe in funcall_lambda (fun=XIL(0x7ffff29de605), nargs=2, arg_vector=0x7fffffffd380) at ../../src/eval.c:3228
#19 0x000055555582ff22 in Ffuncall (nargs=3, args=0x7fffffffd378) at ../../src/eval.c:3027
#20 0x00005555558902a5 in exec_byte_code (bytestr=XIL(0x7ffff2c1ad9c), vector=XIL(0x7ffff2c1a50d), maxdepth=make_fixnum(17), args_template=make_fixnum(769), nargs=3, args=0x7fffffffda58) at ../../src/bytecode.c:632
#21 0x0000555555830737 in fetch_and_exec_byte_code (fun=XIL(0x7ffff2c19a85), syms_left=make_fixnum(769), nargs=3, args=0x7fffffffda40) at ../../src/eval.c:3147
#22 0x0000555555830bfe in funcall_lambda (fun=XIL(0x7ffff2c19a85), nargs=3, arg_vector=0x7fffffffda40) at ../../src/eval.c:3228
#23 0x000055555582ff22 in Ffuncall (nargs=4, args=0x7fffffffda38) at ../../src/eval.c:3027
#24 0x0000555555823089 in Ffuncall_interactively (nargs=4, args=0x7fffffffda38) at ../../src/callint.c:260
#25 0x000055555583035c in funcall_subr (subr=0x555555e2c360 <Sfuncall_interactively>, numargs=4, args=0x7fffffffda38) at ../../src/eval.c:3078
#26 0x000055555582fece in Ffuncall (nargs=5, args=0x7fffffffda30) at ../../src/eval.c:3023
#27 0x000055555582ef43 in Fapply (nargs=3, args=0x7fffffffdc70) at ../../src/eval.c:2653
#28 0x000055555582352c in Fcall_interactively (function=XIL(0x2aaa9cd657f0), record_flag=XIL(0), keys=XIL(0x55555932ef0d)) at ../../src/callint.c:353
#29 0x00005555558304df in funcall_subr (subr=0x555555e2c3a0 <Scall_interactively>, numargs=3, args=0x7fffffffde20) at ../../src/eval.c:3103
#30 0x000055555582fece in Ffuncall (nargs=4, args=0x7fffffffde18) at ../../src/eval.c:3023
#31 0x00005555558902a5 in exec_byte_code (bytestr=XIL(0x7ffff29de9cc), vector=XIL(0x7ffff29de635), maxdepth=make_fixnum(13), args_template=make_fixnum(1025), nargs=1, args=0x7fffffffe370) at ../../src/bytecode.c:632
#32 0x0000555555830737 in fetch_and_exec_byte_code (fun=XIL(0x7ffff29de605), syms_left=make_fixnum(1025), nargs=1, args=0x7fffffffe368) at ../../src/eval.c:3147
#33 0x0000555555830bfe in funcall_lambda (fun=XIL(0x7ffff29de605), nargs=1, arg_vector=0x7fffffffe368) at ../../src/eval.c:3228
#34 0x000055555582ff22 in Ffuncall (nargs=2, args=0x7fffffffe360) at ../../src/eval.c:3027
#35 0x000055555582f6c4 in call1 (fn=XIL(0x4590), arg1=XIL(0x2aaa9cd657f0)) at ../../src/eval.c:2883
#36 0x0000555555745250 in command_loop_1 () at ../../src/keyboard.c:1505
#37 0x000055555582b52e in internal_condition_case (bfun=0x555555744987 <command_loop_1>, handlers=XIL(0x90), hfun=0x555555743d73 <cmd_error>) at ../../src/eval.c:1450
#38 0x0000555555744540 in command_loop_2 (handlers=XIL(0x90)) at ../../src/keyboard.c:1133
#39 0x000055555582a6c0 in internal_catch (tag=XIL(0xe850), func=0x555555744516 <command_loop_2>, arg=XIL(0x90)) at ../../src/eval.c:1181
#40 0x00005555557444e2 in command_loop () at ../../src/keyboard.c:1111
#41 0x000055555574381f in recursive_edit_1 () at ../../src/keyboard.c:720
#42 0x0000555555743a41 in Frecursive_edit () at ../../src/keyboard.c:803
#43 0x000055555573f4e1 in main (argc=7, argv=0x7fffffffe878) at ../../src/emacs.c:2354

Lisp Backtrace:
"x-close-connection" (0xffffc440)
"close-display-connection" (0xffffcc60)
"funcall-interactively" (0xffffcc58)
"call-interactively" (0xffffce00)
"command-execute" (0xffffd380)
"execute-extended-command" (0xffffda40)
"funcall-interactively" (0xffffda38)
"call-interactively" (0xffffde20)
"command-execute" (0xffffe368)
(gdb) cont
Continuing.

Thread 1 "emacs" hit Breakpoint 35, delete_terminal (terminal=0x555555f272b8) at ../../src/terminal.c:319
319	  if (!terminal->name)
(gdb) bt
#0  delete_terminal (terminal=0x555555f272b8) at ../../src/terminal.c:319
#1  0x000055555570c82d in x_delete_display (dpyinfo=0x555556730260) at ../../src/xterm.c:13325
#2  0x000055555570cae6 in x_delete_terminal (terminal=0x555555f272b8) at ../../src/xterm.c:13523
#3  0x000055555571ce4b in Fx_close_connection (terminal=XIL(0x55555612ab64)) at ../../src/xfns.c:5786
#4  0x000055555583048c in funcall_subr (subr=0x555555e243a0 <Sx_close_connection>, numargs=1, args=0x7fffffffc440) at ../../src/eval.c:3098
#5  0x000055555582fece in Ffuncall (nargs=2, args=0x7fffffffc438) at ../../src/eval.c:3023
#6  0x00005555558902a5 in exec_byte_code (bytestr=XIL(0x7ffff2e7623c), vector=XIL(0x7ffff2e7609d), maxdepth=make_fixnum(7), args_template=make_fixnum(257), nargs=1, args=0x7fffffffcc68) at ../../src/bytecode.c:632
#7  0x0000555555830737 in fetch_and_exec_byte_code (fun=XIL(0x7ffff2e75f45), syms_left=make_fixnum(257), nargs=1, args=0x7fffffffcc60) at ../../src/eval.c:3147
#8  0x0000555555830bfe in funcall_lambda (fun=XIL(0x7ffff2e75f45), nargs=1, arg_vector=0x7fffffffcc60) at ../../src/eval.c:3228
#9  0x000055555582ff22 in Ffuncall (nargs=2, args=0x7fffffffcc58) at ../../src/eval.c:3027
#10 0x0000555555823089 in Ffuncall_interactively (nargs=2, args=0x7fffffffcc58) at ../../src/callint.c:260
#11 0x000055555583035c in funcall_subr (subr=0x555555e2c360 <Sfuncall_interactively>, numargs=2, args=0x7fffffffcc58) at ../../src/eval.c:3078
#12 0x000055555582fece in Ffuncall (nargs=3, args=0x7fffffffcc50) at ../../src/eval.c:3023
#13 0x000055555582eb6d in Fapply (nargs=3, args=0x7fffffffcc50) at ../../src/eval.c:2610
#14 0x000055555582352c in Fcall_interactively (function=XIL(0x2aaa9cfc1cd0), record_flag=XIL(0xc6c0), keys=XIL(0x5555567435f5)) at ../../src/callint.c:353
#15 0x00005555558304df in funcall_subr (subr=0x555555e2c3a0 <Scall_interactively>, numargs=3, args=0x7fffffffce00) at ../../src/eval.c:3103
#16 0x000055555582fece in Ffuncall (nargs=4, args=0x7fffffffcdf8) at ../../src/eval.c:3023
#17 0x00005555558902a5 in exec_byte_code (bytestr=XIL(0x7ffff29de9cc), vector=XIL(0x7ffff29de635), maxdepth=make_fixnum(13), args_template=make_fixnum(1025), nargs=2, args=0x7fffffffd390) at ../../src/bytecode.c:632
#18 0x0000555555830737 in fetch_and_exec_byte_code (fun=XIL(0x7ffff29de605), syms_left=make_fixnum(1025), nargs=2, args=0x7fffffffd380) at ../../src/eval.c:3147
#19 0x0000555555830bfe in funcall_lambda (fun=XIL(0x7ffff29de605), nargs=2, arg_vector=0x7fffffffd380) at ../../src/eval.c:3228
#20 0x000055555582ff22 in Ffuncall (nargs=3, args=0x7fffffffd378) at ../../src/eval.c:3027
#21 0x00005555558902a5 in exec_byte_code (bytestr=XIL(0x7ffff2c1ad9c), vector=XIL(0x7ffff2c1a50d), maxdepth=make_fixnum(17), args_template=make_fixnum(769), nargs=3, args=0x7fffffffda58) at ../../src/bytecode.c:632
#22 0x0000555555830737 in fetch_and_exec_byte_code (fun=XIL(0x7ffff2c19a85), syms_left=make_fixnum(769), nargs=3, args=0x7fffffffda40) at ../../src/eval.c:3147
#23 0x0000555555830bfe in funcall_lambda (fun=XIL(0x7ffff2c19a85), nargs=3, arg_vector=0x7fffffffda40) at ../../src/eval.c:3228
#24 0x000055555582ff22 in Ffuncall (nargs=4, args=0x7fffffffda38) at ../../src/eval.c:3027
#25 0x0000555555823089 in Ffuncall_interactively (nargs=4, args=0x7fffffffda38) at ../../src/callint.c:260
#26 0x000055555583035c in funcall_subr (subr=0x555555e2c360 <Sfuncall_interactively>, numargs=4, args=0x7fffffffda38) at ../../src/eval.c:3078
#27 0x000055555582fece in Ffuncall (nargs=5, args=0x7fffffffda30) at ../../src/eval.c:3023
#28 0x000055555582ef43 in Fapply (nargs=3, args=0x7fffffffdc70) at ../../src/eval.c:2653
#29 0x000055555582352c in Fcall_interactively (function=XIL(0x2aaa9cd657f0), record_flag=XIL(0), keys=XIL(0x55555932ef0d)) at ../../src/callint.c:353
#30 0x00005555558304df in funcall_subr (subr=0x555555e2c3a0 <Scall_interactively>, numargs=3, args=0x7fffffffde20) at ../../src/eval.c:3103
#31 0x000055555582fece in Ffuncall (nargs=4, args=0x7fffffffde18) at ../../src/eval.c:3023
#32 0x00005555558902a5 in exec_byte_code (bytestr=XIL(0x7ffff29de9cc), vector=XIL(0x7ffff29de635), maxdepth=make_fixnum(13), args_template=make_fixnum(1025), nargs=1, args=0x7fffffffe370) at ../../src/bytecode.c:632
#33 0x0000555555830737 in fetch_and_exec_byte_code (fun=XIL(0x7ffff29de605), syms_left=make_fixnum(1025), nargs=1, args=0x7fffffffe368) at ../../src/eval.c:3147
#34 0x0000555555830bfe in funcall_lambda (fun=XIL(0x7ffff29de605), nargs=1, arg_vector=0x7fffffffe368) at ../../src/eval.c:3228
#35 0x000055555582ff22 in Ffuncall (nargs=2, args=0x7fffffffe360) at ../../src/eval.c:3027
#36 0x000055555582f6c4 in call1 (fn=XIL(0x4590), arg1=XIL(0x2aaa9cd657f0)) at ../../src/eval.c:2883
#37 0x0000555555745250 in command_loop_1 () at ../../src/keyboard.c:1505
#38 0x000055555582b52e in internal_condition_case (bfun=0x555555744987 <command_loop_1>, handlers=XIL(0x90), hfun=0x555555743d73 <cmd_error>) at ../../src/eval.c:1450
#39 0x0000555555744540 in command_loop_2 (handlers=XIL(0x90)) at ../../src/keyboard.c:1133
#40 0x000055555582a6c0 in internal_catch (tag=XIL(0xe850), func=0x555555744516 <command_loop_2>, arg=XIL(0x90)) at ../../src/eval.c:1181
#41 0x00005555557444e2 in command_loop () at ../../src/keyboard.c:1111
#42 0x000055555574381f in recursive_edit_1 () at ../../src/keyboard.c:720
#43 0x0000555555743a41 in Frecursive_edit () at ../../src/keyboard.c:803
#44 0x000055555573f4e1 in main (argc=7, argv=0x7fffffffe878) at ../../src/emacs.c:2354

Lisp Backtrace:
"x-close-connection" (0xffffc440)
"close-display-connection" (0xffffcc60)
"funcall-interactively" (0xffffcc58)
"call-interactively" (0xffffce00)
"command-execute" (0xffffd380)
"execute-extended-command" (0xffffda40)
"funcall-interactively" (0xffffda38)
"call-interactively" (0xffffde20)
"command-execute" (0xffffe368)
(gdb) cont
Continuing.

Thread 1 "emacs" hit Breakpoint 2, x_error_quitter (display=0x5555560e7fc0, event=0x7fffffffc5d0) at ../../src/xterm.c:10285
10285	{
(gdb) bt
#0  x_error_quitter (display=0x5555560e7fc0, event=0x7fffffffc5d0) at ../../src/xterm.c:10285
#1  0x0000555555705c8a in x_error_handler (display=0x5555560e7fc0, event=0x7fffffffc5d0) at ../../src/xterm.c:10273
#2  0x00007ffff7bfc6a5 in _XError () at /usr/lib/libX11.so.6
#3  0x00007ffff7bfc7a8 in  () at /usr/lib/libX11.so.6
#4  0x00007ffff7bfc845 in  () at /usr/lib/libX11.so.6
#5  0x00007ffff7bfc91a in _XEventsQueued () at /usr/lib/libX11.so.6
#6  0x00007ffff7be8cc2 in XPending () at /usr/lib/libX11.so.6
#7  0x0000555555703bc2 in XTread_socket (terminal=0x5555560361f8, hold_quit=0x7fffffffc8c0) at ../../src/xterm.c:9492
#8  0x00005555557554c7 in gobble_input () at ../../src/keyboard.c:6980
#9  0x0000555555755ac5 in handle_async_input () at ../../src/keyboard.c:7211
#10 0x0000555555755ae4 in process_pending_signals () at ../../src/keyboard.c:7225
#11 0x000055555582be90 in maybe_quit () at ../../src/eval.c:1724
#12 0x000055555582fd5e in Ffuncall (nargs=4, args=0x7fffffffc9d0) at ../../src/eval.c:2995
#13 0x00005555558902a5 in exec_byte_code (bytestr=XIL(0x7ffff295812c), vector=XIL(0x7ffff2957fdd), maxdepth=make_fixnum(5), args_template=make_fixnum(257), nargs=1, args=0x7fffffffce98) at ../../src/bytecode.c:632
#14 0x0000555555830737 in fetch_and_exec_byte_code (fun=XIL(0x7ffff2957fad), syms_left=make_fixnum(257), nargs=1, args=0x7fffffffce90) at ../../src/eval.c:3147
#15 0x0000555555830bfe in funcall_lambda (fun=XIL(0x7ffff2957fad), nargs=1, arg_vector=0x7fffffffce90) at ../../src/eval.c:3228
#16 0x000055555582ff22 in Ffuncall (nargs=2, args=0x7fffffffce88) at ../../src/eval.c:3027
#17 0x00005555558902a5 in exec_byte_code (bytestr=XIL(0x7ffff295d92c), vector=XIL(0x7ffff295d86d), maxdepth=make_fixnum(6), args_template=make_fixnum(257), nargs=1, args=0x7fffffffd388) at ../../src/bytecode.c:632
#18 0x0000555555830737 in fetch_and_exec_byte_code (fun=XIL(0x7ffff295d83d), syms_left=make_fixnum(257), nargs=1, args=0x7fffffffd380) at ../../src/eval.c:3147
#19 0x0000555555830bfe in funcall_lambda (fun=XIL(0x7ffff295d83d), nargs=1, arg_vector=0x7fffffffd380) at ../../src/eval.c:3228
#20 0x000055555582ff22 in Ffuncall (nargs=2, args=0x7fffffffd378) at ../../src/eval.c:3027
#21 0x00005555558902a5 in exec_byte_code (bytestr=XIL(0x7ffff2c1ad9c), vector=XIL(0x7ffff2c1a50d), maxdepth=make_fixnum(17), args_template=make_fixnum(769), nargs=3, args=0x7fffffffda58) at ../../src/bytecode.c:632
#22 0x0000555555830737 in fetch_and_exec_byte_code (fun=XIL(0x7ffff2c19a85), syms_left=make_fixnum(769), nargs=3, args=0x7fffffffda40) at ../../src/eval.c:3147
#23 0x0000555555830bfe in funcall_lambda (fun=XIL(0x7ffff2c19a85), nargs=3, arg_vector=0x7fffffffda40) at ../../src/eval.c:3228
#24 0x000055555582ff22 in Ffuncall (nargs=4, args=0x7fffffffda38) at ../../src/eval.c:3027
#25 0x0000555555823089 in Ffuncall_interactively (nargs=4, args=0x7fffffffda38) at ../../src/callint.c:260
#26 0x000055555583035c in funcall_subr (subr=0x555555e2c360 <Sfuncall_interactively>, numargs=4, args=0x7fffffffda38) at ../../src/eval.c:3078
#27 0x000055555582fece in Ffuncall (nargs=5, args=0x7fffffffda30) at ../../src/eval.c:3023
#28 0x000055555582ef43 in Fapply (nargs=3, args=0x7fffffffdc70) at ../../src/eval.c:2653
#29 0x000055555582352c in Fcall_interactively (function=XIL(0x2aaa9cd657f0), record_flag=XIL(0), keys=XIL(0x55555932ef0d)) at ../../src/callint.c:353
#30 0x00005555558304df in funcall_subr (subr=0x555555e2c3a0 <Scall_interactively>, numargs=3, args=0x7fffffffde20) at ../../src/eval.c:3103
#31 0x000055555582fece in Ffuncall (nargs=4, args=0x7fffffffde18) at ../../src/eval.c:3023
#32 0x00005555558902a5 in exec_byte_code (bytestr=XIL(0x7ffff29de9cc), vector=XIL(0x7ffff29de635), maxdepth=make_fixnum(13), args_template=make_fixnum(1025), nargs=1, args=0x7fffffffe370) at ../../src/bytecode.c:632
#33 0x0000555555830737 in fetch_and_exec_byte_code (fun=XIL(0x7ffff29de605), syms_left=make_fixnum(1025), nargs=1, args=0x7fffffffe368) at ../../src/eval.c:3147
#34 0x0000555555830bfe in funcall_lambda (fun=XIL(0x7ffff29de605), nargs=1, arg_vector=0x7fffffffe368) at ../../src/eval.c:3228
#35 0x000055555582ff22 in Ffuncall (nargs=2, args=0x7fffffffe360) at ../../src/eval.c:3027
#36 0x000055555582f6c4 in call1 (fn=XIL(0x4590), arg1=XIL(0x2aaa9cd657f0)) at ../../src/eval.c:2883
#37 0x0000555555745250 in command_loop_1 () at ../../src/keyboard.c:1505
#38 0x000055555582b52e in internal_condition_case (bfun=0x555555744987 <command_loop_1>, handlers=XIL(0x90), hfun=0x555555743d73 <cmd_error>) at ../../src/eval.c:1450
#39 0x0000555555744540 in command_loop_2 (handlers=XIL(0x90)) at ../../src/keyboard.c:1133
#40 0x000055555582a6c0 in internal_catch (tag=XIL(0xe850), func=0x555555744516 <command_loop_2>, arg=XIL(0x90)) at ../../src/eval.c:1181
#41 0x00005555557444e2 in command_loop () at ../../src/keyboard.c:1111
#42 0x000055555574381f in recursive_edit_1 () at ../../src/keyboard.c:720
#43 0x0000555555743a41 in Frecursive_edit () at ../../src/keyboard.c:803
#44 0x000055555573f4e1 in main (argc=7, argv=0x7fffffffe878) at ../../src/emacs.c:2354

Lisp Backtrace:
"timerp" (0xffffce90)
"cancel-timer" (0xffffd380)
"execute-extended-command" (0xffffda40)
"funcall-interactively" (0xffffda38)
"call-interactively" (0xffffde20)
"command-execute" (0xffffe368)
(gdb) cont
Continuing.

Thread 1 "emacs" hit Breakpoint 36, delete_frame (frame=XIL(0x5555561ef7e5), force=XIL(0xb2e0)) at ../../src/frame.c:1965
1965	  struct frame *f = decode_any_frame (frame);
(gdb) bt
#0  delete_frame (frame=XIL(0x5555561ef7e5), force=XIL(0xb2e0)) at ../../src/frame.c:1965
#1  0x0000555555705a38 in x_connection_closed (dpy=0x5555560e7fc0, error_message=0x7fffffffc420 "X protocol error: RenderBadGlyph (invalid Glyph parameter) on protocol request 139", ioerror=false) at ../../src/xterm.c:10197
#2  0x0000555555705d3f in x_error_quitter (display=0x5555560e7fc0, event=0x7fffffffc5d0) at ../../src/xterm.c:10300
#3  0x0000555555705c8a in x_error_handler (display=0x5555560e7fc0, event=0x7fffffffc5d0) at ../../src/xterm.c:10273
#4  0x00007ffff7bfc6a5 in _XError () at /usr/lib/libX11.so.6
#5  0x00007ffff7bfc7a8 in  () at /usr/lib/libX11.so.6
#6  0x00007ffff7bfc845 in  () at /usr/lib/libX11.so.6
#7  0x00007ffff7bfc91a in _XEventsQueued () at /usr/lib/libX11.so.6
#8  0x00007ffff7be8cc2 in XPending () at /usr/lib/libX11.so.6
#9  0x0000555555703bc2 in XTread_socket (terminal=0x5555560361f8, hold_quit=0x7fffffffc8c0) at ../../src/xterm.c:9492
#10 0x00005555557554c7 in gobble_input () at ../../src/keyboard.c:6980
#11 0x0000555555755ac5 in handle_async_input () at ../../src/keyboard.c:7211
#12 0x0000555555755ae4 in process_pending_signals () at ../../src/keyboard.c:7225
#13 0x000055555582be90 in maybe_quit () at ../../src/eval.c:1724
#14 0x000055555582fd5e in Ffuncall (nargs=4, args=0x7fffffffc9d0) at ../../src/eval.c:2995
#15 0x00005555558902a5 in exec_byte_code (bytestr=XIL(0x7ffff295812c), vector=XIL(0x7ffff2957fdd), maxdepth=make_fixnum(5), args_template=make_fixnum(257), nargs=1, args=0x7fffffffce98) at ../../src/bytecode.c:632
#16 0x0000555555830737 in fetch_and_exec_byte_code (fun=XIL(0x7ffff2957fad), syms_left=make_fixnum(257), nargs=1, args=0x7fffffffce90) at ../../src/eval.c:3147
#17 0x0000555555830bfe in funcall_lambda (fun=XIL(0x7ffff2957fad), nargs=1, arg_vector=0x7fffffffce90) at ../../src/eval.c:3228
#18 0x000055555582ff22 in Ffuncall (nargs=2, args=0x7fffffffce88) at ../../src/eval.c:3027
#19 0x00005555558902a5 in exec_byte_code (bytestr=XIL(0x7ffff295d92c), vector=XIL(0x7ffff295d86d), maxdepth=make_fixnum(6), args_template=make_fixnum(257), nargs=1, args=0x7fffffffd388) at ../../src/bytecode.c:632
#20 0x0000555555830737 in fetch_and_exec_byte_code (fun=XIL(0x7ffff295d83d), syms_left=make_fixnum(257), nargs=1, args=0x7fffffffd380) at ../../src/eval.c:3147
#21 0x0000555555830bfe in funcall_lambda (fun=XIL(0x7ffff295d83d), nargs=1, arg_vector=0x7fffffffd380) at ../../src/eval.c:3228
#22 0x000055555582ff22 in Ffuncall (nargs=2, args=0x7fffffffd378) at ../../src/eval.c:3027
#23 0x00005555558902a5 in exec_byte_code (bytestr=XIL(0x7ffff2c1ad9c), vector=XIL(0x7ffff2c1a50d), maxdepth=make_fixnum(17), args_template=make_fixnum(769), nargs=3, args=0x7fffffffda58) at ../../src/bytecode.c:632
#24 0x0000555555830737 in fetch_and_exec_byte_code (fun=XIL(0x7ffff2c19a85), syms_left=make_fixnum(769), nargs=3, args=0x7fffffffda40) at ../../src/eval.c:3147
#25 0x0000555555830bfe in funcall_lambda (fun=XIL(0x7ffff2c19a85), nargs=3, arg_vector=0x7fffffffda40) at ../../src/eval.c:3228
#26 0x000055555582ff22 in Ffuncall (nargs=4, args=0x7fffffffda38) at ../../src/eval.c:3027
#27 0x0000555555823089 in Ffuncall_interactively (nargs=4, args=0x7fffffffda38) at ../../src/callint.c:260
#28 0x000055555583035c in funcall_subr (subr=0x555555e2c360 <Sfuncall_interactively>, numargs=4, args=0x7fffffffda38) at ../../src/eval.c:3078
#29 0x000055555582fece in Ffuncall (nargs=5, args=0x7fffffffda30) at ../../src/eval.c:3023
#30 0x000055555582ef43 in Fapply (nargs=3, args=0x7fffffffdc70) at ../../src/eval.c:2653
#31 0x000055555582352c in Fcall_interactively (function=XIL(0x2aaa9cd657f0), record_flag=XIL(0), keys=XIL(0x55555932ef0d)) at ../../src/callint.c:353
#32 0x00005555558304df in funcall_subr (subr=0x555555e2c3a0 <Scall_interactively>, numargs=3, args=0x7fffffffde20) at ../../src/eval.c:3103
#33 0x000055555582fece in Ffuncall (nargs=4, args=0x7fffffffde18) at ../../src/eval.c:3023
#34 0x00005555558902a5 in exec_byte_code (bytestr=XIL(0x7ffff29de9cc), vector=XIL(0x7ffff29de635), maxdepth=make_fixnum(13), args_template=make_fixnum(1025), nargs=1, args=0x7fffffffe370) at ../../src/bytecode.c:632
#35 0x0000555555830737 in fetch_and_exec_byte_code (fun=XIL(0x7ffff29de605), syms_left=make_fixnum(1025), nargs=1, args=0x7fffffffe368) at ../../src/eval.c:3147
#36 0x0000555555830bfe in funcall_lambda (fun=XIL(0x7ffff29de605), nargs=1, arg_vector=0x7fffffffe368) at ../../src/eval.c:3228
#37 0x000055555582ff22 in Ffuncall (nargs=2, args=0x7fffffffe360) at ../../src/eval.c:3027
#38 0x000055555582f6c4 in call1 (fn=XIL(0x4590), arg1=XIL(0x2aaa9cd657f0)) at ../../src/eval.c:2883
#39 0x0000555555745250 in command_loop_1 () at ../../src/keyboard.c:1505
#40 0x000055555582b52e in internal_condition_case (bfun=0x555555744987 <command_loop_1>, handlers=XIL(0x90), hfun=0x555555743d73 <cmd_error>) at ../../src/eval.c:1450
#41 0x0000555555744540 in command_loop_2 (handlers=XIL(0x90)) at ../../src/keyboard.c:1133
#42 0x000055555582a6c0 in internal_catch (tag=XIL(0xe850), func=0x555555744516 <command_loop_2>, arg=XIL(0x90)) at ../../src/eval.c:1181
#43 0x00005555557444e2 in command_loop () at ../../src/keyboard.c:1111
#44 0x000055555574381f in recursive_edit_1 () at ../../src/keyboard.c:720
#45 0x0000555555743a41 in Frecursive_edit () at ../../src/keyboard.c:803
#46 0x000055555573f4e1 in main (argc=7, argv=0x7fffffffe878) at ../../src/emacs.c:2354

Lisp Backtrace:
"timerp" (0xffffce90)
"cancel-timer" (0xffffd380)
"execute-extended-command" (0xffffda40)
"funcall-interactively" (0xffffda38)
"call-interactively" (0xffffde20)
"command-execute" (0xffffe368)
(gdb) cont
Continuing.

Thread 1 "emacs" hit Breakpoint 15, x_connection_closed (dpy=0x5555560e7fc0, error_message=0x7fffffffc420 "X protocol error: RenderBadGlyph (invalid Glyph parameter) on protocol request 139", ioerror=false) at ../../src/xterm.c:10222
10222	      dpyinfo->display = 0;
(gdb) bt
#0  x_connection_closed (dpy=0x5555560e7fc0, error_message=0x7fffffffc420 "X protocol error: RenderBadGlyph (invalid Glyph parameter) on protocol request 139", ioerror=false) at ../../src/xterm.c:10222
#1  0x0000555555705d3f in x_error_quitter (display=0x5555560e7fc0, event=0x7fffffffc5d0) at ../../src/xterm.c:10300
#2  0x0000555555705c8a in x_error_handler (display=0x5555560e7fc0, event=0x7fffffffc5d0) at ../../src/xterm.c:10273
#3  0x00007ffff7bfc6a5 in _XError () at /usr/lib/libX11.so.6
#4  0x00007ffff7bfc7a8 in  () at /usr/lib/libX11.so.6
#5  0x00007ffff7bfc845 in  () at /usr/lib/libX11.so.6
#6  0x00007ffff7bfc91a in _XEventsQueued () at /usr/lib/libX11.so.6
#7  0x00007ffff7be8cc2 in XPending () at /usr/lib/libX11.so.6
#8  0x0000555555703bc2 in XTread_socket (terminal=0x5555560361f8, hold_quit=0x7fffffffc8c0) at ../../src/xterm.c:9492
#9  0x00005555557554c7 in gobble_input () at ../../src/keyboard.c:6980
#10 0x0000555555755ac5 in handle_async_input () at ../../src/keyboard.c:7211
#11 0x0000555555755ae4 in process_pending_signals () at ../../src/keyboard.c:7225
#12 0x000055555582be90 in maybe_quit () at ../../src/eval.c:1724
#13 0x000055555582fd5e in Ffuncall (nargs=4, args=0x7fffffffc9d0) at ../../src/eval.c:2995
#14 0x00005555558902a5 in exec_byte_code (bytestr=XIL(0x7ffff295812c), vector=XIL(0x7ffff2957fdd), maxdepth=make_fixnum(5), args_template=make_fixnum(257), nargs=1, args=0x7fffffffce98) at ../../src/bytecode.c:632
#15 0x0000555555830737 in fetch_and_exec_byte_code (fun=XIL(0x7ffff2957fad), syms_left=make_fixnum(257), nargs=1, args=0x7fffffffce90) at ../../src/eval.c:3147
#16 0x0000555555830bfe in funcall_lambda (fun=XIL(0x7ffff2957fad), nargs=1, arg_vector=0x7fffffffce90) at ../../src/eval.c:3228
#17 0x000055555582ff22 in Ffuncall (nargs=2, args=0x7fffffffce88) at ../../src/eval.c:3027
#18 0x00005555558902a5 in exec_byte_code (bytestr=XIL(0x7ffff295d92c), vector=XIL(0x7ffff295d86d), maxdepth=make_fixnum(6), args_template=make_fixnum(257), nargs=1, args=0x7fffffffd388) at ../../src/bytecode.c:632
#19 0x0000555555830737 in fetch_and_exec_byte_code (fun=XIL(0x7ffff295d83d), syms_left=make_fixnum(257), nargs=1, args=0x7fffffffd380) at ../../src/eval.c:3147
#20 0x0000555555830bfe in funcall_lambda (fun=XIL(0x7ffff295d83d), nargs=1, arg_vector=0x7fffffffd380) at ../../src/eval.c:3228
#21 0x000055555582ff22 in Ffuncall (nargs=2, args=0x7fffffffd378) at ../../src/eval.c:3027
#22 0x00005555558902a5 in exec_byte_code (bytestr=XIL(0x7ffff2c1ad9c), vector=XIL(0x7ffff2c1a50d), maxdepth=make_fixnum(17), args_template=make_fixnum(769), nargs=3, args=0x7fffffffda58) at ../../src/bytecode.c:632
#23 0x0000555555830737 in fetch_and_exec_byte_code (fun=XIL(0x7ffff2c19a85), syms_left=make_fixnum(769), nargs=3, args=0x7fffffffda40) at ../../src/eval.c:3147
#24 0x0000555555830bfe in funcall_lambda (fun=XIL(0x7ffff2c19a85), nargs=3, arg_vector=0x7fffffffda40) at ../../src/eval.c:3228
#25 0x000055555582ff22 in Ffuncall (nargs=4, args=0x7fffffffda38) at ../../src/eval.c:3027
#26 0x0000555555823089 in Ffuncall_interactively (nargs=4, args=0x7fffffffda38) at ../../src/callint.c:260
#27 0x000055555583035c in funcall_subr (subr=0x555555e2c360 <Sfuncall_interactively>, numargs=4, args=0x7fffffffda38) at ../../src/eval.c:3078
#28 0x000055555582fece in Ffuncall (nargs=5, args=0x7fffffffda30) at ../../src/eval.c:3023
#29 0x000055555582ef43 in Fapply (nargs=3, args=0x7fffffffdc70) at ../../src/eval.c:2653
#30 0x000055555582352c in Fcall_interactively (function=XIL(0x2aaa9cd657f0), record_flag=XIL(0), keys=XIL(0x55555932ef0d)) at ../../src/callint.c:353
#31 0x00005555558304df in funcall_subr (subr=0x555555e2c3a0 <Scall_interactively>, numargs=3, args=0x7fffffffde20) at ../../src/eval.c:3103
#32 0x000055555582fece in Ffuncall (nargs=4, args=0x7fffffffde18) at ../../src/eval.c:3023
#33 0x00005555558902a5 in exec_byte_code (bytestr=XIL(0x7ffff29de9cc), vector=XIL(0x7ffff29de635), maxdepth=make_fixnum(13), args_template=make_fixnum(1025), nargs=1, args=0x7fffffffe370) at ../../src/bytecode.c:632
#34 0x0000555555830737 in fetch_and_exec_byte_code (fun=XIL(0x7ffff29de605), syms_left=make_fixnum(1025), nargs=1, args=0x7fffffffe368) at ../../src/eval.c:3147
#35 0x0000555555830bfe in funcall_lambda (fun=XIL(0x7ffff29de605), nargs=1, arg_vector=0x7fffffffe368) at ../../src/eval.c:3228
#36 0x000055555582ff22 in Ffuncall (nargs=2, args=0x7fffffffe360) at ../../src/eval.c:3027
#37 0x000055555582f6c4 in call1 (fn=XIL(0x4590), arg1=XIL(0x2aaa9cd657f0)) at ../../src/eval.c:2883
#38 0x0000555555745250 in command_loop_1 () at ../../src/keyboard.c:1505
#39 0x000055555582b52e in internal_condition_case (bfun=0x555555744987 <command_loop_1>, handlers=XIL(0x90), hfun=0x555555743d73 <cmd_error>) at ../../src/eval.c:1450
#40 0x0000555555744540 in command_loop_2 (handlers=XIL(0x90)) at ../../src/keyboard.c:1133
#41 0x000055555582a6c0 in internal_catch (tag=XIL(0xe850), func=0x555555744516 <command_loop_2>, arg=XIL(0x90)) at ../../src/eval.c:1181
#42 0x00005555557444e2 in command_loop () at ../../src/keyboard.c:1111
#43 0x000055555574381f in recursive_edit_1 () at ../../src/keyboard.c:720
#44 0x0000555555743a41 in Frecursive_edit () at ../../src/keyboard.c:803
#45 0x000055555573f4e1 in main (argc=7, argv=0x7fffffffe878) at ../../src/emacs.c:2354

Lisp Backtrace:
"timerp" (0xffffce90)
"cancel-timer" (0xffffd380)
"execute-extended-command" (0xffffda40)
"funcall-interactively" (0xffffda38)
"call-interactively" (0xffffde20)
"command-execute" (0xffffe368)
(gdb) cont
Continuing.

Thread 1 "emacs" hit Breakpoint 33, x_delete_terminal (terminal=0x5555560361f8) at ../../src/xterm.c:13450
13450	  struct x_display_info *dpyinfo = terminal->display_info.x;
(gdb) bt
#0  x_delete_terminal (terminal=0x5555560361f8) at ../../src/xterm.c:13450
#1  0x00005555556d5b55 in Fdelete_terminal (terminal=XIL(0x5555560361fd), force=XIL(0xb2e0)) at ../../src/terminal.c:395
#2  0x0000555555705bb5 in x_connection_closed (dpy=0x5555560e7fc0, error_message=0x7fffffffc420 "X protocol error: RenderBadGlyph (invalid Glyph parameter) on protocol request 139", ioerror=false) at ../../src/xterm.c:10233
#3  0x0000555555705d3f in x_error_quitter (display=0x5555560e7fc0, event=0x7fffffffc5d0) at ../../src/xterm.c:10300
#4  0x0000555555705c8a in x_error_handler (display=0x5555560e7fc0, event=0x7fffffffc5d0) at ../../src/xterm.c:10273
#5  0x00007ffff7bfc6a5 in _XError () at /usr/lib/libX11.so.6
#6  0x00007ffff7bfc7a8 in  () at /usr/lib/libX11.so.6
#7  0x00007ffff7bfc845 in  () at /usr/lib/libX11.so.6
#8  0x00007ffff7bfc91a in _XEventsQueued () at /usr/lib/libX11.so.6
#9  0x00007ffff7be8cc2 in XPending () at /usr/lib/libX11.so.6
#10 0x0000555555703bc2 in XTread_socket (terminal=0x5555560361f8, hold_quit=0x7fffffffc8c0) at ../../src/xterm.c:9492
#11 0x00005555557554c7 in gobble_input () at ../../src/keyboard.c:6980
#12 0x0000555555755ac5 in handle_async_input () at ../../src/keyboard.c:7211
#13 0x0000555555755ae4 in process_pending_signals () at ../../src/keyboard.c:7225
#14 0x000055555582be90 in maybe_quit () at ../../src/eval.c:1724
#15 0x000055555582fd5e in Ffuncall (nargs=4, args=0x7fffffffc9d0) at ../../src/eval.c:2995
#16 0x00005555558902a5 in exec_byte_code (bytestr=XIL(0x7ffff295812c), vector=XIL(0x7ffff2957fdd), maxdepth=make_fixnum(5), args_template=make_fixnum(257), nargs=1, args=0x7fffffffce98) at ../../src/bytecode.c:632
#17 0x0000555555830737 in fetch_and_exec_byte_code (fun=XIL(0x7ffff2957fad), syms_left=make_fixnum(257), nargs=1, args=0x7fffffffce90) at ../../src/eval.c:3147
#18 0x0000555555830bfe in funcall_lambda (fun=XIL(0x7ffff2957fad), nargs=1, arg_vector=0x7fffffffce90) at ../../src/eval.c:3228
#19 0x000055555582ff22 in Ffuncall (nargs=2, args=0x7fffffffce88) at ../../src/eval.c:3027
#20 0x00005555558902a5 in exec_byte_code (bytestr=XIL(0x7ffff295d92c), vector=XIL(0x7ffff295d86d), maxdepth=make_fixnum(6), args_template=make_fixnum(257), nargs=1, args=0x7fffffffd388) at ../../src/bytecode.c:632
#21 0x0000555555830737 in fetch_and_exec_byte_code (fun=XIL(0x7ffff295d83d), syms_left=make_fixnum(257), nargs=1, args=0x7fffffffd380) at ../../src/eval.c:3147
#22 0x0000555555830bfe in funcall_lambda (fun=XIL(0x7ffff295d83d), nargs=1, arg_vector=0x7fffffffd380) at ../../src/eval.c:3228
#23 0x000055555582ff22 in Ffuncall (nargs=2, args=0x7fffffffd378) at ../../src/eval.c:3027
#24 0x00005555558902a5 in exec_byte_code (bytestr=XIL(0x7ffff2c1ad9c), vector=XIL(0x7ffff2c1a50d), maxdepth=make_fixnum(17), args_template=make_fixnum(769), nargs=3, args=0x7fffffffda58) at ../../src/bytecode.c:632
#25 0x0000555555830737 in fetch_and_exec_byte_code (fun=XIL(0x7ffff2c19a85), syms_left=make_fixnum(769), nargs=3, args=0x7fffffffda40) at ../../src/eval.c:3147
#26 0x0000555555830bfe in funcall_lambda (fun=XIL(0x7ffff2c19a85), nargs=3, arg_vector=0x7fffffffda40) at ../../src/eval.c:3228
#27 0x000055555582ff22 in Ffuncall (nargs=4, args=0x7fffffffda38) at ../../src/eval.c:3027
#28 0x0000555555823089 in Ffuncall_interactively (nargs=4, args=0x7fffffffda38) at ../../src/callint.c:260
#29 0x000055555583035c in funcall_subr (subr=0x555555e2c360 <Sfuncall_interactively>, numargs=4, args=0x7fffffffda38) at ../../src/eval.c:3078
#30 0x000055555582fece in Ffuncall (nargs=5, args=0x7fffffffda30) at ../../src/eval.c:3023
#31 0x000055555582ef43 in Fapply (nargs=3, args=0x7fffffffdc70) at ../../src/eval.c:2653
#32 0x000055555582352c in Fcall_interactively (function=XIL(0x2aaa9cd657f0), record_flag=XIL(0), keys=XIL(0x55555932ef0d)) at ../../src/callint.c:353
#33 0x00005555558304df in funcall_subr (subr=0x555555e2c3a0 <Scall_interactively>, numargs=3, args=0x7fffffffde20) at ../../src/eval.c:3103
#34 0x000055555582fece in Ffuncall (nargs=4, args=0x7fffffffde18) at ../../src/eval.c:3023
#35 0x00005555558902a5 in exec_byte_code (bytestr=XIL(0x7ffff29de9cc), vector=XIL(0x7ffff29de635), maxdepth=make_fixnum(13), args_template=make_fixnum(1025), nargs=1, args=0x7fffffffe370) at ../../src/bytecode.c:632
#36 0x0000555555830737 in fetch_and_exec_byte_code (fun=XIL(0x7ffff29de605), syms_left=make_fixnum(1025), nargs=1, args=0x7fffffffe368) at ../../src/eval.c:3147
#37 0x0000555555830bfe in funcall_lambda (fun=XIL(0x7ffff29de605), nargs=1, arg_vector=0x7fffffffe368) at ../../src/eval.c:3228
#38 0x000055555582ff22 in Ffuncall (nargs=2, args=0x7fffffffe360) at ../../src/eval.c:3027
#39 0x000055555582f6c4 in call1 (fn=XIL(0x4590), arg1=XIL(0x2aaa9cd657f0)) at ../../src/eval.c:2883
#40 0x0000555555745250 in command_loop_1 () at ../../src/keyboard.c:1505
#41 0x000055555582b52e in internal_condition_case (bfun=0x555555744987 <command_loop_1>, handlers=XIL(0x90), hfun=0x555555743d73 <cmd_error>) at ../../src/eval.c:1450
#42 0x0000555555744540 in command_loop_2 (handlers=XIL(0x90)) at ../../src/keyboard.c:1133
#43 0x000055555582a6c0 in internal_catch (tag=XIL(0xe850), func=0x555555744516 <command_loop_2>, arg=XIL(0x90)) at ../../src/eval.c:1181
#44 0x00005555557444e2 in command_loop () at ../../src/keyboard.c:1111
#45 0x000055555574381f in recursive_edit_1 () at ../../src/keyboard.c:720
#46 0x0000555555743a41 in Frecursive_edit () at ../../src/keyboard.c:803
#47 0x000055555573f4e1 in main (argc=7, argv=0x7fffffffe878) at ../../src/emacs.c:2354

Lisp Backtrace:
"timerp" (0xffffce90)
"cancel-timer" (0xffffd380)
"execute-extended-command" (0xffffda40)
"funcall-interactively" (0xffffda38)
"call-interactively" (0xffffde20)
"command-execute" (0xffffe368)
(gdb) cont
Continuing.

Thread 1 "emacs" hit Breakpoint 34, x_delete_display (dpyinfo=0x555556108ba0) at ../../src/xterm.c:13317
13317	  for (t = terminal_list; t; t = t->next_terminal)
(gdb) bt
#0  x_delete_display (dpyinfo=0x555556108ba0) at ../../src/xterm.c:13317
#1  0x000055555570cae6 in x_delete_terminal (terminal=0x5555560361f8) at ../../src/xterm.c:13523
#2  0x00005555556d5b55 in Fdelete_terminal (terminal=XIL(0x5555560361fd), force=XIL(0xb2e0)) at ../../src/terminal.c:395
#3  0x0000555555705bb5 in x_connection_closed (dpy=0x5555560e7fc0, error_message=0x7fffffffc420 "X protocol error: RenderBadGlyph (invalid Glyph parameter) on protocol request 139", ioerror=false) at ../../src/xterm.c:10233
#4  0x0000555555705d3f in x_error_quitter (display=0x5555560e7fc0, event=0x7fffffffc5d0) at ../../src/xterm.c:10300
#5  0x0000555555705c8a in x_error_handler (display=0x5555560e7fc0, event=0x7fffffffc5d0) at ../../src/xterm.c:10273
#6  0x00007ffff7bfc6a5 in _XError () at /usr/lib/libX11.so.6
#7  0x00007ffff7bfc7a8 in  () at /usr/lib/libX11.so.6
#8  0x00007ffff7bfc845 in  () at /usr/lib/libX11.so.6
#9  0x00007ffff7bfc91a in _XEventsQueued () at /usr/lib/libX11.so.6
#10 0x00007ffff7be8cc2 in XPending () at /usr/lib/libX11.so.6
#11 0x0000555555703bc2 in XTread_socket (terminal=0x5555560361f8, hold_quit=0x7fffffffc8c0) at ../../src/xterm.c:9492
#12 0x00005555557554c7 in gobble_input () at ../../src/keyboard.c:6980
#13 0x0000555555755ac5 in handle_async_input () at ../../src/keyboard.c:7211
#14 0x0000555555755ae4 in process_pending_signals () at ../../src/keyboard.c:7225
#15 0x000055555582be90 in maybe_quit () at ../../src/eval.c:1724
#16 0x000055555582fd5e in Ffuncall (nargs=4, args=0x7fffffffc9d0) at ../../src/eval.c:2995
#17 0x00005555558902a5 in exec_byte_code (bytestr=XIL(0x7ffff295812c), vector=XIL(0x7ffff2957fdd), maxdepth=make_fixnum(5), args_template=make_fixnum(257), nargs=1, args=0x7fffffffce98) at ../../src/bytecode.c:632
#18 0x0000555555830737 in fetch_and_exec_byte_code (fun=XIL(0x7ffff2957fad), syms_left=make_fixnum(257), nargs=1, args=0x7fffffffce90) at ../../src/eval.c:3147
#19 0x0000555555830bfe in funcall_lambda (fun=XIL(0x7ffff2957fad), nargs=1, arg_vector=0x7fffffffce90) at ../../src/eval.c:3228
#20 0x000055555582ff22 in Ffuncall (nargs=2, args=0x7fffffffce88) at ../../src/eval.c:3027
#21 0x00005555558902a5 in exec_byte_code (bytestr=XIL(0x7ffff295d92c), vector=XIL(0x7ffff295d86d), maxdepth=make_fixnum(6), args_template=make_fixnum(257), nargs=1, args=0x7fffffffd388) at ../../src/bytecode.c:632
#22 0x0000555555830737 in fetch_and_exec_byte_code (fun=XIL(0x7ffff295d83d), syms_left=make_fixnum(257), nargs=1, args=0x7fffffffd380) at ../../src/eval.c:3147
#23 0x0000555555830bfe in funcall_lambda (fun=XIL(0x7ffff295d83d), nargs=1, arg_vector=0x7fffffffd380) at ../../src/eval.c:3228
#24 0x000055555582ff22 in Ffuncall (nargs=2, args=0x7fffffffd378) at ../../src/eval.c:3027
#25 0x00005555558902a5 in exec_byte_code (bytestr=XIL(0x7ffff2c1ad9c), vector=XIL(0x7ffff2c1a50d), maxdepth=make_fixnum(17), args_template=make_fixnum(769), nargs=3, args=0x7fffffffda58) at ../../src/bytecode.c:632
#26 0x0000555555830737 in fetch_and_exec_byte_code (fun=XIL(0x7ffff2c19a85), syms_left=make_fixnum(769), nargs=3, args=0x7fffffffda40) at ../../src/eval.c:3147
#27 0x0000555555830bfe in funcall_lambda (fun=XIL(0x7ffff2c19a85), nargs=3, arg_vector=0x7fffffffda40) at ../../src/eval.c:3228
#28 0x000055555582ff22 in Ffuncall (nargs=4, args=0x7fffffffda38) at ../../src/eval.c:3027
#29 0x0000555555823089 in Ffuncall_interactively (nargs=4, args=0x7fffffffda38) at ../../src/callint.c:260
#30 0x000055555583035c in funcall_subr (subr=0x555555e2c360 <Sfuncall_interactively>, numargs=4, args=0x7fffffffda38) at ../../src/eval.c:3078
#31 0x000055555582fece in Ffuncall (nargs=5, args=0x7fffffffda30) at ../../src/eval.c:3023
#32 0x000055555582ef43 in Fapply (nargs=3, args=0x7fffffffdc70) at ../../src/eval.c:2653
#33 0x000055555582352c in Fcall_interactively (function=XIL(0x2aaa9cd657f0), record_flag=XIL(0), keys=XIL(0x55555932ef0d)) at ../../src/callint.c:353
#34 0x00005555558304df in funcall_subr (subr=0x555555e2c3a0 <Scall_interactively>, numargs=3, args=0x7fffffffde20) at ../../src/eval.c:3103
#35 0x000055555582fece in Ffuncall (nargs=4, args=0x7fffffffde18) at ../../src/eval.c:3023
#36 0x00005555558902a5 in exec_byte_code (bytestr=XIL(0x7ffff29de9cc), vector=XIL(0x7ffff29de635), maxdepth=make_fixnum(13), args_template=make_fixnum(1025), nargs=1, args=0x7fffffffe370) at ../../src/bytecode.c:632
#37 0x0000555555830737 in fetch_and_exec_byte_code (fun=XIL(0x7ffff29de605), syms_left=make_fixnum(1025), nargs=1, args=0x7fffffffe368) at ../../src/eval.c:3147
#38 0x0000555555830bfe in funcall_lambda (fun=XIL(0x7ffff29de605), nargs=1, arg_vector=0x7fffffffe368) at ../../src/eval.c:3228
#39 0x000055555582ff22 in Ffuncall (nargs=2, args=0x7fffffffe360) at ../../src/eval.c:3027
#40 0x000055555582f6c4 in call1 (fn=XIL(0x4590), arg1=XIL(0x2aaa9cd657f0)) at ../../src/eval.c:2883
#41 0x0000555555745250 in command_loop_1 () at ../../src/keyboard.c:1505
#42 0x000055555582b52e in internal_condition_case (bfun=0x555555744987 <command_loop_1>, handlers=XIL(0x90), hfun=0x555555743d73 <cmd_error>) at ../../src/eval.c:1450
#43 0x0000555555744540 in command_loop_2 (handlers=XIL(0x90)) at ../../src/keyboard.c:1133
#44 0x000055555582a6c0 in internal_catch (tag=XIL(0xe850), func=0x555555744516 <command_loop_2>, arg=XIL(0x90)) at ../../src/eval.c:1181
#45 0x00005555557444e2 in command_loop () at ../../src/keyboard.c:1111
#46 0x000055555574381f in recursive_edit_1 () at ../../src/keyboard.c:720
#47 0x0000555555743a41 in Frecursive_edit () at ../../src/keyboard.c:803
#48 0x000055555573f4e1 in main (argc=7, argv=0x7fffffffe878) at ../../src/emacs.c:2354

Lisp Backtrace:
"timerp" (0xffffce90)
"cancel-timer" (0xffffd380)
"execute-extended-command" (0xffffda40)
"funcall-interactively" (0xffffda38)
"call-interactively" (0xffffde20)
"command-execute" (0xffffe368)
(gdb) cont
Continuing.

Thread 1 "emacs" hit Breakpoint 35, delete_terminal (terminal=0x5555560361f8) at ../../src/terminal.c:319
319	  if (!terminal->name)
(gdb) bt
#0  delete_terminal (terminal=0x5555560361f8) at ../../src/terminal.c:319
#1  0x000055555570c82d in x_delete_display (dpyinfo=0x555556108ba0) at ../../src/xterm.c:13325
#2  0x000055555570cae6 in x_delete_terminal (terminal=0x5555560361f8) at ../../src/xterm.c:13523
#3  0x00005555556d5b55 in Fdelete_terminal (terminal=XIL(0x5555560361fd), force=XIL(0xb2e0)) at ../../src/terminal.c:395
#4  0x0000555555705bb5 in x_connection_closed (dpy=0x5555560e7fc0, error_message=0x7fffffffc420 "X protocol error: RenderBadGlyph (invalid Glyph parameter) on protocol request 139", ioerror=false) at ../../src/xterm.c:10233
#5  0x0000555555705d3f in x_error_quitter (display=0x5555560e7fc0, event=0x7fffffffc5d0) at ../../src/xterm.c:10300
#6  0x0000555555705c8a in x_error_handler (display=0x5555560e7fc0, event=0x7fffffffc5d0) at ../../src/xterm.c:10273
#7  0x00007ffff7bfc6a5 in _XError () at /usr/lib/libX11.so.6
#8  0x00007ffff7bfc7a8 in  () at /usr/lib/libX11.so.6
#9  0x00007ffff7bfc845 in  () at /usr/lib/libX11.so.6
#10 0x00007ffff7bfc91a in _XEventsQueued () at /usr/lib/libX11.so.6
#11 0x00007ffff7be8cc2 in XPending () at /usr/lib/libX11.so.6
#12 0x0000555555703bc2 in XTread_socket (terminal=0x5555560361f8, hold_quit=0x7fffffffc8c0) at ../../src/xterm.c:9492
#13 0x00005555557554c7 in gobble_input () at ../../src/keyboard.c:6980
#14 0x0000555555755ac5 in handle_async_input () at ../../src/keyboard.c:7211
#15 0x0000555555755ae4 in process_pending_signals () at ../../src/keyboard.c:7225
#16 0x000055555582be90 in maybe_quit () at ../../src/eval.c:1724
#17 0x000055555582fd5e in Ffuncall (nargs=4, args=0x7fffffffc9d0) at ../../src/eval.c:2995
#18 0x00005555558902a5 in exec_byte_code (bytestr=XIL(0x7ffff295812c), vector=XIL(0x7ffff2957fdd), maxdepth=make_fixnum(5), args_template=make_fixnum(257), nargs=1, args=0x7fffffffce98) at ../../src/bytecode.c:632
#19 0x0000555555830737 in fetch_and_exec_byte_code (fun=XIL(0x7ffff2957fad), syms_left=make_fixnum(257), nargs=1, args=0x7fffffffce90) at ../../src/eval.c:3147
#20 0x0000555555830bfe in funcall_lambda (fun=XIL(0x7ffff2957fad), nargs=1, arg_vector=0x7fffffffce90) at ../../src/eval.c:3228
#21 0x000055555582ff22 in Ffuncall (nargs=2, args=0x7fffffffce88) at ../../src/eval.c:3027
#22 0x00005555558902a5 in exec_byte_code (bytestr=XIL(0x7ffff295d92c), vector=XIL(0x7ffff295d86d), maxdepth=make_fixnum(6), args_template=make_fixnum(257), nargs=1, args=0x7fffffffd388) at ../../src/bytecode.c:632
#23 0x0000555555830737 in fetch_and_exec_byte_code (fun=XIL(0x7ffff295d83d), syms_left=make_fixnum(257), nargs=1, args=0x7fffffffd380) at ../../src/eval.c:3147
#24 0x0000555555830bfe in funcall_lambda (fun=XIL(0x7ffff295d83d), nargs=1, arg_vector=0x7fffffffd380) at ../../src/eval.c:3228
#25 0x000055555582ff22 in Ffuncall (nargs=2, args=0x7fffffffd378) at ../../src/eval.c:3027
#26 0x00005555558902a5 in exec_byte_code (bytestr=XIL(0x7ffff2c1ad9c), vector=XIL(0x7ffff2c1a50d), maxdepth=make_fixnum(17), args_template=make_fixnum(769), nargs=3, args=0x7fffffffda58) at ../../src/bytecode.c:632
#27 0x0000555555830737 in fetch_and_exec_byte_code (fun=XIL(0x7ffff2c19a85), syms_left=make_fixnum(769), nargs=3, args=0x7fffffffda40) at ../../src/eval.c:3147
#28 0x0000555555830bfe in funcall_lambda (fun=XIL(0x7ffff2c19a85), nargs=3, arg_vector=0x7fffffffda40) at ../../src/eval.c:3228
#29 0x000055555582ff22 in Ffuncall (nargs=4, args=0x7fffffffda38) at ../../src/eval.c:3027
#30 0x0000555555823089 in Ffuncall_interactively (nargs=4, args=0x7fffffffda38) at ../../src/callint.c:260
#31 0x000055555583035c in funcall_subr (subr=0x555555e2c360 <Sfuncall_interactively>, numargs=4, args=0x7fffffffda38) at ../../src/eval.c:3078
#32 0x000055555582fece in Ffuncall (nargs=5, args=0x7fffffffda30) at ../../src/eval.c:3023
#33 0x000055555582ef43 in Fapply (nargs=3, args=0x7fffffffdc70) at ../../src/eval.c:2653
#34 0x000055555582352c in Fcall_interactively (function=XIL(0x2aaa9cd657f0), record_flag=XIL(0), keys=XIL(0x55555932ef0d)) at ../../src/callint.c:353
#35 0x00005555558304df in funcall_subr (subr=0x555555e2c3a0 <Scall_interactively>, numargs=3, args=0x7fffffffde20) at ../../src/eval.c:3103
#36 0x000055555582fece in Ffuncall (nargs=4, args=0x7fffffffde18) at ../../src/eval.c:3023
#37 0x00005555558902a5 in exec_byte_code (bytestr=XIL(0x7ffff29de9cc), vector=XIL(0x7ffff29de635), maxdepth=make_fixnum(13), args_template=make_fixnum(1025), nargs=1, args=0x7fffffffe370) at ../../src/bytecode.c:632
#38 0x0000555555830737 in fetch_and_exec_byte_code (fun=XIL(0x7ffff29de605), syms_left=make_fixnum(1025), nargs=1, args=0x7fffffffe368) at ../../src/eval.c:3147
#39 0x0000555555830bfe in funcall_lambda (fun=XIL(0x7ffff29de605), nargs=1, arg_vector=0x7fffffffe368) at ../../src/eval.c:3228
#40 0x000055555582ff22 in Ffuncall (nargs=2, args=0x7fffffffe360) at ../../src/eval.c:3027
#41 0x000055555582f6c4 in call1 (fn=XIL(0x4590), arg1=XIL(0x2aaa9cd657f0)) at ../../src/eval.c:2883
#42 0x0000555555745250 in command_loop_1 () at ../../src/keyboard.c:1505
#43 0x000055555582b52e in internal_condition_case (bfun=0x555555744987 <command_loop_1>, handlers=XIL(0x90), hfun=0x555555743d73 <cmd_error>) at ../../src/eval.c:1450
#44 0x0000555555744540 in command_loop_2 (handlers=XIL(0x90)) at ../../src/keyboard.c:1133
#45 0x000055555582a6c0 in internal_catch (tag=XIL(0xe850), func=0x555555744516 <command_loop_2>, arg=XIL(0x90)) at ../../src/eval.c:1181
#46 0x00005555557444e2 in command_loop () at ../../src/keyboard.c:1111
#47 0x000055555574381f in recursive_edit_1 () at ../../src/keyboard.c:720
#48 0x0000555555743a41 in Frecursive_edit () at ../../src/keyboard.c:803
#49 0x000055555573f4e1 in main (argc=7, argv=0x7fffffffe878) at ../../src/emacs.c:2354

Lisp Backtrace:
"timerp" (0xffffce90)
"cancel-timer" (0xffffd380)
"execute-extended-command" (0xffffda40)
"funcall-interactively" (0xffffda38)
"call-interactively" (0xffffde20)
"command-execute" (0xffffe368)
(gdb) cont
Continuing.

Thread 1 "emacs" hit Breakpoint 32, Fkill_emacs (arg=make_fixnum(-1)) at ../../src/emacs.c:2679
2679		call1 (Qrun_hook_query_error_with_timeout, Qkill_emacs_hook);
(gdb) bt
#0  Fkill_emacs (arg=make_fixnum(-1)) at ../../src/emacs.c:2679
#1  0x000055555583048c in funcall_subr (subr=0x555555e24b20 <Skill_emacs>, numargs=1, args=0x7fffffffb838) at ../../src/eval.c:3098
#2  0x000055555582fece in Ffuncall (nargs=2, args=0x7fffffffb830) at ../../src/eval.c:3023
#3  0x00005555558902a5 in exec_byte_code (bytestr=XIL(0x5555561e5244), vector=XIL(0x5555563d608d), maxdepth=make_fixnum(40), args_template=make_fixnum(128), nargs=2, args=0x7fffffffbe88) at ../../src/bytecode.c:632
#4  0x0000555555830737 in fetch_and_exec_byte_code (fun=XIL(0x555559203be5), syms_left=make_fixnum(128), nargs=2, args=0x7fffffffbe88) at ../../src/eval.c:3147
#5  0x0000555555830bfe in funcall_lambda (fun=XIL(0x555559203be5), nargs=2, arg_vector=0x7fffffffbe88) at ../../src/eval.c:3228
#6  0x000055555582ff22 in Ffuncall (nargs=3, args=0x7fffffffbe80) at ../../src/eval.c:3027
#7  0x000055555582ef43 in Fapply (nargs=2, args=0x7fffffffbf30) at ../../src/eval.c:2653
#8  0x000055555582f64b in apply1 (fn=XIL(0x50d0), arg=XIL(0x55555930dd03)) at ../../src/eval.c:2869
#9  0x00005555558278e2 in call_debugger (arg=XIL(0x55555930dd03)) at ../../src/eval.c:345
#10 0x000055555582cbea in maybe_call_debugger (conditions=XIL(0x7ffff2934dcb), sig=XIL(0x90), data=XIL(0x55555930dcd3)) at ../../src/eval.c:2039
#11 0x000055555582c290 in signal_or_quit (error_symbol=XIL(0x90), data=XIL(0x55555930dcd3), keyboard_quit=false) at ../../src/eval.c:1846
#12 0x000055555582befa in Fsignal (error_symbol=XIL(0x90), data=XIL(0x55555930dcd3)) at ../../src/eval.c:1747
#13 0x0000555555826c07 in xsignal (error_symbol=XIL(0x90), data=XIL(0x55555930dcd3)) at ../../src/lisp.h:4154
#14 0x000055555582c54d in xsignal1 (error_symbol=XIL(0x90), arg=XIL(0x5555568ae1c4)) at ../../src/eval.c:1904
#15 0x000055555582ce80 in verror (m=0x555555967377 "%s", ap=0x7fffffffc150) at ../../src/eval.c:2096
#16 0x000055555582cf31 in error (m=0x555555967377 "%s") at ../../src/eval.c:2107
#17 0x0000555555705c46 in x_connection_closed (dpy=0x5555560e7fc0, error_message=0x7fffffffc420 "X protocol error: RenderBadGlyph (invalid Glyph parameter) on protocol request 139", ioerror=false) at ../../src/xterm.c:10251
#18 0x0000555555705d3f in x_error_quitter (display=0x5555560e7fc0, event=0x7fffffffc5d0) at ../../src/xterm.c:10300
#19 0x0000555555705c8a in x_error_handler (display=0x5555560e7fc0, event=0x7fffffffc5d0) at ../../src/xterm.c:10273
#20 0x00007ffff7bfc6a5 in _XError () at /usr/lib/libX11.so.6
#21 0x00007ffff7bfc7a8 in  () at /usr/lib/libX11.so.6
#22 0x00007ffff7bfc845 in  () at /usr/lib/libX11.so.6
#23 0x00007ffff7bfc91a in _XEventsQueued () at /usr/lib/libX11.so.6
#24 0x00007ffff7be8cc2 in XPending () at /usr/lib/libX11.so.6
#25 0x0000555555703bc2 in XTread_socket (terminal=0x5555560361f8, hold_quit=0x7fffffffc8c0) at ../../src/xterm.c:9492
#26 0x00005555557554c7 in gobble_input () at ../../src/keyboard.c:6980
#27 0x0000555555755ac5 in handle_async_input () at ../../src/keyboard.c:7211
#28 0x0000555555755ae4 in process_pending_signals () at ../../src/keyboard.c:7225
#29 0x000055555582be90 in maybe_quit () at ../../src/eval.c:1724
#30 0x000055555582fd5e in Ffuncall (nargs=4, args=0x7fffffffc9d0) at ../../src/eval.c:2995
#31 0x00005555558902a5 in exec_byte_code (bytestr=XIL(0x7ffff295812c), vector=XIL(0x7ffff2957fdd), maxdepth=make_fixnum(5), args_template=make_fixnum(257), nargs=1, args=0x7fffffffce98) at ../../src/bytecode.c:632
#32 0x0000555555830737 in fetch_and_exec_byte_code (fun=XIL(0x7ffff2957fad), syms_left=make_fixnum(257), nargs=1, args=0x7fffffffce90) at ../../src/eval.c:3147
#33 0x0000555555830bfe in funcall_lambda (fun=XIL(0x7ffff2957fad), nargs=1, arg_vector=0x7fffffffce90) at ../../src/eval.c:3228
#34 0x000055555582ff22 in Ffuncall (nargs=2, args=0x7fffffffce88) at ../../src/eval.c:3027
#35 0x00005555558902a5 in exec_byte_code (bytestr=XIL(0x7ffff295d92c), vector=XIL(0x7ffff295d86d), maxdepth=make_fixnum(6), args_template=make_fixnum(257), nargs=1, args=0x7fffffffd388) at ../../src/bytecode.c:632
#36 0x0000555555830737 in fetch_and_exec_byte_code (fun=XIL(0x7ffff295d83d), syms_left=make_fixnum(257), nargs=1, args=0x7fffffffd380) at ../../src/eval.c:3147
#37 0x0000555555830bfe in funcall_lambda (fun=XIL(0x7ffff295d83d), nargs=1, arg_vector=0x7fffffffd380) at ../../src/eval.c:3228
#38 0x000055555582ff22 in Ffuncall (nargs=2, args=0x7fffffffd378) at ../../src/eval.c:3027
#39 0x00005555558902a5 in exec_byte_code (bytestr=XIL(0x7ffff2c1ad9c), vector=XIL(0x7ffff2c1a50d), maxdepth=make_fixnum(17), args_template=make_fixnum(769), nargs=3, args=0x7fffffffda58) at ../../src/bytecode.c:632
#40 0x0000555555830737 in fetch_and_exec_byte_code (fun=XIL(0x7ffff2c19a85), syms_left=make_fixnum(769), nargs=3, args=0x7fffffffda40) at ../../src/eval.c:3147
#41 0x0000555555830bfe in funcall_lambda (fun=XIL(0x7ffff2c19a85), nargs=3, arg_vector=0x7fffffffda40) at ../../src/eval.c:3228
#42 0x000055555582ff22 in Ffuncall (nargs=4, args=0x7fffffffda38) at ../../src/eval.c:3027
#43 0x0000555555823089 in Ffuncall_interactively (nargs=4, args=0x7fffffffda38) at ../../src/callint.c:260
#44 0x000055555583035c in funcall_subr (subr=0x555555e2c360 <Sfuncall_interactively>, numargs=4, args=0x7fffffffda38) at ../../src/eval.c:3078
#45 0x000055555582fece in Ffuncall (nargs=5, args=0x7fffffffda30) at ../../src/eval.c:3023
#46 0x000055555582ef43 in Fapply (nargs=3, args=0x7fffffffdc70) at ../../src/eval.c:2653
#47 0x000055555582352c in Fcall_interactively (function=XIL(0x2aaa9cd657f0), record_flag=XIL(0), keys=XIL(0x55555932ef0d)) at ../../src/callint.c:353
#48 0x00005555558304df in funcall_subr (subr=0x555555e2c3a0 <Scall_interactively>, numargs=3, args=0x7fffffffde20) at ../../src/eval.c:3103
#49 0x000055555582fece in Ffuncall (nargs=4, args=0x7fffffffde18) at ../../src/eval.c:3023
#50 0x00005555558902a5 in exec_byte_code (bytestr=XIL(0x7ffff29de9cc), vector=XIL(0x7ffff29de635), maxdepth=make_fixnum(13), args_template=make_fixnum(1025), nargs=1, args=0x7fffffffe370) at ../../src/bytecode.c:632
#51 0x0000555555830737 in fetch_and_exec_byte_code (fun=XIL(0x7ffff29de605), syms_left=make_fixnum(1025), nargs=1, args=0x7fffffffe368) at ../../src/eval.c:3147
#52 0x0000555555830bfe in funcall_lambda (fun=XIL(0x7ffff29de605), nargs=1, arg_vector=0x7fffffffe368) at ../../src/eval.c:3228
#53 0x000055555582ff22 in Ffuncall (nargs=2, args=0x7fffffffe360) at ../../src/eval.c:3027
#54 0x000055555582f6c4 in call1 (fn=XIL(0x4590), arg1=XIL(0x2aaa9cd657f0)) at ../../src/eval.c:2883
#55 0x0000555555745250 in command_loop_1 () at ../../src/keyboard.c:1505
#56 0x000055555582b52e in internal_condition_case (bfun=0x555555744987 <command_loop_1>, handlers=XIL(0x90), hfun=0x555555743d73 <cmd_error>) at ../../src/eval.c:1450
#57 0x0000555555744540 in command_loop_2 (handlers=XIL(0x90)) at ../../src/keyboard.c:1133
#58 0x000055555582a6c0 in internal_catch (tag=XIL(0xe850), func=0x555555744516 <command_loop_2>, arg=XIL(0x90)) at ../../src/eval.c:1181
#59 0x00005555557444e2 in command_loop () at ../../src/keyboard.c:1111
#60 0x000055555574381f in recursive_edit_1 () at ../../src/keyboard.c:720
#61 0x0000555555743a41 in Frecursive_edit () at ../../src/keyboard.c:803
#62 0x000055555573f4e1 in main (argc=7, argv=0x7fffffffe878) at ../../src/emacs.c:2354

Lisp Backtrace:
"kill-emacs" (0xffffb838)
"debug" (0xffffbe88)
"timerp" (0xffffce90)
"cancel-timer" (0xffffd380)
"execute-extended-command" (0xffffda40)
"funcall-interactively" (0xffffda38)
"call-interactively" (0xffffde20)
"command-execute" (0xffffe368)
(gdb) cont
Continuing.
[Thread 0x7ffff124f640 (LWP 14602) exited]
[Thread 0x7ffff1bdf640 (LWP 14601) exited]
[Thread 0x7ffff258a640 (LWP 14599) exited]
[Inferior 1 (process 14595) exited with code 0377]
(gdb) 

[-- Attachment #3: Type: text/plain, Size: 603 bytes --]


IMO: There is more than one issue at the same time:

1. emacs should not abort when having debug-on-error on
2. close-display-connection should not close both frames.
3. the X Glyph issue should not happen. Is it totally normal closing X-remote frames.

BTW. After inspecting the gdb log. The issue #1 happens within the elisp
function debug. inside that function there is this line.

--8<---------------cut here---------------start------------->8---
(kill-emacs -1)))
--8<---------------cut here---------------end--------------->8---

That in this particular case should not be called. 

Best Regards

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

* Re: help needed for getting a backtrace ( multi-head emacs_abort on lucid-frame)
  2022-04-18  5:40           ` andrés ramírez
@ 2022-04-18  5:55             ` Po Lu
  2022-04-18  6:16               ` andres.ramirez
  0 siblings, 1 reply; 20+ messages in thread
From: Po Lu @ 2022-04-18  5:55 UTC (permalink / raw)
  To: andrés ramírez; +Cc: emacs-devel

andrés ramírez <rrandresf@gmail.com> writes:

> I think that is equivalent to:
>
> ,---- [  ]
> | gdb -i=mi --args ./emacs -xrm "emacs.synchronous: true" -Q -f toggle-debug-on-error --fg-daemon
> `----

I don't think anything you give via the command line applies when Emacs
is run as a daemon.  If that's what you did, it evidently didn't work,
since the errors are still coming from XPending.

> #23 0x00007ffff7bfc91a in _XEventsQueued () at /usr/lib/libX11.so.6
> #24 0x00007ffff7be8cc2 in XPending () at /usr/lib/libX11.so.6
> #25 0x0000555555703bc2 in XTread_socket (terminal=0x5555560361f8, hold_quit=0x7fffffffc8c0) at ../../src/xterm.c:9492
> #26 0x00005555557554c7 in gobble_input () at ../../src/keyboard.c:6980

> IMO: There is more than one issue at the same time:
> 1. emacs should not abort when having debug-on-error on
> 2. close-display-connection should not close both frames.

Emacs does not abort when `debug-on-error' is on, and I don't see a call
to emacs_abort anywhere in those backtraces.

> 3. the X Glyph issue should not happen. Is it totally normal closing
> X-remote frames.

That is the only bug (which might be in Emacs, or some external library)
I see here.  Emacs 28 does not use rendering extension glyphs itself, so
it's more likely to be in cairo or some other library that we use.

Which is why a proper backtrace in synchronous mode is vital, so we can
know which code is making the offending protocol request: otherwise, the
errors are only reported the next time something calls XSync, some time
after the fautly code runs.

Thanks.



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

* Re: help needed for getting a backtrace ( multi-head emacs_abort on lucid-frame)
  2022-04-18  5:55             ` Po Lu
@ 2022-04-18  6:16               ` andres.ramirez
  2022-04-18  6:53                 ` Po Lu
  0 siblings, 1 reply; 20+ messages in thread
From: andres.ramirez @ 2022-04-18  6:16 UTC (permalink / raw)
  To: Po Lu; +Cc: emacs-devel

[-- Attachment #1: Type: text/plain, Size: 394 bytes --]

Hi. Po Lu.

>>>>> "Po" == Po Lu <luangruo@yahoo.com> writes:


[...]

    Po> I don't think anything you give via the command line applies when Emacs is run as a daemon.
    Po> If that's what you did, it evidently didn't work, since the errors are still coming from
    Po> XPending.

Right. I got emacs running on synch mode. But on that case error does
NOT happen. Attached is the gdb log.


[-- Attachment #2: debuglog --]
[-- Type: text/plain, Size: 25876 bytes --]

Current directory is /tmp/emacs/src/emacs-28.1/build/src/
GNU gdb (GDB) 11.2
Copyright (C) 2022 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-pc-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /tmp/emacs/src/emacs-28.1/build/src/emacs...
SIGINT is used by the debugger.
Are you sure you want to change it? (y or n) [answered Y; input not from terminal]
DISPLAY = :0
TERM = dumb
Breakpoint 2 at 0x1b1caa: file ../../src/xterm.c, line 10285.
(gdb) Warning: 'set target-async', an alias for the command 'set mi-async', is deprecated.
Use 'set mi-async'.

run
Starting program: /tmp/emacs/src/emacs-28.1/build/src/emacs -Q -f toggle-debug-on-error --fg-daemon
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".

Breakpoint 31, main (argc=5, argv=0x7fffffffe8a8) at ../../src/emacs.c:1186
1186	{
(gdb) bt
#0  main (argc=5, argv=0x7fffffffe8a8) at ../../src/emacs.c:1186
(gdb) cont
Continuing.
[New Thread 0x7ffff258a640 (LWP 14671)]
[New Thread 0x7ffff1bdf640 (LWP 14673)]
[New Thread 0x7ffff124f640 (LWP 14674)]
[Detaching after vfork from child process 14676]
[Detaching after vfork from child process 14677]

Thread 1 "emacs" hit Breakpoint 36, delete_frame (frame=XIL(0x5555563abafd), force=XIL(0)) at ../../src/frame.c:1965
1965	  struct frame *f = decode_any_frame (frame);
(gdb) bt
#0  delete_frame (frame=XIL(0x5555563abafd), force=XIL(0)) at ../../src/frame.c:1965
#1  0x00005555555b273a in Fdelete_frame (frame=XIL(0x5555563abafd), force=XIL(0)) at ../../src/frame.c:2389
#2  0x00005555558304b0 in funcall_subr (subr=0x555555e1e860 <Sdelete_frame>, numargs=1, args=0x7fffffffc268) at ../../src/eval.c:3100
#3  0x000055555582fece in Ffuncall (nargs=2, args=0x7fffffffc260) at ../../src/eval.c:3023
#4  0x000055555582f6c4 in call1 (fn=XIL(0x5400), arg1=XIL(0x5555563abafd)) at ../../src/eval.c:2883
#5  0x00005555558425b7 in mapcar1 (leni=1, vals=0x0, fn=XIL(0x5400), seq=XIL(0x5555592aa213)) at ../../src/fns.c:2848
#6  0x0000555555842a74 in Fmapc (function=XIL(0x5400), sequence=XIL(0x5555592aa213)) at ../../src/fns.c:2921
#7  0x00005555558304b0 in funcall_subr (subr=0x555555e2e460 <Smapc>, numargs=2, args=0x7fffffffc470) at ../../src/eval.c:3100
#8  0x000055555582fece in Ffuncall (nargs=3, args=0x7fffffffc468) at ../../src/eval.c:3023
#9  0x00005555558902a5 in exec_byte_code (bytestr=XIL(0x7ffff2e7623c), vector=XIL(0x7ffff2e7609d), maxdepth=make_fixnum(7), args_template=make_fixnum(257), nargs=1, args=0x7fffffffcc98) at ../../src/bytecode.c:632
#10 0x0000555555830737 in fetch_and_exec_byte_code (fun=XIL(0x7ffff2e75f45), syms_left=make_fixnum(257), nargs=1, args=0x7fffffffcc90) at ../../src/eval.c:3147
#11 0x0000555555830bfe in funcall_lambda (fun=XIL(0x7ffff2e75f45), nargs=1, arg_vector=0x7fffffffcc90) at ../../src/eval.c:3228
#12 0x000055555582ff22 in Ffuncall (nargs=2, args=0x7fffffffcc88) at ../../src/eval.c:3027
#13 0x0000555555823089 in Ffuncall_interactively (nargs=2, args=0x7fffffffcc88) at ../../src/callint.c:260
#14 0x000055555583035c in funcall_subr (subr=0x555555e2c360 <Sfuncall_interactively>, numargs=2, args=0x7fffffffcc88) at ../../src/eval.c:3078
#15 0x000055555582fece in Ffuncall (nargs=3, args=0x7fffffffcc80) at ../../src/eval.c:3023
#16 0x000055555582eb6d in Fapply (nargs=3, args=0x7fffffffcc80) at ../../src/eval.c:2610
#17 0x000055555582352c in Fcall_interactively (function=XIL(0x2aaa9cfc1cd0), record_flag=XIL(0xc6c0), keys=XIL(0x555559258135)) at ../../src/callint.c:353
#18 0x00005555558304df in funcall_subr (subr=0x555555e2c3a0 <Scall_interactively>, numargs=3, args=0x7fffffffce30) at ../../src/eval.c:3103
#19 0x000055555582fece in Ffuncall (nargs=4, args=0x7fffffffce28) at ../../src/eval.c:3023
#20 0x00005555558902a5 in exec_byte_code (bytestr=XIL(0x7ffff29de9cc), vector=XIL(0x7ffff29de635), maxdepth=make_fixnum(13), args_template=make_fixnum(1025), nargs=2, args=0x7fffffffd3c0) at ../../src/bytecode.c:632
#21 0x0000555555830737 in fetch_and_exec_byte_code (fun=XIL(0x7ffff29de605), syms_left=make_fixnum(1025), nargs=2, args=0x7fffffffd3b0) at ../../src/eval.c:3147
#22 0x0000555555830bfe in funcall_lambda (fun=XIL(0x7ffff29de605), nargs=2, arg_vector=0x7fffffffd3b0) at ../../src/eval.c:3228
#23 0x000055555582ff22 in Ffuncall (nargs=3, args=0x7fffffffd3a8) at ../../src/eval.c:3027
#24 0x00005555558902a5 in exec_byte_code (bytestr=XIL(0x7ffff2c1ad9c), vector=XIL(0x7ffff2c1a50d), maxdepth=make_fixnum(17), args_template=make_fixnum(769), nargs=3, args=0x7fffffffda88) at ../../src/bytecode.c:632
#25 0x0000555555830737 in fetch_and_exec_byte_code (fun=XIL(0x7ffff2c19a85), syms_left=make_fixnum(769), nargs=3, args=0x7fffffffda70) at ../../src/eval.c:3147
#26 0x0000555555830bfe in funcall_lambda (fun=XIL(0x7ffff2c19a85), nargs=3, arg_vector=0x7fffffffda70) at ../../src/eval.c:3228
#27 0x000055555582ff22 in Ffuncall (nargs=4, args=0x7fffffffda68) at ../../src/eval.c:3027
#28 0x0000555555823089 in Ffuncall_interactively (nargs=4, args=0x7fffffffda68) at ../../src/callint.c:260
#29 0x000055555583035c in funcall_subr (subr=0x555555e2c360 <Sfuncall_interactively>, numargs=4, args=0x7fffffffda68) at ../../src/eval.c:3078
#30 0x000055555582fece in Ffuncall (nargs=5, args=0x7fffffffda60) at ../../src/eval.c:3023
#31 0x000055555582ef43 in Fapply (nargs=3, args=0x7fffffffdca0) at ../../src/eval.c:2653
#32 0x000055555582352c in Fcall_interactively (function=XIL(0x2aaa9cd657f0), record_flag=XIL(0), keys=XIL(0x555559397cb5)) at ../../src/callint.c:353
#33 0x00005555558304df in funcall_subr (subr=0x555555e2c3a0 <Scall_interactively>, numargs=3, args=0x7fffffffde50) at ../../src/eval.c:3103
#34 0x000055555582fece in Ffuncall (nargs=4, args=0x7fffffffde48) at ../../src/eval.c:3023
#35 0x00005555558902a5 in exec_byte_code (bytestr=XIL(0x7ffff29de9cc), vector=XIL(0x7ffff29de635), maxdepth=make_fixnum(13), args_template=make_fixnum(1025), nargs=1, args=0x7fffffffe3a0) at ../../src/bytecode.c:632
#36 0x0000555555830737 in fetch_and_exec_byte_code (fun=XIL(0x7ffff29de605), syms_left=make_fixnum(1025), nargs=1, args=0x7fffffffe398) at ../../src/eval.c:3147
#37 0x0000555555830bfe in funcall_lambda (fun=XIL(0x7ffff29de605), nargs=1, arg_vector=0x7fffffffe398) at ../../src/eval.c:3228
#38 0x000055555582ff22 in Ffuncall (nargs=2, args=0x7fffffffe390) at ../../src/eval.c:3027
#39 0x000055555582f6c4 in call1 (fn=XIL(0x4590), arg1=XIL(0x2aaa9cd657f0)) at ../../src/eval.c:2883
#40 0x0000555555745250 in command_loop_1 () at ../../src/keyboard.c:1505
#41 0x000055555582b52e in internal_condition_case (bfun=0x555555744987 <command_loop_1>, handlers=XIL(0x90), hfun=0x555555743d73 <cmd_error>) at ../../src/eval.c:1450
#42 0x0000555555744540 in command_loop_2 (handlers=XIL(0x90)) at ../../src/keyboard.c:1133
#43 0x000055555582a6c0 in internal_catch (tag=XIL(0xe850), func=0x555555744516 <command_loop_2>, arg=XIL(0x90)) at ../../src/eval.c:1181
#44 0x00005555557444e2 in command_loop () at ../../src/keyboard.c:1111
#45 0x000055555574381f in recursive_edit_1 () at ../../src/keyboard.c:720
#46 0x0000555555743a41 in Frecursive_edit () at ../../src/keyboard.c:803
#47 0x000055555573f4e1 in main (argc=5, argv=0x7fffffffe8a8) at ../../src/emacs.c:2354

Lisp Backtrace:
"delete-frame" (0xffffc268)
"mapc" (0xffffc470)
"close-display-connection" (0xffffcc90)
"funcall-interactively" (0xffffcc88)
"call-interactively" (0xffffce30)
"command-execute" (0xffffd3b0)
"execute-extended-command" (0xffffda70)
"funcall-interactively" (0xffffda68)
"call-interactively" (0xffffde50)
"command-execute" (0xffffe398)
(gdb) cont
Continuing.

Thread 1 "emacs" hit Breakpoint 33, x_delete_terminal (terminal=0x55555672a3e0) at ../../src/xterm.c:13450
13450	  struct x_display_info *dpyinfo = terminal->display_info.x;
(gdb) bt
#0  x_delete_terminal (terminal=0x55555672a3e0) at ../../src/xterm.c:13450
#1  0x000055555571ce4b in Fx_close_connection (terminal=XIL(0x555556161a04)) at ../../src/xfns.c:5786
#2  0x000055555583048c in funcall_subr (subr=0x555555e243a0 <Sx_close_connection>, numargs=1, args=0x7fffffffc470) at ../../src/eval.c:3098
#3  0x000055555582fece in Ffuncall (nargs=2, args=0x7fffffffc468) at ../../src/eval.c:3023
#4  0x00005555558902a5 in exec_byte_code (bytestr=XIL(0x7ffff2e7623c), vector=XIL(0x7ffff2e7609d), maxdepth=make_fixnum(7), args_template=make_fixnum(257), nargs=1, args=0x7fffffffcc98) at ../../src/bytecode.c:632
#5  0x0000555555830737 in fetch_and_exec_byte_code (fun=XIL(0x7ffff2e75f45), syms_left=make_fixnum(257), nargs=1, args=0x7fffffffcc90) at ../../src/eval.c:3147
#6  0x0000555555830bfe in funcall_lambda (fun=XIL(0x7ffff2e75f45), nargs=1, arg_vector=0x7fffffffcc90) at ../../src/eval.c:3228
#7  0x000055555582ff22 in Ffuncall (nargs=2, args=0x7fffffffcc88) at ../../src/eval.c:3027
#8  0x0000555555823089 in Ffuncall_interactively (nargs=2, args=0x7fffffffcc88) at ../../src/callint.c:260
#9  0x000055555583035c in funcall_subr (subr=0x555555e2c360 <Sfuncall_interactively>, numargs=2, args=0x7fffffffcc88) at ../../src/eval.c:3078
#10 0x000055555582fece in Ffuncall (nargs=3, args=0x7fffffffcc80) at ../../src/eval.c:3023
#11 0x000055555582eb6d in Fapply (nargs=3, args=0x7fffffffcc80) at ../../src/eval.c:2610
#12 0x000055555582352c in Fcall_interactively (function=XIL(0x2aaa9cfc1cd0), record_flag=XIL(0xc6c0), keys=XIL(0x555559258135)) at ../../src/callint.c:353
#13 0x00005555558304df in funcall_subr (subr=0x555555e2c3a0 <Scall_interactively>, numargs=3, args=0x7fffffffce30) at ../../src/eval.c:3103
#14 0x000055555582fece in Ffuncall (nargs=4, args=0x7fffffffce28) at ../../src/eval.c:3023
#15 0x00005555558902a5 in exec_byte_code (bytestr=XIL(0x7ffff29de9cc), vector=XIL(0x7ffff29de635), maxdepth=make_fixnum(13), args_template=make_fixnum(1025), nargs=2, args=0x7fffffffd3c0) at ../../src/bytecode.c:632
#16 0x0000555555830737 in fetch_and_exec_byte_code (fun=XIL(0x7ffff29de605), syms_left=make_fixnum(1025), nargs=2, args=0x7fffffffd3b0) at ../../src/eval.c:3147
#17 0x0000555555830bfe in funcall_lambda (fun=XIL(0x7ffff29de605), nargs=2, arg_vector=0x7fffffffd3b0) at ../../src/eval.c:3228
#18 0x000055555582ff22 in Ffuncall (nargs=3, args=0x7fffffffd3a8) at ../../src/eval.c:3027
#19 0x00005555558902a5 in exec_byte_code (bytestr=XIL(0x7ffff2c1ad9c), vector=XIL(0x7ffff2c1a50d), maxdepth=make_fixnum(17), args_template=make_fixnum(769), nargs=3, args=0x7fffffffda88) at ../../src/bytecode.c:632
#20 0x0000555555830737 in fetch_and_exec_byte_code (fun=XIL(0x7ffff2c19a85), syms_left=make_fixnum(769), nargs=3, args=0x7fffffffda70) at ../../src/eval.c:3147
#21 0x0000555555830bfe in funcall_lambda (fun=XIL(0x7ffff2c19a85), nargs=3, arg_vector=0x7fffffffda70) at ../../src/eval.c:3228
#22 0x000055555582ff22 in Ffuncall (nargs=4, args=0x7fffffffda68) at ../../src/eval.c:3027
#23 0x0000555555823089 in Ffuncall_interactively (nargs=4, args=0x7fffffffda68) at ../../src/callint.c:260
#24 0x000055555583035c in funcall_subr (subr=0x555555e2c360 <Sfuncall_interactively>, numargs=4, args=0x7fffffffda68) at ../../src/eval.c:3078
#25 0x000055555582fece in Ffuncall (nargs=5, args=0x7fffffffda60) at ../../src/eval.c:3023
#26 0x000055555582ef43 in Fapply (nargs=3, args=0x7fffffffdca0) at ../../src/eval.c:2653
#27 0x000055555582352c in Fcall_interactively (function=XIL(0x2aaa9cd657f0), record_flag=XIL(0), keys=XIL(0x555559397cb5)) at ../../src/callint.c:353
#28 0x00005555558304df in funcall_subr (subr=0x555555e2c3a0 <Scall_interactively>, numargs=3, args=0x7fffffffde50) at ../../src/eval.c:3103
#29 0x000055555582fece in Ffuncall (nargs=4, args=0x7fffffffde48) at ../../src/eval.c:3023
#30 0x00005555558902a5 in exec_byte_code (bytestr=XIL(0x7ffff29de9cc), vector=XIL(0x7ffff29de635), maxdepth=make_fixnum(13), args_template=make_fixnum(1025), nargs=1, args=0x7fffffffe3a0) at ../../src/bytecode.c:632
#31 0x0000555555830737 in fetch_and_exec_byte_code (fun=XIL(0x7ffff29de605), syms_left=make_fixnum(1025), nargs=1, args=0x7fffffffe398) at ../../src/eval.c:3147
#32 0x0000555555830bfe in funcall_lambda (fun=XIL(0x7ffff29de605), nargs=1, arg_vector=0x7fffffffe398) at ../../src/eval.c:3228
#33 0x000055555582ff22 in Ffuncall (nargs=2, args=0x7fffffffe390) at ../../src/eval.c:3027
#34 0x000055555582f6c4 in call1 (fn=XIL(0x4590), arg1=XIL(0x2aaa9cd657f0)) at ../../src/eval.c:2883
#35 0x0000555555745250 in command_loop_1 () at ../../src/keyboard.c:1505
#36 0x000055555582b52e in internal_condition_case (bfun=0x555555744987 <command_loop_1>, handlers=XIL(0x90), hfun=0x555555743d73 <cmd_error>) at ../../src/eval.c:1450
#37 0x0000555555744540 in command_loop_2 (handlers=XIL(0x90)) at ../../src/keyboard.c:1133
#38 0x000055555582a6c0 in internal_catch (tag=XIL(0xe850), func=0x555555744516 <command_loop_2>, arg=XIL(0x90)) at ../../src/eval.c:1181
#39 0x00005555557444e2 in command_loop () at ../../src/keyboard.c:1111
#40 0x000055555574381f in recursive_edit_1 () at ../../src/keyboard.c:720
#41 0x0000555555743a41 in Frecursive_edit () at ../../src/keyboard.c:803
#42 0x000055555573f4e1 in main (argc=5, argv=0x7fffffffe8a8) at ../../src/emacs.c:2354

Lisp Backtrace:
"x-close-connection" (0xffffc470)
"close-display-connection" (0xffffcc90)
"funcall-interactively" (0xffffcc88)
"call-interactively" (0xffffce30)
"command-execute" (0xffffd3b0)
"execute-extended-command" (0xffffda70)
"funcall-interactively" (0xffffda68)
"call-interactively" (0xffffde50)
"command-execute" (0xffffe398)
(gdb) cont
Continuing.

Thread 1 "emacs" hit Breakpoint 34, x_delete_display (dpyinfo=0x555556732f70) at ../../src/xterm.c:13317
13317	  for (t = terminal_list; t; t = t->next_terminal)
(gdb) bt
#0  x_delete_display (dpyinfo=0x555556732f70) at ../../src/xterm.c:13317
#1  0x000055555570cae6 in x_delete_terminal (terminal=0x55555672a3e0) at ../../src/xterm.c:13523
#2  0x000055555571ce4b in Fx_close_connection (terminal=XIL(0x555556161a04)) at ../../src/xfns.c:5786
#3  0x000055555583048c in funcall_subr (subr=0x555555e243a0 <Sx_close_connection>, numargs=1, args=0x7fffffffc470) at ../../src/eval.c:3098
#4  0x000055555582fece in Ffuncall (nargs=2, args=0x7fffffffc468) at ../../src/eval.c:3023
#5  0x00005555558902a5 in exec_byte_code (bytestr=XIL(0x7ffff2e7623c), vector=XIL(0x7ffff2e7609d), maxdepth=make_fixnum(7), args_template=make_fixnum(257), nargs=1, args=0x7fffffffcc98) at ../../src/bytecode.c:632
#6  0x0000555555830737 in fetch_and_exec_byte_code (fun=XIL(0x7ffff2e75f45), syms_left=make_fixnum(257), nargs=1, args=0x7fffffffcc90) at ../../src/eval.c:3147
#7  0x0000555555830bfe in funcall_lambda (fun=XIL(0x7ffff2e75f45), nargs=1, arg_vector=0x7fffffffcc90) at ../../src/eval.c:3228
#8  0x000055555582ff22 in Ffuncall (nargs=2, args=0x7fffffffcc88) at ../../src/eval.c:3027
#9  0x0000555555823089 in Ffuncall_interactively (nargs=2, args=0x7fffffffcc88) at ../../src/callint.c:260
#10 0x000055555583035c in funcall_subr (subr=0x555555e2c360 <Sfuncall_interactively>, numargs=2, args=0x7fffffffcc88) at ../../src/eval.c:3078
#11 0x000055555582fece in Ffuncall (nargs=3, args=0x7fffffffcc80) at ../../src/eval.c:3023
#12 0x000055555582eb6d in Fapply (nargs=3, args=0x7fffffffcc80) at ../../src/eval.c:2610
#13 0x000055555582352c in Fcall_interactively (function=XIL(0x2aaa9cfc1cd0), record_flag=XIL(0xc6c0), keys=XIL(0x555559258135)) at ../../src/callint.c:353
#14 0x00005555558304df in funcall_subr (subr=0x555555e2c3a0 <Scall_interactively>, numargs=3, args=0x7fffffffce30) at ../../src/eval.c:3103
#15 0x000055555582fece in Ffuncall (nargs=4, args=0x7fffffffce28) at ../../src/eval.c:3023
#16 0x00005555558902a5 in exec_byte_code (bytestr=XIL(0x7ffff29de9cc), vector=XIL(0x7ffff29de635), maxdepth=make_fixnum(13), args_template=make_fixnum(1025), nargs=2, args=0x7fffffffd3c0) at ../../src/bytecode.c:632
#17 0x0000555555830737 in fetch_and_exec_byte_code (fun=XIL(0x7ffff29de605), syms_left=make_fixnum(1025), nargs=2, args=0x7fffffffd3b0) at ../../src/eval.c:3147
#18 0x0000555555830bfe in funcall_lambda (fun=XIL(0x7ffff29de605), nargs=2, arg_vector=0x7fffffffd3b0) at ../../src/eval.c:3228
#19 0x000055555582ff22 in Ffuncall (nargs=3, args=0x7fffffffd3a8) at ../../src/eval.c:3027
#20 0x00005555558902a5 in exec_byte_code (bytestr=XIL(0x7ffff2c1ad9c), vector=XIL(0x7ffff2c1a50d), maxdepth=make_fixnum(17), args_template=make_fixnum(769), nargs=3, args=0x7fffffffda88) at ../../src/bytecode.c:632
#21 0x0000555555830737 in fetch_and_exec_byte_code (fun=XIL(0x7ffff2c19a85), syms_left=make_fixnum(769), nargs=3, args=0x7fffffffda70) at ../../src/eval.c:3147
#22 0x0000555555830bfe in funcall_lambda (fun=XIL(0x7ffff2c19a85), nargs=3, arg_vector=0x7fffffffda70) at ../../src/eval.c:3228
#23 0x000055555582ff22 in Ffuncall (nargs=4, args=0x7fffffffda68) at ../../src/eval.c:3027
#24 0x0000555555823089 in Ffuncall_interactively (nargs=4, args=0x7fffffffda68) at ../../src/callint.c:260
#25 0x000055555583035c in funcall_subr (subr=0x555555e2c360 <Sfuncall_interactively>, numargs=4, args=0x7fffffffda68) at ../../src/eval.c:3078
#26 0x000055555582fece in Ffuncall (nargs=5, args=0x7fffffffda60) at ../../src/eval.c:3023
#27 0x000055555582ef43 in Fapply (nargs=3, args=0x7fffffffdca0) at ../../src/eval.c:2653
#28 0x000055555582352c in Fcall_interactively (function=XIL(0x2aaa9cd657f0), record_flag=XIL(0), keys=XIL(0x555559397cb5)) at ../../src/callint.c:353
#29 0x00005555558304df in funcall_subr (subr=0x555555e2c3a0 <Scall_interactively>, numargs=3, args=0x7fffffffde50) at ../../src/eval.c:3103
#30 0x000055555582fece in Ffuncall (nargs=4, args=0x7fffffffde48) at ../../src/eval.c:3023
#31 0x00005555558902a5 in exec_byte_code (bytestr=XIL(0x7ffff29de9cc), vector=XIL(0x7ffff29de635), maxdepth=make_fixnum(13), args_template=make_fixnum(1025), nargs=1, args=0x7fffffffe3a0) at ../../src/bytecode.c:632
#32 0x0000555555830737 in fetch_and_exec_byte_code (fun=XIL(0x7ffff29de605), syms_left=make_fixnum(1025), nargs=1, args=0x7fffffffe398) at ../../src/eval.c:3147
#33 0x0000555555830bfe in funcall_lambda (fun=XIL(0x7ffff29de605), nargs=1, arg_vector=0x7fffffffe398) at ../../src/eval.c:3228
#34 0x000055555582ff22 in Ffuncall (nargs=2, args=0x7fffffffe390) at ../../src/eval.c:3027
#35 0x000055555582f6c4 in call1 (fn=XIL(0x4590), arg1=XIL(0x2aaa9cd657f0)) at ../../src/eval.c:2883
#36 0x0000555555745250 in command_loop_1 () at ../../src/keyboard.c:1505
#37 0x000055555582b52e in internal_condition_case (bfun=0x555555744987 <command_loop_1>, handlers=XIL(0x90), hfun=0x555555743d73 <cmd_error>) at ../../src/eval.c:1450
#38 0x0000555555744540 in command_loop_2 (handlers=XIL(0x90)) at ../../src/keyboard.c:1133
#39 0x000055555582a6c0 in internal_catch (tag=XIL(0xe850), func=0x555555744516 <command_loop_2>, arg=XIL(0x90)) at ../../src/eval.c:1181
#40 0x00005555557444e2 in command_loop () at ../../src/keyboard.c:1111
#41 0x000055555574381f in recursive_edit_1 () at ../../src/keyboard.c:720
#42 0x0000555555743a41 in Frecursive_edit () at ../../src/keyboard.c:803
#43 0x000055555573f4e1 in main (argc=5, argv=0x7fffffffe8a8) at ../../src/emacs.c:2354

Lisp Backtrace:
"x-close-connection" (0xffffc470)
"close-display-connection" (0xffffcc90)
"funcall-interactively" (0xffffcc88)
"call-interactively" (0xffffce30)
"command-execute" (0xffffd3b0)
"execute-extended-command" (0xffffda70)
"funcall-interactively" (0xffffda68)
"call-interactively" (0xffffde50)
"command-execute" (0xffffe398)
(gdb) cont
Continuing.

Thread 1 "emacs" hit Breakpoint 35, delete_terminal (terminal=0x55555672a3e0) at ../../src/terminal.c:319
319	  if (!terminal->name)
(gdb) bt
#0  delete_terminal (terminal=0x55555672a3e0) at ../../src/terminal.c:319
#1  0x000055555570c82d in x_delete_display (dpyinfo=0x555556732f70) at ../../src/xterm.c:13325
#2  0x000055555570cae6 in x_delete_terminal (terminal=0x55555672a3e0) at ../../src/xterm.c:13523
#3  0x000055555571ce4b in Fx_close_connection (terminal=XIL(0x555556161a04)) at ../../src/xfns.c:5786
#4  0x000055555583048c in funcall_subr (subr=0x555555e243a0 <Sx_close_connection>, numargs=1, args=0x7fffffffc470) at ../../src/eval.c:3098
#5  0x000055555582fece in Ffuncall (nargs=2, args=0x7fffffffc468) at ../../src/eval.c:3023
#6  0x00005555558902a5 in exec_byte_code (bytestr=XIL(0x7ffff2e7623c), vector=XIL(0x7ffff2e7609d), maxdepth=make_fixnum(7), args_template=make_fixnum(257), nargs=1, args=0x7fffffffcc98) at ../../src/bytecode.c:632
#7  0x0000555555830737 in fetch_and_exec_byte_code (fun=XIL(0x7ffff2e75f45), syms_left=make_fixnum(257), nargs=1, args=0x7fffffffcc90) at ../../src/eval.c:3147
#8  0x0000555555830bfe in funcall_lambda (fun=XIL(0x7ffff2e75f45), nargs=1, arg_vector=0x7fffffffcc90) at ../../src/eval.c:3228
#9  0x000055555582ff22 in Ffuncall (nargs=2, args=0x7fffffffcc88) at ../../src/eval.c:3027
#10 0x0000555555823089 in Ffuncall_interactively (nargs=2, args=0x7fffffffcc88) at ../../src/callint.c:260
#11 0x000055555583035c in funcall_subr (subr=0x555555e2c360 <Sfuncall_interactively>, numargs=2, args=0x7fffffffcc88) at ../../src/eval.c:3078
#12 0x000055555582fece in Ffuncall (nargs=3, args=0x7fffffffcc80) at ../../src/eval.c:3023
#13 0x000055555582eb6d in Fapply (nargs=3, args=0x7fffffffcc80) at ../../src/eval.c:2610
#14 0x000055555582352c in Fcall_interactively (function=XIL(0x2aaa9cfc1cd0), record_flag=XIL(0xc6c0), keys=XIL(0x555559258135)) at ../../src/callint.c:353
#15 0x00005555558304df in funcall_subr (subr=0x555555e2c3a0 <Scall_interactively>, numargs=3, args=0x7fffffffce30) at ../../src/eval.c:3103
#16 0x000055555582fece in Ffuncall (nargs=4, args=0x7fffffffce28) at ../../src/eval.c:3023
#17 0x00005555558902a5 in exec_byte_code (bytestr=XIL(0x7ffff29de9cc), vector=XIL(0x7ffff29de635), maxdepth=make_fixnum(13), args_template=make_fixnum(1025), nargs=2, args=0x7fffffffd3c0) at ../../src/bytecode.c:632
#18 0x0000555555830737 in fetch_and_exec_byte_code (fun=XIL(0x7ffff29de605), syms_left=make_fixnum(1025), nargs=2, args=0x7fffffffd3b0) at ../../src/eval.c:3147
#19 0x0000555555830bfe in funcall_lambda (fun=XIL(0x7ffff29de605), nargs=2, arg_vector=0x7fffffffd3b0) at ../../src/eval.c:3228
#20 0x000055555582ff22 in Ffuncall (nargs=3, args=0x7fffffffd3a8) at ../../src/eval.c:3027
#21 0x00005555558902a5 in exec_byte_code (bytestr=XIL(0x7ffff2c1ad9c), vector=XIL(0x7ffff2c1a50d), maxdepth=make_fixnum(17), args_template=make_fixnum(769), nargs=3, args=0x7fffffffda88) at ../../src/bytecode.c:632
#22 0x0000555555830737 in fetch_and_exec_byte_code (fun=XIL(0x7ffff2c19a85), syms_left=make_fixnum(769), nargs=3, args=0x7fffffffda70) at ../../src/eval.c:3147
#23 0x0000555555830bfe in funcall_lambda (fun=XIL(0x7ffff2c19a85), nargs=3, arg_vector=0x7fffffffda70) at ../../src/eval.c:3228
#24 0x000055555582ff22 in Ffuncall (nargs=4, args=0x7fffffffda68) at ../../src/eval.c:3027
#25 0x0000555555823089 in Ffuncall_interactively (nargs=4, args=0x7fffffffda68) at ../../src/callint.c:260
#26 0x000055555583035c in funcall_subr (subr=0x555555e2c360 <Sfuncall_interactively>, numargs=4, args=0x7fffffffda68) at ../../src/eval.c:3078
#27 0x000055555582fece in Ffuncall (nargs=5, args=0x7fffffffda60) at ../../src/eval.c:3023
#28 0x000055555582ef43 in Fapply (nargs=3, args=0x7fffffffdca0) at ../../src/eval.c:2653
#29 0x000055555582352c in Fcall_interactively (function=XIL(0x2aaa9cd657f0), record_flag=XIL(0), keys=XIL(0x555559397cb5)) at ../../src/callint.c:353
#30 0x00005555558304df in funcall_subr (subr=0x555555e2c3a0 <Scall_interactively>, numargs=3, args=0x7fffffffde50) at ../../src/eval.c:3103
#31 0x000055555582fece in Ffuncall (nargs=4, args=0x7fffffffde48) at ../../src/eval.c:3023
#32 0x00005555558902a5 in exec_byte_code (bytestr=XIL(0x7ffff29de9cc), vector=XIL(0x7ffff29de635), maxdepth=make_fixnum(13), args_template=make_fixnum(1025), nargs=1, args=0x7fffffffe3a0) at ../../src/bytecode.c:632
#33 0x0000555555830737 in fetch_and_exec_byte_code (fun=XIL(0x7ffff29de605), syms_left=make_fixnum(1025), nargs=1, args=0x7fffffffe398) at ../../src/eval.c:3147
#34 0x0000555555830bfe in funcall_lambda (fun=XIL(0x7ffff29de605), nargs=1, arg_vector=0x7fffffffe398) at ../../src/eval.c:3228
#35 0x000055555582ff22 in Ffuncall (nargs=2, args=0x7fffffffe390) at ../../src/eval.c:3027
#36 0x000055555582f6c4 in call1 (fn=XIL(0x4590), arg1=XIL(0x2aaa9cd657f0)) at ../../src/eval.c:2883
#37 0x0000555555745250 in command_loop_1 () at ../../src/keyboard.c:1505
#38 0x000055555582b52e in internal_condition_case (bfun=0x555555744987 <command_loop_1>, handlers=XIL(0x90), hfun=0x555555743d73 <cmd_error>) at ../../src/eval.c:1450
#39 0x0000555555744540 in command_loop_2 (handlers=XIL(0x90)) at ../../src/keyboard.c:1133
#40 0x000055555582a6c0 in internal_catch (tag=XIL(0xe850), func=0x555555744516 <command_loop_2>, arg=XIL(0x90)) at ../../src/eval.c:1181
#41 0x00005555557444e2 in command_loop () at ../../src/keyboard.c:1111
#42 0x000055555574381f in recursive_edit_1 () at ../../src/keyboard.c:720
#43 0x0000555555743a41 in Frecursive_edit () at ../../src/keyboard.c:803
#44 0x000055555573f4e1 in main (argc=5, argv=0x7fffffffe8a8) at ../../src/emacs.c:2354

Lisp Backtrace:
"x-close-connection" (0xffffc470)
"close-display-connection" (0xffffcc90)
"funcall-interactively" (0xffffcc88)
"call-interactively" (0xffffce30)
"command-execute" (0xffffd3b0)
"execute-extended-command" (0xffffda70)
"funcall-interactively" (0xffffda68)
"call-interactively" (0xffffde50)
"command-execute" (0xffffe398)
(gdb) cont
Continuing.

[-- Attachment #3: Type: text/plain, Size: 1011 bytes --]



[...]

    Po> Emacs does not abort when `debug-on-error' is on, and I don't see a call to emacs_abort
    Po> anywhere in those backtraces.

Right. It does not call emacs_abort. It calls kill-emacs -1 inside the
debug elisp function.

    >> 3. the X Glyph issue should not happen. Is it totally normal closing X-remote frames.

    Po> That is the only bug (which might be in Emacs, or some external library) I see here.  Emacs
    Po> 28 does not use rendering extension glyphs itself, so it's more likely to be in cairo or
    Po> some other library that we use.

This is a very old emacs bug for me. It had took me years identifying
the right combination that triggers the bug.

    Po> Which is why a proper backtrace in synchronous mode is vital, so we can know which code is
    Po> making the offending protocol request: otherwise, the errors are only reported the next time
    Po> something calls XSync, some time after the fautly code runs.

As said above the backtrace is attached.

Best Regards

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

* Re: help needed for getting a backtrace ( multi-head emacs_abort on lucid-frame)
  2022-04-18  6:16               ` andres.ramirez
@ 2022-04-18  6:53                 ` Po Lu
  2022-04-18  7:37                   ` andrés ramírez
  0 siblings, 1 reply; 20+ messages in thread
From: Po Lu @ 2022-04-18  6:53 UTC (permalink / raw)
  To: andres.ramirez; +Cc: emacs-devel

andres.ramirez <rrandresf@gmail.com> writes:

> This is a very old emacs bug for me. It had took me years identifying
> the right combination that triggers the bug.

Thanks, that is pretty odd.  Would you please run Emacs in whatever
manner enables you to reproduce the bug, step up to the frame containing
`x_error_handler', and then say:

  (gdb) p *event

Please attach the output of `xdpyinfo -ext all' from that display as
well.



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

* Re: help needed for getting a backtrace ( multi-head emacs_abort on lucid-frame)
  2022-04-18  6:53                 ` Po Lu
@ 2022-04-18  7:37                   ` andrés ramírez
  2022-04-18  8:00                     ` Po Lu
  0 siblings, 1 reply; 20+ messages in thread
From: andrés ramírez @ 2022-04-18  7:37 UTC (permalink / raw)
  To: Po Lu; +Cc: emacs-devel

[-- Attachment #1: Type: text/plain, Size: 309 bytes --]

Hi. Po Lu.

>>>>> "Po" == Po Lu <luangruo@yahoo.com> writes:


[...]

    Po> Thanks, that is pretty odd.  Would you please run Emacs in whatever manner enables you to
    Po> reproduce the bug, step up to the frame containing `x_error_handler', and then say:

    Po>   (gdb) p *event

This is the gdb log:


[-- Attachment #2: gdblog --]
[-- Type: text/plain, Size: 2757 bytes --]

Current directory is /tmp/emacs/src/emacs-28.1/build/src/
GNU gdb (GDB) 11.2
Copyright (C) 2022 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-pc-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /tmp/emacs/src/emacs-28.1/build/src/emacs...
SIGINT is used by the debugger.
Are you sure you want to change it? (y or n) [answered Y; input not from terminal]
DISPLAY = :0
TERM = dumb
Breakpoint 2 at 0x1b1caa: file ../../src/xterm.c, line 10285.
(gdb) Warning: 'set target-async', an alias for the command 'set mi-async', is deprecated.
Use 'set mi-async'.

run
Starting program: /tmp/emacs/src/emacs-28.1/build/src/emacs -Q -f toggle-debug-on-error --fg-daemon
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".

Breakpoint 31, main (argc=5, argv=0x7fffffffe7e8) at ../../src/emacs.c:1186
1186	{
(gdb) cont
Continuing.
[New Thread 0x7ffff258a640 (LWP 825)]
[New Thread 0x7ffff1bdf640 (LWP 886)]
[New Thread 0x7ffff124f640 (LWP 887)]
[Detaching after vfork from child process 921]
[Detaching after vfork from child process 922]

Thread 1 "emacs" hit Breakpoint 37, delete_frame (frame=XIL(0x555556731a1d), force=XIL(0)) at ../../src/frame.c:1965
1965	  struct frame *f = decode_any_frame (frame);
(gdb) cont
Continuing.

Thread 1 "emacs" hit Breakpoint 33, x_delete_terminal (terminal=0x555556731800) at ../../src/xterm.c:13450
13450	  struct x_display_info *dpyinfo = terminal->display_info.x;
(gdb) cont
Continuing.

Thread 1 "emacs" hit Breakpoint 34, x_delete_display (dpyinfo=0x5555567b0d50) at ../../src/xterm.c:13317
13317	  for (t = terminal_list; t; t = t->next_terminal)
(gdb) cont
Continuing.

Thread 1 "emacs" hit Breakpoint 36, delete_terminal (terminal=0x555556731800) at ../../src/terminal.c:319
319	  if (!terminal->name)
(gdb) cont
Continuing.

Thread 1 "emacs" hit Breakpoint 35, x_error_handler (display=0x5555560e7c60, event=0x7fffffffceb0) at ../../src/xterm.c:10270
10270	  if (x_error_message)
(gdb) p *event
$1 = {
  type = 0,
  display = 0x5555560e7c60,
  resourceid = 1,
  serial = 4605,
  error_code = 146 '\222',
  request_code = 139 '\213',
  minor_code = 22 '\026'
}
(gdb) 

[-- Attachment #3: Type: text/plain, Size: 99 bytes --]


    Po> Please attach the output of `xdpyinfo -ext all' from that display as well.

The required:

[-- Attachment #4: xdpyinfo --]
[-- Type: text/plain, Size: 76400 bytes --]

name of display:    localhost:10.0
version number:    11.0
vendor string:    The X.Org Foundation
vendor release number:    12101003
X.Org version: 21.1.3
maximum request size:  16777212 bytes
motion buffer size:  256
bitmap unit, bit order, padding:    32, LSBFirst, 32
image byte order:    LSBFirst
number of supported pixmap formats:    7
supported pixmap formats:
    depth 1, bits_per_pixel 1, scanline_pad 32
    depth 4, bits_per_pixel 8, scanline_pad 32
    depth 8, bits_per_pixel 8, scanline_pad 32
    depth 15, bits_per_pixel 16, scanline_pad 32
    depth 16, bits_per_pixel 16, scanline_pad 32
    depth 24, bits_per_pixel 32, scanline_pad 32
    depth 32, bits_per_pixel 32, scanline_pad 32
keycode range:    minimum 8, maximum 255
focus:  window 0x200000c, revert to PointerRoot
number of extensions:    28
    BIG-REQUESTS
    Composite
    DAMAGE
    DOUBLE-BUFFER
    DPMS
    DRI2
    DRI3
    GLX
    Generic Event Extension
    MIT-SCREEN-SAVER
    MIT-SHM
    Present
    RANDR
    RECORD
    RENDER
    SECURITY
    SHAPE
    SYNC
    X-Resource
    XC-MISC
    XFIXES
    XFree86-DGA
    XFree86-VidModeExtension
    XINERAMA
    XInputExtension
    XKEYBOARD
    XTEST
    XVideo
default screen number:    0
number of screens:    1

screen #0:
  dimensions:    1024x768 pixels (271x203 millimeters)
  resolution:    96x96 dots per inch
  depths (7):    24, 1, 4, 8, 15, 16, 32
  root window id:    0x1df
  depth of root window:    24 planes
  number of colormaps:    minimum 1, maximum 1
  default colormap:    0x20
  default number of colormap cells:    256
  preallocated pixels:    black 0, white 16777215
  options:    backing-store WHEN MAPPED, save-unders NO
  largest cursor:    64x64
  current input event mask:    0x7a803f
    KeyPressMask             KeyReleaseMask           ButtonPressMask          
    ButtonReleaseMask        EnterWindowMask          LeaveWindowMask          
    ExposureMask             StructureNotifyMask      SubstructureNotifyMask   
    SubstructureRedirectMask FocusChangeMask          PropertyChangeMask       
  number of visuals:    180
  default visual id:  0x21
  visual:
    visual id:    0x21
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x22
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x12d
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x12e
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x12f
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x130
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x131
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x132
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x133
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x134
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x135
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x136
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x137
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x138
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x139
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x13a
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x13b
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x13c
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x13d
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x13e
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x13f
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x140
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x141
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x142
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x143
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x144
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x145
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x146
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x147
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x148
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x149
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x14a
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x14b
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x14c
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x14d
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x14e
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x14f
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x150
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x151
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x152
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x153
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x154
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x155
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x156
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x157
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x158
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x159
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x15a
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x15b
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x15c
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x15d
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x15e
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x15f
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x160
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x161
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x162
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x163
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x164
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x165
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x166
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x167
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x168
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x169
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x16a
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x16b
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x16c
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x16d
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x16e
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x16f
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x170
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x171
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x172
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x173
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x174
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x175
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x176
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x177
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x178
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x179
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x17a
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x17b
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x17c
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x17d
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x17e
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x17f
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x180
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x181
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x182
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x183
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x184
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x185
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x186
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x187
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x188
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x189
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x18a
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x18b
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x18c
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x18d
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x18e
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x18f
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x190
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x191
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x192
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x193
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x194
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x195
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x196
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x197
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x198
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x199
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x19a
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x19b
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x19c
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x19d
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x19e
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x19f
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x1a0
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x1a1
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x1a2
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x1a3
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x1a4
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x1a5
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x1a6
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x1a7
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x1a8
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x1a9
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x1aa
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x1ab
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x1ac
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x1ad
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x1ae
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x1af
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x1b0
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x1b1
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x1b2
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x1b3
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x1b4
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x1b5
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x1b6
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x1b7
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x1b8
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x1b9
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x1ba
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x1bb
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x1bc
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x1bd
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x1be
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x1bf
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x1c0
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x1c1
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x1c2
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x1c3
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x1c4
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x1c5
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x1c6
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x1c7
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x1c8
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x1c9
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x1ca
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x1cb
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x1cc
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x54
    class:    TrueColor
    depth:    32 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x1cd
    class:    TrueColor
    depth:    32 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x1ce
    class:    TrueColor
    depth:    32 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x1cf
    class:    TrueColor
    depth:    32 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x1d0
    class:    TrueColor
    depth:    32 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x1d1
    class:    TrueColor
    depth:    32 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x1d2
    class:    TrueColor
    depth:    32 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x1d3
    class:    TrueColor
    depth:    32 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x1d4
    class:    TrueColor
    depth:    32 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x1d5
    class:    TrueColor
    depth:    32 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x1d6
    class:    TrueColor
    depth:    32 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x1d7
    class:    TrueColor
    depth:    32 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x1d8
    class:    TrueColor
    depth:    32 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x1d9
    class:    TrueColor
    depth:    32 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x1da
    class:    TrueColor
    depth:    32 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x1db
    class:    TrueColor
    depth:    32 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x1dc
    class:    TrueColor
    depth:    32 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x1dd
    class:    TrueColor
    depth:    32 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits

MIT-SHM version 1.2 opcode: 130, base event: 65, base error: 128
  shared pixmaps: yes, format: 2

XKEYBOARD version 1.0 opcode: 135, base event: 85, base error: 137

Multi-Buffering extension not supported by server

SHAPE version 1.1 opcode: 129, base event: 64

SYNC version 3.1 opcode: 134, base event: 83, base error: 134
  system counters: 8
    DEVICEIDLETIME 7  id: 0x000001e8  resolution_lo: 4  resolution_hi: 0
    DEVICEIDLETIME 6  id: 0x000001e7  resolution_lo: 4  resolution_hi: 0
    DEVICEIDLETIME 5  id: 0x000001e6  resolution_lo: 4  resolution_hi: 0
    DEVICEIDLETIME 4  id: 0x000001e5  resolution_lo: 4  resolution_hi: 0
    DEVICEIDLETIME 3  id: 0x000001e4  resolution_lo: 4  resolution_hi: 0
    DEVICEIDLETIME 2  id: 0x000001e3  resolution_lo: 4  resolution_hi: 0
    IDLETIME  id: 0x00000052  resolution_lo: 4  resolution_hi: 0
    SERVERTIME  id: 0x00000051  resolution_lo: 4  resolution_hi: 0

XFree86-VidModeExtension version 2.2 opcode: 153, base error: 172
  Monitor Information:
    Vendor: , Model: 
    Num hsync: 0, Num vsync: 0
  Available Video Mode Settings:
     Clock   Hdsp Hbeg Hend Httl   Vdsp Vbeg Vend Vttl  Flags
     63.50   1024 1072 1176 1328    768  771  775  798  -hsync +vsync
  Current Video Mode Setting:
     63.50   1024 1072 1176 1328    768  771  775  798  -hsync +vsync

XTEST version 2.2 opcode: 132

DOUBLE-BUFFER version 1.0 opcode: 145, base error: 153
  Double-buffered visuals on screen 0
    visual id 0x21  depth 24  perflevel 0
    visual id 0x22  depth 24  perflevel 0
    visual id 0x12d  depth 24  perflevel 0
    visual id 0x12e  depth 24  perflevel 0
    visual id 0x12f  depth 24  perflevel 0
    visual id 0x130  depth 24  perflevel 0
    visual id 0x131  depth 24  perflevel 0
    visual id 0x132  depth 24  perflevel 0
    visual id 0x133  depth 24  perflevel 0
    visual id 0x134  depth 24  perflevel 0
    visual id 0x135  depth 24  perflevel 0
    visual id 0x136  depth 24  perflevel 0
    visual id 0x137  depth 24  perflevel 0
    visual id 0x138  depth 24  perflevel 0
    visual id 0x139  depth 24  perflevel 0
    visual id 0x13a  depth 24  perflevel 0
    visual id 0x13b  depth 24  perflevel 0
    visual id 0x13c  depth 24  perflevel 0
    visual id 0x13d  depth 24  perflevel 0
    visual id 0x13e  depth 24  perflevel 0
    visual id 0x13f  depth 24  perflevel 0
    visual id 0x140  depth 24  perflevel 0
    visual id 0x141  depth 24  perflevel 0
    visual id 0x142  depth 24  perflevel 0
    visual id 0x143  depth 24  perflevel 0
    visual id 0x144  depth 24  perflevel 0
    visual id 0x145  depth 24  perflevel 0
    visual id 0x146  depth 24  perflevel 0
    visual id 0x147  depth 24  perflevel 0
    visual id 0x148  depth 24  perflevel 0
    visual id 0x149  depth 24  perflevel 0
    visual id 0x14a  depth 24  perflevel 0
    visual id 0x14b  depth 24  perflevel 0
    visual id 0x14c  depth 24  perflevel 0
    visual id 0x14d  depth 24  perflevel 0
    visual id 0x14e  depth 24  perflevel 0
    visual id 0x14f  depth 24  perflevel 0
    visual id 0x150  depth 24  perflevel 0
    visual id 0x151  depth 24  perflevel 0
    visual id 0x152  depth 24  perflevel 0
    visual id 0x153  depth 24  perflevel 0
    visual id 0x154  depth 24  perflevel 0
    visual id 0x155  depth 24  perflevel 0
    visual id 0x156  depth 24  perflevel 0
    visual id 0x157  depth 24  perflevel 0
    visual id 0x158  depth 24  perflevel 0
    visual id 0x159  depth 24  perflevel 0
    visual id 0x15a  depth 24  perflevel 0
    visual id 0x15b  depth 24  perflevel 0
    visual id 0x15c  depth 24  perflevel 0
    visual id 0x15d  depth 24  perflevel 0
    visual id 0x15e  depth 24  perflevel 0
    visual id 0x15f  depth 24  perflevel 0
    visual id 0x160  depth 24  perflevel 0
    visual id 0x161  depth 24  perflevel 0
    visual id 0x162  depth 24  perflevel 0
    visual id 0x163  depth 24  perflevel 0
    visual id 0x164  depth 24  perflevel 0
    visual id 0x165  depth 24  perflevel 0
    visual id 0x166  depth 24  perflevel 0
    visual id 0x167  depth 24  perflevel 0
    visual id 0x168  depth 24  perflevel 0
    visual id 0x169  depth 24  perflevel 0
    visual id 0x16a  depth 24  perflevel 0
    visual id 0x16b  depth 24  perflevel 0
    visual id 0x16c  depth 24  perflevel 0
    visual id 0x16d  depth 24  perflevel 0
    visual id 0x16e  depth 24  perflevel 0
    visual id 0x16f  depth 24  perflevel 0
    visual id 0x170  depth 24  perflevel 0
    visual id 0x171  depth 24  perflevel 0
    visual id 0x172  depth 24  perflevel 0
    visual id 0x173  depth 24  perflevel 0
    visual id 0x174  depth 24  perflevel 0
    visual id 0x175  depth 24  perflevel 0
    visual id 0x176  depth 24  perflevel 0
    visual id 0x177  depth 24  perflevel 0
    visual id 0x178  depth 24  perflevel 0
    visual id 0x179  depth 24  perflevel 0
    visual id 0x17a  depth 24  perflevel 0
    visual id 0x17b  depth 24  perflevel 0
    visual id 0x17c  depth 24  perflevel 0
    visual id 0x17d  depth 24  perflevel 0
    visual id 0x17e  depth 24  perflevel 0
    visual id 0x17f  depth 24  perflevel 0
    visual id 0x180  depth 24  perflevel 0
    visual id 0x181  depth 24  perflevel 0
    visual id 0x182  depth 24  perflevel 0
    visual id 0x183  depth 24  perflevel 0
    visual id 0x184  depth 24  perflevel 0
    visual id 0x185  depth 24  perflevel 0
    visual id 0x186  depth 24  perflevel 0
    visual id 0x187  depth 24  perflevel 0
    visual id 0x188  depth 24  perflevel 0
    visual id 0x189  depth 24  perflevel 0
    visual id 0x18a  depth 24  perflevel 0
    visual id 0x18b  depth 24  perflevel 0
    visual id 0x18c  depth 24  perflevel 0
    visual id 0x18d  depth 24  perflevel 0
    visual id 0x18e  depth 24  perflevel 0
    visual id 0x18f  depth 24  perflevel 0
    visual id 0x190  depth 24  perflevel 0
    visual id 0x191  depth 24  perflevel 0
    visual id 0x192  depth 24  perflevel 0
    visual id 0x193  depth 24  perflevel 0
    visual id 0x194  depth 24  perflevel 0
    visual id 0x195  depth 24  perflevel 0
    visual id 0x196  depth 24  perflevel 0
    visual id 0x197  depth 24  perflevel 0
    visual id 0x198  depth 24  perflevel 0
    visual id 0x199  depth 24  perflevel 0
    visual id 0x19a  depth 24  perflevel 0
    visual id 0x19b  depth 24  perflevel 0
    visual id 0x19c  depth 24  perflevel 0
    visual id 0x19d  depth 24  perflevel 0
    visual id 0x19e  depth 24  perflevel 0
    visual id 0x19f  depth 24  perflevel 0
    visual id 0x1a0  depth 24  perflevel 0
    visual id 0x1a1  depth 24  perflevel 0
    visual id 0x1a2  depth 24  perflevel 0
    visual id 0x1a3  depth 24  perflevel 0
    visual id 0x1a4  depth 24  perflevel 0
    visual id 0x1a5  depth 24  perflevel 0
    visual id 0x1a6  depth 24  perflevel 0
    visual id 0x1a7  depth 24  perflevel 0
    visual id 0x1a8  depth 24  perflevel 0
    visual id 0x1a9  depth 24  perflevel 0
    visual id 0x1aa  depth 24  perflevel 0
    visual id 0x1ab  depth 24  perflevel 0
    visual id 0x1ac  depth 24  perflevel 0
    visual id 0x1ad  depth 24  perflevel 0
    visual id 0x1ae  depth 24  perflevel 0
    visual id 0x1af  depth 24  perflevel 0
    visual id 0x1b0  depth 24  perflevel 0
    visual id 0x1b1  depth 24  perflevel 0
    visual id 0x1b2  depth 24  perflevel 0
    visual id 0x1b3  depth 24  perflevel 0
    visual id 0x1b4  depth 24  perflevel 0
    visual id 0x1b5  depth 24  perflevel 0
    visual id 0x1b6  depth 24  perflevel 0
    visual id 0x1b7  depth 24  perflevel 0
    visual id 0x1b8  depth 24  perflevel 0
    visual id 0x1b9  depth 24  perflevel 0
    visual id 0x1ba  depth 24  perflevel 0
    visual id 0x1bb  depth 24  perflevel 0
    visual id 0x1bc  depth 24  perflevel 0
    visual id 0x1bd  depth 24  perflevel 0
    visual id 0x1be  depth 24  perflevel 0
    visual id 0x1bf  depth 24  perflevel 0
    visual id 0x1c0  depth 24  perflevel 0
    visual id 0x1c1  depth 24  perflevel 0
    visual id 0x1c2  depth 24  perflevel 0
    visual id 0x1c3  depth 24  perflevel 0
    visual id 0x1c4  depth 24  perflevel 0
    visual id 0x1c5  depth 24  perflevel 0
    visual id 0x1c6  depth 24  perflevel 0
    visual id 0x1c7  depth 24  perflevel 0
    visual id 0x1c8  depth 24  perflevel 0
    visual id 0x1c9  depth 24  perflevel 0
    visual id 0x1ca  depth 24  perflevel 0
    visual id 0x1cb  depth 24  perflevel 0
    visual id 0x1cc  depth 24  perflevel 0
    visual id 0x54  depth 32  perflevel 0
    visual id 0x1cd  depth 32  perflevel 0
    visual id 0x1ce  depth 32  perflevel 0
    visual id 0x1cf  depth 32  perflevel 0
    visual id 0x1d0  depth 32  perflevel 0
    visual id 0x1d1  depth 32  perflevel 0
    visual id 0x1d2  depth 32  perflevel 0
    visual id 0x1d3  depth 32  perflevel 0
    visual id 0x1d4  depth 32  perflevel 0
    visual id 0x1d5  depth 32  perflevel 0
    visual id 0x1d6  depth 32  perflevel 0
    visual id 0x1d7  depth 32  perflevel 0
    visual id 0x1d8  depth 32  perflevel 0
    visual id 0x1d9  depth 32  perflevel 0
    visual id 0x1da  depth 32  perflevel 0
    visual id 0x1db  depth 32  perflevel 0
    visual id 0x1dc  depth 32  perflevel 0
    visual id 0x1dd  depth 32  perflevel 0

RECORD version 1.13 opcode: 146, base error: 154

XInputExtension version 2.4 opcode: 131, base event: 66, base error: 129
  Extended devices :
	"Virtual core pointer"	[XPointer]
	"Virtual core keyboard"	[XKeyboard]
	"Virtual core XTEST pointer"	[XExtensionPointer]
	"Virtual core XTEST keyboard"	[XExtensionKeyboard]
	"sunxi-ir"	[XExtensionPointer]
	"sunxi-ir"	[XExtensionKeyboard]

RENDER version 0.11 opcode: 139, base error: 142
  Render formats :
  pict format:
	format id:    0x23
	type:         Direct
	depth:        1
	alpha:         0 mask 0x1
	red:           0 mask 0x0
	green:         0 mask 0x0
	blue:          0 mask 0x0
  pict format:
	format id:    0x24
	type:         Direct
	depth:        8
	alpha:         0 mask 0xff
	red:           0 mask 0x0
	green:         0 mask 0x0
	blue:          0 mask 0x0
  pict format:
	format id:    0x25
	type:         Direct
	depth:        32
	alpha:        24 mask 0xff
	red:          16 mask 0xff
	green:         8 mask 0xff
	blue:          0 mask 0xff
  pict format:
	format id:    0x26
	type:         Direct
	depth:        32
	alpha:         0 mask 0x0
	red:          16 mask 0xff
	green:         8 mask 0xff
	blue:          0 mask 0xff
  pict format:
	format id:    0x27
	type:         Direct
	depth:        32
	alpha:         0 mask 0xff
	red:           8 mask 0xff
	green:        16 mask 0xff
	blue:         24 mask 0xff
  pict format:
	format id:    0x28
	type:         Direct
	depth:        32
	alpha:         0 mask 0x0
	red:           8 mask 0xff
	green:        16 mask 0xff
	blue:         24 mask 0xff
  pict format:
	format id:    0x29
	type:         Direct
	depth:        24
	alpha:         0 mask 0x0
	red:          16 mask 0xff
	green:         8 mask 0xff
	blue:          0 mask 0xff
  pict format:
	format id:    0x2a
	type:         Direct
	depth:        24
	alpha:         0 mask 0x0
	red:           0 mask 0xff
	green:         8 mask 0xff
	blue:         16 mask 0xff
  pict format:
	format id:    0x2b
	type:         Direct
	depth:        15
	alpha:         0 mask 0x0
	red:           8 mask 0xf
	green:         4 mask 0xf
	blue:          0 mask 0xf
  pict format:
	format id:    0x2c
	type:         Direct
	depth:        15
	alpha:         0 mask 0x0
	red:           0 mask 0xf
	green:         4 mask 0xf
	blue:          8 mask 0xf
  pict format:
	format id:    0x2d
	type:         Direct
	depth:        15
	alpha:         0 mask 0x0
	red:          10 mask 0x1f
	green:         5 mask 0x1f
	blue:          0 mask 0x1f
  pict format:
	format id:    0x2e
	type:         Direct
	depth:        15
	alpha:         0 mask 0x0
	red:           0 mask 0x1f
	green:         5 mask 0x1f
	blue:         10 mask 0x1f
  pict format:
	format id:    0x2f
	type:         Direct
	depth:        16
	alpha:         0 mask 0x0
	red:           8 mask 0xf
	green:         4 mask 0xf
	blue:          0 mask 0xf
  pict format:
	format id:    0x30
	type:         Direct
	depth:        16
	alpha:         0 mask 0x0
	red:           0 mask 0xf
	green:         4 mask 0xf
	blue:          8 mask 0xf
  pict format:
	format id:    0x31
	type:         Direct
	depth:        16
	alpha:         0 mask 0x0
	red:          10 mask 0x1f
	green:         5 mask 0x1f
	blue:          0 mask 0x1f
  pict format:
	format id:    0x32
	type:         Direct
	depth:        16
	alpha:         0 mask 0x0
	red:           0 mask 0x1f
	green:         5 mask 0x1f
	blue:         10 mask 0x1f
  pict format:
	format id:    0x33
	type:         Direct
	depth:        16
	alpha:        15 mask 0x1
	red:          10 mask 0x1f
	green:         5 mask 0x1f
	blue:          0 mask 0x1f
  pict format:
	format id:    0x34
	type:         Direct
	depth:        16
	alpha:        15 mask 0x1
	red:           0 mask 0x1f
	green:         5 mask 0x1f
	blue:         10 mask 0x1f
  pict format:
	format id:    0x35
	type:         Direct
	depth:        16
	alpha:         0 mask 0x0
	red:          11 mask 0x1f
	green:         5 mask 0x3f
	blue:          0 mask 0x1f
  pict format:
	format id:    0x36
	type:         Direct
	depth:        16
	alpha:         0 mask 0x0
	red:           0 mask 0x1f
	green:         5 mask 0x3f
	blue:         11 mask 0x1f
  pict format:
	format id:    0x37
	type:         Direct
	depth:        16
	alpha:        12 mask 0xf
	red:           8 mask 0xf
	green:         4 mask 0xf
	blue:          0 mask 0xf
  pict format:
	format id:    0x38
	type:         Direct
	depth:        16
	alpha:        12 mask 0xf
	red:           0 mask 0xf
	green:         4 mask 0xf
	blue:          8 mask 0xf
  pict format:
	format id:    0x39
	type:         Direct
	depth:        32
	alpha:         0 mask 0x0
	red:           0 mask 0xff
	green:         8 mask 0xff
	blue:         16 mask 0xff
  pict format:
	format id:    0x3a
	type:         Direct
	depth:        32
	alpha:        30 mask 0x3
	red:          20 mask 0x3ff
	green:        10 mask 0x3ff
	blue:          0 mask 0x3ff
  pict format:
	format id:    0x3b
	type:         Direct
	depth:        32
	alpha:         0 mask 0x0
	red:          20 mask 0x3ff
	green:        10 mask 0x3ff
	blue:          0 mask 0x3ff
  pict format:
	format id:    0x3c
	type:         Direct
	depth:        32
	alpha:        30 mask 0x3
	red:           0 mask 0x3ff
	green:        10 mask 0x3ff
	blue:         20 mask 0x3ff
  pict format:
	format id:    0x3d
	type:         Direct
	depth:        32
	alpha:         0 mask 0x0
	red:           0 mask 0x3ff
	green:        10 mask 0x3ff
	blue:         20 mask 0x3ff
  Screen formats :
    Screen 0 (sub-pixel order Unknown)
      filters: nearest, bilinear, convolution, fast(nearest), good(bilinear), best(bilinear)
      visual format:
        visual id:      0x21
        pict format id: 0x29
      visual format:
        visual id:      0x22
        pict format id: 0x29
      visual format:
        visual id:      0x12d
        pict format id: 0x29
      visual format:
        visual id:      0x12e
        pict format id: 0x29
      visual format:
        visual id:      0x12f
        pict format id: 0x29
      visual format:
        visual id:      0x130
        pict format id: 0x29
      visual format:
        visual id:      0x131
        pict format id: 0x29
      visual format:
        visual id:      0x132
        pict format id: 0x29
      visual format:
        visual id:      0x133
        pict format id: 0x29
      visual format:
        visual id:      0x134
        pict format id: 0x29
      visual format:
        visual id:      0x135
        pict format id: 0x29
      visual format:
        visual id:      0x136
        pict format id: 0x29
      visual format:
        visual id:      0x137
        pict format id: 0x29
      visual format:
        visual id:      0x138
        pict format id: 0x29
      visual format:
        visual id:      0x139
        pict format id: 0x29
      visual format:
        visual id:      0x13a
        pict format id: 0x29
      visual format:
        visual id:      0x13b
        pict format id: 0x29
      visual format:
        visual id:      0x13c
        pict format id: 0x29
      visual format:
        visual id:      0x13d
        pict format id: 0x29
      visual format:
        visual id:      0x13e
        pict format id: 0x29
      visual format:
        visual id:      0x13f
        pict format id: 0x29
      visual format:
        visual id:      0x140
        pict format id: 0x29
      visual format:
        visual id:      0x141
        pict format id: 0x29
      visual format:
        visual id:      0x142
        pict format id: 0x29
      visual format:
        visual id:      0x143
        pict format id: 0x29
      visual format:
        visual id:      0x144
        pict format id: 0x29
      visual format:
        visual id:      0x145
        pict format id: 0x29
      visual format:
        visual id:      0x146
        pict format id: 0x29
      visual format:
        visual id:      0x147
        pict format id: 0x29
      visual format:
        visual id:      0x148
        pict format id: 0x29
      visual format:
        visual id:      0x149
        pict format id: 0x29
      visual format:
        visual id:      0x14a
        pict format id: 0x29
      visual format:
        visual id:      0x14b
        pict format id: 0x29
      visual format:
        visual id:      0x14c
        pict format id: 0x29
      visual format:
        visual id:      0x14d
        pict format id: 0x29
      visual format:
        visual id:      0x14e
        pict format id: 0x29
      visual format:
        visual id:      0x14f
        pict format id: 0x29
      visual format:
        visual id:      0x150
        pict format id: 0x29
      visual format:
        visual id:      0x151
        pict format id: 0x29
      visual format:
        visual id:      0x152
        pict format id: 0x29
      visual format:
        visual id:      0x153
        pict format id: 0x29
      visual format:
        visual id:      0x154
        pict format id: 0x29
      visual format:
        visual id:      0x155
        pict format id: 0x29
      visual format:
        visual id:      0x156
        pict format id: 0x29
      visual format:
        visual id:      0x157
        pict format id: 0x29
      visual format:
        visual id:      0x158
        pict format id: 0x29
      visual format:
        visual id:      0x159
        pict format id: 0x29
      visual format:
        visual id:      0x15a
        pict format id: 0x29
      visual format:
        visual id:      0x15b
        pict format id: 0x29
      visual format:
        visual id:      0x15c
        pict format id: 0x29
      visual format:
        visual id:      0x15d
        pict format id: 0x29
      visual format:
        visual id:      0x15e
        pict format id: 0x29
      visual format:
        visual id:      0x15f
        pict format id: 0x29
      visual format:
        visual id:      0x160
        pict format id: 0x29
      visual format:
        visual id:      0x161
        pict format id: 0x29
      visual format:
        visual id:      0x162
        pict format id: 0x29
      visual format:
        visual id:      0x163
        pict format id: 0x29
      visual format:
        visual id:      0x164
        pict format id: 0x29
      visual format:
        visual id:      0x165
        pict format id: 0x29
      visual format:
        visual id:      0x166
        pict format id: 0x29
      visual format:
        visual id:      0x167
        pict format id: 0x29
      visual format:
        visual id:      0x168
        pict format id: 0x29
      visual format:
        visual id:      0x169
        pict format id: 0x29
      visual format:
        visual id:      0x16a
        pict format id: 0x29
      visual format:
        visual id:      0x16b
        pict format id: 0x29
      visual format:
        visual id:      0x16c
        pict format id: 0x29
      visual format:
        visual id:      0x16d
        pict format id: 0x29
      visual format:
        visual id:      0x16e
        pict format id: 0x29
      visual format:
        visual id:      0x16f
        pict format id: 0x29
      visual format:
        visual id:      0x170
        pict format id: 0x29
      visual format:
        visual id:      0x171
        pict format id: 0x29
      visual format:
        visual id:      0x172
        pict format id: 0x29
      visual format:
        visual id:      0x173
        pict format id: 0x29
      visual format:
        visual id:      0x174
        pict format id: 0x29
      visual format:
        visual id:      0x175
        pict format id: 0x29
      visual format:
        visual id:      0x176
        pict format id: 0x29
      visual format:
        visual id:      0x177
        pict format id: 0x29
      visual format:
        visual id:      0x178
        pict format id: 0x29
      visual format:
        visual id:      0x179
        pict format id: 0x29
      visual format:
        visual id:      0x17a
        pict format id: 0x29
      visual format:
        visual id:      0x17b
        pict format id: 0x29
      visual format:
        visual id:      0x17c
        pict format id: 0x29
      visual format:
        visual id:      0x17d
        pict format id: 0x29
      visual format:
        visual id:      0x17e
        pict format id: 0x29
      visual format:
        visual id:      0x17f
        pict format id: 0x29
      visual format:
        visual id:      0x180
        pict format id: 0x29
      visual format:
        visual id:      0x181
        pict format id: 0x29
      visual format:
        visual id:      0x182
        pict format id: 0x29
      visual format:
        visual id:      0x183
        pict format id: 0x29
      visual format:
        visual id:      0x184
        pict format id: 0x29
      visual format:
        visual id:      0x185
        pict format id: 0x29
      visual format:
        visual id:      0x186
        pict format id: 0x29
      visual format:
        visual id:      0x187
        pict format id: 0x29
      visual format:
        visual id:      0x188
        pict format id: 0x29
      visual format:
        visual id:      0x189
        pict format id: 0x29
      visual format:
        visual id:      0x18a
        pict format id: 0x29
      visual format:
        visual id:      0x18b
        pict format id: 0x29
      visual format:
        visual id:      0x18c
        pict format id: 0x29
      visual format:
        visual id:      0x18d
        pict format id: 0x29
      visual format:
        visual id:      0x18e
        pict format id: 0x29
      visual format:
        visual id:      0x18f
        pict format id: 0x29
      visual format:
        visual id:      0x190
        pict format id: 0x29
      visual format:
        visual id:      0x191
        pict format id: 0x29
      visual format:
        visual id:      0x192
        pict format id: 0x29
      visual format:
        visual id:      0x193
        pict format id: 0x29
      visual format:
        visual id:      0x194
        pict format id: 0x29
      visual format:
        visual id:      0x195
        pict format id: 0x29
      visual format:
        visual id:      0x196
        pict format id: 0x29
      visual format:
        visual id:      0x197
        pict format id: 0x29
      visual format:
        visual id:      0x198
        pict format id: 0x29
      visual format:
        visual id:      0x199
        pict format id: 0x29
      visual format:
        visual id:      0x19a
        pict format id: 0x29
      visual format:
        visual id:      0x19b
        pict format id: 0x29
      visual format:
        visual id:      0x19c
        pict format id: 0x29
      visual format:
        visual id:      0x19d
        pict format id: 0x29
      visual format:
        visual id:      0x19e
        pict format id: 0x29
      visual format:
        visual id:      0x19f
        pict format id: 0x29
      visual format:
        visual id:      0x1a0
        pict format id: 0x29
      visual format:
        visual id:      0x1a1
        pict format id: 0x29
      visual format:
        visual id:      0x1a2
        pict format id: 0x29
      visual format:
        visual id:      0x1a3
        pict format id: 0x29
      visual format:
        visual id:      0x1a4
        pict format id: 0x29
      visual format:
        visual id:      0x1a5
        pict format id: 0x29
      visual format:
        visual id:      0x1a6
        pict format id: 0x29
      visual format:
        visual id:      0x1a7
        pict format id: 0x29
      visual format:
        visual id:      0x1a8
        pict format id: 0x29
      visual format:
        visual id:      0x1a9
        pict format id: 0x29
      visual format:
        visual id:      0x1aa
        pict format id: 0x29
      visual format:
        visual id:      0x1ab
        pict format id: 0x29
      visual format:
        visual id:      0x1ac
        pict format id: 0x29
      visual format:
        visual id:      0x1ad
        pict format id: 0x29
      visual format:
        visual id:      0x1ae
        pict format id: 0x29
      visual format:
        visual id:      0x1af
        pict format id: 0x29
      visual format:
        visual id:      0x1b0
        pict format id: 0x29
      visual format:
        visual id:      0x1b1
        pict format id: 0x29
      visual format:
        visual id:      0x1b2
        pict format id: 0x29
      visual format:
        visual id:      0x1b3
        pict format id: 0x29
      visual format:
        visual id:      0x1b4
        pict format id: 0x29
      visual format:
        visual id:      0x1b5
        pict format id: 0x29
      visual format:
        visual id:      0x1b6
        pict format id: 0x29
      visual format:
        visual id:      0x1b7
        pict format id: 0x29
      visual format:
        visual id:      0x1b8
        pict format id: 0x29
      visual format:
        visual id:      0x1b9
        pict format id: 0x29
      visual format:
        visual id:      0x1ba
        pict format id: 0x29
      visual format:
        visual id:      0x1bb
        pict format id: 0x29
      visual format:
        visual id:      0x1bc
        pict format id: 0x29
      visual format:
        visual id:      0x1bd
        pict format id: 0x29
      visual format:
        visual id:      0x1be
        pict format id: 0x29
      visual format:
        visual id:      0x1bf
        pict format id: 0x29
      visual format:
        visual id:      0x1c0
        pict format id: 0x29
      visual format:
        visual id:      0x1c1
        pict format id: 0x29
      visual format:
        visual id:      0x1c2
        pict format id: 0x29
      visual format:
        visual id:      0x1c3
        pict format id: 0x29
      visual format:
        visual id:      0x1c4
        pict format id: 0x29
      visual format:
        visual id:      0x1c5
        pict format id: 0x29
      visual format:
        visual id:      0x1c6
        pict format id: 0x29
      visual format:
        visual id:      0x1c7
        pict format id: 0x29
      visual format:
        visual id:      0x1c8
        pict format id: 0x29
      visual format:
        visual id:      0x1c9
        pict format id: 0x29
      visual format:
        visual id:      0x1ca
        pict format id: 0x29
      visual format:
        visual id:      0x1cb
        pict format id: 0x29
      visual format:
        visual id:      0x1cc
        pict format id: 0x29
      visual format:
        visual id:      0x54
        pict format id: 0x25
      visual format:
        visual id:      0x1cd
        pict format id: 0x25
      visual format:
        visual id:      0x1ce
        pict format id: 0x25
      visual format:
        visual id:      0x1cf
        pict format id: 0x25
      visual format:
        visual id:      0x1d0
        pict format id: 0x25
      visual format:
        visual id:      0x1d1
        pict format id: 0x25
      visual format:
        visual id:      0x1d2
        pict format id: 0x25
      visual format:
        visual id:      0x1d3
        pict format id: 0x25
      visual format:
        visual id:      0x1d4
        pict format id: 0x25
      visual format:
        visual id:      0x1d5
        pict format id: 0x25
      visual format:
        visual id:      0x1d6
        pict format id: 0x25
      visual format:
        visual id:      0x1d7
        pict format id: 0x25
      visual format:
        visual id:      0x1d8
        pict format id: 0x25
      visual format:
        visual id:      0x1d9
        pict format id: 0x25
      visual format:
        visual id:      0x1da
        pict format id: 0x25
      visual format:
        visual id:      0x1db
        pict format id: 0x25
      visual format:
        visual id:      0x1dc
        pict format id: 0x25
      visual format:
        visual id:      0x1dd
        pict format id: 0x25
     depth formats:
       depth           24
       pict format id: 0x29
       pict format id: 0x2a
     depth formats:
       depth           1
       pict format id: 0x23
     depth formats:
       depth           4
     depth formats:
       depth           8
       pict format id: 0x24
     depth formats:
       depth           15
       pict format id: 0x2b
       pict format id: 0x2c
       pict format id: 0x2d
       pict format id: 0x2e
     depth formats:
       depth           16
       pict format id: 0x2f
       pict format id: 0x30
       pict format id: 0x31
       pict format id: 0x32
       pict format id: 0x33
       pict format id: 0x34
       pict format id: 0x35
       pict format id: 0x36
       pict format id: 0x37
       pict format id: 0x38
     depth formats:
       depth           32
       pict format id: 0x25
       pict format id: 0x26
       pict format id: 0x27
       pict format id: 0x28
       pict format id: 0x39
       pict format id: 0x3a
       pict format id: 0x3b
       pict format id: 0x3c
       pict format id: 0x3d

Composite version 0.4 opcode: 142

XINERAMA version 1.1 opcode: 141
  Xinerama is inactive.

[-- Attachment #5: Type: text/plain, Size: 293 bytes --]


And also as I used 'xdpyinfo -ext all > /tmp/log.log'. I got this
additional message on the xterm prompt:

,---- [  ]
| Xlib:  extension 'Multi-Buffering' missing on display 'localhost:10.0'.
`----

Best Regards
ps: let me know If You need anything additional before I go to sleep I
am GMT-5

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

* Re: help needed for getting a backtrace ( multi-head emacs_abort on lucid-frame)
  2022-04-18  7:37                   ` andrés ramírez
@ 2022-04-18  8:00                     ` Po Lu
  2022-04-18  8:14                       ` andrés ramírez
  0 siblings, 1 reply; 20+ messages in thread
From: Po Lu @ 2022-04-18  8:00 UTC (permalink / raw)
  To: andrés ramírez; +Cc: emacs-devel

Thanks.  Can you set a breakpoint on the function XRenderFreeGlyphs
(which should be in the library libXrender), like this:

  (gdb) break XRenderFreeGlyphs
  (gdb) commands
  > bt
  > end

And send the last few backtraces before the crash happens?



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

* Re: help needed for getting a backtrace ( multi-head emacs_abort on lucid-frame)
  2022-04-18  8:00                     ` Po Lu
@ 2022-04-18  8:14                       ` andrés ramírez
  2022-04-18  8:34                         ` Po Lu
  0 siblings, 1 reply; 20+ messages in thread
From: andrés ramírez @ 2022-04-18  8:14 UTC (permalink / raw)
  To: Po Lu; +Cc: emacs-devel

[-- Attachment #1: Type: text/plain, Size: 350 bytes --]

Hi. Po Lu.

>>>>> "Po" == Po Lu <luangruo@yahoo.com> writes:

    Po> Thanks.  Can you set a breakpoint on the function XRenderFreeGlyphs (which should be in the
    Po> library libXrender), like this:

    Po>   (gdb) break XRenderFreeGlyphs (gdb) commands
    >> bt end

    Po> And send the last few backtraces before the crash happens?

sending:

[-- Attachment #2: xrenderglyphs --]
[-- Type: text/plain, Size: 8687 bytes --]

Current directory is /tmp/emacs/src/emacs-28.1/build/src/
GNU gdb (GDB) 11.2
Copyright (C) 2022 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-pc-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /tmp/emacs/src/emacs-28.1/build/src/emacs...
SIGINT is used by the debugger.
Are you sure you want to change it? (y or n) [answered Y; input not from terminal]
DISPLAY = :0
TERM = dumb
Breakpoint 2 at 0x1b1caa: file ../../src/xterm.c, line 10285.
(gdb) Warning: 'set target-async', an alias for the command 'set mi-async', is deprecated.
Use 'set mi-async'.

break XRenderFreeGlyphs
Function "XRenderFreeGlyphs" not defined.
Breakpoint 40 (XRenderFreeGlyphs) pending.
(gdb) run
Starting program: /tmp/emacs/src/emacs-28.1/build/src/emacs -Q -f toggle-debug-on-error --fg-daemon
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".

Breakpoint 31, main (argc=5, argv=0x7fffffffe7e8) at ../../src/emacs.c:1186
1186	{
(gdb) cont
Continuing.
[New Thread 0x7ffff258a640 (LWP 7762)]
[New Thread 0x7ffff1bdf640 (LWP 7764)]
[New Thread 0x7ffff124f640 (LWP 7765)]
[Detaching after vfork from child process 7767]
[Detaching after vfork from child process 7768]

Thread 1 "emacs" hit Breakpoint 37, delete_frame (frame=XIL(0x55555672d5fd), force=XIL(0)) at ../../src/frame.c:1965
1965	  struct frame *f = decode_any_frame (frame);
(gdb) cont
Continuing.

Thread 1 "emacs" hit Breakpoint 33, x_delete_terminal (terminal=0x5555567d2288) at ../../src/xterm.c:13450
warning: Source file is more recent than executable.
13450	  struct x_display_info *dpyinfo = terminal->display_info.x;
(gdb) cont
Continuing.

Thread 1 "emacs" hit Breakpoint 40, 0x00007ffff7b7d830 in XRenderFreeGlyphs () from /usr/lib/libXrender.so.1
(gdb) bt
#0  0x00007ffff7b7d830 in XRenderFreeGlyphs () at /usr/lib/libXrender.so.1
#1  0x00007ffff6c7e794 in  () at /usr/lib/libcairo.so.2
#2  0x00007ffff6c395cc in  () at /usr/lib/libcairo.so.2
#3  0x00007ffff6c3973a in  () at /usr/lib/libcairo.so.2
#4  0x00007ffff6c39ebc in  () at /usr/lib/libcairo.so.2
#5  0x00007ffff6c7d404 in  () at /usr/lib/libcairo.so.2
#6  0x00007ffff6c08e8e in cairo_device_finish () at /usr/lib/libcairo.so.2
#7  0x00007ffff6c7d660 in  () at /usr/lib/libcairo.so.2
#8  0x00007ffff7bd9a62 in XCloseDisplay () at /usr/lib/libX11.so.6
#9  0x00007ffff7d563a1 in  () at /usr/lib/libXt.so.6
#10 0x00007ffff7d57001 in XtCloseDisplay () at /usr/lib/libXt.so.6
#11 0x000055555570ca9a in x_delete_terminal (terminal=0x5555567d2288) at ../../src/xterm.c:13501
#12 0x000055555571ce4b in Fx_close_connection (terminal=XIL(0x555556124264)) at ../../src/xfns.c:5786
#13 0x000055555583048c in funcall_subr (subr=0x555555e243a0 <Sx_close_connection>, numargs=1, args=0x7fffffffc3b0) at ../../src/eval.c:3098
#14 0x000055555582fece in Ffuncall (nargs=2, args=0x7fffffffc3a8) at ../../src/eval.c:3023
#15 0x00005555558902a5 in exec_byte_code (bytestr=XIL(0x7ffff2e7623c), vector=XIL(0x7ffff2e7609d), maxdepth=make_fixnum(7), args_template=make_fixnum(257), nargs=1, args=0x7fffffffcbd8) at ../../src/bytecode.c:632
#16 0x0000555555830737 in fetch_and_exec_byte_code (fun=XIL(0x7ffff2e75f45), syms_left=make_fixnum(257), nargs=1, args=0x7fffffffcbd0) at ../../src/eval.c:3147
#17 0x0000555555830bfe in funcall_lambda (fun=XIL(0x7ffff2e75f45), nargs=1, arg_vector=0x7fffffffcbd0) at ../../src/eval.c:3228
#18 0x000055555582ff22 in Ffuncall (nargs=2, args=0x7fffffffcbc8) at ../../src/eval.c:3027
#19 0x0000555555823089 in Ffuncall_interactively (nargs=2, args=0x7fffffffcbc8) at ../../src/callint.c:260
#20 0x000055555583035c in funcall_subr (subr=0x555555e2c360 <Sfuncall_interactively>, numargs=2, args=0x7fffffffcbc8) at ../../src/eval.c:3078
#21 0x000055555582fece in Ffuncall (nargs=3, args=0x7fffffffcbc0) at ../../src/eval.c:3023
#22 0x000055555582eb6d in Fapply (nargs=3, args=0x7fffffffcbc0) at ../../src/eval.c:2610
#23 0x000055555582352c in Fcall_interactively (function=XIL(0x2aaa9cfc1cd0), record_flag=XIL(0xc6c0), keys=XIL(0x55555680f2ed)) at ../../src/callint.c:353
#24 0x00005555558304df in funcall_subr (subr=0x555555e2c3a0 <Scall_interactively>, numargs=3, args=0x7fffffffcd70) at ../../src/eval.c:3103
#25 0x000055555582fece in Ffuncall (nargs=4, args=0x7fffffffcd68) at ../../src/eval.c:3023
#26 0x00005555558902a5 in exec_byte_code (bytestr=XIL(0x7ffff29de9cc), vector=XIL(0x7ffff29de635), maxdepth=make_fixnum(13), args_template=make_fixnum(1025), nargs=2, args=0x7fffffffd300) at ../../src/bytecode.c:632
#27 0x0000555555830737 in fetch_and_exec_byte_code (fun=XIL(0x7ffff29de605), syms_left=make_fixnum(1025), nargs=2, args=0x7fffffffd2f0) at ../../src/eval.c:3147
#28 0x0000555555830bfe in funcall_lambda (fun=XIL(0x7ffff29de605), nargs=2, arg_vector=0x7fffffffd2f0) at ../../src/eval.c:3228
#29 0x000055555582ff22 in Ffuncall (nargs=3, args=0x7fffffffd2e8) at ../../src/eval.c:3027
#30 0x00005555558902a5 in exec_byte_code (bytestr=XIL(0x7ffff2c1ad9c), vector=XIL(0x7ffff2c1a50d), maxdepth=make_fixnum(17), args_template=make_fixnum(769), nargs=3, args=0x7fffffffd9c8) at ../../src/bytecode.c:632
#31 0x0000555555830737 in fetch_and_exec_byte_code (fun=XIL(0x7ffff2c19a85), syms_left=make_fixnum(769), nargs=3, args=0x7fffffffd9b0) at ../../src/eval.c:3147
#32 0x0000555555830bfe in funcall_lambda (fun=XIL(0x7ffff2c19a85), nargs=3, arg_vector=0x7fffffffd9b0) at ../../src/eval.c:3228
#33 0x000055555582ff22 in Ffuncall (nargs=4, args=0x7fffffffd9a8) at ../../src/eval.c:3027
#34 0x0000555555823089 in Ffuncall_interactively (nargs=4, args=0x7fffffffd9a8) at ../../src/callint.c:260
#35 0x000055555583035c in funcall_subr (subr=0x555555e2c360 <Sfuncall_interactively>, numargs=4, args=0x7fffffffd9a8) at ../../src/eval.c:3078
#36 0x000055555582fece in Ffuncall (nargs=5, args=0x7fffffffd9a0) at ../../src/eval.c:3023
#37 0x000055555582ef43 in Fapply (nargs=3, args=0x7fffffffdbe0) at ../../src/eval.c:2653
#38 0x000055555582352c in Fcall_interactively (function=XIL(0x2aaa9cd657f0), record_flag=XIL(0), keys=XIL(0x5555567febe5)) at ../../src/callint.c:353
#39 0x00005555558304df in funcall_subr (subr=0x555555e2c3a0 <Scall_interactively>, numargs=3, args=0x7fffffffdd90) at ../../src/eval.c:3103
#40 0x000055555582fece in Ffuncall (nargs=4, args=0x7fffffffdd88) at ../../src/eval.c:3023
#41 0x00005555558902a5 in exec_byte_code (bytestr=XIL(0x7ffff29de9cc), vector=XIL(0x7ffff29de635), maxdepth=make_fixnum(13), args_template=make_fixnum(1025), nargs=1, args=0x7fffffffe2e0) at ../../src/bytecode.c:632
#42 0x0000555555830737 in fetch_and_exec_byte_code (fun=XIL(0x7ffff29de605), syms_left=make_fixnum(1025), nargs=1, args=0x7fffffffe2d8) at ../../src/eval.c:3147
#43 0x0000555555830bfe in funcall_lambda (fun=XIL(0x7ffff29de605), nargs=1, arg_vector=0x7fffffffe2d8) at ../../src/eval.c:3228
#44 0x000055555582ff22 in Ffuncall (nargs=2, args=0x7fffffffe2d0) at ../../src/eval.c:3027
#45 0x000055555582f6c4 in call1 (fn=XIL(0x4590), arg1=XIL(0x2aaa9cd657f0)) at ../../src/eval.c:2883
#46 0x0000555555745250 in command_loop_1 () at ../../src/keyboard.c:1505
#47 0x000055555582b52e in internal_condition_case (bfun=0x555555744987 <command_loop_1>, handlers=XIL(0x90), hfun=0x555555743d73 <cmd_error>) at ../../src/eval.c:1450
#48 0x0000555555744540 in command_loop_2 (handlers=XIL(0x90)) at ../../src/keyboard.c:1133
#49 0x000055555582a6c0 in internal_catch (tag=XIL(0xe850), func=0x555555744516 <command_loop_2>, arg=XIL(0x90)) at ../../src/eval.c:1181
#50 0x00005555557444e2 in command_loop () at ../../src/keyboard.c:1111
#51 0x000055555574381f in recursive_edit_1 () at ../../src/keyboard.c:720
#52 0x0000555555743a41 in Frecursive_edit () at ../../src/keyboard.c:803
#53 0x000055555573f4e1 in main (argc=5, argv=0x7fffffffe7e8) at ../../src/emacs.c:2354

Lisp Backtrace:
"x-close-connection" (0xffffc3b0)
"close-display-connection" (0xffffcbd0)
"funcall-interactively" (0xffffcbc8)
"call-interactively" (0xffffcd70)
"command-execute" (0xffffd2f0)
"execute-extended-command" (0xffffd9b0)
"funcall-interactively" (0xffffd9a8)
"call-interactively" (0xffffdd90)
"command-execute" (0xffffe2d8)
(gdb) 

[-- Attachment #3: Type: text/plain, Size: 14 bytes --]


Best Regards

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

* Re: help needed for getting a backtrace ( multi-head emacs_abort on lucid-frame)
  2022-04-18  8:14                       ` andrés ramírez
@ 2022-04-18  8:34                         ` Po Lu
  2022-04-18  8:49                           ` andrés ramírez
  0 siblings, 1 reply; 20+ messages in thread
From: Po Lu @ 2022-04-18  8:34 UTC (permalink / raw)
  To: andrés ramírez; +Cc: emacs-devel

andrés ramírez <rrandresf@gmail.com> writes:

> break XRenderFreeGlyphs
> Function "XRenderFreeGlyphs" not defined.
> Breakpoint 40 (XRenderFreeGlyphs) pending.
> (gdb) run

[...]

> Thread 1 "emacs" hit Breakpoint 40, 0x00007ffff7b7d830 in XRenderFreeGlyphs () from /usr/lib/libXrender.so.1
> (gdb) bt
> #0  0x00007ffff7b7d830 in XRenderFreeGlyphs () at /usr/lib/libXrender.so.1
> #1  0x00007ffff6c7e794 in  () at /usr/lib/libcairo.so.2
> #2  0x00007ffff6c395cc in  () at /usr/lib/libcairo.so.2
> #3  0x00007ffff6c3973a in  () at /usr/lib/libcairo.so.2
> #4  0x00007ffff6c39ebc in  () at /usr/lib/libcairo.so.2
> #5  0x00007ffff6c7d404 in  () at /usr/lib/libcairo.so.2
> #6  0x00007ffff6c08e8e in cairo_device_finish () at /usr/lib/libcairo.so.2
> #7  0x00007ffff6c7d660 in  () at /usr/lib/libcairo.so.2
> #8  0x00007ffff7bd9a62 in XCloseDisplay () at /usr/lib/libX11.so.6
> #9  0x00007ffff7d563a1 in  () at /usr/lib/libXt.so.6
> #10 0x00007ffff7d57001 in XtCloseDisplay () at /usr/lib/libXt.so.6

Please follow the instructions I sent to the letter, and also remove the
rest of the extraneous breakpoints.  There is no way to know if this
call to XRenderFreeGlyphs actually caused the crash, if the error
handler is not allowed to run after the breakpoint is hit.

Thanks in advance.



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

* Re: help needed for getting a backtrace ( multi-head emacs_abort on lucid-frame)
  2022-04-18  8:34                         ` Po Lu
@ 2022-04-18  8:49                           ` andrés ramírez
  2022-04-18  9:05                             ` Po Lu
  0 siblings, 1 reply; 20+ messages in thread
From: andrés ramírez @ 2022-04-18  8:49 UTC (permalink / raw)
  To: Po Lu; +Cc: emacs-devel

[-- Attachment #1: Type: text/plain, Size: 372 bytes --]

Hi. Po Lu.

>>>>> "Po" == Po Lu <luangruo@yahoo.com> writes:


[...]


    Po> Please follow the instructions I sent to the letter, and also remove the rest of the
    Po> extraneous breakpoints.  There is no way to know if this call to XRenderFreeGlyphs actually
    Po> caused the crash, if the error handler is not allowed to run after the breakpoint is hit.

Sending:

[-- Attachment #2: dbglog --]
[-- Type: text/plain, Size: 14824 bytes --]

Current directory is /tmp/emacs/src/emacs-28.1/build/src/
GNU gdb (GDB) 11.2
Copyright (C) 2022 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-pc-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /tmp/emacs/src/emacs-28.1/build/src/emacs...
SIGINT is used by the debugger.
Are you sure you want to change it? (y or n) [answered Y; input not from terminal]
DISPLAY = :0
TERM = dumb
Breakpoint 2 at 0x1b1caa: file ../../src/xterm.c, line 10285.
(gdb) Warning: 'set target-async', an alias for the command 'set mi-async', is deprecated.
Use 'set mi-async'.

break XRenderFreeGlyphs
Function "XRenderFreeGlyphs" not defined.
Breakpoint 4 (XRenderFreeGlyphs) pending.
(gdb) run
Starting program: /tmp/emacs/src/emacs-28.1/build/src/emacs -Q -f toggle-debug-on-error --fg-daemon
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[New Thread 0x7ffff258a640 (LWP 7932)]
[New Thread 0x7ffff1bdf640 (LWP 7934)]
[New Thread 0x7ffff124f640 (LWP 7935)]
[Detaching after vfork from child process 7937]
[Detaching after vfork from child process 7938]

Thread 1 "emacs" hit Breakpoint 4, 0x00007ffff7b7d830 in XRenderFreeGlyphs () from /usr/lib/libXrender.so.1
(gdb) bt
#0  0x00007ffff7b7d830 in XRenderFreeGlyphs () at /usr/lib/libXrender.so.1
#1  0x00007ffff6c7e794 in  () at /usr/lib/libcairo.so.2
#2  0x00007ffff6c395cc in  () at /usr/lib/libcairo.so.2
#3  0x00007ffff6c3973a in  () at /usr/lib/libcairo.so.2
#4  0x00007ffff6c39ebc in  () at /usr/lib/libcairo.so.2
#5  0x00007ffff6c7d404 in  () at /usr/lib/libcairo.so.2
#6  0x00007ffff6c08e8e in cairo_device_finish () at /usr/lib/libcairo.so.2
#7  0x00007ffff6c7d660 in  () at /usr/lib/libcairo.so.2
#8  0x00007ffff7bd9a62 in XCloseDisplay () at /usr/lib/libX11.so.6
#9  0x00007ffff7d563a1 in  () at /usr/lib/libXt.so.6
#10 0x00007ffff7d57001 in XtCloseDisplay () at /usr/lib/libXt.so.6
#11 0x000055555570ca9a in x_delete_terminal (terminal=0x555556731c78) at ../../src/xterm.c:13501
#12 0x000055555571ce4b in Fx_close_connection (terminal=XIL(0x55555612ab04)) at ../../src/xfns.c:5786
#13 0x000055555583048c in funcall_subr (subr=0x555555e243a0 <Sx_close_connection>, numargs=1, args=0x7fffffffc3b0) at ../../src/eval.c:3098
#14 0x000055555582fece in Ffuncall (nargs=2, args=0x7fffffffc3a8) at ../../src/eval.c:3023
#15 0x00005555558902a5 in exec_byte_code (bytestr=XIL(0x7ffff2e7623c), vector=XIL(0x7ffff2e7609d), maxdepth=make_fixnum(7), args_template=make_fixnum(257), nargs=1, args=0x7fffffffcbd8) at ../../src/bytecode.c:632
#16 0x0000555555830737 in fetch_and_exec_byte_code (fun=XIL(0x7ffff2e75f45), syms_left=make_fixnum(257), nargs=1, args=0x7fffffffcbd0) at ../../src/eval.c:3147
#17 0x0000555555830bfe in funcall_lambda (fun=XIL(0x7ffff2e75f45), nargs=1, arg_vector=0x7fffffffcbd0) at ../../src/eval.c:3228
#18 0x000055555582ff22 in Ffuncall (nargs=2, args=0x7fffffffcbc8) at ../../src/eval.c:3027
#19 0x0000555555823089 in Ffuncall_interactively (nargs=2, args=0x7fffffffcbc8) at ../../src/callint.c:260
#20 0x000055555583035c in funcall_subr (subr=0x555555e2c360 <Sfuncall_interactively>, numargs=2, args=0x7fffffffcbc8) at ../../src/eval.c:3078
#21 0x000055555582fece in Ffuncall (nargs=3, args=0x7fffffffcbc0) at ../../src/eval.c:3023
#22 0x000055555582eb6d in Fapply (nargs=3, args=0x7fffffffcbc0) at ../../src/eval.c:2610
#23 0x000055555582352c in Fcall_interactively (function=XIL(0x2aaa9cfc1cd0), record_flag=XIL(0xc6c0), keys=XIL(0x555556742b65)) at ../../src/callint.c:353
#24 0x00005555558304df in funcall_subr (subr=0x555555e2c3a0 <Scall_interactively>, numargs=3, args=0x7fffffffcd70) at ../../src/eval.c:3103
#25 0x000055555582fece in Ffuncall (nargs=4, args=0x7fffffffcd68) at ../../src/eval.c:3023
#26 0x00005555558902a5 in exec_byte_code (bytestr=XIL(0x7ffff29de9cc), vector=XIL(0x7ffff29de635), maxdepth=make_fixnum(13), args_template=make_fixnum(1025), nargs=2, args=0x7fffffffd300) at ../../src/bytecode.c:632
#27 0x0000555555830737 in fetch_and_exec_byte_code (fun=XIL(0x7ffff29de605), syms_left=make_fixnum(1025), nargs=2, args=0x7fffffffd2f0) at ../../src/eval.c:3147
#28 0x0000555555830bfe in funcall_lambda (fun=XIL(0x7ffff29de605), nargs=2, arg_vector=0x7fffffffd2f0) at ../../src/eval.c:3228
#29 0x000055555582ff22 in Ffuncall (nargs=3, args=0x7fffffffd2e8) at ../../src/eval.c:3027
#30 0x00005555558902a5 in exec_byte_code (bytestr=XIL(0x7ffff2c1ad9c), vector=XIL(0x7ffff2c1a50d), maxdepth=make_fixnum(17), args_template=make_fixnum(769), nargs=3, args=0x7fffffffd9c8) at ../../src/bytecode.c:632
#31 0x0000555555830737 in fetch_and_exec_byte_code (fun=XIL(0x7ffff2c19a85), syms_left=make_fixnum(769), nargs=3, args=0x7fffffffd9b0) at ../../src/eval.c:3147
#32 0x0000555555830bfe in funcall_lambda (fun=XIL(0x7ffff2c19a85), nargs=3, arg_vector=0x7fffffffd9b0) at ../../src/eval.c:3228
#33 0x000055555582ff22 in Ffuncall (nargs=4, args=0x7fffffffd9a8) at ../../src/eval.c:3027
#34 0x0000555555823089 in Ffuncall_interactively (nargs=4, args=0x7fffffffd9a8) at ../../src/callint.c:260
#35 0x000055555583035c in funcall_subr (subr=0x555555e2c360 <Sfuncall_interactively>, numargs=4, args=0x7fffffffd9a8) at ../../src/eval.c:3078
#36 0x000055555582fece in Ffuncall (nargs=5, args=0x7fffffffd9a0) at ../../src/eval.c:3023
#37 0x000055555582ef43 in Fapply (nargs=3, args=0x7fffffffdbe0) at ../../src/eval.c:2653
#38 0x000055555582352c in Fcall_interactively (function=XIL(0x2aaa9cd657f0), record_flag=XIL(0), keys=XIL(0x5555592087cd)) at ../../src/callint.c:353
#39 0x00005555558304df in funcall_subr (subr=0x555555e2c3a0 <Scall_interactively>, numargs=3, args=0x7fffffffdd90) at ../../src/eval.c:3103
#40 0x000055555582fece in Ffuncall (nargs=4, args=0x7fffffffdd88) at ../../src/eval.c:3023
#41 0x00005555558902a5 in exec_byte_code (bytestr=XIL(0x7ffff29de9cc), vector=XIL(0x7ffff29de635), maxdepth=make_fixnum(13), args_template=make_fixnum(1025), nargs=1, args=0x7fffffffe2e0) at ../../src/bytecode.c:632
#42 0x0000555555830737 in fetch_and_exec_byte_code (fun=XIL(0x7ffff29de605), syms_left=make_fixnum(1025), nargs=1, args=0x7fffffffe2d8) at ../../src/eval.c:3147
#43 0x0000555555830bfe in funcall_lambda (fun=XIL(0x7ffff29de605), nargs=1, arg_vector=0x7fffffffe2d8) at ../../src/eval.c:3228
#44 0x000055555582ff22 in Ffuncall (nargs=2, args=0x7fffffffe2d0) at ../../src/eval.c:3027
#45 0x000055555582f6c4 in call1 (fn=XIL(0x4590), arg1=XIL(0x2aaa9cd657f0)) at ../../src/eval.c:2883
#46 0x0000555555745250 in command_loop_1 () at ../../src/keyboard.c:1505
#47 0x000055555582b52e in internal_condition_case (bfun=0x555555744987 <command_loop_1>, handlers=XIL(0x90), hfun=0x555555743d73 <cmd_error>) at ../../src/eval.c:1450
#48 0x0000555555744540 in command_loop_2 (handlers=XIL(0x90)) at ../../src/keyboard.c:1133
#49 0x000055555582a6c0 in internal_catch (tag=XIL(0xe850), func=0x555555744516 <command_loop_2>, arg=XIL(0x90)) at ../../src/eval.c:1181
#50 0x00005555557444e2 in command_loop () at ../../src/keyboard.c:1111
#51 0x000055555574381f in recursive_edit_1 () at ../../src/keyboard.c:720
#52 0x0000555555743a41 in Frecursive_edit () at ../../src/keyboard.c:803
#53 0x000055555573f4e1 in main (argc=5, argv=0x7fffffffe7e8) at ../../src/emacs.c:2354

Lisp Backtrace:
"x-close-connection" (0xffffc3b0)
"close-display-connection" (0xffffcbd0)
"funcall-interactively" (0xffffcbc8)
"call-interactively" (0xffffcd70)
"command-execute" (0xffffd2f0)
"execute-extended-command" (0xffffd9b0)
"funcall-interactively" (0xffffd9a8)
"call-interactively" (0xffffdd90)
"command-execute" (0xffffe2d8)
(gdb) cont
Continuing.

Thread 1 "emacs" hit Breakpoint 4, 0x00007ffff7b7d830 in XRenderFreeGlyphs () from /usr/lib/libXrender.so.1
(gdb) bt
#0  0x00007ffff7b7d830 in XRenderFreeGlyphs () at /usr/lib/libXrender.so.1
#1  0x00007ffff6c7e794 in  () at /usr/lib/libcairo.so.2
#2  0x00007ffff6c395cc in  () at /usr/lib/libcairo.so.2
#3  0x00007ffff6c3973a in  () at /usr/lib/libcairo.so.2
#4  0x00007ffff6c39ebc in  () at /usr/lib/libcairo.so.2
#5  0x00007ffff6c7d404 in  () at /usr/lib/libcairo.so.2
#6  0x00007ffff6c08e8e in cairo_device_finish () at /usr/lib/libcairo.so.2
#7  0x00007ffff6c7d660 in  () at /usr/lib/libcairo.so.2
#8  0x00007ffff7bd9a62 in XCloseDisplay () at /usr/lib/libX11.so.6
#9  0x00007ffff7d563a1 in  () at /usr/lib/libXt.so.6
#10 0x00007ffff7d57001 in XtCloseDisplay () at /usr/lib/libXt.so.6
#11 0x000055555570ca9a in x_delete_terminal (terminal=0x555556731c78) at ../../src/xterm.c:13501
#12 0x000055555571ce4b in Fx_close_connection (terminal=XIL(0x55555612ab04)) at ../../src/xfns.c:5786
#13 0x000055555583048c in funcall_subr (subr=0x555555e243a0 <Sx_close_connection>, numargs=1, args=0x7fffffffc3b0) at ../../src/eval.c:3098
#14 0x000055555582fece in Ffuncall (nargs=2, args=0x7fffffffc3a8) at ../../src/eval.c:3023
#15 0x00005555558902a5 in exec_byte_code (bytestr=XIL(0x7ffff2e7623c), vector=XIL(0x7ffff2e7609d), maxdepth=make_fixnum(7), args_template=make_fixnum(257), nargs=1, args=0x7fffffffcbd8) at ../../src/bytecode.c:632
#16 0x0000555555830737 in fetch_and_exec_byte_code (fun=XIL(0x7ffff2e75f45), syms_left=make_fixnum(257), nargs=1, args=0x7fffffffcbd0) at ../../src/eval.c:3147
#17 0x0000555555830bfe in funcall_lambda (fun=XIL(0x7ffff2e75f45), nargs=1, arg_vector=0x7fffffffcbd0) at ../../src/eval.c:3228
#18 0x000055555582ff22 in Ffuncall (nargs=2, args=0x7fffffffcbc8) at ../../src/eval.c:3027
#19 0x0000555555823089 in Ffuncall_interactively (nargs=2, args=0x7fffffffcbc8) at ../../src/callint.c:260
#20 0x000055555583035c in funcall_subr (subr=0x555555e2c360 <Sfuncall_interactively>, numargs=2, args=0x7fffffffcbc8) at ../../src/eval.c:3078
#21 0x000055555582fece in Ffuncall (nargs=3, args=0x7fffffffcbc0) at ../../src/eval.c:3023
#22 0x000055555582eb6d in Fapply (nargs=3, args=0x7fffffffcbc0) at ../../src/eval.c:2610
#23 0x000055555582352c in Fcall_interactively (function=XIL(0x2aaa9cfc1cd0), record_flag=XIL(0xc6c0), keys=XIL(0x555556742b65)) at ../../src/callint.c:353
#24 0x00005555558304df in funcall_subr (subr=0x555555e2c3a0 <Scall_interactively>, numargs=3, args=0x7fffffffcd70) at ../../src/eval.c:3103
#25 0x000055555582fece in Ffuncall (nargs=4, args=0x7fffffffcd68) at ../../src/eval.c:3023
#26 0x00005555558902a5 in exec_byte_code (bytestr=XIL(0x7ffff29de9cc), vector=XIL(0x7ffff29de635), maxdepth=make_fixnum(13), args_template=make_fixnum(1025), nargs=2, args=0x7fffffffd300) at ../../src/bytecode.c:632
#27 0x0000555555830737 in fetch_and_exec_byte_code (fun=XIL(0x7ffff29de605), syms_left=make_fixnum(1025), nargs=2, args=0x7fffffffd2f0) at ../../src/eval.c:3147
#28 0x0000555555830bfe in funcall_lambda (fun=XIL(0x7ffff29de605), nargs=2, arg_vector=0x7fffffffd2f0) at ../../src/eval.c:3228
#29 0x000055555582ff22 in Ffuncall (nargs=3, args=0x7fffffffd2e8) at ../../src/eval.c:3027
#30 0x00005555558902a5 in exec_byte_code (bytestr=XIL(0x7ffff2c1ad9c), vector=XIL(0x7ffff2c1a50d), maxdepth=make_fixnum(17), args_template=make_fixnum(769), nargs=3, args=0x7fffffffd9c8) at ../../src/bytecode.c:632
#31 0x0000555555830737 in fetch_and_exec_byte_code (fun=XIL(0x7ffff2c19a85), syms_left=make_fixnum(769), nargs=3, args=0x7fffffffd9b0) at ../../src/eval.c:3147
#32 0x0000555555830bfe in funcall_lambda (fun=XIL(0x7ffff2c19a85), nargs=3, arg_vector=0x7fffffffd9b0) at ../../src/eval.c:3228
#33 0x000055555582ff22 in Ffuncall (nargs=4, args=0x7fffffffd9a8) at ../../src/eval.c:3027
#34 0x0000555555823089 in Ffuncall_interactively (nargs=4, args=0x7fffffffd9a8) at ../../src/callint.c:260
#35 0x000055555583035c in funcall_subr (subr=0x555555e2c360 <Sfuncall_interactively>, numargs=4, args=0x7fffffffd9a8) at ../../src/eval.c:3078
#36 0x000055555582fece in Ffuncall (nargs=5, args=0x7fffffffd9a0) at ../../src/eval.c:3023
#37 0x000055555582ef43 in Fapply (nargs=3, args=0x7fffffffdbe0) at ../../src/eval.c:2653
#38 0x000055555582352c in Fcall_interactively (function=XIL(0x2aaa9cd657f0), record_flag=XIL(0), keys=XIL(0x5555592087cd)) at ../../src/callint.c:353
#39 0x00005555558304df in funcall_subr (subr=0x555555e2c3a0 <Scall_interactively>, numargs=3, args=0x7fffffffdd90) at ../../src/eval.c:3103
#40 0x000055555582fece in Ffuncall (nargs=4, args=0x7fffffffdd88) at ../../src/eval.c:3023
#41 0x00005555558902a5 in exec_byte_code (bytestr=XIL(0x7ffff29de9cc), vector=XIL(0x7ffff29de635), maxdepth=make_fixnum(13), args_template=make_fixnum(1025), nargs=1, args=0x7fffffffe2e0) at ../../src/bytecode.c:632
#42 0x0000555555830737 in fetch_and_exec_byte_code (fun=XIL(0x7ffff29de605), syms_left=make_fixnum(1025), nargs=1, args=0x7fffffffe2d8) at ../../src/eval.c:3147
#43 0x0000555555830bfe in funcall_lambda (fun=XIL(0x7ffff29de605), nargs=1, arg_vector=0x7fffffffe2d8) at ../../src/eval.c:3228
#44 0x000055555582ff22 in Ffuncall (nargs=2, args=0x7fffffffe2d0) at ../../src/eval.c:3027
#45 0x000055555582f6c4 in call1 (fn=XIL(0x4590), arg1=XIL(0x2aaa9cd657f0)) at ../../src/eval.c:2883
#46 0x0000555555745250 in command_loop_1 () at ../../src/keyboard.c:1505
#47 0x000055555582b52e in internal_condition_case (bfun=0x555555744987 <command_loop_1>, handlers=XIL(0x90), hfun=0x555555743d73 <cmd_error>) at ../../src/eval.c:1450
#48 0x0000555555744540 in command_loop_2 (handlers=XIL(0x90)) at ../../src/keyboard.c:1133
#49 0x000055555582a6c0 in internal_catch (tag=XIL(0xe850), func=0x555555744516 <command_loop_2>, arg=XIL(0x90)) at ../../src/eval.c:1181
#50 0x00005555557444e2 in command_loop () at ../../src/keyboard.c:1111
#51 0x000055555574381f in recursive_edit_1 () at ../../src/keyboard.c:720
#52 0x0000555555743a41 in Frecursive_edit () at ../../src/keyboard.c:803
#53 0x000055555573f4e1 in main (argc=5, argv=0x7fffffffe7e8) at ../../src/emacs.c:2354

Lisp Backtrace:
"x-close-connection" (0xffffc3b0)
"close-display-connection" (0xffffcbd0)
"funcall-interactively" (0xffffcbc8)
"call-interactively" (0xffffcd70)
"command-execute" (0xffffd2f0)
"execute-extended-command" (0xffffd9b0)
"funcall-interactively" (0xffffd9a8)
"call-interactively" (0xffffdd90)
"command-execute" (0xffffe2d8)
(gdb) cont
Continuing.

Thread 1 "emacs" hit Breakpoint 3, x_error_handler (display=0x5555560e7d20, event=0x7fffffffb4e0) at ../../src/xterm.c:10270
warning: Source file is more recent than executable.
10270	  if (x_error_message)
(gdb) 

[-- Attachment #3: Type: text/plain, Size: 14 bytes --]


Best Regards

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

* Re: help needed for getting a backtrace ( multi-head emacs_abort on lucid-frame)
  2022-04-18  8:49                           ` andrés ramírez
@ 2022-04-18  9:05                             ` Po Lu
  2022-04-18  9:32                               ` andrés ramírez
  0 siblings, 1 reply; 20+ messages in thread
From: Po Lu @ 2022-04-18  9:05 UTC (permalink / raw)
  To: andrés ramírez; +Cc: emacs-devel

andrés ramírez <rrandresf@gmail.com> writes:

> Best Regards

Thanks.  Does this fix the problem?

diff --git a/src/xterm.c b/src/xterm.c
index 99269e3e92..761eba062b 100644
--- a/src/xterm.c
+++ b/src/xterm.c
@@ -23702,6 +23702,9 @@ x_delete_terminal (struct terminal *terminal)
       if (dpyinfo->xkb_desc)
 	XkbFreeKeyboard (dpyinfo->xkb_desc, XkbAllComponentsMask, True);
 #endif
+#ifdef USE_CAIRO
+      XSynchronize (dpyinfo->display, True);
+#endif
 #ifdef USE_GTK
       xg_display_close (dpyinfo->display);
 #else



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

* Re: help needed for getting a backtrace ( multi-head emacs_abort on lucid-frame)
  2022-04-18  9:05                             ` Po Lu
@ 2022-04-18  9:32                               ` andrés ramírez
  2022-04-18 10:29                                 ` Po Lu
  0 siblings, 1 reply; 20+ messages in thread
From: andrés ramírez @ 2022-04-18  9:32 UTC (permalink / raw)
  To: Po Lu; +Cc: emacs-devel

Hi. Po Lu.

>>>>> "Po" == Po Lu <luangruo@yahoo.com> writes:

    Po> Thanks.  Does this fix the problem?


No. It does NOT fix the issue.

[...]

Best Regards



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

* Re: help needed for getting a backtrace ( multi-head emacs_abort on lucid-frame)
  2022-04-18  9:32                               ` andrés ramírez
@ 2022-04-18 10:29                                 ` Po Lu
  2022-04-18 13:57                                   ` andrés ramírez
  2022-04-18 14:43                                   ` multi-head x error RenderBadGlyph on lucid-frame (was: help needed with backtrace ) andrés ramírez
  0 siblings, 2 replies; 20+ messages in thread
From: Po Lu @ 2022-04-18 10:29 UTC (permalink / raw)
  To: andrés ramírez; +Cc: emacs-devel

andrés ramírez <rrandresf@gmail.com> writes:

> Hi. Po Lu.
>
>>>>>> "Po" == Po Lu <luangruo@yahoo.com> writes:
>
>     Po> Thanks.  Does this fix the problem?
>
>
> No. It does NOT fix the issue.
>
> [...]
>
> Best Regards

What about this?

diff --git a/src/xterm.c b/src/xterm.c
index 99269e3e92..62d27339c6 100644
--- a/src/xterm.c
+++ b/src/xterm.c
@@ -23702,6 +23702,9 @@ x_delete_terminal (struct terminal *terminal)
       if (dpyinfo->xkb_desc)
 	XkbFreeKeyboard (dpyinfo->xkb_desc, XkbAllComponentsMask, True);
 #endif
+#ifdef USE_CAIRO
+      x_catch_errors (dpyinfo->display);
+#endif
 #ifdef USE_GTK
       xg_display_close (dpyinfo->display);
 #else
@@ -23711,6 +23714,9 @@ x_delete_terminal (struct terminal *terminal)
       XCloseDisplay (dpyinfo->display);
 #endif
 #endif /* ! USE_GTK */
+#ifdef USE_CAIRO
+      x_uncatch_errors_after_check ();
+#endif
 
       if (dpyinfo->modmap)
 	XFreeModifiermap (dpyinfo->modmap);



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

* Re: help needed for getting a backtrace ( multi-head emacs_abort on lucid-frame)
  2022-04-18 10:29                                 ` Po Lu
@ 2022-04-18 13:57                                   ` andrés ramírez
  2022-04-19  0:53                                     ` Po Lu
  2022-04-18 14:43                                   ` multi-head x error RenderBadGlyph on lucid-frame (was: help needed with backtrace ) andrés ramírez
  1 sibling, 1 reply; 20+ messages in thread
From: andrés ramírez @ 2022-04-18 13:57 UTC (permalink / raw)
  To: Po Lu; +Cc: emacs-devel

Hi. Po Lu.

>>>>> "Po" == Po Lu <luangruo@yahoo.com> writes:


[...]


    Po> What about this?

This patch also does NOT fix it.

But I have noticed inside x_error_quiter there is a message about
ignoring BadName errors.

Could this kind of X error be ignored safely also?.

JIC. See:
,---- [  ]
| commit b823e2f68ff613b2c4f537aba6bbbcf413412eb2
| Author: Chris Wilson <chris@chris-wilson.co.uk>
| Date:   Sun Apr 8 23:09:31 2007 +0100
|
|     cairo-xlib-surface - propagate status returns.
|
|     These were found during a cairo_static pass on an alternative branch...
|
|     A critical one in particular was setting the have added glyph flag to
|     TRUE even if _cairo_xlib_surface_add_glyph() fails. This can cause an
|     application crash due to a RenderBadGlyph error later when the scaled
|     font is cleaned and we attempt to remove the glyph.
`----

https://opensource.apple.com/source/X11libs/X11libs-40/cairo/cairo-1.8.6/ChangeLog.pre-1.6

Best Regards



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

* multi-head x error RenderBadGlyph on lucid-frame (was: help needed with backtrace )
  2022-04-18 10:29                                 ` Po Lu
  2022-04-18 13:57                                   ` andrés ramírez
@ 2022-04-18 14:43                                   ` andrés ramírez
  1 sibling, 0 replies; 20+ messages in thread
From: andrés ramírez @ 2022-04-18 14:43 UTC (permalink / raw)
  To: Po Lu; +Cc: emacs-devel

[-- Attachment #1: Type: text/plain, Size: 114 bytes --]

Hi. Po Lu.

I have just compiled libxrender with debug symbols.

So I am updating one of the previous backtraces.

[-- Attachment #2: dbglog --]
[-- Type: text/plain, Size: 22386 bytes --]

Current directory is /tmp/emacs/src/emacs-28.1/build/src/
GNU gdb (GDB) 11.2
Copyright (C) 2022 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-pc-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /tmp/emacs/src/emacs-28.1/build/src/emacs...
SIGINT is used by the debugger.
Are you sure you want to change it? (y or n) [answered Y; input not from terminal]
DISPLAY = :0
TERM = dumb
Breakpoint 2 at 0x1b1caa: file ../../src/xterm.c, line 10285.
(gdb) Warning: 'set target-async', an alias for the command 'set mi-async', is deprecated.
Use 'set mi-async'.

break XRenderFreeGlyphs
Function "XRenderFreeGlyphs" not defined.
Breakpoint 5 (XRenderFreeGlyphs) pending.
(gdb) run
Starting program: /tmp/emacs/src/emacs-28.1/build/src/emacs -Q -f toggle-debug-on-error --fg-daemon
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[New Thread 0x7ffff258a640 (LWP 13700)]
[New Thread 0x7ffff1bdf640 (LWP 13702)]
[New Thread 0x7ffff124f640 (LWP 13703)]
[Detaching after vfork from child process 13705]
[Detaching after vfork from child process 13706]

Thread 1 "emacs" hit Breakpoint 3, x_delete_terminal (terminal=0x55555673e7f8) at ../../src/xterm.c:13450
13450	  struct x_display_info *dpyinfo = terminal->display_info.x;
(gdb) cont
Continuing.

Thread 1 "emacs" hit Breakpoint 5, XRenderFreeGlyphs (dpy=0x5555560e7960, glyphset=25166207, gids=0x55555667bf70, nglyphs=128) at Glyph.c:120
120	{
(gdb) bt
#0  XRenderFreeGlyphs (dpy=0x5555560e7960, glyphset=25166207, gids=0x55555667bf70, nglyphs=128) at Glyph.c:120
#1  0x00007ffff6c7e794 in  () at /usr/lib/libcairo.so.2
#2  0x00007ffff6c395cc in  () at /usr/lib/libcairo.so.2
#3  0x00007ffff6c3973a in  () at /usr/lib/libcairo.so.2
#4  0x00007ffff6c39ebc in  () at /usr/lib/libcairo.so.2
#5  0x00007ffff6c7d404 in  () at /usr/lib/libcairo.so.2
#6  0x00007ffff6c08e8e in cairo_device_finish () at /usr/lib/libcairo.so.2
#7  0x00007ffff6c7d660 in  () at /usr/lib/libcairo.so.2
#8  0x00007ffff7bd9a62 in XCloseDisplay () at /usr/lib/libX11.so.6
#9  0x00007ffff7d563a1 in  () at /usr/lib/libXt.so.6
#10 0x00007ffff7d57001 in XtCloseDisplay () at /usr/lib/libXt.so.6
#11 0x000055555570caaa in x_delete_terminal (terminal=0x55555673e7f8) at ../../src/xterm.c:13504
#12 0x000055555571ce60 in Fx_close_connection (terminal=XIL(0x555556128df4)) at ../../src/xfns.c:5786
#13 0x00005555558304a1 in funcall_subr (subr=0x555555e243a0 <Sx_close_connection>, numargs=1, args=0x7fffffffc3b0) at ../../src/eval.c:3098
#14 0x000055555582fee3 in Ffuncall (nargs=2, args=0x7fffffffc3a8) at ../../src/eval.c:3023
#15 0x00005555558902ba in exec_byte_code (bytestr=XIL(0x7ffff2e7623c), vector=XIL(0x7ffff2e7609d), maxdepth=make_fixnum(7), args_template=make_fixnum(257), nargs=1, args=0x7fffffffcbd8) at ../../src/bytecode.c:632
#16 0x000055555583074c in fetch_and_exec_byte_code (fun=XIL(0x7ffff2e75f45), syms_left=make_fixnum(257), nargs=1, args=0x7fffffffcbd0) at ../../src/eval.c:3147
#17 0x0000555555830c13 in funcall_lambda (fun=XIL(0x7ffff2e75f45), nargs=1, arg_vector=0x7fffffffcbd0) at ../../src/eval.c:3228
#18 0x000055555582ff37 in Ffuncall (nargs=2, args=0x7fffffffcbc8) at ../../src/eval.c:3027
#19 0x000055555582309e in Ffuncall_interactively (nargs=2, args=0x7fffffffcbc8) at ../../src/callint.c:260
#20 0x0000555555830371 in funcall_subr (subr=0x555555e2c360 <Sfuncall_interactively>, numargs=2, args=0x7fffffffcbc8) at ../../src/eval.c:3078
#21 0x000055555582fee3 in Ffuncall (nargs=3, args=0x7fffffffcbc0) at ../../src/eval.c:3023
#22 0x000055555582eb82 in Fapply (nargs=3, args=0x7fffffffcbc0) at ../../src/eval.c:2610
#23 0x0000555555823541 in Fcall_interactively (function=XIL(0x2aaa9cfc1cd0), record_flag=XIL(0xc6c0), keys=XIL(0x555559264165)) at ../../src/callint.c:353
#24 0x00005555558304f4 in funcall_subr (subr=0x555555e2c3a0 <Scall_interactively>, numargs=3, args=0x7fffffffcd70) at ../../src/eval.c:3103
#25 0x000055555582fee3 in Ffuncall (nargs=4, args=0x7fffffffcd68) at ../../src/eval.c:3023
#26 0x00005555558902ba in exec_byte_code (bytestr=XIL(0x7ffff29de9cc), vector=XIL(0x7ffff29de635), maxdepth=make_fixnum(13), args_template=make_fixnum(1025), nargs=2, args=0x7fffffffd300) at ../../src/bytecode.c:632
#27 0x000055555583074c in fetch_and_exec_byte_code (fun=XIL(0x7ffff29de605), syms_left=make_fixnum(1025), nargs=2, args=0x7fffffffd2f0) at ../../src/eval.c:3147
#28 0x0000555555830c13 in funcall_lambda (fun=XIL(0x7ffff29de605), nargs=2, arg_vector=0x7fffffffd2f0) at ../../src/eval.c:3228
#29 0x000055555582ff37 in Ffuncall (nargs=3, args=0x7fffffffd2e8) at ../../src/eval.c:3027
#30 0x00005555558902ba in exec_byte_code (bytestr=XIL(0x7ffff2c1ad9c), vector=XIL(0x7ffff2c1a50d), maxdepth=make_fixnum(17), args_template=make_fixnum(769), nargs=3, args=0x7fffffffd9c8) at ../../src/bytecode.c:632
#31 0x000055555583074c in fetch_and_exec_byte_code (fun=XIL(0x7ffff2c19a85), syms_left=make_fixnum(769), nargs=3, args=0x7fffffffd9b0) at ../../src/eval.c:3147
#32 0x0000555555830c13 in funcall_lambda (fun=XIL(0x7ffff2c19a85), nargs=3, arg_vector=0x7fffffffd9b0) at ../../src/eval.c:3228
#33 0x000055555582ff37 in Ffuncall (nargs=4, args=0x7fffffffd9a8) at ../../src/eval.c:3027
#34 0x000055555582309e in Ffuncall_interactively (nargs=4, args=0x7fffffffd9a8) at ../../src/callint.c:260
#35 0x0000555555830371 in funcall_subr (subr=0x555555e2c360 <Sfuncall_interactively>, numargs=4, args=0x7fffffffd9a8) at ../../src/eval.c:3078
#36 0x000055555582fee3 in Ffuncall (nargs=5, args=0x7fffffffd9a0) at ../../src/eval.c:3023
#37 0x000055555582ef58 in Fapply (nargs=3, args=0x7fffffffdbe0) at ../../src/eval.c:2653
#38 0x0000555555823541 in Fcall_interactively (function=XIL(0x2aaa9cd657f0), record_flag=XIL(0), keys=XIL(0x55555932b01d)) at ../../src/callint.c:353
#39 0x00005555558304f4 in funcall_subr (subr=0x555555e2c3a0 <Scall_interactively>, numargs=3, args=0x7fffffffdd90) at ../../src/eval.c:3103
#40 0x000055555582fee3 in Ffuncall (nargs=4, args=0x7fffffffdd88) at ../../src/eval.c:3023
#41 0x00005555558902ba in exec_byte_code (bytestr=XIL(0x7ffff29de9cc), vector=XIL(0x7ffff29de635), maxdepth=make_fixnum(13), args_template=make_fixnum(1025), nargs=1, args=0x7fffffffe2e0) at ../../src/bytecode.c:632
#42 0x000055555583074c in fetch_and_exec_byte_code (fun=XIL(0x7ffff29de605), syms_left=make_fixnum(1025), nargs=1, args=0x7fffffffe2d8) at ../../src/eval.c:3147
#43 0x0000555555830c13 in funcall_lambda (fun=XIL(0x7ffff29de605), nargs=1, arg_vector=0x7fffffffe2d8) at ../../src/eval.c:3228
#44 0x000055555582ff37 in Ffuncall (nargs=2, args=0x7fffffffe2d0) at ../../src/eval.c:3027
#45 0x000055555582f6d9 in call1 (fn=XIL(0x4590), arg1=XIL(0x2aaa9cd657f0)) at ../../src/eval.c:2883
#46 0x0000555555745265 in command_loop_1 () at ../../src/keyboard.c:1505
#47 0x000055555582b543 in internal_condition_case (bfun=0x55555574499c <command_loop_1>, handlers=XIL(0x90), hfun=0x555555743d88 <cmd_error>) at ../../src/eval.c:1450
#48 0x0000555555744555 in command_loop_2 (handlers=XIL(0x90)) at ../../src/keyboard.c:1133
#49 0x000055555582a6d5 in internal_catch (tag=XIL(0xe850), func=0x55555574452b <command_loop_2>, arg=XIL(0x90)) at ../../src/eval.c:1181
#50 0x00005555557444f7 in command_loop () at ../../src/keyboard.c:1111
#51 0x0000555555743834 in recursive_edit_1 () at ../../src/keyboard.c:720
#52 0x0000555555743a56 in Frecursive_edit () at ../../src/keyboard.c:803
#53 0x000055555573f4f6 in main (argc=5, argv=0x7fffffffe7e8) at ../../src/emacs.c:2354

Lisp Backtrace:
"x-close-connection" (0xffffc3b0)
"close-display-connection" (0xffffcbd0)
"funcall-interactively" (0xffffcbc8)
"call-interactively" (0xffffcd70)
"command-execute" (0xffffd2f0)
"execute-extended-command" (0xffffd9b0)
"funcall-interactively" (0xffffd9a8)
"call-interactively" (0xffffdd90)
"command-execute" (0xffffe2d8)
(gdb) p
The history is empty.
(gdb) p *dpy
$1 = {
  ext_data = 0x0,
  free_funcs = 0x5555560e9920,
  fd = 8,
  conn_checker = 0,
  proto_major_version = 11,
  proto_minor_version = 0,
  vendor = 0x5555560e9e40 "The X.Org Foundation",
  resource_base = 25165824,
  resource_mask = 2097151,
  resource_id = 0,
  resource_shift = 0,
  resource_alloc = 0x7ffff7bf59f0 <_XAllocID>,
  byte_order = 0,
  bitmap_unit = 32,
  bitmap_pad = 32,
  bitmap_bit_order = 0,
  nformats = 7,
  pixmap_format = 0x5555560e9970,
  vnumber = 11,
  release = 12101003,
  head = 0x0,
  tail = 0x0,
  qlen = 0,
  last_request_read = 4616,
  request = 4616,
  last_req = 0x7ffff7c6f172 "",
  buffer = 0x5555560f16e0 "+\032\001",
  bufptr = 0x5555560f16e0 "+\032\001",
  bufmax = 0x5555560f56e0 "",
  max_request_size = 65535,
  db = 0x555556109e70,
  synchandler = 0x0,
  display_name = 0x5555560e9de0 ":0",
  default_screen = 0,
  nscreens = 1,
  screens = 0x5555560e9a20,
  motion_buffer = 256,
  flags = 0,
  min_keycode = 8,
  max_keycode = 255,
  keysyms = 0x0,
  modifiermap = 0x0,
  keysyms_per_keycode = 0,
  xdefaults = 0x5555560fad50 "*VT100*translations:\t#override Meta <Btn1Up>: exec-formatted(\"firefox '%t'\", PRIMARY)\nURxvt*background:\trgba:0000/0000/0000/dddd\nURxvt*borderLess:\tfalse\nURxvt*cursorBlink:\ttrue\nURxvt*cursorUnderline:\t"...,
  scratch_buffer = 0x0,
  scratch_length = 0,
  ext_number = 10,
  ext_procs = 0x55555637c190,
  event_vec = {0x7ffff7bf3530 <_XUnknownWireEvent>, 0x7ffff7bf3530 <_XUnknownWireEvent>, 0x7ffff7bf7f60 <_XWireToEvent> <repeats 33 times>, 0x7ffff7d09a20, 0x7ffff7bf3530 <_XUnknownWireEvent> <repeats 29 times>, 0x7ffff7d05080, 0x7ffff7bf3530 <_XUnknownWireEvent> <repeats 19 times>, 0x7ffff7c512c0, 0x7ffff7bf3530 <_XUnknownWireEvent>, 0x7ffff6b6d420, 0x7ffff6b6d420, 0x7ffff7bf3530 <_XUnknownWireEvent> <repeats 39 times>},
  wire_vec = {0x7ffff7bf3560 <_XUnknownNativeEvent>, 0x7ffff7bf3560 <_XUnknownNativeEvent>, 0x0 <repeats 31 times>, 0x7ffff7bd2820 <_XEventToWire>, 0x0, 0x7ffff7d099b0, 0x7ffff7bf3560 <_XUnknownNativeEvent> <repeats 29 times>, 0x7ffff7d04fd0, 0x7ffff7bf3560 <_XUnknownNativeEvent> <repeats 21 times>, 0x7ffff6b6d350, 0x7ffff6b6d350, 0x7ffff7bf3560 <_XUnknownNativeEvent> <repeats 39 times>},
  lock_meaning = 0,
  lock = 0x555556060220,
  async_handlers = 0x0,
  bigreq_size = 4194303,
  lock_fns = 0x5555560e8c70,
  idlist_alloc = 0x7ffff7bf5530 <_XAllocIDs>,
  key_bindings = 0x0,
  cursor_font = 25165825,
  atoms = 0x5555560fa9d0,
  mode_switch = 0,
  num_lock = 0,
  context_db = 0x555556045b80,
  error_vec = 0x0,
  cms = {
    defaultCCCs = 0x5555561223a0 "`y\016VUU",
    clientCmaps = 0x555556167d80 "\"",
    perVisualIntensityMaps = 0x0
  },
  im_filters = 0x55555610b670,
  qfree = 0x555556308140,
  next_event_serial_num = 113,
  flushes = 0x0,
  im_fd_info = 0x0,
  im_fd_length = 0,
  conn_watchers = 0x5555560e9da0,
  watcher_count = 1,
  filedes = 0x5555560e8c90 "\b",
  savedsynchandler = 0x0,
  resource_max = 2097146,
  xcmisc_opcode = 0,
  xkb_info = 0x5555560e9b30,
  trans_conn = 0x0,
  xcb = 0x5555560e97f0,
  next_cookie = 0,
  generic_event_vec = {0x0 <repeats 128 times>},
  generic_event_copy_vec = {0x0 <repeats 128 times>},
  cookiejar = 0x0,
  error_threads = 0x0,
  exit_handler = 0x7ffff7bf5a80 <_XDefaultIOErrorExit>,
  exit_handler_data = 0x0
}
(gdb) cont

A syntax error in expression, near `'.
(gdb) cont
Continuing.

Thread 1 "emacs" hit Breakpoint 5, XRenderFreeGlyphs (dpy=0x5555567890a0, glyphset=35651959, gids=0x555556758e50, nglyphs=128) at Glyph.c:120
120	{
(gdb) bt
#0  XRenderFreeGlyphs (dpy=0x5555567890a0, glyphset=35651959, gids=0x555556758e50, nglyphs=128) at Glyph.c:120
#1  0x00007ffff6c7e794 in  () at /usr/lib/libcairo.so.2
#2  0x00007ffff6c395cc in  () at /usr/lib/libcairo.so.2
#3  0x00007ffff6c3973a in  () at /usr/lib/libcairo.so.2
#4  0x00007ffff6c39ebc in  () at /usr/lib/libcairo.so.2
#5  0x00007ffff6c7d404 in  () at /usr/lib/libcairo.so.2
#6  0x00007ffff6c08e8e in cairo_device_finish () at /usr/lib/libcairo.so.2
#7  0x00007ffff6c7d660 in  () at /usr/lib/libcairo.so.2
#8  0x00007ffff7bd9a62 in XCloseDisplay () at /usr/lib/libX11.so.6
#9  0x00007ffff7d563a1 in  () at /usr/lib/libXt.so.6
#10 0x00007ffff7d57001 in XtCloseDisplay () at /usr/lib/libXt.so.6
#11 0x000055555570caaa in x_delete_terminal (terminal=0x55555673e7f8) at ../../src/xterm.c:13504
#12 0x000055555571ce60 in Fx_close_connection (terminal=XIL(0x555556128df4)) at ../../src/xfns.c:5786
#13 0x00005555558304a1 in funcall_subr (subr=0x555555e243a0 <Sx_close_connection>, numargs=1, args=0x7fffffffc3b0) at ../../src/eval.c:3098
#14 0x000055555582fee3 in Ffuncall (nargs=2, args=0x7fffffffc3a8) at ../../src/eval.c:3023
#15 0x00005555558902ba in exec_byte_code (bytestr=XIL(0x7ffff2e7623c), vector=XIL(0x7ffff2e7609d), maxdepth=make_fixnum(7), args_template=make_fixnum(257), nargs=1, args=0x7fffffffcbd8) at ../../src/bytecode.c:632
#16 0x000055555583074c in fetch_and_exec_byte_code (fun=XIL(0x7ffff2e75f45), syms_left=make_fixnum(257), nargs=1, args=0x7fffffffcbd0) at ../../src/eval.c:3147
#17 0x0000555555830c13 in funcall_lambda (fun=XIL(0x7ffff2e75f45), nargs=1, arg_vector=0x7fffffffcbd0) at ../../src/eval.c:3228
#18 0x000055555582ff37 in Ffuncall (nargs=2, args=0x7fffffffcbc8) at ../../src/eval.c:3027
#19 0x000055555582309e in Ffuncall_interactively (nargs=2, args=0x7fffffffcbc8) at ../../src/callint.c:260
#20 0x0000555555830371 in funcall_subr (subr=0x555555e2c360 <Sfuncall_interactively>, numargs=2, args=0x7fffffffcbc8) at ../../src/eval.c:3078
#21 0x000055555582fee3 in Ffuncall (nargs=3, args=0x7fffffffcbc0) at ../../src/eval.c:3023
#22 0x000055555582eb82 in Fapply (nargs=3, args=0x7fffffffcbc0) at ../../src/eval.c:2610
#23 0x0000555555823541 in Fcall_interactively (function=XIL(0x2aaa9cfc1cd0), record_flag=XIL(0xc6c0), keys=XIL(0x555559264165)) at ../../src/callint.c:353
#24 0x00005555558304f4 in funcall_subr (subr=0x555555e2c3a0 <Scall_interactively>, numargs=3, args=0x7fffffffcd70) at ../../src/eval.c:3103
#25 0x000055555582fee3 in Ffuncall (nargs=4, args=0x7fffffffcd68) at ../../src/eval.c:3023
#26 0x00005555558902ba in exec_byte_code (bytestr=XIL(0x7ffff29de9cc), vector=XIL(0x7ffff29de635), maxdepth=make_fixnum(13), args_template=make_fixnum(1025), nargs=2, args=0x7fffffffd300) at ../../src/bytecode.c:632
#27 0x000055555583074c in fetch_and_exec_byte_code (fun=XIL(0x7ffff29de605), syms_left=make_fixnum(1025), nargs=2, args=0x7fffffffd2f0) at ../../src/eval.c:3147
#28 0x0000555555830c13 in funcall_lambda (fun=XIL(0x7ffff29de605), nargs=2, arg_vector=0x7fffffffd2f0) at ../../src/eval.c:3228
#29 0x000055555582ff37 in Ffuncall (nargs=3, args=0x7fffffffd2e8) at ../../src/eval.c:3027
#30 0x00005555558902ba in exec_byte_code (bytestr=XIL(0x7ffff2c1ad9c), vector=XIL(0x7ffff2c1a50d), maxdepth=make_fixnum(17), args_template=make_fixnum(769), nargs=3, args=0x7fffffffd9c8) at ../../src/bytecode.c:632
#31 0x000055555583074c in fetch_and_exec_byte_code (fun=XIL(0x7ffff2c19a85), syms_left=make_fixnum(769), nargs=3, args=0x7fffffffd9b0) at ../../src/eval.c:3147
#32 0x0000555555830c13 in funcall_lambda (fun=XIL(0x7ffff2c19a85), nargs=3, arg_vector=0x7fffffffd9b0) at ../../src/eval.c:3228
#33 0x000055555582ff37 in Ffuncall (nargs=4, args=0x7fffffffd9a8) at ../../src/eval.c:3027
#34 0x000055555582309e in Ffuncall_interactively (nargs=4, args=0x7fffffffd9a8) at ../../src/callint.c:260
#35 0x0000555555830371 in funcall_subr (subr=0x555555e2c360 <Sfuncall_interactively>, numargs=4, args=0x7fffffffd9a8) at ../../src/eval.c:3078
#36 0x000055555582fee3 in Ffuncall (nargs=5, args=0x7fffffffd9a0) at ../../src/eval.c:3023
#37 0x000055555582ef58 in Fapply (nargs=3, args=0x7fffffffdbe0) at ../../src/eval.c:2653
#38 0x0000555555823541 in Fcall_interactively (function=XIL(0x2aaa9cd657f0), record_flag=XIL(0), keys=XIL(0x55555932b01d)) at ../../src/callint.c:353
#39 0x00005555558304f4 in funcall_subr (subr=0x555555e2c3a0 <Scall_interactively>, numargs=3, args=0x7fffffffdd90) at ../../src/eval.c:3103
#40 0x000055555582fee3 in Ffuncall (nargs=4, args=0x7fffffffdd88) at ../../src/eval.c:3023
#41 0x00005555558902ba in exec_byte_code (bytestr=XIL(0x7ffff29de9cc), vector=XIL(0x7ffff29de635), maxdepth=make_fixnum(13), args_template=make_fixnum(1025), nargs=1, args=0x7fffffffe2e0) at ../../src/bytecode.c:632
#42 0x000055555583074c in fetch_and_exec_byte_code (fun=XIL(0x7ffff29de605), syms_left=make_fixnum(1025), nargs=1, args=0x7fffffffe2d8) at ../../src/eval.c:3147
#43 0x0000555555830c13 in funcall_lambda (fun=XIL(0x7ffff29de605), nargs=1, arg_vector=0x7fffffffe2d8) at ../../src/eval.c:3228
#44 0x000055555582ff37 in Ffuncall (nargs=2, args=0x7fffffffe2d0) at ../../src/eval.c:3027
#45 0x000055555582f6d9 in call1 (fn=XIL(0x4590), arg1=XIL(0x2aaa9cd657f0)) at ../../src/eval.c:2883
#46 0x0000555555745265 in command_loop_1 () at ../../src/keyboard.c:1505
#47 0x000055555582b543 in internal_condition_case (bfun=0x55555574499c <command_loop_1>, handlers=XIL(0x90), hfun=0x555555743d88 <cmd_error>) at ../../src/eval.c:1450
#48 0x0000555555744555 in command_loop_2 (handlers=XIL(0x90)) at ../../src/keyboard.c:1133
#49 0x000055555582a6d5 in internal_catch (tag=XIL(0xe850), func=0x55555574452b <command_loop_2>, arg=XIL(0x90)) at ../../src/eval.c:1181
#50 0x00005555557444f7 in command_loop () at ../../src/keyboard.c:1111
#51 0x0000555555743834 in recursive_edit_1 () at ../../src/keyboard.c:720
#52 0x0000555555743a56 in Frecursive_edit () at ../../src/keyboard.c:803
#53 0x000055555573f4f6 in main (argc=5, argv=0x7fffffffe7e8) at ../../src/emacs.c:2354

Lisp Backtrace:
"x-close-connection" (0xffffc3b0)
"close-display-connection" (0xffffcbd0)
"funcall-interactively" (0xffffcbc8)
"call-interactively" (0xffffcd70)
"command-execute" (0xffffd2f0)
"execute-extended-command" (0xffffd9b0)
"funcall-interactively" (0xffffd9a8)
"call-interactively" (0xffffdd90)
"command-execute" (0xffffe2d8)
(gdb) p *dpy
$2 = {
  ext_data = 0x0,
  free_funcs = 0x55555681bf10,
  fd = 12,
  conn_checker = 0,
  proto_major_version = 11,
  proto_minor_version = 0,
  vendor = 0x555556308430 "The X.Org Foundation",
  resource_base = 35651584,
  resource_mask = 2097151,
  resource_id = 0,
  resource_shift = 0,
  resource_alloc = 0x7ffff7bf59f0 <_XAllocID>,
  byte_order = 0,
  bitmap_unit = 32,
  bitmap_pad = 32,
  bitmap_bit_order = 0,
  nformats = 7,
  pixmap_format = 0x5555567d8180,
  vnumber = 11,
  release = 12101003,
  head = 0x0,
  tail = 0x0,
  qlen = 0,
  last_request_read = 8154,
  request = 8154,
  last_req = 0x7ffff7c6f172 "",
  buffer = 0x555556771400 "\213\023\002",
  bufptr = 0x555556771400 "\213\023\002",
  bufmax = 0x555556775400 "",
  max_request_size = 65535,
  db = 0x0,
  synchandler = 0x7ffff7bf0fe0,
  display_name = 0x555556364210 "localhost:10.0",
  default_screen = 0,
  nscreens = 1,
  screens = 0x5555567d8230,
  motion_buffer = 256,
  flags = 2,
  min_keycode = 8,
  max_keycode = 255,
  keysyms = 0x0,
  modifiermap = 0x0,
  keysyms_per_keycode = 0,
  xdefaults = 0x5555567ba9a0 "*VT100*translations:\t#override Meta <Btn1Up>: exec-formatted(\"firefox '%t'\", PRIMARY)\nURxvt*background:\trgba:0000/0000/0000/dddd\nURxvt*borderLess:\tfalse\nURxvt*cursorBlink:\ttrue\nURxvt*cursorUnderline:\t"...,
  scratch_buffer = 0x0,
  scratch_length = 0,
  ext_number = 9,
  ext_procs = 0x555556779cd0,
  event_vec = {0x7ffff7bf3530 <_XUnknownWireEvent>, 0x7ffff7bf3530 <_XUnknownWireEvent>, 0x7ffff7bf7f60 <_XWireToEvent> <repeats 33 times>, 0x7ffff7d09a20, 0x7ffff7bf3530 <_XUnknownWireEvent> <repeats 29 times>, 0x7ffff7d05080, 0x7ffff7bf3530 <_XUnknownWireEvent> <repeats 19 times>, 0x7ffff7c512c0, 0x7ffff7bf3530 <_XUnknownWireEvent>, 0x7ffff6b6d420, 0x7ffff6b6d420, 0x7ffff7bf3530 <_XUnknownWireEvent> <repeats 39 times>},
  wire_vec = {0x7ffff7bf3560 <_XUnknownNativeEvent>, 0x7ffff7bf3560 <_XUnknownNativeEvent>, 0x0 <repeats 31 times>, 0x7ffff7bd2820 <_XEventToWire>, 0x0, 0x7ffff7d099b0, 0x7ffff7bf3560 <_XUnknownNativeEvent> <repeats 29 times>, 0x7ffff7d04fd0, 0x7ffff7bf3560 <_XUnknownNativeEvent> <repeats 21 times>, 0x7ffff6b6d350, 0x7ffff6b6d350, 0x7ffff7bf3560 <_XUnknownNativeEvent> <repeats 39 times>},
  lock_meaning = 0,
  lock = 0x555556829910,
  async_handlers = 0x0,
  bigreq_size = 4194303,
  lock_fns = 0x5555567d5020,
  idlist_alloc = 0x7ffff7bf5530 <_XAllocIDs>,
  key_bindings = 0x0,
  cursor_font = 35651585,
  atoms = 0x5555567d3a30,
  mode_switch = 0,
  num_lock = 0,
  context_db = 0x5555567b3450,
  error_vec = 0x0,
  cms = {
    defaultCCCs = 0x5555567af480 "\240\220xVUU",
    clientCmaps = 0x5555567b0120 " ",
    perVisualIntensityMaps = 0x0
  },
  im_filters = 0x0,
  qfree = 0x5555563fa270,
  next_event_serial_num = 202,
  flushes = 0x0,
  im_fd_info = 0x0,
  im_fd_length = 0,
  conn_watchers = 0x5555567d11c0,
  watcher_count = 1,
  filedes = 0x5555567a8f60 "\f",
  savedsynchandler = 0x0,
  resource_max = 2097146,
  xcmisc_opcode = 0,
  xkb_info = 0x5555567adf20,
  trans_conn = 0x0,
  xcb = 0x555556732350,
  next_cookie = 0,
  generic_event_vec = {0x0 <repeats 128 times>},
  generic_event_copy_vec = {0x0 <repeats 128 times>},
  cookiejar = 0x0,
  error_threads = 0x0,
  exit_handler = 0x7ffff7bf5a80 <_XDefaultIOErrorExit>,
  exit_handler_data = 0x0
}
(gdb) cont
Continuing.

Thread 1 "emacs" hit Breakpoint 4, x_error_handler (display=0x5555560e7960, event=0x7fffffffceb0) at ../../src/xterm.c:10270
10270	  if (x_error_message)
(gdb) cont
Continuing.

Thread 1 "emacs" hit Breakpoint 2, x_error_quitter (display=0x5555560e7960, event=0x7fffffffceb0) at ../../src/xterm.c:10285
10285	{
(gdb) cont
Continuing.

Thread 1 "emacs" hit Breakpoint 3, x_delete_terminal (terminal=0x555555f33ed0) at ../../src/xterm.c:13450
13450	  struct x_display_info *dpyinfo = terminal->display_info.x;
(gdb) cont
Continuing.
[Thread 0x7ffff124f640 (LWP 13703) exited]
[Thread 0x7ffff258a640 (LWP 13700) exited]
[Thread 0x7ffff337cf40 (LWP 13696) exited]
[Inferior 1 (process 13696) exited with code 0377]
(gdb) 

[-- Attachment #3: Type: text/plain, Size: 233 bytes --]


I just notice close-display-connection.
closes two frames on two different display_name:
  ,---- [  ]
  | display_name = 0x5555560e9de0 ":0",
  | display_name = 0x555556364210 "localhost:10.0",
  `----

Is that Right?

Best Regards

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

* Re: help needed for getting a backtrace ( multi-head emacs_abort on lucid-frame)
  2022-04-18 13:57                                   ` andrés ramírez
@ 2022-04-19  0:53                                     ` Po Lu
  2022-04-19 20:44                                       ` andrés ramírez
  0 siblings, 1 reply; 20+ messages in thread
From: Po Lu @ 2022-04-19  0:53 UTC (permalink / raw)
  To: andrés ramírez; +Cc: emacs-devel

andrés ramírez <rrandresf@gmail.com> writes:

> Hi. Po Lu.
>
>>>>>> "Po" == Po Lu <luangruo@yahoo.com> writes:
>
>
> [...]
>
>
>     Po> What about this?
>
> This patch also does NOT fix it.
>
> But I have noticed inside x_error_quiter there is a message about
> ignoring BadName errors.
>
> Could this kind of X error be ignored safely also?.

No.  It will interfere with handlers set by other programs.

x_catch_errors should catch the error before it is propagated to
x_error_quitter.  I wonder why it isn't working.

I will look into this some more, thanks.



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

* Re: help needed for getting a backtrace ( multi-head emacs_abort on lucid-frame)
  2022-04-19  0:53                                     ` Po Lu
@ 2022-04-19 20:44                                       ` andrés ramírez
  0 siblings, 0 replies; 20+ messages in thread
From: andrés ramírez @ 2022-04-19 20:44 UTC (permalink / raw)
  To: Po Lu; +Cc: emacs-devel

Hi. Po Lu.

>>>>> "Po" == Po Lu <luangruo@yahoo.com> writes:


[...]

    Po> No.  It will interfere with handlers set by other programs.

Could You give me more details?.

In my experience. If when I start this test I do NOT call emacs with this param '-f
toogle-debug-on-error', the lucid-frame survives and I can keep working
on that emacs-session.

    Po> x_catch_errors should catch the error before it is propagated to x_error_quitter.  I wonder
    Po> why it isn't working.

Let me know If You need anything else I should try.

    Po> I will look into this some more, thanks.

Thanks.

Best Regards



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

end of thread, other threads:[~2022-04-19 20:44 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-17 21:05 help needed for getting a backtrace ( multi-head emacs_abort on lucid-frame) Andrés Ramírez
2022-04-17 23:59 ` Po Lu
     [not found]   ` <87y203np3y.fsf@manco.pe>
     [not found]     ` <87v8v7kv9h.fsf@yahoo.com>
2022-04-18  3:52       ` andrés ramírez
2022-04-18  5:06         ` Po Lu
2022-04-18  5:40           ` andrés ramírez
2022-04-18  5:55             ` Po Lu
2022-04-18  6:16               ` andres.ramirez
2022-04-18  6:53                 ` Po Lu
2022-04-18  7:37                   ` andrés ramírez
2022-04-18  8:00                     ` Po Lu
2022-04-18  8:14                       ` andrés ramírez
2022-04-18  8:34                         ` Po Lu
2022-04-18  8:49                           ` andrés ramírez
2022-04-18  9:05                             ` Po Lu
2022-04-18  9:32                               ` andrés ramírez
2022-04-18 10:29                                 ` Po Lu
2022-04-18 13:57                                   ` andrés ramírez
2022-04-19  0:53                                     ` Po Lu
2022-04-19 20:44                                       ` andrés ramírez
2022-04-18 14:43                                   ` multi-head x error RenderBadGlyph on lucid-frame (was: help needed with backtrace ) andrés ramírez

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