all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "andrés ramírez" <rrandresf@gmail.com>
To: Po Lu <luangruo@yahoo.com>
Cc: emacs-devel@gnu.org
Subject: multi-head x error RenderBadGlyph on lucid-frame (was: help needed with backtrace )
Date: Mon, 18 Apr 2022 14:43:17 +0000	[thread overview]
Message-ID: <867d7mh2pm.fsf@gmail.com> (raw)
In-Reply-To: <87y202hegz.fsf@yahoo.com>

[-- 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

      parent reply	other threads:[~2022-04-18 14:43 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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                                   ` andrés ramírez [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

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

  git send-email \
    --in-reply-to=867d7mh2pm.fsf@gmail.com \
    --to=rrandresf@gmail.com \
    --cc=emacs-devel@gnu.org \
    --cc=luangruo@yahoo.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.