unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#57364: 28.1.91; asynchronous X server error when creating a second frame on alternate DISPLAY
@ 2022-08-23 17:51 Andrés Ramírez
  2022-08-24  1:56 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
  2022-08-30  8:02 ` bug#57364: 28.1; emacs segfaulted when debugging emacs form within emacs for bug#57364 Andrés Ramírez
  0 siblings, 2 replies; 21+ messages in thread
From: Andrés Ramírez @ 2022-08-23 17:51 UTC (permalink / raw)
  To: 57364

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

Hi. There.

,---- [ previous thread about this behaviour ]
| https://lists.gnu.org/archive/html/emacs-devel/2022-04/msg00922.html
`----

In case You need to put the breakpoints. You would need to add three lines at the end of src/.gdbinit
--8<---------------cut here---------------start------------->8---
set breakpoint pending on
b xterm.c:x_delete_terminal
b xterm.c:x_error_handler
--8<---------------cut here---------------end--------------->8---

REQUIREMENT-for-reproducing-the-bug: having xephyr installed and xterm or wmaker
launching xephyr:
--8<---------------cut here---------------start------------->8---
(Xephyr -ac -br -noreset -screen 1024x768 :1.0 &);sleep 1;(GNUSTEP_USER_ROOT="${HOME}/GNUstep"  DISPLAY=:1.0 wmaker &)
--8<---------------cut here---------------end--------------->8---

Steps for reproducing the bug:
1. gdb -i=mi --args ./emacs -Q -f toogle-debug-on-error --fg-daemon
2. @host emacsclient -c -n --eval '(eshell)'
3. on eshell-buffer emacs-version Return
4. @remoteMachine emacsclient -c -n ~/.bashrc {requires xephyr launched see above}
5. M-x dired-jump
6. M-x close-display-connection 

Expected Output:
emacs commits suicide
So Both opened frames are closed

NOTE: on gdb window You are going to get the message
'X protocol error: RenderBadGlyph (invalid Glyph parameter) on protocol request 139'
NOTE-THREE: this problem is not reproducible on emacs-29 
Simple-Question: How to know or capture|cleaning the X error before calling close-display-connection?

IDEA: I think the step 4 {opening a new X frame on a different DISPLAY causes the error}

VIDEO-of-debug-session: https://disk.yandex.com/i/vK-VEOTjP5_OGA
VIDEO-DETAILS:
gdb runs on DISPLAY 1.0 and the second frame is opened in DISPLAY :0 {second display not been showed on the video}

0m10s starting gdb
0m40s starting first emacs frame on DISPLAY 1:0
1m06s starting second frame on DISPLAY :0
1m16s doing M-x dired-jump on the second frame {not showed on video}
1m16s back to the video focused
1m30s M-x close-display-connection on first emacs frame
1m40s back on the gdb terminal {which shows the hitted breakpoints}
1m50s end the gdb session
1m57s ending the video

JIC: I am attaching three backtraces

[-- Attachment #2: x_delete_terminal --]
[-- Type: text/plain, Size: 5832 bytes --]

* x_terminal_delete

Thread 1 "emacs" hit Breakpoint 3, x_delete_terminal (terminal=0x555556036688) at ../../src/xterm.c:13450
13450	  struct x_display_info *dpyinfo = terminal->display_info.x;
(gdb) bt
#0  x_delete_terminal (terminal=0x555556036688) at ../../src/xterm.c:13450
#1  0x000055555571d53c in Fx_close_connection (terminal=XIL(0x5555560dfd84)) at ../../src/xfns.c:5785
#2  0x0000555555830de7 in funcall_subr (subr=0x555555e24380 <Sx_close_connection>, numargs=1, args=0x7fffffffc3f0) at ../../src/eval.c:3098
#3  0x0000555555830826 in Ffuncall (nargs=2, args=0x7fffffffc3e8) at ../../src/eval.c:3023
#4  0x0000555555890e41 in exec_byte_code (bytestr=XIL(0x7ffff2d214f4), vector=XIL(0x7ffff2d21355), maxdepth=make_fixnum(7), args_template=make_fixnum(257), nargs=1, args=0x7fffffffcc18) at ../../src/bytecode.c:632
#5  0x00005555558310bd in fetch_and_exec_byte_code (fun=XIL(0x7ffff2d211fd), syms_left=make_fixnum(257), nargs=1, args=0x7fffffffcc10) at ../../src/eval.c:3147
#6  0x0000555555831584 in funcall_lambda (fun=XIL(0x7ffff2d211fd), nargs=1, arg_vector=0x7fffffffcc10) at ../../src/eval.c:3228
#7  0x000055555583087a in Ffuncall (nargs=2, args=0x7fffffffcc08) at ../../src/eval.c:3027
#8  0x00005555558239a3 in Ffuncall_interactively (nargs=2, args=0x7fffffffcc08) at ../../src/callint.c:260
#9  0x0000555555830cb4 in funcall_subr (subr=0x555555e2c340 <Sfuncall_interactively>, numargs=2, args=0x7fffffffcc08) at ../../src/eval.c:3078
#10 0x0000555555830826 in Ffuncall (nargs=3, args=0x7fffffffcc00) at ../../src/eval.c:3023
#11 0x000055555582f4bf in Fapply (nargs=3, args=0x7fffffffcc00) at ../../src/eval.c:2610
#12 0x0000555555823e46 in Fcall_interactively (function=XIL(0x2aaa9ce6cfe8), record_flag=XIL(0xc6c0), keys=XIL(0x55555937e265)) at ../../src/callint.c:353
#13 0x0000555555830e47 in funcall_subr (subr=0x555555e2c380 <Scall_interactively>, numargs=3, args=0x7fffffffcdb0) at ../../src/eval.c:3103
#14 0x0000555555830826 in Ffuncall (nargs=4, args=0x7fffffffcda8) at ../../src/eval.c:3023
#15 0x0000555555890e41 in exec_byte_code (bytestr=XIL(0x7ffff28b4b4c), vector=XIL(0x7ffff28b47b5), maxdepth=make_fixnum(13), args_template=make_fixnum(1025), nargs=2, args=0x7fffffffd340) at ../../src/bytecode.c:632
#16 0x00005555558310bd in fetch_and_exec_byte_code (fun=XIL(0x7ffff28b4785), syms_left=make_fixnum(1025), nargs=2, args=0x7fffffffd330) at ../../src/eval.c:3147
#17 0x0000555555831584 in funcall_lambda (fun=XIL(0x7ffff28b4785), nargs=2, arg_vector=0x7fffffffd330) at ../../src/eval.c:3228
#18 0x000055555583087a in Ffuncall (nargs=3, args=0x7fffffffd328) at ../../src/eval.c:3027
#19 0x0000555555890e41 in exec_byte_code (bytestr=XIL(0x7ffff2ac40a4), vector=XIL(0x7ffff2ac3815), maxdepth=make_fixnum(17), args_template=make_fixnum(769), nargs=3, args=0x7fffffffda08) at ../../src/bytecode.c:632
#20 0x00005555558310bd in fetch_and_exec_byte_code (fun=XIL(0x7ffff2ac2d8d), syms_left=make_fixnum(769), nargs=3, args=0x7fffffffd9f0) at ../../src/eval.c:3147
#21 0x0000555555831584 in funcall_lambda (fun=XIL(0x7ffff2ac2d8d), nargs=3, arg_vector=0x7fffffffd9f0) at ../../src/eval.c:3228
#22 0x000055555583087a in Ffuncall (nargs=4, args=0x7fffffffd9e8) at ../../src/eval.c:3027
#23 0x00005555558239a3 in Ffuncall_interactively (nargs=4, args=0x7fffffffd9e8) at ../../src/callint.c:260
#24 0x0000555555830cb4 in funcall_subr (subr=0x555555e2c340 <Sfuncall_interactively>, numargs=4, args=0x7fffffffd9e8) at ../../src/eval.c:3078
#25 0x0000555555830826 in Ffuncall (nargs=5, args=0x7fffffffd9e0) at ../../src/eval.c:3023
#26 0x000055555582f895 in Fapply (nargs=3, args=0x7fffffffdc20) at ../../src/eval.c:2653
#27 0x0000555555823e46 in Fcall_interactively (function=XIL(0x2aaa9cc0eb58), record_flag=XIL(0), keys=XIL(0x55555921b71d)) at ../../src/callint.c:353
#28 0x0000555555830e47 in funcall_subr (subr=0x555555e2c380 <Scall_interactively>, numargs=3, args=0x7fffffffddd0) at ../../src/eval.c:3103
#29 0x0000555555830826 in Ffuncall (nargs=4, args=0x7fffffffddc8) at ../../src/eval.c:3023
#30 0x0000555555890e41 in exec_byte_code (bytestr=XIL(0x7ffff28b4b4c), vector=XIL(0x7ffff28b47b5), maxdepth=make_fixnum(13), args_template=make_fixnum(1025), nargs=1, args=0x7fffffffe320) at ../../src/bytecode.c:632
#31 0x00005555558310bd in fetch_and_exec_byte_code (fun=XIL(0x7ffff28b4785), syms_left=make_fixnum(1025), nargs=1, args=0x7fffffffe318) at ../../src/eval.c:3147
#32 0x0000555555831584 in funcall_lambda (fun=XIL(0x7ffff28b4785), nargs=1, arg_vector=0x7fffffffe318) at ../../src/eval.c:3228
#33 0x000055555583087a in Ffuncall (nargs=2, args=0x7fffffffe310) at ../../src/eval.c:3027
#34 0x0000555555830019 in call1 (fn=XIL(0x4590), arg1=XIL(0x2aaa9cc0eb58)) at ../../src/eval.c:2883
#35 0x0000555555745a6c in command_loop_1 () at ../../src/keyboard.c:1505
#36 0x000055555582be77 in internal_condition_case (bfun=0x5555557451a3 <command_loop_1>, handlers=XIL(0x90), hfun=0x555555744586 <cmd_error>) at ../../src/eval.c:1450
#37 0x0000555555744d5c in command_loop_2 (handlers=XIL(0x90)) at ../../src/keyboard.c:1133
#38 0x000055555582b006 in internal_catch (tag=XIL(0xe850), func=0x555555744d32 <command_loop_2>, arg=XIL(0x90)) at ../../src/eval.c:1181
#39 0x0000555555744cfe in command_loop () at ../../src/keyboard.c:1111
#40 0x0000555555744032 in recursive_edit_1 () at ../../src/keyboard.c:720
#41 0x0000555555744254 in Frecursive_edit () at ../../src/keyboard.c:803
#42 0x000055555573fd00 in main (argc=5, argv=0x7fffffffe828) at ../../src/emacs.c:2358

Lisp Backtrace:
"x-close-connection" (0xffffc3f0)
"close-display-connection" (0xffffcc10)
"funcall-interactively" (0xffffcc08)
"call-interactively" (0xffffcdb0)
"command-execute" (0xffffd330)
"execute-extended-command" (0xffffd9f0)
"funcall-interactively" (0xffffd9e8)
"call-interactively" (0xffffddd0)
"command-execute" (0xffffe318)
(gdb) 

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

* x_error_handler

Thread 1 "emacs" hit Breakpoint 4, x_error_handler (display=0x5555567b8200, event=0x7fffffffcf00) at ../../src/xterm.c:10270
10270	  if (x_error_message)
(gdb) bt
#0  x_error_handler (display=0x5555567b8200, event=0x7fffffffcf00) at ../../src/xterm.c:10270
#1  0x00007ffff7bf61ac in _XError () at /usr/lib/libX11.so.6
#2  0x00007ffff7bf62b8 in  () at /usr/lib/libX11.so.6
#3  0x00007ffff7bf6355 in  () at /usr/lib/libX11.so.6
#4  0x00007ffff7bf640a in _XEventsQueued () at /usr/lib/libX11.so.6
#5  0x00007ffff7be2c48 in XPending () at /usr/lib/libX11.so.6
#6  0x00005555557042cf in XTread_socket (terminal=0x555556722160, hold_quit=0x7fffffffd1e0) at ../../src/xterm.c:9492
#7  0x0000555555755cec in gobble_input () at ../../src/keyboard.c:6980
#8  0x00005555557562e8 in handle_async_input () at ../../src/keyboard.c:7211
#9  0x0000555555756307 in process_pending_signals () at ../../src/keyboard.c:7225
#10 0x000055555582c7dc in maybe_quit () at ../../src/eval.c:1724
#11 0x00005555558306b3 in Ffuncall (nargs=2, args=0x7fffffffd328) at ../../src/eval.c:2995
#12 0x0000555555890e41 in exec_byte_code (bytestr=XIL(0x7ffff2ac40a4), vector=XIL(0x7ffff2ac3815), maxdepth=make_fixnum(17), args_template=make_fixnum(769), nargs=3, args=0x7fffffffda08) at ../../src/bytecode.c:632
#13 0x00005555558310bd in fetch_and_exec_byte_code (fun=XIL(0x7ffff2ac2d8d), syms_left=make_fixnum(769), nargs=3, args=0x7fffffffd9f0) at ../../src/eval.c:3147
#14 0x0000555555831584 in funcall_lambda (fun=XIL(0x7ffff2ac2d8d), nargs=3, arg_vector=0x7fffffffd9f0) at ../../src/eval.c:3228
#15 0x000055555583087a in Ffuncall (nargs=4, args=0x7fffffffd9e8) at ../../src/eval.c:3027
#16 0x00005555558239a3 in Ffuncall_interactively (nargs=4, args=0x7fffffffd9e8) at ../../src/callint.c:260
#17 0x0000555555830cb4 in funcall_subr (subr=0x555555e2c340 <Sfuncall_interactively>, numargs=4, args=0x7fffffffd9e8) at ../../src/eval.c:3078
#18 0x0000555555830826 in Ffuncall (nargs=5, args=0x7fffffffd9e0) at ../../src/eval.c:3023
#19 0x000055555582f895 in Fapply (nargs=3, args=0x7fffffffdc20) at ../../src/eval.c:2653
#20 0x0000555555823e46 in Fcall_interactively (function=XIL(0x2aaa9cc0eb58), record_flag=XIL(0), keys=XIL(0x55555921b71d)) at ../../src/callint.c:353
#21 0x0000555555830e47 in funcall_subr (subr=0x555555e2c380 <Scall_interactively>, numargs=3, args=0x7fffffffddd0) at ../../src/eval.c:3103
#22 0x0000555555830826 in Ffuncall (nargs=4, args=0x7fffffffddc8) at ../../src/eval.c:3023
#23 0x0000555555890e41 in exec_byte_code (bytestr=XIL(0x7ffff28b4b4c), vector=XIL(0x7ffff28b47b5), maxdepth=make_fixnum(13), args_template=make_fixnum(1025), nargs=1, args=0x7fffffffe320) at ../../src/bytecode.c:632
#24 0x00005555558310bd in fetch_and_exec_byte_code (fun=XIL(0x7ffff28b4785), syms_left=make_fixnum(1025), nargs=1, args=0x7fffffffe318) at ../../src/eval.c:3147
#25 0x0000555555831584 in funcall_lambda (fun=XIL(0x7ffff28b4785), nargs=1, arg_vector=0x7fffffffe318) at ../../src/eval.c:3228
#26 0x000055555583087a in Ffuncall (nargs=2, args=0x7fffffffe310) at ../../src/eval.c:3027
#27 0x0000555555830019 in call1 (fn=XIL(0x4590), arg1=XIL(0x2aaa9cc0eb58)) at ../../src/eval.c:2883
#28 0x0000555555745a6c in command_loop_1 () at ../../src/keyboard.c:1505
#29 0x000055555582be77 in internal_condition_case (bfun=0x5555557451a3 <command_loop_1>, handlers=XIL(0x90), hfun=0x555555744586 <cmd_error>) at ../../src/eval.c:1450
#30 0x0000555555744d5c in command_loop_2 (handlers=XIL(0x90)) at ../../src/keyboard.c:1133
#31 0x000055555582b006 in internal_catch (tag=XIL(0xe850), func=0x555555744d32 <command_loop_2>, arg=XIL(0x90)) at ../../src/eval.c:1181
#32 0x0000555555744cfe in command_loop () at ../../src/keyboard.c:1111
#33 0x0000555555744032 in recursive_edit_1 () at ../../src/keyboard.c:720
#34 0x0000555555744254 in Frecursive_edit () at ../../src/keyboard.c:803
#35 0x000055555573fd00 in main (argc=5, argv=0x7fffffffe828) at ../../src/emacs.c:2358

Lisp Backtrace:
"execute-extended-command" (0xffffd9f0)
"funcall-interactively" (0xffffd9e8)
"call-interactively" (0xffffddd0)
"command-execute" (0xffffe318)
(gdb) 

[-- Attachment #4: exit --]
[-- Type: text/plain, Size: 6458 bytes --]

* _exit

Thread 1 "emacs" hit Breakpoint 5, __GI_exit (status=-1) at exit.c:142
142	{
(gdb) bt
#0  __GI_exit (status=-1) at exit.c:142
#1  0x00005555557406b4 in Fkill_emacs (arg=make_fixnum(-1)) at ../../src/emacs.c:2717
#2  0x0000555555830de7 in funcall_subr (subr=0x555555e24b00 <Skill_emacs>, numargs=1, args=0x7fffffffc168) at ../../src/eval.c:3098
#3  0x0000555555830826 in Ffuncall (nargs=2, args=0x7fffffffc160) at ../../src/eval.c:3023
#4  0x0000555555890e41 in exec_byte_code (bytestr=XIL(0x5555563acfa4), vector=XIL(0x5555592cd455), maxdepth=make_fixnum(40), args_template=make_fixnum(128), nargs=2, args=0x7fffffffc7b8) at ../../src/bytecode.c:632
#5  0x00005555558310bd in fetch_and_exec_byte_code (fun=XIL(0x5555592cd71d), syms_left=make_fixnum(128), nargs=2, args=0x7fffffffc7b8) at ../../src/eval.c:3147
#6  0x0000555555831584 in funcall_lambda (fun=XIL(0x5555592cd71d), nargs=2, arg_vector=0x7fffffffc7b8) at ../../src/eval.c:3228
#7  0x000055555583087a in Ffuncall (nargs=3, args=0x7fffffffc7b0) at ../../src/eval.c:3027
#8  0x000055555582f895 in Fapply (nargs=2, args=0x7fffffffc860) at ../../src/eval.c:2653
#9  0x000055555582ffa0 in apply1 (fn=XIL(0x50d0), arg=XIL(0x555559315283)) at ../../src/eval.c:2869
#10 0x0000555555828216 in call_debugger (arg=XIL(0x555559315283)) at ../../src/eval.c:345
#11 0x000055555582d53c in maybe_call_debugger (conditions=XIL(0x7ffff27dfdd3), sig=XIL(0x90), data=XIL(0x5555593152b3)) at ../../src/eval.c:2039
#12 0x000055555582cbdc in signal_or_quit (error_symbol=XIL(0x90), data=XIL(0x5555593152b3), keyboard_quit=false) at ../../src/eval.c:1846
#13 0x000055555582c846 in Fsignal (error_symbol=XIL(0x90), data=XIL(0x5555593152b3)) at ../../src/eval.c:1747
#14 0x0000555555827538 in xsignal (error_symbol=XIL(0x90), data=XIL(0x5555593152b3)) at ../../src/lisp.h:4154
#15 0x000055555582ce99 in xsignal1 (error_symbol=XIL(0x90), arg=XIL(0x5555592a0c24)) at ../../src/eval.c:1904
#16 0x000055555582d7d2 in verror (m=0x555555968457 "%s", ap=0x7fffffffca80) at ../../src/eval.c:2096
#17 0x000055555582d883 in error (m=0x555555968457 "%s") at ../../src/eval.c:2107
#18 0x0000555555706347 in x_connection_closed (dpy=0x5555567b8200, error_message=0x7fffffffcd50 "X protocol error: RenderBadGlyph (invalid Glyph parameter) on protocol request 139", ioerror=false) at ../../src/xterm.c:10251
#19 0x0000555555706440 in x_error_quitter (display=0x5555567b8200, event=0x7fffffffcf00) at ../../src/xterm.c:10300
#20 0x000055555570638b in x_error_handler (display=0x5555567b8200, event=0x7fffffffcf00) at ../../src/xterm.c:10273
#21 0x00007ffff7bf61ac in _XError () at /usr/lib/libX11.so.6
#22 0x00007ffff7bf62b8 in  () at /usr/lib/libX11.so.6
#23 0x00007ffff7bf6355 in  () at /usr/lib/libX11.so.6
#24 0x00007ffff7bf640a in _XEventsQueued () at /usr/lib/libX11.so.6
#25 0x00007ffff7be2c48 in XPending () at /usr/lib/libX11.so.6
#26 0x00005555557042cf in XTread_socket (terminal=0x555556722160, hold_quit=0x7fffffffd1e0) at ../../src/xterm.c:9492
#27 0x0000555555755cec in gobble_input () at ../../src/keyboard.c:6980
#28 0x00005555557562e8 in handle_async_input () at ../../src/keyboard.c:7211
#29 0x0000555555756307 in process_pending_signals () at ../../src/keyboard.c:7225
#30 0x000055555582c7dc in maybe_quit () at ../../src/eval.c:1724
#31 0x00005555558306b3 in Ffuncall (nargs=2, args=0x7fffffffd328) at ../../src/eval.c:2995
#32 0x0000555555890e41 in exec_byte_code (bytestr=XIL(0x7ffff2ac40a4), vector=XIL(0x7ffff2ac3815), maxdepth=make_fixnum(17), args_template=make_fixnum(769), nargs=3, args=0x7fffffffda08) at ../../src/bytecode.c:632
#33 0x00005555558310bd in fetch_and_exec_byte_code (fun=XIL(0x7ffff2ac2d8d), syms_left=make_fixnum(769), nargs=3, args=0x7fffffffd9f0) at ../../src/eval.c:3147
#34 0x0000555555831584 in funcall_lambda (fun=XIL(0x7ffff2ac2d8d), nargs=3, arg_vector=0x7fffffffd9f0) at ../../src/eval.c:3228
#35 0x000055555583087a in Ffuncall (nargs=4, args=0x7fffffffd9e8) at ../../src/eval.c:3027
#36 0x00005555558239a3 in Ffuncall_interactively (nargs=4, args=0x7fffffffd9e8) at ../../src/callint.c:260
#37 0x0000555555830cb4 in funcall_subr (subr=0x555555e2c340 <Sfuncall_interactively>, numargs=4, args=0x7fffffffd9e8) at ../../src/eval.c:3078
#38 0x0000555555830826 in Ffuncall (nargs=5, args=0x7fffffffd9e0) at ../../src/eval.c:3023
#39 0x000055555582f895 in Fapply (nargs=3, args=0x7fffffffdc20) at ../../src/eval.c:2653
#40 0x0000555555823e46 in Fcall_interactively (function=XIL(0x2aaa9cc0eb58), record_flag=XIL(0), keys=XIL(0x55555921b71d)) at ../../src/callint.c:353
#41 0x0000555555830e47 in funcall_subr (subr=0x555555e2c380 <Scall_interactively>, numargs=3, args=0x7fffffffddd0) at ../../src/eval.c:3103
#42 0x0000555555830826 in Ffuncall (nargs=4, args=0x7fffffffddc8) at ../../src/eval.c:3023
#43 0x0000555555890e41 in exec_byte_code (bytestr=XIL(0x7ffff28b4b4c), vector=XIL(0x7ffff28b47b5), maxdepth=make_fixnum(13), args_template=make_fixnum(1025), nargs=1, args=0x7fffffffe320) at ../../src/bytecode.c:632
#44 0x00005555558310bd in fetch_and_exec_byte_code (fun=XIL(0x7ffff28b4785), syms_left=make_fixnum(1025), nargs=1, args=0x7fffffffe318) at ../../src/eval.c:3147
#45 0x0000555555831584 in funcall_lambda (fun=XIL(0x7ffff28b4785), nargs=1, arg_vector=0x7fffffffe318) at ../../src/eval.c:3228
#46 0x000055555583087a in Ffuncall (nargs=2, args=0x7fffffffe310) at ../../src/eval.c:3027
#47 0x0000555555830019 in call1 (fn=XIL(0x4590), arg1=XIL(0x2aaa9cc0eb58)) at ../../src/eval.c:2883
#48 0x0000555555745a6c in command_loop_1 () at ../../src/keyboard.c:1505
#49 0x000055555582be77 in internal_condition_case (bfun=0x5555557451a3 <command_loop_1>, handlers=XIL(0x90), hfun=0x555555744586 <cmd_error>) at ../../src/eval.c:1450
#50 0x0000555555744d5c in command_loop_2 (handlers=XIL(0x90)) at ../../src/keyboard.c:1133
#51 0x000055555582b006 in internal_catch (tag=XIL(0xe850), func=0x555555744d32 <command_loop_2>, arg=XIL(0x90)) at ../../src/eval.c:1181
#52 0x0000555555744cfe in command_loop () at ../../src/keyboard.c:1111
#53 0x0000555555744032 in recursive_edit_1 () at ../../src/keyboard.c:720
#54 0x0000555555744254 in Frecursive_edit () at ../../src/keyboard.c:803
#55 0x000055555573fd00 in main (argc=5, argv=0x7fffffffe828) at ../../src/emacs.c:2358

Lisp Backtrace:
"kill-emacs" (0xffffc168)
"debug" (0xffffc7b8)
"execute-extended-command" (0xffffd9f0)
"funcall-interactively" (0xffffd9e8)
"call-interactively" (0xffffddd0)
"command-execute" (0xffffe318)
(gdb) 

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


Best Regards

In GNU Emacs 28.1.91 (build 1, x86_64-pc-linux-gnu, X toolkit, cairo version 1.17.6, Xaw3d scroll bars)
 of 2022-08-23 built on huana84
System Description: Arch Linux

Configured using:
 'configure --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'

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

Important settings:
  value of $LC_COLLATE: C
  value of $LANG: en_US.UTF-8
  locale-coding-system: utf-8-unix

Major mode: Lisp Interaction

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

Load-path shadows:
None found.

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

Memory information:
((conses 16 62490 10558)
 (symbols 48 7763 1)
 (strings 32 20300 1896)
 (string-bytes 1 630786)
 (vectors 16 10975)
 (vector-slots 8 133722 15303)
 (floats 8 30 425)
 (intervals 56 195 0)
 (buffers 992 11))

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

* bug#57364: 28.1.91; asynchronous X server error when creating a second frame on alternate DISPLAY
  2022-08-23 17:51 bug#57364: 28.1.91; asynchronous X server error when creating a second frame on alternate DISPLAY Andrés Ramírez
@ 2022-08-24  1:56 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
  2022-08-25 14:29   ` andrés ramírez
  2022-08-25 15:13   ` andrés ramírez
  2022-08-30  8:02 ` bug#57364: 28.1; emacs segfaulted when debugging emacs form within emacs for bug#57364 Andrés Ramírez
  1 sibling, 2 replies; 21+ messages in thread
From: Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2022-08-24  1:56 UTC (permalink / raw)
  To: Andrés Ramírez; +Cc: 57364

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

> 10270	  if (x_error_message)
> (gdb) bt
> #0  x_error_handler (display=0x5555567b8200, event=0x7fffffffcf00) at ../../src/xterm.c:10270
> #1  0x00007ffff7bf61ac in _XError () at /usr/lib/libX11.so.6
> #2  0x00007ffff7bf62b8 in  () at /usr/lib/libX11.so.6
> #3  0x00007ffff7bf6355 in  () at /usr/lib/libX11.so.6
> #4  0x00007ffff7bf640a in _XEventsQueued () at /usr/lib/libX11.so.6
> #5  0x00007ffff7be2c48 in XPending () at /usr/lib/libX11.so.6
> #6  0x00005555557042cf in XTread_socket (terminal=0x555556722160, hold_quit=0x7fffffffd1e0) at ../../src/xterm.c:9492
> #7  0x0000555555755cec in gobble_input () at ../../src/keyboard.c:6980
> #8  0x00005555557562e8 in handle_async_input () at ../../src/keyboard.c:7211
> #9  0x0000555555756307 in process_pending_signals () at ../../src/keyboard.c:7225
> #10 0x000055555582c7dc in maybe_quit () at ../../src/eval.c:1724
> #11 0x00005555558306b3 in Ffuncall (nargs=2, args=0x7fffffffd328) at ../../src/eval.c:2995
> #12 0x0000555555890e41 in exec_byte_code (bytestr=XIL(0x7ffff2ac40a4), vector=XIL(0x7ffff2ac3815), maxdepth=make_fixnum(17), args_template=make_fixnum(769), nargs=3, args=0x7fffffffda08) at ../../src/bytecode.c:632
> #13 0x00005555558310bd in fetch_and_exec_byte_code (fun=XIL(0x7ffff2ac2d8d), syms_left=make_fixnum(769), nargs=3, args=0x7fffffffd9f0) at ../../src/eval.c:3147
> #14 0x0000555555831584 in funcall_lambda (fun=XIL(0x7ffff2ac2d8d), nargs=3, arg_vector=0x7fffffffd9f0) at ../../src/eval.c:3228
> #15 0x000055555583087a in Ffuncall (nargs=4, args=0x7fffffffd9e8) at ../../src/eval.c:3027
> #16 0x00005555558239a3 in Ffuncall_interactively (nargs=4, args=0x7fffffffd9e8) at ../../src/callint.c:260
> #17 0x0000555555830cb4 in funcall_subr (subr=0x555555e2c340 <Sfuncall_interactively>, numargs=4, args=0x7fffffffd9e8) at ../../src/eval.c:3078
> #18 0x0000555555830826 in Ffuncall (nargs=5, args=0x7fffffffd9e0) at ../../src/eval.c:3023
> #19 0x000055555582f895 in Fapply (nargs=3, args=0x7fffffffdc20) at ../../src/eval.c:2653
> #20 0x0000555555823e46 in Fcall_interactively (function=XIL(0x2aaa9cc0eb58), record_flag=XIL(0), keys=XIL(0x55555921b71d)) at ../../src/callint.c:353
> #21 0x0000555555830e47 in funcall_subr (subr=0x555555e2c380 <Scall_interactively>, numargs=3, args=0x7fffffffddd0) at ../../src/eval.c:3103
> #22 0x0000555555830826 in Ffuncall (nargs=4, args=0x7fffffffddc8) at ../../src/eval.c:3023
> #23 0x0000555555890e41 in exec_byte_code (bytestr=XIL(0x7ffff28b4b4c), vector=XIL(0x7ffff28b47b5), maxdepth=make_fixnum(13), args_template=make_fixnum(1025), nargs=1, args=0x7fffffffe320) at ../../src/bytecode.c:632
> #24 0x00005555558310bd in fetch_and_exec_byte_code (fun=XIL(0x7ffff28b4785), syms_left=make_fixnum(1025), nargs=1, args=0x7fffffffe318) at ../../src/eval.c:3147
> #25 0x0000555555831584 in funcall_lambda (fun=XIL(0x7ffff28b4785), nargs=1, arg_vector=0x7fffffffe318) at ../../src/eval.c:3228
> #26 0x000055555583087a in Ffuncall (nargs=2, args=0x7fffffffe310) at ../../src/eval.c:3027
> #27 0x0000555555830019 in call1 (fn=XIL(0x4590), arg1=XIL(0x2aaa9cc0eb58)) at ../../src/eval.c:2883
> #28 0x0000555555745a6c in command_loop_1 () at ../../src/keyboard.c:1505
> #29 0x000055555582be77 in internal_condition_case (bfun=0x5555557451a3 <command_loop_1>, handlers=XIL(0x90), hfun=0x555555744586 <cmd_error>) at ../../src/eval.c:1450
> #30 0x0000555555744d5c in command_loop_2 (handlers=XIL(0x90)) at ../../src/keyboard.c:1133
> #31 0x000055555582b006 in internal_catch (tag=XIL(0xe850), func=0x555555744d32 <command_loop_2>, arg=XIL(0x90)) at ../../src/eval.c:1181
> #32 0x0000555555744cfe in command_loop () at ../../src/keyboard.c:1111
> #33 0x0000555555744032 in recursive_edit_1 () at ../../src/keyboard.c:720
> #34 0x0000555555744254 in Frecursive_edit () at ../../src/keyboard.c:803
> #35 0x000055555573fd00 in main (argc=5, argv=0x7fffffffe828) at ../../src/emacs.c:2358

This backtrace is not meaningful.

When an X error occurs, it is normally reported some time after the
protocol request leading to the error was made, upon the next time Xlib
synchronizes with the X server.  To get a meaningful backtrace, you must
make Xlib check for errors immediately, by running Emacs with -xrm
'Emacs.synchronous: True'.





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

* bug#57364: 28.1.91; asynchronous X server error when creating a second frame on alternate DISPLAY
  2022-08-24  1:56 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
@ 2022-08-25 14:29   ` andrés ramírez
  2022-08-25 15:13   ` andrés ramírez
  1 sibling, 0 replies; 21+ messages in thread
From: andrés ramírez @ 2022-08-25 14:29 UTC (permalink / raw)
  To: Po Lu; +Cc: 57364

Hi. Po.

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

[...]

    Po> you must make Xlib check for errors immediately, by running Emacs with
    Po> -xrm 'Emacs.synchronous: True'.

For following your suggestion I have adapted my test receipt a little
bit.

--8<---------------cut here---------------start------------->8---
1. gdb -i=mi --args ./emacs -Q -f toogle-debug-on-error --fg-daemon
2. emacsclient -c -n
3. M-x eval-expresion (x-synchronize t)
4. M-x eshell
5. on eshell-buffer emacs-version Return 
6. @remoteMachine emacsclient -c -n  {Xephyr could be used}
7. M-x eval-expresion (x-synchronize t)
8. C-x C-f ~/.bashrc
9. M-x dired-jump
10. M-x close-display-connection 
--8<---------------cut here---------------end--------------->8---

Trying those steps above. The error does NOT produce.

Let me know If You have something else I could try.

Best Regards





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

* bug#57364: 28.1.91; asynchronous X server error when creating a second frame on alternate DISPLAY
  2022-08-24  1:56 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
  2022-08-25 14:29   ` andrés ramírez
@ 2022-08-25 15:13   ` andrés ramírez
  2022-08-26  1:07     ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
  1 sibling, 1 reply; 21+ messages in thread
From: andrés ramírez @ 2022-08-25 15:13 UTC (permalink / raw)
  To: Po Lu; +Cc: 57364

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

Hi. Po.

After sending previous email. I though a little bit about the
libX11.so.6. So I decided compiling libx11 with debug symbols. Let me
know if this backtraces give us more light for tracking the offending
line. As I am inspecting it by myself the offending line could be
unblock_input within x_delete_terminal.

Best Regards

[-- Attachment #2: libx11-with-debug-symbols --]
[-- Type: text/plain, Size: 8066 bytes --]

* new backtrace on x_error_handler
Thread 1 "emacs" hit Breakpoint 4, x_error_handler (display=0x5555560e8370, event=0x7fffffffb520) at ../../src/xterm.c:10270
10270	  if (x_error_message)
(gdb) bt
#0  x_error_handler (display=0x5555560e8370, event=0x7fffffffb520) at ../../src/xterm.c:10270
#1  0x00007ffff7bf433c in _XError (dpy=dpy@entry=0x5555560e8370, rep=rep@entry=0x5555567ba850) at XlibInt.c:1503
#2  0x00007ffff7bf0e58 in handle_error (dpy=0x5555560e8370, err=0x5555567ba850, in_XReply=<optimized out>) at xcb_io.c:211
#3  0x00007ffff7bf0ef5 in handle_response (dpy=dpy@entry=0x5555560e8370, response=0x5555567ba850, in_XReply=in_XReply@entry=1) at xcb_io.c:403
#4  0x00007ffff7bf20bd in _XReply (dpy=dpy@entry=0x5555560e8370, rep=rep@entry=0x7fffffffb6e0, extra=extra@entry=0, discard=discard@entry=1) at xcb_io.c:722
#5  0x00007ffff7bed5f1 in XSync (dpy=0x5555560e8370, discard=0) at Sync.c:44
#6  0x00005555557059c1 in x_catch_errors_with_handler (dpy=0x5555560e8370, handler=0x0, handler_data=0x0) at ../../src/xterm.c:10015
#7  0x0000555555705a37 in x_catch_errors (dpy=0x5555560e8370) at ../../src/xterm.c:10028
#8  0x00005555556f8b6d in x_frame_highlight (f=0x5555562a1740) at ../../src/xterm.c:4491
#9  0x00005555556f9a51 in x_frame_rehighlight (dpyinfo=0x555556108ed0) at ../../src/xterm.c:4878
#10 0x00005555556f8d35 in x_new_focus_frame (dpyinfo=0x555556108ed0, frame=0x5555562a1740) at ../../src/xterm.c:4544
#11 0x00005555556f8d85 in x_focus_changed (type=9, state=2, dpyinfo=0x555556108ed0, frame=0x5555562a1740, bufp=0x7fffffffb990) at ../../src/xterm.c:4558
#12 0x00005555556f9863 in x_detect_focus_change (dpyinfo=0x555556108ed0, frame=0x5555562a1740, event=0x7fffffffc090, bufp=0x7fffffffb990) at ../../src/xterm.c:4811
#13 0x0000555555702826 in handle_one_xevent (dpyinfo=0x555556108ed0, event=0x7fffffffc090, finish=0x7fffffffc080, hold_quit=0x7fffffffc1b0) at ../../src/xterm.c:8881
#14 0x00005555557042ab in XTread_socket (terminal=0x555555f352a0, hold_quit=0x7fffffffc1b0) at ../../src/xterm.c:9506
#15 0x0000555555755cec in gobble_input () at ../../src/keyboard.c:6980
#16 0x00005555557562e8 in handle_async_input () at ../../src/keyboard.c:7211
#17 0x0000555555756307 in process_pending_signals () at ../../src/keyboard.c:7225
#18 0x0000555555756347 in unblock_input_to (level=0) at ../../src/keyboard.c:7240
#19 0x000055555575636b in unblock_input () at ../../src/keyboard.c:7259
#20 0x000055555570d1f3 in x_delete_terminal (terminal=0x55555679fea0) at ../../src/xterm.c:13524
#21 0x000055555571d53c in Fx_close_connection (terminal=XIL(0x5555567a0c14)) at ../../src/xfns.c:5785
#22 0x0000555555830de7 in funcall_subr (subr=0x555555e24380 <Sx_close_connection>, numargs=1, args=0x7fffffffc3f0) at ../../src/eval.c:3098
#23 0x0000555555830826 in Ffuncall (nargs=2, args=0x7fffffffc3e8) at ../../src/eval.c:3023
#24 0x0000555555890e41 in exec_byte_code (bytestr=XIL(0x7ffff2d214f4), vector=XIL(0x7ffff2d21355), maxdepth=make_fixnum(7), args_template=make_fixnum(257), nargs=1, args=0x7fffffffcc18) at ../../src/bytecode.c:632
#25 0x00005555558310bd in fetch_and_exec_byte_code (fun=XIL(0x7ffff2d211fd), syms_left=make_fixnum(257), nargs=1, args=0x7fffffffcc10) at ../../src/eval.c:3147
#26 0x0000555555831584 in funcall_lambda (fun=XIL(0x7ffff2d211fd), nargs=1, arg_vector=0x7fffffffcc10) at ../../src/eval.c:3228
#27 0x000055555583087a in Ffuncall (nargs=2, args=0x7fffffffcc08) at ../../src/eval.c:3027
#28 0x00005555558239a3 in Ffuncall_interactively (nargs=2, args=0x7fffffffcc08) at ../../src/callint.c:260
#29 0x0000555555830cb4 in funcall_subr (subr=0x555555e2c340 <Sfuncall_interactively>, numargs=2, args=0x7fffffffcc08) at ../../src/eval.c:3078
#30 0x0000555555830826 in Ffuncall (nargs=3, args=0x7fffffffcc00) at ../../src/eval.c:3023
#31 0x000055555582f4bf in Fapply (nargs=3, args=0x7fffffffcc00) at ../../src/eval.c:2610
#32 0x0000555555823e46 in Fcall_interactively (function=XIL(0x2aaa9ce6cfe8), record_flag=XIL(0xc6c0), keys=XIL(0x55555932632d)) at ../../src/callint.c:353
#33 0x0000555555830e47 in funcall_subr (subr=0x555555e2c380 <Scall_interactively>, numargs=3, args=0x7fffffffcdb0) at ../../src/eval.c:3103
#34 0x0000555555830826 in Ffuncall (nargs=4, args=0x7fffffffcda8) at ../../src/eval.c:3023
#35 0x0000555555890e41 in exec_byte_code (bytestr=XIL(0x7ffff28b4b4c), vector=XIL(0x7ffff28b47b5), maxdepth=make_fixnum(13), args_template=make_fixnum(1025), nargs=2, args=0x7fffffffd340) at ../../src/bytecode.c:632
#36 0x00005555558310bd in fetch_and_exec_byte_code (fun=XIL(0x7ffff28b4785), syms_left=make_fixnum(1025), nargs=2, args=0x7fffffffd330) at ../../src/eval.c:3147
#37 0x0000555555831584 in funcall_lambda (fun=XIL(0x7ffff28b4785), nargs=2, arg_vector=0x7fffffffd330) at ../../src/eval.c:3228
#38 0x000055555583087a in Ffuncall (nargs=3, args=0x7fffffffd328) at ../../src/eval.c:3027
#39 0x0000555555890e41 in exec_byte_code (bytestr=XIL(0x7ffff2ac40a4), vector=XIL(0x7ffff2ac3815), maxdepth=make_fixnum(17), args_template=make_fixnum(769), nargs=3, args=0x7fffffffda08) at ../../src/bytecode.c:632
#40 0x00005555558310bd in fetch_and_exec_byte_code (fun=XIL(0x7ffff2ac2d8d), syms_left=make_fixnum(769), nargs=3, args=0x7fffffffd9f0) at ../../src/eval.c:3147
#41 0x0000555555831584 in funcall_lambda (fun=XIL(0x7ffff2ac2d8d), nargs=3, arg_vector=0x7fffffffd9f0) at ../../src/eval.c:3228
#42 0x000055555583087a in Ffuncall (nargs=4, args=0x7fffffffd9e8) at ../../src/eval.c:3027
#43 0x00005555558239a3 in Ffuncall_interactively (nargs=4, args=0x7fffffffd9e8) at ../../src/callint.c:260
#44 0x0000555555830cb4 in funcall_subr (subr=0x555555e2c340 <Sfuncall_interactively>, numargs=4, args=0x7fffffffd9e8) at ../../src/eval.c:3078
#45 0x0000555555830826 in Ffuncall (nargs=5, args=0x7fffffffd9e0) at ../../src/eval.c:3023
#46 0x000055555582f895 in Fapply (nargs=3, args=0x7fffffffdc20) at ../../src/eval.c:2653
#47 0x0000555555823e46 in Fcall_interactively (function=XIL(0x2aaa9cc0eb58), record_flag=XIL(0), keys=XIL(0x5555592936c5)) at ../../src/callint.c:353
#48 0x0000555555830e47 in funcall_subr (subr=0x555555e2c380 <Scall_interactively>, numargs=3, args=0x7fffffffddd0) at ../../src/eval.c:3103
#49 0x0000555555830826 in Ffuncall (nargs=4, args=0x7fffffffddc8) at ../../src/eval.c:3023
#50 0x0000555555890e41 in exec_byte_code (bytestr=XIL(0x7ffff28b4b4c), vector=XIL(0x7ffff28b47b5), maxdepth=make_fixnum(13), args_template=make_fixnum(1025), nargs=1, args=0x7fffffffe320) at ../../src/bytecode.c:632
#51 0x00005555558310bd in fetch_and_exec_byte_code (fun=XIL(0x7ffff28b4785), syms_left=make_fixnum(1025), nargs=1, args=0x7fffffffe318) at ../../src/eval.c:3147
#52 0x0000555555831584 in funcall_lambda (fun=XIL(0x7ffff28b4785), nargs=1, arg_vector=0x7fffffffe318) at ../../src/eval.c:3228
#53 0x000055555583087a in Ffuncall (nargs=2, args=0x7fffffffe310) at ../../src/eval.c:3027
#54 0x0000555555830019 in call1 (fn=XIL(0x4590), arg1=XIL(0x2aaa9cc0eb58)) at ../../src/eval.c:2883
#55 0x0000555555745a6c in command_loop_1 () at ../../src/keyboard.c:1505
#56 0x000055555582be77 in internal_condition_case (bfun=0x5555557451a3 <command_loop_1>, handlers=XIL(0x90), hfun=0x555555744586 <cmd_error>) at ../../src/eval.c:1450
#57 0x0000555555744d5c in command_loop_2 (handlers=XIL(0x90)) at ../../src/keyboard.c:1133
#58 0x000055555582b006 in internal_catch (tag=XIL(0xe850), func=0x555555744d32 <command_loop_2>, arg=XIL(0x90)) at ../../src/eval.c:1181
#59 0x0000555555744cfe in command_loop () at ../../src/keyboard.c:1111
#60 0x0000555555744032 in recursive_edit_1 () at ../../src/keyboard.c:720
#61 0x0000555555744254 in Frecursive_edit () at ../../src/keyboard.c:803
#62 0x000055555573fd00 in main (argc=5, argv=0x7fffffffe828) at ../../src/emacs.c:2358

Lisp Backtrace:
"x-close-connection" (0xffffc3f0)
"close-display-connection" (0xffffcc10)
"funcall-interactively" (0xffffcc08)
"call-interactively" (0xffffcdb0)
"command-execute" (0xffffd330)
"execute-extended-command" (0xffffd9f0)
"funcall-interactively" (0xffffd9e8)
"call-interactively" (0xffffddd0)
"command-execute" (0xffffe318)
(gdb) 

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

* bug#57364: 28.1.91; asynchronous X server error when creating a second frame on alternate DISPLAY
  2022-08-25 15:13   ` andrés ramírez
@ 2022-08-26  1:07     ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
  2022-08-26  1:50       ` andrés ramírez
  0 siblings, 1 reply; 21+ messages in thread
From: Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2022-08-26  1:07 UTC (permalink / raw)
  To: andrés ramírez; +Cc: 57364

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

> * new backtrace on x_error_handler
> Thread 1 "emacs" hit Breakpoint 4, x_error_handler (display=0x5555560e8370, event=0x7fffffffb520) at ../../src/xterm.c:10270
> 10270	  if (x_error_message)
> (gdb) bt
> #0  x_error_handler (display=0x5555560e8370, event=0x7fffffffb520) at ../../src/xterm.c:10270
> #1  0x00007ffff7bf433c in _XError (dpy=dpy@entry=0x5555560e8370, rep=rep@entry=0x5555567ba850) at XlibInt.c:1503
> #2  0x00007ffff7bf0e58 in handle_error (dpy=0x5555560e8370, err=0x5555567ba850, in_XReply=<optimized out>) at xcb_io.c:211
> #3  0x00007ffff7bf0ef5 in handle_response (dpy=dpy@entry=0x5555560e8370, response=0x5555567ba850, in_XReply=in_XReply@entry=1) at xcb_io.c:403
> #4  0x00007ffff7bf20bd in _XReply (dpy=dpy@entry=0x5555560e8370, rep=rep@entry=0x7fffffffb6e0, extra=extra@entry=0, discard=discard@entry=1) at xcb_io.c:722
> #5  0x00007ffff7bed5f1 in XSync (dpy=0x5555560e8370, discard=0) at Sync.c:44
> #6  0x00005555557059c1 in x_catch_errors_with_handler (dpy=0x5555560e8370, handler=0x0, handler_data=0x0) at ../../src/xterm.c:10015
> #7  0x0000555555705a37 in x_catch_errors (dpy=0x5555560e8370) at ../../src/xterm.c:10028

This still isn't a usable backtrace, since the error is being reported
by an explicit call to XSync, sorry.

Are you sure you enabled X synchronization correctly?





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

* bug#57364: 28.1.91; asynchronous X server error when creating a second frame on alternate DISPLAY
  2022-08-26  1:07     ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
@ 2022-08-26  1:50       ` andrés ramírez
  2022-08-26  3:08         ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
  0 siblings, 1 reply; 21+ messages in thread
From: andrés ramírez @ 2022-08-26  1:50 UTC (permalink / raw)
  To: Po Lu; +Cc: 57364

Hi. Po.

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


[...]


    Po> Are you sure you enabled X synchronization correctly?
    
I think that is the right way.
--8<---------------cut here---------------start------------->8---
gdb -i=mi --args ./emacs -Q -f toggle-debug-on-error --eval '(setq x-command-line-resources emacs.synchronous: true)' --fg-daemon
--8<---------------cut here---------------end--------------->8---

And also take in account, that the error is not reproducible in this
condition. 

I have had a question on my mind?
Inspecting the last backtrace I have published on this bug report.

I see the error is recovered in a call on the function x_frame_highlight
(within the call to x_catch_error). Why If
I am calling close-display-connection. Some functions need to be called?
I think for the frames on this display. Nothing should be called on those frames
that belong to this display.

WDYT?

Best Regards





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

* bug#57364: 28.1.91; asynchronous X server error when creating a second frame on alternate DISPLAY
  2022-08-26  1:50       ` andrés ramírez
@ 2022-08-26  3:08         ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
  2022-08-26  3:43           ` andrés ramírez
  0 siblings, 1 reply; 21+ messages in thread
From: Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2022-08-26  3:08 UTC (permalink / raw)
  To: andrés ramírez; +Cc: 57364

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

> gdb -i=mi --args ./emacs -Q -f toggle-debug-on-error --eval '(setq x-command-line-resources emacs.synchronous: true)' --fg-daemon

Ah, that explains it.  x-command-line-resources doesn't take effect if
you run with "-Q", try "-q" instead.

> And also take in account, that the error is not reproducible in this
> condition. 

I think I've seen this somewhere.  Does the error still happen if you
build "--without-cairo"?

> I have had a question on my mind?
> Inspecting the last backtrace I have published on this bug report.
>
> I see the error is recovered in a call on the function x_frame_highlight
> (within the call to x_catch_error). Why If
> I am calling close-display-connection. Some functions need to be
> called?

Functions can be called on the display being closed while handling async
input from that display, or when performing cleanup tasks.  Unless, of
course, the display is down, but that is rarely the case when you
manually call close-display-connection/delete-terminal.





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

* bug#57364: 28.1.91; asynchronous X server error when creating a second frame on alternate DISPLAY
  2022-08-26  3:08         ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
@ 2022-08-26  3:43           ` andrés ramírez
  2022-08-26  5:44             ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
  0 siblings, 1 reply; 21+ messages in thread
From: andrés ramírez @ 2022-08-26  3:43 UTC (permalink / raw)
  To: Po Lu; +Cc: 57364

Hi. Po.

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

[...]

    Po> Ah, that explains it.  x-command-line-resources doesn't take effect if you run with "-Q",
    Po> try "-q" instead.

As tested before. after s/Q/q the error does NOT show.

    >> And also take in account, that the error is not reproducible in this condition.

    Po> I think I've seen this somewhere.  Does the error still happen if you build
    Po> "--without-cairo"?

It does NOT happen If You use --without-cairo. Perhaps this could be a
workaround for my case. But I still think We should try to find the
offending line. WDYT?

    >> I have had a question on my mind?  Inspecting the last backtrace I have published on this bug
    >> report.
    >> 
    >> I see the error is recovered in a call on the function x_frame_highlight (within the call to
    >> x_catch_error). Why If I am calling close-display-connection. Some functions need to be
    >> called?

    Po> Functions can be called on the display being closed while handling async input from that
    Po> display, or when performing cleanup tasks.  Unless, of course, the display is down, but that
    Po> is rarely the case when you manually call close-display-connection/delete-terminal.

for cleanup tasks it's ok. But for x_frame_highlight. I am getting rid
of all the X-frames on this display. Is there a way of avoiding calling
that function in case of close-display-connections.

Best Regards





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

* bug#57364: 28.1.91; asynchronous X server error when creating a second frame on alternate DISPLAY
  2022-08-26  3:43           ` andrés ramírez
@ 2022-08-26  5:44             ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
  2022-08-26 13:59               ` andrés ramírez
  0 siblings, 1 reply; 21+ messages in thread
From: Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2022-08-26  5:44 UTC (permalink / raw)
  To: andrés ramírez; +Cc: 57364

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

> It does NOT happen If You use --without-cairo. Perhaps this could be a
> workaround for my case.

Oh, then I know this bug.  It's in Cairo, not Emacs.

What version of Cairo do you have installed?  I think this problem goes
away if you update Cairo to the latest released version.

> for cleanup tasks it's ok. But for x_frame_highlight. I am getting rid
> of all the X-frames on this display. Is there a way of avoiding calling
> that function in case of close-display-connections.

There is not, and there's no reason to not do that, if async input
happens while deleting the frame that causes the border color to
legitimately change.

That isn't the cause of this error.





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

* bug#57364: 28.1.91; asynchronous X server error when creating a second frame on alternate DISPLAY
  2022-08-26  5:44             ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
@ 2022-08-26 13:59               ` andrés ramírez
  2022-08-27  1:17                 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
  0 siblings, 1 reply; 21+ messages in thread
From: andrés ramírez @ 2022-08-26 13:59 UTC (permalink / raw)
  To: Po Lu; +Cc: 57364

Hi. Po.

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

[...]

    Po> Oh, then I know this bug.  It's in Cairo, not Emacs.

    Po> What version of Cairo do you have installed?  I think this problem goes away if you update
    Po> Cairo to the latest released version.

My distro is Archlinux, almost and up-to-date distro. I had installed
1.17.6. After your comment I upgrade cairo to the git version. And the
error is still present.

I should add that this error does NOT happen with emacs-master. So
something has changed on emacs-master, that incidentally has avoided
this error. Perhaps You could have an idea about what change has solved
it on master.

[...]

    Po> There is not, and there's no reason to not do that, if async input happens while deleting
    Po> the frame that causes the border color to legitimately change.

Ok. But again. I am getting rid of all the frames that belong to this
display. If the border change it is something I am not going to watch
(because. It is going to be too quick for my eyes). IMO It could be an
optimization there. Perhaps When 'dpyinfo->display == NULL' not updating
the frame anymore. Anyway that is a kind of tangent for this bug.

    Po> That isn't the cause of this error.

Right. It is asynchronous.

Best Regards





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

* bug#57364: 28.1.91; asynchronous X server error when creating a second frame on alternate DISPLAY
  2022-08-26 13:59               ` andrés ramírez
@ 2022-08-27  1:17                 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
  2022-08-29 19:58                   ` andrés ramírez
  0 siblings, 1 reply; 21+ messages in thread
From: Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2022-08-27  1:17 UTC (permalink / raw)
  To: andrés ramírez; +Cc: 57364

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

> My distro is Archlinux, almost and up-to-date distro. I had installed
> 1.17.6. After your comment I upgrade cairo to the git version. And the
> error is still present.

Too bad.

> I should add that this error does NOT happen with emacs-master. So
> something has changed on emacs-master, that incidentally has avoided
> this error. Perhaps You could have an idea about what change has solved
> it on master.

No, sorry, but I know it's not present on master.  Try bisecting to see
which change resolves the problem.

> Ok. But again. I am getting rid of all the frames that belong to this
> display. If the border change it is something I am not going to watch
> (because. It is going to be too quick for my eyes). IMO It could be an
> optimization there. Perhaps When 'dpyinfo->display == NULL' not updating
> the frame anymore. Anyway that is a kind of tangent for this bug.

dpyinfo->display is not NULL at that time, because async input will not
be read if it is.

Anyway, such an optimization done by itself is insignificant, and
applied to all async input will get in the way of legitimate work
performed while reading async input, such as responding to
SelectionNotify events.





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

* bug#57364: 28.1.91; asynchronous X server error when creating a second frame on alternate DISPLAY
  2022-08-27  1:17                 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
@ 2022-08-29 19:58                   ` andrés ramírez
  2022-08-30  1:19                     ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
  0 siblings, 1 reply; 21+ messages in thread
From: andrés ramírez @ 2022-08-29 19:58 UTC (permalink / raw)
  To: Po Lu; +Cc: 57364

Hi. Po.

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


[...]


    Po> No, sorry, but I know it's not present on master.  Try bisecting to see which change
    Po> resolves the problem.

This is the one that fixed it.
--8<---------------cut here---------------start------------->8---
commit de614ec9508d6ba34abf9db28f5d086b8710e361
Author: Po Lu <luangruo@yahoo.com>
Date:   Wed Jan 19 17:39:04 2022 +0800

  Use Cairo XCB surfaces when XCB is available
  
  This lets us get at goodies such as shm support, which aren't
  available with the xlib surface.  (bug#52120)
  
  * configure.ac: Test for cairo-xcb if cairo is available on X.
  * src/xterm.c (USE_CAIRO_XCB_SURFACE): New define.
  (x_begin_cr_clip): Create XCB surfaces if available.
  (x_try_cr_xlib_drawable):
  (x_scroll_run): Handle XCB surfaces.
  (x_term_init): Find XCB visualtype structure.
  * src/xterm.h (struct x_display_info): New field `xcb_visual'.
  * src/xwidget.c (x_draw_xwidget_glyph_string): Fix integer
  overflow.
--8<---------------cut here---------------end--------------->8---

Best Regards





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

* bug#57364: 28.1.91; asynchronous X server error when creating a second frame on alternate DISPLAY
  2022-08-29 19:58                   ` andrés ramírez
@ 2022-08-30  1:19                     ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
  2022-08-30  5:28                       ` andrés ramírez
  0 siblings, 1 reply; 21+ messages in thread
From: Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2022-08-30  1:19 UTC (permalink / raw)
  To: andrés ramírez; +Cc: 57364

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

> This is the one that fixed it.
>
> commit de614ec9508d6ba34abf9db28f5d086b8710e361
> Author: Po Lu <luangruo@yahoo.com>
> Date:   Wed Jan 19 17:39:04 2022 +0800
>
>   Use Cairo XCB surfaces when XCB is available
>   
>   This lets us get at goodies such as shm support, which aren't
>   available with the xlib surface.  (bug#52120)
>   
>   * configure.ac: Test for cairo-xcb if cairo is available on X.
>   * src/xterm.c (USE_CAIRO_XCB_SURFACE): New define.
>   (x_begin_cr_clip): Create XCB surfaces if available.
>   (x_try_cr_xlib_drawable):
>   (x_scroll_run): Handle XCB surfaces.
>   (x_term_init): Find XCB visualtype structure.
>   * src/xterm.h (struct x_display_info): New field `xcb_visual'.
>   * src/xwidget.c (x_draw_xwidget_glyph_string): Fix integer
>   overflow.
>
> Best Regards

Nice.  I guess the cairo XCB backend lacks the bug in the usual Xlib
one.





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

* bug#57364: 28.1.91; asynchronous X server error when creating a second frame on alternate DISPLAY
  2022-08-30  1:19                     ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
@ 2022-08-30  5:28                       ` andrés ramírez
  2022-08-30  7:02                         ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
  0 siblings, 1 reply; 21+ messages in thread
From: andrés ramírez @ 2022-08-30  5:28 UTC (permalink / raw)
  To: Po Lu; +Cc: 57364

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


[...]

    Po> Nice.  I guess the cairo XCB backend lacks the bug in the usual Xlib one.

Could You create a test case about the Cairo with the Xlib surface for
replicating the issue?.

That would be nice for knowing which side has the bug the emacs-side or
the cairo-side.

We should try to show a warning when a cairo installation does not have
the XCB surface. WDYT?

Best Regards





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

* bug#57364: 28.1.91; asynchronous X server error when creating a second frame on alternate DISPLAY
  2022-08-30  5:28                       ` andrés ramírez
@ 2022-08-30  7:02                         ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
  2022-08-30  7:29                           ` bug#57364: [PATCH] (was: bug#57364: 28.1.91; asynchronous X server error when creating a second frame on alternate DISPLAY) andrés ramírez
  0 siblings, 1 reply; 21+ messages in thread
From: Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2022-08-30  7:02 UTC (permalink / raw)
  To: andrés ramírez; +Cc: 57364

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

> Could You create a test case about the Cairo with the Xlib surface for
> replicating the issue?.
>
> That would be nice for knowing which side has the bug the emacs-side or
> the cairo-side.

We already know it's cairo-side, since it goes away upon switching Cairo
backends, and Emacs doesn't make RenderFreeGlyphs requests itself.

> We should try to show a warning when a cairo installation does not have
> the XCB surface. WDYT?

That's unnecessary, since the Cairo XCB surface is present everywhere.
I'd rather put a mention of the crash in etc/PROBLEMS for Emacs 28.





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

* bug#57364: [PATCH] (was: bug#57364: 28.1.91; asynchronous X server error when creating a second frame on alternate DISPLAY)
  2022-08-30  7:02                         ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
@ 2022-08-30  7:29                           ` andrés ramírez
  2022-08-30 10:07                             ` bug#57364: [PATCH] Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
  0 siblings, 1 reply; 21+ messages in thread
From: andrés ramírez @ 2022-08-30  7:29 UTC (permalink / raw)
  To: Po Lu; +Cc: 57364

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

Hi. Po.

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

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

[...]

    Po> We already know it's cairo-side, since it goes away upon switching Cairo backends, and Emacs
    Po> doesn't make RenderFreeGlyphs requests itself.

Ok. Should we let the cairo guys know about it. For giving them the
opportunity of fixing it?.

    Po> That's unnecessary, since the Cairo XCB surface is present everywhere.  I'd rather put a
    Po> mention of the crash in etc/PROBLEMS for Emacs 28.

Are You going to apply the patch?


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: the_patch --]
[-- Type: text/x-patch, Size: 4946 bytes --]

--- /tmp/emacs-28.1.91/configure.ac.bak	2022-08-01 06:29:22.000000000 -0500
+++ /tmp/emacs-28.1.91/configure.ac	2022-08-30 00:53:07.706555433 -0500
@@ -3320,6 +3320,13 @@
     CAIRO_MODULE="cairo >= $CAIRO_REQUIRED"
     EMACS_CHECK_MODULES(CAIRO, $CAIRO_MODULE)
     if test $HAVE_CAIRO = yes; then
+      CAIRO_XCB_MODULE="cairo-xcb >= $CAIRO_REQUIRED"
+      EMACS_CHECK_MODULES(CAIRO_XCB, $CAIRO_XCB_MODULE)
+      if test $HAVE_CAIRO_XCB = yes; then
+	CAIRO_CFLAGS="$CAIRO_CFLAGS $CAIRO_XCB_CFLAGS"
+	CAIRO_LIBS="$CAIRO_LIBS $CAIRO_XCB_LIBS"
+	AC_DEFINE(USE_CAIRO_XCB, 1, [Define to 1 if cairo XCB surfaces are available.])
+      fi
       AC_DEFINE(USE_CAIRO, 1, [Define to 1 if using cairo.])
       CFLAGS="$CFLAGS $CAIRO_CFLAGS"
       LIBS="$LIBS $CAIRO_LIBS"
--- /tmp/emacs-28.1.91/src/xterm.h.bak	2022-08-01 06:29:23.000000000 -0500
+++ /tmp/emacs-28.1.91/src/xterm.h	2022-08-30 01:14:37.623171629 -0500
@@ -78,6 +78,9 @@
 #ifdef CAIRO_HAS_SVG_SURFACE
 #include <cairo-svg.h>
 #endif
+#ifdef USE_CAIRO_XCB
+#include <cairo-xcb.h>
+#endif
 #endif
 
 #ifdef HAVE_X_I18N
@@ -469,6 +472,7 @@
 
 #ifdef USE_XCB
   xcb_connection_t *xcb_connection;
+  xcb_visualtype_t *xcb_visual;
 #endif
 
 #ifdef HAVE_XDBE
diff -u /tmp/emacs-28.1.91/src/xterm.c.bak /tmp/emacs-28.1.91/src/xterm.c
--- /tmp/emacs-28.1.91/src/xterm.c.bak	2022-08-01 06:29:23.000000000 -0500
+++ /tmp/emacs-28.1.91/src/xterm.c	2022-08-30 01:11:39.213178617 -0500
@@ -33,6 +33,10 @@
 #include "xterm.h"
 #include <X11/cursorfont.h>
 
+#ifdef USE_XCB
+#include <xcb/xproto.h>
+#endif
+
 /* If we have Xfixes extension, use it for pointer blanking.  */
 #ifdef HAVE_XFIXES
 #include <X11/extensions/Xfixes.h>
@@ -132,6 +136,10 @@
 #include <X11/XKBlib.h>
 #endif
 
+#if defined USE_XCB && defined USE_CAIRO_XCB
+#define USE_CAIRO_XCB_SURFACE
+#endif
+
 /* Default to using XIM if available.  */
 #ifdef USE_XIM
 bool use_xim = true;
@@ -385,11 +393,20 @@
     {
       int width = FRAME_CR_SURFACE_DESIRED_WIDTH (f);
       int height = FRAME_CR_SURFACE_DESIRED_HEIGHT (f);
-      cairo_surface_t *surface
-	= cairo_xlib_surface_create (FRAME_X_DISPLAY (f),
-				     FRAME_X_RAW_DRAWABLE (f),
-				     FRAME_X_VISUAL (f),
-				     width, height);
+      cairo_surface_t *surface;
+
+#ifdef USE_CAIRO_XCB_SURFACE
+      if (FRAME_DISPLAY_INFO (f)->xcb_visual)
+	surface = cairo_xcb_surface_create (FRAME_DISPLAY_INFO (f)->xcb_connection,
+					    (xcb_drawable_t) FRAME_X_RAW_DRAWABLE (f),
+					    FRAME_DISPLAY_INFO (f)->xcb_visual,
+					    width, height);
+      else
+#endif
+	surface = cairo_xlib_surface_create (FRAME_X_DISPLAY (f),
+					     FRAME_X_RAW_DRAWABLE (f),
+					     FRAME_X_VISUAL (f),
+					     width, height);
 
       cr = FRAME_CR_CONTEXT (f) = cairo_create (surface);
       cairo_surface_destroy (surface);
@@ -458,6 +475,10 @@
   switch (cairo_surface_get_type (surface))
     {
     case CAIRO_SURFACE_TYPE_XLIB:
+#ifdef USE_CAIRO_XCB_SURFACE
+    case CAIRO_SURFACE_TYPE_XCB:
+#endif
+      
       cairo_surface_flush (surface);
       return true;
 
@@ -4436,6 +4457,19 @@
 		     x, to_y);
 	  cairo_surface_mark_dirty_rectangle (surface, x, to_y, width, height);
 	}
+#ifdef USE_CAIRO_XCB_SURFACE
+      else if (cairo_surface_get_type (surface) == CAIRO_SURFACE_TYPE_XCB)
+	{
+	  cairo_surface_flush (surface);
+	  xcb_copy_area (FRAME_DISPLAY_INFO (f)->xcb_connection,
+			 (xcb_drawable_t) FRAME_X_DRAWABLE (f),
+			 (xcb_drawable_t) FRAME_X_DRAWABLE (f),
+			 (xcb_gcontext_t) XGContextFromGC (f->output_data.x->normal_gc),
+			 x, from_y, x, to_y, width, height);
+	  cairo_surface_mark_dirty_rectangle (surface, x, to_y, width, height);
+	}
+#endif
+
       else
 	{
 	  cairo_surface_t *s
@@ -13062,6 +13096,40 @@
     dpyinfo->supports_xdbe = true;
 #endif
 
+#ifdef USE_XCB
+  xcb_screen_t *xcb_screen = NULL;
+  xcb_screen_iterator_t iter;
+  xcb_visualid_t wanted = { XVisualIDFromVisual (dpyinfo->visual) };
+  xcb_depth_iterator_t depth_iter;
+  xcb_visualtype_iterator_t visual_iter;
+
+  int screen = DefaultScreen (dpyinfo->display);
+
+  iter = xcb_setup_roots_iterator (xcb_get_setup (dpyinfo->xcb_connection));
+  for (; iter.rem; --screen, xcb_screen_next (&iter))
+    {
+      if (!screen)
+	xcb_screen = iter.data;
+    }
+
+  if (xcb_screen)
+    {
+      depth_iter = xcb_screen_allowed_depths_iterator (xcb_screen);
+      for (; depth_iter.rem; xcb_depth_next (&depth_iter))
+	{
+	  visual_iter = xcb_depth_visuals_iterator (depth_iter.data);
+	  for (; visual_iter.rem; xcb_visualtype_next (&visual_iter))
+	    {
+	      if (wanted == visual_iter.data->visual_id)
+		{
+		  dpyinfo->xcb_visual = visual_iter.data;
+		  break;
+		}
+	    }
+	}
+    }
+#endif
+
 #if defined USE_CAIRO || defined HAVE_XFT
   {
     /* If we are using Xft, the following precautions should be made:

Diff finished.  Tue Aug 30 01:36:19 2022

Diff finished.  Tue Aug 30 01:36:19 2022

Diff finished.  Tue Aug 30 01:36:20 2022

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


Best Regards

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

* bug#57364: 28.1; emacs segfaulted when debugging emacs form within emacs for bug#57364
  2022-08-23 17:51 bug#57364: 28.1.91; asynchronous X server error when creating a second frame on alternate DISPLAY Andrés Ramírez
  2022-08-24  1:56 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
@ 2022-08-30  8:02 ` Andrés Ramírez
  1 sibling, 0 replies; 21+ messages in thread
From: Andrés Ramírez @ 2022-08-30  8:02 UTC (permalink / raw)
  To: 57364

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

Hi.

When debugging emacs from within emacs for bug#57364. Emacs segfaulted.

1. gdb -i=mi --args emacs -q -nw
2. then on the emacs from previous step M-x gdb 'gdb -i=mi --args ./emacs -q -f
toggle-debug-on-error --fg-daemon.
3. On emacs from step two. You would need to open two different frames
on different DISPLAY's. And Apply specific commands to each one of those
two x-frames. {the steps for each frame are detailed on bug#57364}
3. When emacs from steps-two commits suicide. emacs from step one
segfaults.

Best  Regards

[-- Attachment #2: the_backtrace --]
[-- Type: text/plain, Size: 76932 bytes --]

=cmd-param-changed,param="logging enabled",value="on"
^done
(gdb) 
&"bt full\n"
~"#0  terminate_due_to_signal (sig=6, backtrace_limit=2147483647) at ../../src/emacs.c:399\n"
~"#1  0x00005555557f37f6 in die (msg=0x555555950768 \"(row = MATRIX_ROW (w->current_matrix, w->window_end_vpos), !row->enabled_p || MATRIX_ROW_DISPLAYS_TEXT_P (row) || MATRIX_ROW_VPOS (row, w->current_matrix) == 0)\", file=0x55555595056b \"../../src/xdisp.c\", line=3118) at ../../src/alloc.c:7486\n"
~"#2  0x00005555555d2a74 in CHECK_WINDOW_END (w=0x5555564063f8) at ../../src/xdisp.c:3118\n"
~"        row = 0x5555564a5850\n"
~"#3  0x0000555555606c3f in redisplay_window (window=XIL(0x5555564063fd), just_this_one_p=false) at ../../src/xdisp.c:18593\n"
~"        w = 0x5555564063f8\n"
~"        f = 0x555555f625a8\n"
~"        buffer = 0x5555561fe5a8\n"
~"        old = 0x5555561fe5a8\n"
~"        lpoint = {\n          charpos = 506,\n          bytepos = 506\n        }"
~"\n"
~"        opoint = {\n          charpos = 506,\n          bytepos = 506\n        }"
~"\n"
~"        startp = {\n          charpos = 0,\n          bytepos = 0\n        }"
~"\n"
~"        update_mode_line = true\n"
~"        tem = 0\n"
~"        it = {\n          window = XIL(0),\n          w = 0x0,\n          f = 0x0,\n          method = GET_FROM_BUFFER,\n          stop_charpos = 0,\n          prev_stop = 0,\n          base_level_stop = 0,\n          end_charpos = 0,\n          s = 0x0,\n          string_nchars = 0,\n          redisplay_end_trigger_charpos = 0,\n          multibyte_p = false,\n          tab_line_p = false,\n          header_line_p = false,\n          string_from_display_prop_p = false,\n          string_from_prefix_prop_p = false,\n          from_disp_prop_p = false,\n          ellipsis_p = false,\n          avoid_cursor_p = false,\n          dp = 0x0,\n          dpvec = 0x0,\n          dpend = 0x0,\n          dpvec_char_len = 0,\n          dpvec_face_id = 0,\n          saved_face_id = 0,\n          ctl_chars = {XIL(0) <repeats 16 times>},\n          start = {\n            pos = {\n              charpos = 0,\n              bytepos = 0\n            },\n            overlay_string_index = 0,\n            string_pos = {\n              charpos = 0,\n              bytepos = 0\n            },\n            dpvec_index = 0\n          },\n          current = {\n            pos = {\n              charpos = 0,\n              bytepos = 0\n            },\n            overlay_string_index = 0,\n            string_pos = {\n              charpos = 0,\n              bytepos = 0\n            },\n            dpvec_index = 0\n          },\n          n_overlay_strings = 0,\n          overlay_strings_charpos = 0,\n          overlay_strings = {XIL(0) <repeats 16 times>},\n          string_overlays = {XIL(0) <repeats 16 times>},\n          string = XIL(0),\n          from_overlay = XIL(0),\n          stack = {{\n              string = XIL(0),\n              string_nchars = 0,\n              end_charpos = 0,\n              stop_charpos = 0,\n              prev_stop = 0,\n              base_level_stop = 0,\n              cmp_it = {\n                stop_pos = 0,\n                id = 0,\n                ch = 0,\n                rule_idx = 0,\n                lookback = 0,\n                nglyphs = 0,\n                reversed_p = false,\n                charpos = 0,\n                nchars = 0,\n                nbytes = 0,\n                from = 0,\n                to = 0,\n                width = 0\n              },\n              face_id = 0,\n              u = {\n                image = {\n                  object = XIL(0),\n                  slice = {\n                    x = XIL(0),\n                    y = XIL(0),\n                    width = XIL(0),\n                    height = XIL(0)\n                  },\n                  image_id = 0\n                },\n                stretch = {\n                  object = XIL(0)\n                },\n                xwidget = {\n                  object = XIL(0)\n                }\n              },\n              position = {\n                charpos = 0,\n                bytepos = 0\n              },\n              current = {\n                pos = {\n                  charpos = 0,\n                  bytepos = 0\n                },\n                overlay_string_index = 0,\n                string_pos = {\n                  charpos = 0,\n                  bytepos = 0\n                },\n                dpvec_index = 0\n              },\n              from_overlay = XIL(0),\n              area = LEFT_MARGIN_AREA,\n              method = GET_FROM_BUFFER,\n              paragraph_embedding = NEUTRAL_DIR,\n              multibyte_p = false,\n              string_from_display_prop_p = false,\n              string_from_prefix_prop_p = false,\n              display_ellipsis_p = false,\n              avoid_cursor_p = false,\n              bidi_p = false,\n              from_disp_prop_p = false,\n              line_wrap = TRUNCATE,\n              voffset = 0,\n              space_width = XIL(0),\n              font_height = XIL(0)\n            }, {\n              string = XIL(0),\n              string_nchars = 0,\n              end_charpos = 0,\n              stop_charpos = 0,\n              prev_stop = 0,\n              base_level_stop = 0,\n              cmp_it = {\n                stop_pos = 0,\n                id = 0,\n                ch = 0,\n                rule_idx = 0,\n                lookback = 0,\n                nglyphs = 0,\n                reversed_p = false,\n                charpos = 0,\n                nchars = 0,\n                nbytes = 0,\n                from = 0,\n                to = 0,\n                width = 0\n              },\n              face_id = 0,\n              u = {\n                image = {\n                  object = XIL(0),\n                  slice = {\n                    x = XIL(0),\n                    y = XIL(0),\n                    width = XIL(0),\n                    height = XIL(0)\n                  },\n                  image_id = 0\n                },\n                stretch = {\n                  object = XIL(0)\n                },\n                xwidget = {\n                  object = XIL(0)\n                }\n              },\n              position = {\n                charpos = 0,\n                bytepos = 0\n              },\n              current = {\n                pos = {\n                  charpos = 0,\n                  bytepos = 0\n                },\n                overlay_string_index = 0,\n                string_pos = {\n                  charpos = 0,\n                  bytepos = 0\n                },\n                dpvec_index = 0\n              },\n              from_overlay = XIL(0),\n              area = LEFT_MARGIN_AREA,\n              method = GET_FROM_BUFFER,\n              paragraph_embedding = NEUTRAL_DIR,\n              multibyte_p = false,\n              string_from_display_prop_p = false,\n              string_from_prefix_prop_p = false,\n              display_ellipsis_p = false,\n              avoid_cursor_p = false,\n              bidi_p = false,\n              from_disp_prop_p = false,\n              line_wrap = TRUNCATE,\n              voffset = 0,\n              space_width = XIL(0),\n              font_height = XIL(0)\n            }, {\n              string = XIL(0),\n              string_nchars = 0,\n              end_charpos = 0,\n              stop_charpos = 0,\n              prev_stop = 0,\n              base_level_stop = 0,\n              cmp_it = {\n                stop_pos = 0,\n                id = 0,\n                ch = 0,\n                rule_idx = 0,\n                lookback = 0,\n                nglyphs = 0,\n                reversed_p = false,\n                charpos = 0,\n                nchars = 0,\n                nbytes = 0,\n                from = 0,\n                to = 0,\n                width = 0\n              },\n              face_id = 0,\n              u = {\n                image = {\n                  object = XIL(0),\n                  slice = {\n                    x = XIL(0),\n                    y = XIL(0),\n                    width = XIL(0),\n                    height = XIL(0)\n                  },\n                  image_id = 0\n                },\n                stretch = {\n                  object = XIL(0)\n                },\n                xwidget = {\n                  object = XIL(0)\n                }\n              },\n              position = {\n                charpos = 0,\n                bytepos = 0\n              },\n              current = {\n                pos = {\n                  charpos = 0,\n                  bytepos = 0\n                },\n                overlay_string_index = 0,\n                string_pos = {\n                  charpos = 0,\n                  bytepos = 0\n                },\n                dpvec_index = 0\n              },\n              from_overlay = XIL(0),\n              area = LEFT_MARGIN_AREA,\n              method = GET_FROM_BUFFER,\n              paragraph_embedding = NEUTRAL_DIR,\n              multibyte_p = false,\n              string_from_display_prop_p = false,\n              string_from_prefix_prop_p = false,\n              display_ellipsis_p = false,\n              avoid_cursor_p = false,\n              bidi_p = false,\n              from_disp_prop_p = false,\n              line_wrap = TRUNCATE,\n              voffset = 0,\n              space_width = XIL(0),\n              font_height = XIL(0)\n            }, {\n              string = XIL(0),\n              string_nchars = 0,\n              end_charpos = 0,\n              stop_charpos = 0,\n              prev_stop = 0,\n              base_level_stop = 0,\n              cmp_it = {\n                stop_pos = 0,\n                id = 0,\n                ch = 0,\n                rule_idx = 0,\n                lookback = 0,\n                nglyphs = 0,\n                reversed_p = false,\n                charpos = 0,\n                nchars = 0,\n                nbytes = 0,\n                from = 0,\n                to = 0,\n                width = 0\n              },\n              face_id = 0,\n              u = {\n                image = {\n                  object = XIL(0),\n                  slice = {\n                    x = XIL(0),\n                    y = XIL(0),\n                    width = XIL(0),\n                    height = XIL(0)\n                  },\n                  image_id = 0\n                },\n                stretch = {\n                  object = XIL(0)\n                },\n                xwidget = {\n                  object = XIL(0)\n                }\n              },\n              position = {\n                charpos = 8589934595,\n                bytepos = 395136991232\n              },\n              current = {\n                pos = {\n                  charpos = 1,\n                  bytepos = 0\n                },\n                overlay_string_index = -1,\n                string_pos = {\n                  charpos = 0,\n                  bytepos = 0\n                },\n                dpvec_index = 0\n              },\n              from_overlay = XIL(0),\n              area = LEFT_MARGIN_AREA,\n              method = GET_FROM_BUFFER,\n              paragraph_embedding = NEUTRAL_DIR,\n              multibyte_p = false,\n              string_from_display_prop_p = false,\n              string_from_prefix_prop_p = false,\n              display_ellipsis_p = false,\n              avoid_cursor_p = false,\n              bidi_p = false,\n              from_disp_prop_p = false,\n              line_wrap = TRUNCATE,\n              voffset = 0,\n              space_width = XIL(0),\n              font_height = XIL(0x5c)\n            }, {\n              string = XIL(0),\n              string_nchars = 0,\n              end_charpos = 0,\n              stop_charpos = 0,\n              prev_stop = 0,\n              base_level_stop = 0,\n              cmp_it = {\n                stop_pos = 0,\n                id = 524288,\n                ch = 0,\n                rule_idx = 0,\n                lookback = 0,\n                nglyphs = 0,\n                reversed_p = false,\n                charpos = 0,\n                nchars = 0,\n                nbytes = 0,\n                from = 0,\n                to = 0,\n                width = -1\n              },\n              face_id = 0,\n              u = {\n                image = {\n                  object = XIL(0),\n                  slice = {\n                    x = XIL(0x100000000),\n                    y = XIL(0x1),\n                    width = XIL(0x1),\n                    height = XIL(0x1)\n                  },\n                  image_id = 1\n                },\n                stretch = {\n                  object = XIL(0)\n                },\n                xwidget = {\n                  object = XIL(0)\n                }\n              },\n              position = {\n                charpos = 1,\n                bytepos = 0\n              },\n              current = {\n                pos = {\n                  charpos = 0,\n                  bytepos = 0\n                },\n                overlay_string_index = 0,\n                string_pos = {\n                  charpos = 0,\n                  bytepos = 0\n                },\n                dpvec_index = 0\n              },\n              from_overlay = XIL(0),\n              area = LEFT_MARGIN_AREA,\n              method = GET_FROM_BUFFER,\n              paragraph_embedding = NEUTRAL_DIR,\n              multibyte_p = false,\n              string_from_display_prop_p = false,\n              string_from_prefix_prop_p = false,\n              display_ellipsis_p = false,\n              avoid_cursor_p = false,\n              bidi_p = false,\n              from_disp_prop_p = false,\n              line_wrap = TRUNCATE,\n              voffset = 0,\n              space_width = XIL(0),\n              font_height = XIL(0)\n            }},\n          sp = 0,\n          selective = 0,\n          what = IT_CHARACTER,\n          face_id = 0,\n          selective_display_ellipsis_p = false,\n          ctl_arrow_p = false,\n          face_box_p = false,\n          start_of_box_run_p = false,\n          end_of_box_run_p = false,\n          overlay_strings_at_end_processed_p = false,\n          ignore_overlay_strings_at_pos_p = false,\n          glyph_not_available_p = false,\n          starts_in_middle_of_char_p = false,\n          face_before_selective_p = false,\n          constrain_row_ascent_descent_p = false,\n          line_number_produced_p = false,\n          line_wrap = TRUNCATE,\n          base_face_id = 0,\n          c = 0,\n          len = 0,\n          cmp_it = {\n            stop_pos = 0,\n            id = 0,\n            ch = 0,\n            rule_idx = 0,\n            lookback = 0,\n            nglyphs = 0,\n            reversed_p = false,\n            charpos = 0,\n            nchars = 0,\n            nbytes = 0,\n            from = 0,\n            to = 0,\n            width = 0\n          },\n          char_to_display = 0,\n          glyphless_method = GLYPHLESS_DISPLAY_THIN_SPACE,\n          image_id = 0,\n          xwidget = 0x0,\n          slice = {\n            x = XIL(0),\n            y = XIL(0),\n            width = XIL(0),\n            height = XIL(0)\n          },\n          space_width = XIL(0),\n          voffset = 0,\n          tab_width = 0,\n          font_height = XIL(0),\n          object = XIL(0),\n          position = {\n            charpos = 0,\n            bytepos = 0\n          },\n          truncation_pixel_width = 0,\n          continuation_pixel_width = 0,\n          first_visible_x = 0,\n          last_visible_x = 0,\n          last_visible_y = 0,\n          extra_line_spacing = 0,\n          max_extra_line_spacing = 0,\n          override_ascent = 0,\n          override_descent = 0,\n          override_boff = 0,\n          glyph_row = 0x0,\n          area = LEFT_MARGIN_AREA,\n          nglyphs = 0,\n          pixel_width = 0,\n          ascent = 0,\n          descent = 0,\n          max_ascent = 0,\n          max_descent = 0,\n          phys_ascent = 0,\n          phys_descent = 0,\n          max_phys_ascent = 0,\n          max_phys_descent = 0,\n          current_x = 0,\n          continuation_lines_width = 0,\n          eol_pos = {\n            charpos = 0,\n            bytepos = 0\n          },\n          current_y = 0,\n          first_vpos = 0,\n          vpos = 0,\n          hpos = 0,\n          lnum = 0,\n          lnum_bytepos = 0,\n          lnum_width = 0,\n          lnum_pixel_width = 0,\n          pt_lnum = 0,\n          tab_offset = 0,\n          left_user_fringe_bitmap = 0,\n          right_user_fringe_bitmap = 0,\n          left_user_fringe_face_id = 0,\n          right_user_fringe_face_id = 0,\n          bidi_p = false,\n          bidi_it = {\n            bytepos = 0,\n            charpos = 0,\n            ch = 0,\n            nchars = 0,\n            ch_len = 0,\n            type = UNKNOWN_BT,\n            type_after_wn = UNKNOWN_BT,\n            orig_type = UNKNOWN_BT,\n            resolved_level = 0 '\\000',\n            isolate_level = 0 '\\000',\n            invalid_levels = 0,\n            invalid_isolates = 0,\n            prev = {\n              charpos = 0,\n              type = UNKNOWN_BT,\n              orig_type = UNKNOWN_BT\n            },\n            last_strong = {\n              charpos = 0,\n              type = UNKNOWN_BT,\n              orig_type = UNKNOWN_BT\n            },\n            next_for_neutral = {\n              charpos = 0,\n              type = UNKNOWN_BT,\n              orig_type = UNKNOWN_BT\n            },\n            prev_for_neutral = {\n              charpos = 0,\n              type = UNKNOWN_BT,\n              orig_type = UNKNOWN_BT\n            },\n            next_for_ws = {\n              charpos = 0,\n              type = UNKNOWN_BT,\n              orig_type = UNKNOWN_BT\n            },\n            bracket_pairing_pos = 0,\n            bracket_enclosed_type = UNKNOWN_BT,\n            next_en_pos = 0,\n            next_en_type = UNKNOWN_BT,\n            sos = NEUTRAL_DIR,\n            scan_dir = 0,\n            disp_pos = 0,\n            disp_prop = 0,\n            stack_idx = 0,\n            level_stack = {{\n                next_for_neutral_pos = 0,\n                next_for_neutral_type = 0,\n                last_strong_type = 0,\n                prev_for_neutral_type = 0,\n                level = 0 '\\000',\n                flags = 0 '\\000'\n              } <repeats 32 times>, {\n                next_for_neutral_pos = 0,\n                next_for_neutral_type = 0,\n                last_strong_type = 4,\n                prev_for_neutral_type = 7,\n                level = 235 '\\353',\n                flags = 85 'U'\n              }, {\n                next_for_neutral_pos = 140737488329488,\n                next_for_neutral_type = 7,\n                last_strong_type = 0,\n                prev_for_neutral_type = 2,\n                level = 131 '\\203',\n                flags = 85 'U'\n              }, {\n                next_for_neutral_pos = 0,\n                next_for_neutral_type = 4,\n                last_strong_type = 2,\n                prev_for_neutral_type = 0,\n                level = 0 '\\000',\n                flags = 0 '\\000'\n              }, {\n                next_for_neutral_pos = 140737488330368,\n                next_for_neutral_type = 7,\n                last_strong_type = 2,\n                prev_for_neutral_type = 0,\n                level = 93 ']',\n                flags = 85 'U'\n              }, {\n                next_for_neutral_pos = 1,\n                next_for_neutral_type = 0,\n                last_strong_type = 0,\n                prev_for_neutral_type = 3,\n                level = 255 '\\377',\n                flags = 255 '\\377'\n              }, {\n                next_for_neutral_pos = 93825003663744,\n                next_for_neutral_type = 0,\n                last_strong_type = 4,\n                prev_for_neutral_type = 7,\n                level = 235 '\\353',\n                flags = 85 'U'\n              }, {\n                next_for_neutral_pos = 0,\n                next_for_neutral_type = 0,\n                last_strong_type = 0,\n                prev_for_neutral_type = 0,\n                level = 0 '\\000',\n                flags = 0 '\\000'\n              }, {\n                next_for_neutral_pos = 140737488329568,\n                next_for_neutral_type = 0,\n                last_strong_type = 0,\n                prev_for_neutral_type = 0,\n                level = 0 '\\000',\n                flags = 0 '\\000'\n              }, {\n                next_for_neutral_pos = 0,\n                next_for_neutral_type = 0,\n                last_strong_type = 0,\n                prev_for_neutral_type = 0,\n                level = 0 '\\000',\n                flags = 0 '\\000'\n              }, {\n                next_for_neutral_pos = 20,\n                next_for_neutral_type = 0,\n                last_strong_type = 4,\n                prev_for_neutral_type = 7,\n                level = 255 '\\377',\n                flags = 255 '\\377'\n              }, {\n                next_for_neutral_pos = 16384,\n                next_for_neutral_type = 0,\n                last_strong_type = 0,\n                prev_for_neutral_type = 0,\n                level = 0 '\\000',\n                flags = 0 '\\000'\n              }, {\n                next_for_neutral_pos = 0,\n                next_for_neutral_type = 0,\n                last_strong_type = 0,\n                prev_for_neutral_type = 0,\n                level = 0 '\\000',\n                flags = 0 '\\000'\n              }, {\n                next_for_neutral_pos = 0,\n                next_for_neutral_type = 4,\n                last_strong_type = 2,\n                prev_for_neutral_type = 0,\n                level = 0 '\\000',\n                flags = 0 '\\000'\n              }, {\n                next_for_neutral_pos = 0,\n                next_for_neutral_type = 2,\n                last_strong_type = 0,\n                prev_for_neutral_type = 0,\n                level = 235 '\\353',\n                flags = 85 'U'\n              }, {\n                next_for_neutral_pos = 140737488329744,\n                next_for_neutral_type = 1,\n                last_strong_type = 2,\n                prev_for_neutral_type = 1,\n                level = 140 '\\214',\n                flags = 85 'U'\n              }, {\n                next_for_neutral_pos = 93825003663744,\n                next_for_neutral_type = 0,\n                last_strong_type = 5,\n                prev_for_neutral_type = 7,\n                level = 255 '\\377',\n                flags = 255 '\\377'\n              }, {\n                next_for_neutral_pos = 93824995874300,\n                next_for_neutral_type = 0,\n                last_strong_type = 1,\n                prev_for_neutral_type = 0,\n                level = 255 '\\377',\n                flags = 255 '\\377'\n              }, {\n                next_for_neutral_pos = 93825003663749,\n                next_for_neutral_type = 0,\n                last_strong_type = 0,\n                prev_for_neutral_type = 0,\n                level = 255 '\\377',\n                flags = 255 '\\377'\n              }, {\n                next_for_neutral_pos = 93824995875045,\n                next_for_neutral_type = 5,\n                last_strong_type = 0,\n                prev_for_neutral_type = 6,\n                level = 3 '\\003',\n                flags = 86 'V'\n              }, {\n                next_for_neutral_pos = 140737488329760,\n                next_for_neutral_type = 0,\n                last_strong_type = 0,\n                prev_for_neutral_type = 6,\n                level = 3 '\\003',\n                flags = 86 'V'\n              }, {\n                next_for_neutral_pos = 93824995875045,\n                next_for_neutral_type = 6,\n                last_strong_type = 0,\n                prev_for_neutral_type = 0,\n                level = 0 '\\000',\n                flags = 0 '\\000'\n              }, {\n                next_for_neutral_pos = 140737488329888,\n                next_for_neutral_type = 2,\n                last_strong_type = 6,\n                prev_for_neutral_type = 4,\n                level = 140 '\\214',\n                flags = 85 'U'\n              }, {\n                next_for_neutral_pos = 0,\n                next_for_neutral_type = 0,\n                last_strong_type = 1,\n                prev_for_neutral_type = 3,\n                level = 255 '\\377',\n                flags = 255 '\\377'\n              }, {\n                next_for_neutral_pos = 140737488329928,\n                next_for_neutral_type = 5,\n                last_strong_type = 0,\n                prev_for_neutral_type = 6,\n                level = 3 '\\003',\n                flags = 86 'V'\n              }, {\n                next_for_neutral_pos = 6,\n                next_for_neutral_type = 6,\n                last_strong_type = 0,\n                prev_for_neutral_type = 0,\n                level = 0 '\\000',\n                flags = 0 '\\000'\n              }, {\n                next_for_neutral_pos = 0,\n                next_for_neutral_type = 0,\n                last_strong_type = 0,\n                prev_for_neutral_type = 0,\n                level = 0 '\\000',\n                flags = 0 '\\000'\n              }, {\n                next_for_neutral_pos = 1,\n                next_for_neutral_type = 1,\n                last_strong_type = 0,\n                prev_for_neutral_type = 0,\n                level = 0 '\\000',\n                flags = 0 '\\000'\n              }, {\n                next_for_neutral_pos = 1,\n                next_for_neutral_type = 6,\n                last_strong_type = 3,\n                prev_for_neutral_type = 1,\n                level = 0 '\\000',\n                flags = 0 '\\000'\n              }, {\n                next_for_neutral_pos = 94,\n                next_for_neutral_type = 7,\n                last_strong_type = 5,\n                prev_for_neutral_type = 3,\n                level = 0 '\\000',\n                flags = 0 '\\000'\n              }, {\n                next_for_neutral_pos = 140737488329984,\n                next_for_neutral_type = 5,\n                last_strong_type = 4,\n                prev_for_neutral_type = 0,\n                level = 141 '\\215',\n                flags = 85 'U'\n              }, {\n                next_for_neutral_pos = 94,\n                next_for_neutral_type = 0,\n                last_strong_type = 0,\n                prev_for_neutral_type = 0,\n                level = 0 '\\000',\n                flags = 0 '\\000'\n              }, {\n                next_for_neutral_pos = 0,\n                next_for_neutral_type = 0,\n                last_strong_type = 4,\n                prev_for_neutral_type = 7,\n                level = 235 '\\353',\n                flags = 85 'U'\n              }, {\n                next_for_neutral_pos = 140737488329984,\n                next_for_neutral_type = 6,\n                last_strong_type = 2,\n                prev_for_neutral_type = 4,\n                level = 141 '\\215',\n                flags = 85 'U'\n              }, {\n                next_for_neutral_pos = 140737265869037,\n                next_for_neutral_type = 0,\n                last_strong_type = 4,\n                prev_for_neutral_type = 7,\n                level = 235 '\\353',\n                flags = 85 'U'\n              }, {\n                next_for_neutral_pos = 0,\n                next_for_neutral_type = 0,\n                last_strong_type = 0,\n                prev_for_neutral_type = 0,\n                level = 0 '\\000',\n                flags = 0 '\\000'\n              }, {\n                next_for_neutral_pos = 140737488330016,\n                next_for_neutral_type = 0,\n                last_strong_type = 6,\n                prev_for_neutral_type = 5,\n                level = 141 '\\215',\n                flags = 85 'U'\n              }, {\n                next_for_neutral_pos = 93824995913211,\n                next_for_neutral_type = 0,\n                last_strong_type = 0,\n                prev_for_neutral_type = 0,\n                level = 0 '\\000',\n                flags = 0 '\\000'\n              }, {\n                next_for_neutral_pos = 0,\n                next_for_neutral_type = 0,\n                last_strong_type = 4,\n                prev_for_neutral_type = 7,\n                level = 235 '\\353',\n                flags = 85 'U'\n              }, {\n                next_for_neutral_pos = 140737488330080,\n                next_for_neutral_type = 6,\n                last_strong_type = 2,\n                prev_for_neutral_type = 4,\n                level = 141 '\\215',\n                flags = 85 'U'\n              }, {\n                next_for_neutral_pos = 0,\n                next_for_neutral_type = 0,\n                last_strong_type = 4,\n                prev_for_neutral_type = 7,\n                level = 235 '\\353',\n                flags = 85 'U'\n              }, {\n                next_for_neutral_pos = 0,\n                next_for_neutral_type = 0,\n                last_strong_type = 0,\n                prev_for_neutral_type = 0,\n                level = 0 '\\000',\n                flags = 0 '\\000'\n              }, {\n                next_for_neutral_pos = 140737488330112,\n                next_for_neutral_type = 0,\n                last_strong_type = 6,\n                prev_for_neutral_type = 5,\n                level = 141 '\\215',\n                flags = 85 'U'\n              }, {\n                next_for_neutral_pos = 465299550592,\n                next_for_neutral_type = 0,\n                last_strong_type = 0,\n                prev_for_neutral_type = 0,\n                level = 0 '\\000',\n                flags = 0 '\\000'\n              }, {\n                next_for_neutral_pos = 140737488330320,\n                next_for_neutral_type = 5,\n                last_strong_type = 2,\n                prev_for_neutral_type = 3,\n                level = 141 '\\215',\n                flags = 85 'U'\n              }, {\n                next_for_neutral_pos = 93825003663749,\n                next_for_neutral_type = 0,\n                last_strong_type = 0,\n                prev_for_neutral_type = 0,\n                level = 0 '\\000',\n                flags = 0 '\\000'\n              }, {\n                next_for_neutral_pos = 23,\n                next_for_neutral_type = 7,\n                last_strong_type = 2,\n                prev_for_neutral_type = 0,\n                level = 0 '\\000',\n                flags = 0 '\\000'\n              }, {\n                next_for_neutral_pos = 20,\n                next_for_neutral_type = 0,\n                last_strong_type = 0,\n                prev_for_neutral_type = 5,\n                level = 255 '\\377',\n                flags = 255 '\\377'\n              }, {\n                next_for_neutral_pos = 93824995875045,\n                next_for_neutral_type = 4,\n                last_strong_type = 5,\n                prev_for_neutral_type = 1,\n                level = 0 '\\000',\n                flags = 0 '\\000'\n              }, {\n                next_for_neutral_pos = 1,\n                next_for_neutral_type = 2,\n                last_strong_type = 6,\n                prev_for_neutral_type = 4,\n                level = 140 '\\214',\n                flags = 85 'U'\n              }, {\n                next_for_neutral_pos = 139642271669840,\n                next_for_neutral_type = 0,\n                last_strong_type = 0,\n                prev_for_neutral_type = 0,\n                level = 0 '\\000',\n                flags = 0 '\\000'\n              }, {\n                next_for_neutral_pos = 140737488330376,\n                next_for_neutral_type = 5,\n                last_strong_type = 0,\n                prev_for_neutral_type = 6,\n                level = 3 '\\003',\n                flags = 86 'V'\n              }, {\n                next_for_neutral_pos = 6,\n                next_for_neutral_type = 6,\n                last_strong_type = 0,\n                prev_for_neutral_type = 0,\n                level = 0 '\\000',\n                flags = 0 '\\000'\n              }, {\n                next_for_neutral_pos = 140737488329888,\n                next_for_neutral_type = 0,\n                last_strong_type = 0,\n                prev_for_neutral_type = 0,\n                level = 0 '\\000',\n                flags = 0 '\\000'\n              }, {\n                next_for_neutral_pos = 1,\n                next_for_neutral_type = 1,\n                last_strong_type = 0,\n                prev_for_neutral_type = 0,\n                level = 0 '\\000',\n                flags = 0 '\\000'\n              }, {\n                next_for_neutral_pos = 1,\n                next_for_neutral_type = 0,\n                last_strong_type = 0,\n                prev_for_neutral_type = 4,\n                level = 212 '\\324',\n                flags = 20 '\\024'\n              }, {\n                next_for_neutral_pos = 48,\n                next_for_neutral_type = 0,\n                last_strong_type = 0,\n                prev_for_neutral_type = 0,\n                level = 0 '\\000',\n                flags = 0 '\\000'\n              }, {\n                next_for_neutral_pos = 140737488330528,\n                next_for_neutral_type = 2,\n                last_strong_type = 7,\n                prev_for_neutral_type = 1,\n                level = 93 ']',\n                flags = 85 'U'\n              }, {\n                next_for_neutral_pos = 140737488330488,\n                next_for_neutral_type = 0,\n                last_strong_type = 0,\n                prev_for_neutral_type = 3,\n                level = 255 '\\377',\n                flags = 255 '\\377'\n              }, {\n                next_for_neutral_pos = 0,\n                next_for_neutral_type = 5,\n                last_strong_type = 0,\n                prev_for_neutral_type = 6,\n                level = 3 '\\003',\n                flags = 86 'V'\n              }, {\n                next_for_neutral_pos = 406,\n                next_for_neutral_type = 6,\n                last_strong_type = 0,\n                prev_for_neutral_type = 0,\n                level = 0 '\\000',\n                flags = 0 '\\000'\n              }, {\n                next_for_neutral_pos = 23,\n                next_for_neutral_type = 1,\n                last_strong_type = 0,\n                prev_for_neutral_type = 0,\n                level = 0 '\\000',\n                flags = 0 '\\000'\n              }, {\n                next_for_neutral_pos = 1,\n                next_for_neutral_type = 7,\n                last_strong_type = 2,\n                prev_for_neutral_type = 0,\n                level = 0 '\\000',\n                flags = 0 '\\000'\n              }, {\n                next_for_neutral_pos = 140737488330448,\n                next_for_neutral_type = 7,\n                last_strong_type = 2,\n                prev_for_neutral_type = 0,\n                level = 0 '\\000',\n                flags = 0 '\\000'\n              }, {\n                next_for_neutral_pos = 101,\n                next_for_neutral_type = 1,\n                last_strong_type = 0,\n                prev_for_neutral_type = 0,\n                level = 0 '\\000',\n                flags = 0 '\\000'\n              }, {\n                next_for_neutral_pos = 140737488330496,\n                next_for_neutral_type = 1,\n                last_strong_type = 7,\n                prev_for_neutral_type = 1,\n                level = 93 ']',\n                flags = 85 'U'\n              }, {\n                next_for_neutral_pos = 0,\n                next_for_neutral_type = 0,\n                last_strong_type = 0,\n                prev_for_neutral_type = 3,\n                level = 255 '\\377',\n                flags = 255 '\\377'\n              }, {\n                next_for_neutral_pos = 140737488331256,\n                next_for_neutral_type = 0,\n                last_strong_type = 2,\n                prev_for_neutral_type = 5,\n                level = 0 '\\000',\n                flags = 0 '\\000'\n              }, {\n                next_for_neutral_pos = 140737488330528,\n                next_for_neutral_type = 0,\n                last_strong_type = 0,\n                prev_for_neutral_type = 4,\n                level = 212 '\\324',\n                flags = 20 '\\024'\n              }, {\n                next_for_neutral_pos = 38736,\n                next_for_neutral_type = 7,\n                last_strong_type = 5,\n                prev_for_neutral_type = 3,\n                level = 0 '\\000',\n                flags = 0 '\\000'\n              }, {\n                next_for_neutral_pos = 140737488330576,\n                next_for_neutral_type = 3,\n                last_strong_type = 0,\n                prev_for_neutral_type = 6,\n                level = 93 ']',\n                flags = 85 'U'\n              }, {\n                next_for_neutral_pos = 38736,\n                next_for_neutral_type = 0,\n                last_strong_type = 0,\n                prev_for_neutral_type = 3,\n                level = 255 '\\377',\n                flags = 255 '\\377'\n              }, {\n                next_for_neutral_pos = 33529680,\n                next_for_neutral_type = 0,\n                last_strong_type = 0,\n                prev_for_neutral_type = 3,\n                level = 255 '\\377',\n                flags = 255 '\\377'\n              }, {\n                next_for_neutral_pos = 140737488330640,\n                next_for_neutral_type = 3,\n                last_strong_type = 5,\n                prev_for_neutral_type = 2,\n                level = 94 '^',\n                flags = 85 'U'\n              }, {\n                next_for_neutral_pos = 1,\n                next_for_neutral_type = 1,\n                last_strong_type = 0,\n                prev_for_neutral_type = 0,\n                level = 0 '\\000',\n                flags = 0 '\\000'\n              }, {\n                next_for_neutral_pos = 139646566640304,\n                next_for_neutral_type = 0,\n                last_strong_type = 0,\n                prev_for_neutral_type = 3,\n                level = 255 '\\377',\n                flags = 255 '\\377'\n              }, {\n                next_for_neutral_pos = 1,\n                next_for_neutral_type = 0,\n                last_strong_type = 0,\n                prev_for_neutral_type = 3,\n                level = 255 '\\377',\n                flags = 255 '\\377'\n              }, {\n                next_for_neutral_pos = 140737488330752,\n                next_for_neutral_type = 6,\n                last_strong_type = 1,\n                prev_for_neutral_type = 3,\n                level = 93 ']',\n                flags = 85 'U'\n              }, {\n                next_for_neutral_pos = 1443082629,\n                next_for_neutral_type = 0,\n                last_strong_type = 6,\n                prev_for_neutral_type = 3,\n                level = 240 '\\360',\n                flags = 85 'U'\n              }, {\n                next_for_neutral_pos = 1,\n                next_for_neutral_type = 1,\n                last_strong_type = 0,\n                prev_for_neutral_type = 0,\n                level = 0 '\\000',\n                flags = 0 '\\000'\n              }, {\n                next_for_neutral_pos = 93825002808592,\n                next_for_neutral_type = 0,\n                last_strong_type = 0,\n                prev_for_neutral_type = 3,\n                level = 255 '\\377',\n                flags = 255 '\\377'\n              }, {\n                next_for_neutral_pos = 93824994610955,\n                next_for_neutral_type = 0,\n                last_strong_type = 2,\n                prev_for_neutral_type = 4,\n                level = 246 '\\366',\n                flags = 85 'U'\n              }, {\n                next_for_neutral_pos = 1026497183745,\n                next_for_neutral_type = 0,\n                last_strong_type = 0,\n                prev_for_neutral_type = 0,\n                level = 0 '\\000',\n                flags = 0 '\\000'\n              }, {\n                next_for_neutral_pos = 0,\n                next_for_neutral_type = 1,\n                last_strong_type = 0,\n                prev_for_neutral_type = 0,\n                level = 0 '\\000',\n                flags = 0 '\\000'\n              }, {\n                next_for_neutral_pos = 140737488330848,\n                next_for_neutral_type = 1,\n                last_strong_type = 3,\n                prev_for_neutral_type = 5,\n                level = 93 ']',\n                flags = 85 'U'\n              }, {\n                next_for_neutral_pos = 1,\n                next_for_neutral_type = 1,\n                last_strong_type = 0,\n                prev_for_neutral_type = 0,\n                level = 0 '\\000',\n                flags = 0 '\\000'\n              }, {\n                next_for_neutral_pos = 93825002808592,\n                next_for_neutral_type = 0,\n                last_strong_type = 0,\n                prev_for_neutral_type = 3,\n                level = 255 '\\377',\n                flags = 255 '\\377'\n              }, {\n                next_for_neutral_pos = 1,\n                next_for_neutral_type = 0,\n                last_strong_type = 0,\n                prev_for_neutral_type = 4,\n                level = 212 '\\324',\n                flags = 20 '\\024'\n              }, {\n                next_for_neutral_pos = 0,\n                next_for_neutral_type = 1,\n                last_strong_type = 0,\n                prev_for_neutral_type = 0,\n                level = 0 '\\000',\n                flags = 0 '\\000'\n              }, {\n                next_for_neutral_pos = 1441805552,\n                next_for_neutral_type = 0,\n                last_strong_type = 6,\n                prev_for_neutral_type = 1,\n                level = 246 '\\366',\n                flags = 85 'U'\n              }, {\n                next_for_neutral_pos = 140737488335856,\n                next_for_neutral_type = 3,\n                last_strong_type = 4,\n                prev_for_neutral_type = 7,\n                level = 96 '`',\n                flags = 85 'U'\n              }, {\n                next_for_neutral_pos = 1,\n                next_for_neutral_type = 1,\n                last_strong_type = 0,\n                prev_for_neutral_type = 0,\n                level = 0 '\\000',\n                flags = 0 '\\000'\n              }, {\n                next_for_neutral_pos = 17,\n                next_for_neutral_type = 5,\n                last_strong_type = 2,\n                prev_for_neutral_type = 4,\n                level = 246 '\\366',\n                flags = 85 'U'\n              }, {\n                next_for_neutral_pos = 0,\n                next_for_neutral_type = 0,\n                last_strong_type = 0,\n                prev_for_neutral_type = 0,\n                level = 0 '\\000',\n                flags = 0 '\\000'\n              }, {\n                next_for_neutral_pos = 93825002386672,\n                next_for_neutral_type = 0,\n                last_strong_type = 2,\n                prev_for_neutral_type = 4,\n                level = 246 '\\366',\n                flags = 85 'U'\n              }, {\n                next_for_neutral_pos = 93825002775976,\n                next_for_neutral_type = 7,\n                last_strong_type = 2,\n                prev_for_neutral_type = 0,\n                level = 0 '\\000',\n                flags = 0 '\\000'\n              }, {\n                next_for_neutral_pos = 93825002808597,\n                next_for_neutral_type = 0,\n                last_strong_type = 2,\n                prev_for_neutral_type = 4,\n                level = 246 '\\366',\n                flags = 85 'U'\n              }},\n            string = {\n              lstring = XIL(0x555555f625a8),\n              s = 0x0,\n              schars = 23,\n              bufpos = 1,\n              from_disp_str = false,\n              unibyte = false\n            },\n            w = 0x17,\n            paragraph_dir = NEUTRAL_DIR,\n            separator_limit = 0,\n            first_elt = false,\n            new_paragraph = false,\n            frame_window_p = false\n          },\n          paragraph_embedding = L2R\n        }"
~"\n"
~"        current_matrix_up_to_date_p = true\n"
~"        used_current_matrix_p = false\n"
~"        buffer_unchanged_p = true\n"
~"        temp_scroll_step = false\n"
~"        count = 16\n"
~"        rc = 0\n"
~"        centering_position = -1\n"
~"        last_line_misfit = false\n"
~"        beg_unchanged = 504\n"
~"        end_unchanged = 1\n"
~"        frame_line_height = 1\n"
~"        margin = 0\n"
~"        use_desired_matrix = false\n"
~"        itdata = 0x0\n"
~"#4  0x00005555555ff5e6 in redisplay_window_0 (window=XIL(0x5555564063fd)) at ../../src/xdisp.c:16714\n"
~"#5  0x000055555582bf58 in internal_condition_case_1 (bfun=0x5555555ff5a4 <redisplay_window_0>, arg=XIL(0x5555564063fd), handlers=XIL(0x7ffff2bd1f2b), hfun=0x5555555ff56c <redisplay_window_error>) at ../../src/eval.c:1474\n"
~"        val = XIL(0x5555555c40c3)\n"
~"        c = 0x555555fe18e0\n"
~"#6  0x00005555555ff53e in redisplay_windows (window=XIL(0x5555564063fd)) at ../../src/xdisp.c:16694\n"
~"        w = 0x5555564063f8\n"
~"#7  0x00005555555ff4ed in redisplay_windows (window=XIL(0x5555563540c5)) at ../../src/xdisp.c:16688\n"
~"        w = 0x5555563540c0\n"
~"#8  0x00005555555fde11 in redisplay_internal () at ../../src/xdisp.c:16162\n"
~"        gcscrollbars = false\n"
~"        f_redisplay_flag = false\n"
~"        f = 0x555555f625a8\n"
~"        w = 0x555555f62810\n"
~"        sw = 0x555555f62810\n"
~"        fr = 0x555555f625a8\n"
~"        pending = false\n"
~"        must_finish = true\n"
~"        match_p = false\n"
~"        tlbufpos = {\n          charpos = 2146,\n          bytepos = 2146\n        }"
~"\n"
~"        tlendpos = {\n          charpos = 0,\n          bytepos = 0\n        }"
~"\n"
~"        number_of_visible_frames = 1\n"
~"        count = 13\n"
~"        sf = 0x555555f625a8\n"
~"        polling_stopped_here = false\n"
~"        tail = XIL(0x555555f67103)\n"
~"        frame = XIL(0x555555f625ad)\n"
~"        hscroll_retries = 0\n"
~"        garbaged_frame_retries = 0\n"
~"        consider_all_windows_p = true\n"
~"        update_miniwindow_p = true\n"
~"#9  0x00005555555feca5 in redisplay_preserve_echo_area (from_where=13) at ../../src/xdisp.c:16511\n"
~"        count = 12\n"
~"#10 0x000055555589961f in Fdelete_process (process=XIL(0x5555561feadd)) at ../../src/process.c:1130\n"
~"        symbol = XIL(0x65a0)\n"
~"        p = 0x5555561fead8\n"
~"#11 0x0000555555830de7 in funcall_subr (subr=0x555555e301c0 <Sdelete_process>, numargs=1, args=0x7fffffffcb70) at ../../src/eval.c:3098\n"
~"        internal_argbuf = {XIL(0x555555e301c0), XIL(0x7fffffffca88), XIL(0x555555826c38), XIL(0x10558266c7), XIL(0x555555e301c5), XIL(0x7fffffffcaa0), make_fixnum(23456248798050), XIL(0x555555e301c5)}\n"
~"        internal_args = 0x7fffffffcb70\n"
~"#12 0x0000555555830826 in Ffuncall (nargs=2, args=0x7fffffffcb68) at ../../src/eval.c:3023\n"
~"        fun = XIL(0x555555e301c5)\n"
~"        original_fun = XIL(0x2aaa9c991250)\n"
~"        funcar = XIL(0)\n"
~"        numargs = 1\n"
~"        val = XIL(0)\n"
~"        count = 11\n"
~"#13 0x0000555555890e41 in exec_byte_code (bytestr=XIL(0x55555613b834), vector=XIL(0x55555608bf7d), maxdepth=make_fixnum(12), args_template=make_fixnum(1285), nargs=5, args=0x7fffffffd0c0) at ../../src/bytecode.c:632\n"
~"        op = 1\n"
~"        type = CATCHER\n"
~"        targets = {0x5555558948a4 <exec_byte_code+18761>, 0x5555558948d5 <exec_byte_code+18810>, 0x5555558948d7 <exec_byte_code+18812>, 0x5555558948d9 <exec_byte_code+18814>, 0x5555558948db <exec_byte_code+18816>, 0x5555558948db <exec_byte_code+18816>, 0x555555894958 <exec_byte_code+18941>, 0x5555558949e7 <exec_byte_code+19084>, 0x555555890564 <exec_byte_code+1545>, 0x555555890566 <exec_byte_code+1547>, 0x555555890568 <exec_byte_code+1549>, 0x55555589056a <exec_byte_code+1551>, 0x55555589056c <exec_byte_code+1553>, 0x55555589056c <exec_byte_code+1553>, 0x555555890575 <exec_byte_code+1562>, 0x555555890521 <exec_byte_code+1478>, 0x555555890a75 <exec_byte_code+2842>, 0x555555890a77 <exec_byte_code+2844>, 0x555555890a79 <exec_byte_code+2846>, 0x555555890a7b <exec_byte_code+2848>, 0x555555890a7d <exec_byte_code+2850>, 0x555555890a7d <exec_byte_code+2850>, 0x555555890ac7 <exec_byte_code+2924>, 0x555555890a86 <exec_byte_code+2859>, 0x555555890d13 <exec_byte_code+3512>, 0x555555890d15 <exec_byte_code+3514>, 0x555555890d17 <exec_byte_code+3516>, 0x555555890d19 <exec_byte_code+3518>, 0x555555890d1b <exec_byte_code+3520>, 0x555555890d1b <exec_byte_code+3520>, 0x555555890cb2 <exec_byte_code+3415>, 0x555555890cd2 <exec_byte_code+3447>, 0x555555890dff <exec_byte_code+3748>, 0x555555890e01 <exec_byte_code+3750>, 0x555555890e03 <exec_byte_code+3752>, 0x555555890e05 <exec_byte_code+3754>, 0x555555890e07 <exec_byte_code+3756>, 0x555555890e07 <exec_byte_code+3756>, 0x555555890d9e <exec_byte_code+3651>, 0x555555890dbe <exec_byte_code+3683>, 0x555555890eed <exec_byte_code+3986>, 0x555555890eef <exec_byte_code+3988>, 0x555555890ef1 <exec_byte_code+3990>, 0x555555890ef3 <exec_byte_code+3992>, 0x555555890ef5 <exec_byte_code+3994>, 0x555555890ef5 <exec_byte_code+3994>, 0x555555890e8c <exec_byte_code+3889>, 0x555555890eac <exec_byte_code+3921>, 0x55555589193b <exec_byte_code+6624>, 0x555555891800 <exec_byte_code+6309>, 0x5555558917f4 <exec_byte_code+6297>, 0x5555558948a4 <exec_byte_code+18761>, 0x5555558948a4 <exec_byte_code+18761>, 0x5555558948a4 <exec_byte_code+18761>, 0x5555558948a4 <exec_byte_code+18761>, 0x5555558948a4 <exec_byte_code+18761>, 0x555555891be1 <exec_byte_code+7302>, 0x555555891d3c <exec_byte_code+7649>, 0x555555891dbb <exec_byte_code+7776>, 0x555555891e3d <exec_byte_code+7906>, 0x555555891ec1 <exec_byte_code+8038>, 0x555555890864 <exec_byte_code+2313>, 0x555555890907 <exec_byte_code+2476>, 0x555555891f5f <exec_byte_code+8196>, 0x55555589077a <exec_byte_code+2079>, 0x55555589098a <exec_byte_code+2607>, 0x555555891fe9 <exec_byte_code+8334>, 0x55555589206c <exec_byte_code+8465>, 0x5555558920c9 <exec_byte_code+8558>, 0x55555589214c <exec_byte_code+8689>, 0x5555558921d0 <exec_byte_code+8821>, 0x555555892301 <exec_byte_code+9126>, 0x55555589235e <exec_byte_code+9219>, 0x5555558923e1 <exec_byte_code+9350>, 0x555555892487 <exec_byte_code+9516>, 0x5555558924e4 <exec_byte_code+9609>, 0x555555892541 <exec_byte_code+9702>, 0x5555558925c4 <exec_byte_code+9833>, 0x555555892647 <exec_byte_code+9964>, 0x5555558926ca <exec_byte_code+10095>, 0x555555892770 <exec_byte_code+10261>, 0x5555558927d7 <exec_byte_code+10364>, 0x55555589283e <exec_byte_code+10467>, 0x555555892947 <exec_byte_code+10732>, 0x555555892a66 <exec_byte_code+11019>, 0x555555892b85 <exec_byte_code+11306>, 0x555555892c0d <exec_byte_code+11442>, 0x555555892c95 <exec_byte_code+11578>, 0x555555892d1d <exec_byte_code+11714>, 0x555555892da5 <exec_byte_code+11850>, 0x555555892e2d <exec_byte_code+11986>, 0x555555892e94 <exec_byte_code+12089>, 0x555555892fb4 <exec_byte_code+12377>, 0x55555589301b <exec_byte_code+12480>, 0x555555893082 <exec_byte_code+12583>, 0x5555558930e9 <exec_byte_code+12686>, 0x55555589323a <exec_byte_code+13023>, 0x55555589162f <exec_byte_code+5844>, 0x5555558932aa <exec_byte_code+13135>, 0x555555893307 <exec_byte_code+13228>, 0x555555893408 <exec_byte_code+13485>, 0x555555893483 <exec_byte_code+13608>, 0x5555558934f3 <exec_byte_code+13720>, 0x555555893550 <exec_byte_code+13813>, 0x5555558935a8 <exec_byte_code+13901>, 0x555555893600 <exec_byte_code+13989>, 0x555555893660 <exec_byte_code+14085>, 0x5555558948a4 <exec_byte_code+18761>, 0x5555558936cd <exec_byte_code+14194>, 0x555555893725 <exec_byte_code+14282>, 0x55555589377d <exec_byte_code+14370>, 0x5555558937d5 <exec_byte_code+14458>, 0x55555589382d <exec_byte_code+14546>, 0x555555893885 <exec_byte_code+14634>, 0x55555589162f <exec_byte_code+5844>, 0x5555558948a4 <exec_byte_code+18761>, 0x5555558938e2 <exec_byte_code+14727>, 0x55555589394c <exec_byte_code+14833>, 0x5555558939a9 <exec_byte_code+14926>, 0x555555893a06 <exec_byte_code+15019>, 0x555555893a89 <exec_byte_code+15150>, 0x555555893b0c <exec_byte_code+15281>, 0x555555893b69 <exec_byte_code+15374>, 0x555555893c3e <exec_byte_code+15587>, 0x555555893cc1 <exec_byte_code+15718>, 0x555555893d44 <exec_byte_code+15849>, 0x555555893dc7 <exec_byte_code+15980>, 0x555555893e1f <exec_byte_code+16068>, 0x5555558948a4 <exec_byte_code+18761>, 0x555555891542 <exec_byte_code+5607>, 0x555555890fc0 <exec_byte_code+4197>, 0x5555558906c4 <exec_byte_code+1897>, 0x5555558910aa <exec_byte_code+4431>, 0x555555891152 <exec_byte_code+4599>, 0x5555558911f7 <exec_byte_code+4764>, 0x5555558914e4 <exec_byte_code+5513>, 0x5555558914fc <exec_byte_code+5537>, 0x555555890c4a <exec_byte_code+3311>, 0x5555558915ec <exec_byte_code+5777>, 0x555555891672 <exec_byte_code+5911>, 0x555555891715 <exec_byte_code+6074>, 0x55555589176a <exec_byte_code+6159>, 0x555555891993 <exec_byte_code+6712>, 0x555555891a22 <exec_byte_code+6855>, 0x555555891ac8 <exec_byte_code+7021>, 0x555555891b43 <exec_byte_code+7144>, 0x555555890f63 <exec_byte_code+4104>, 0x555555893e7c <exec_byte_code+16161>, 0x555555893f22 <exec_byte_code+16327>, 0x555555893f7f <exec_byte_code+16420>, 0x555555893fdc <exec_byte_code+16513>, 0x555555894039 <exec_byte_code+16606>, 0x555555894096 <exec_byte_code+16699>, 0x555555894119 <exec_byte_code+16830>, 0x55555589419c <exec_byte_code+16961>, 0x55555589421f <exec_byte_code+17092>, 0x5555558942a2 <exec_byte_code+17223>, 0x555555894412 <exec_byte_code+17591>, 0x555555894495 <exec_byte_code+17722>, 0x555555894518 <exec_byte_code+17853>, 0x555555894575 <exec_byte_code+17946>, 0x5555558945f8 <exec_byte_code+18077>, 0x55555589467b <exec_byte_code+18208>, 0x5555558946d8 <exec_byte_code+18301>, 0x555555894735 <exec_byte_code+18394>, 0x555555893150 <exec_byte_code+12789>, 0x5555558931b7 <exec_byte_code+12892>, 0x55555589479c <exec_byte_code+18497>, 0x555555894820 <exec_byte_code+18629>, 0x5555558948a4 <exec_byte_code+18761>, 0x55555589129c <exec_byte_code+4929>, 0x5555558912c2 <exec_byte_code+4967>, 0x55555589134c <exec_byte_code+5105>, 0x5555558913d6 <exec_byte_code+5243>, 0x55555589145d <exec_byte_code+5378>, 0x55555589225f <exec_byte_code+8964>, 0x5555558928a5 <exec_byte_code+10570>, 0x555555893366 <exec_byte_code+13323>, 0x555555894aa1 <exec_byte_code+19270>, 0x555555894b2b <exec_byte_code+19408>, 0x5555558948a4 <exec_byte_code+18761>, 0x5555558948a4 <exec_byte_code+18761>, 0x555555894be2 <exec_byte_code+19591>, 0x555555894c93 <exec_byte_code+19768>, 0x5555558948a4 <exec_byte_code+18761>, 0x5555558948a4 <exec_byte_code+18761>, 0x5555558948a4 <exec_byte_code+18761>, 0x5555558948a4 <exec_byte_code+18761>, 0x5555558948a4 <exec_byte_code+18761>, 0x5555558948a4 <exec_byte_code+18761>, 0x5555558948a4 <exec_byte_code+18761>, 0x5555558948a4 <exec_byte_code+18761>, 0x555555894de7 <exec_byte_code+20108> <repeats 64 times>}\n"
~"        const_length = 21\n"
~"        bytestr_length = 102\n"
~"        vectorp = 0x55555608bf80\n"
~"        quitcounter = 1 '\\001'\n"
~"        stack_items = 13\n"
~"        sa_avail = 16178\n"
~"        sa_count = 10\n"
~"        alloc = 0x7fffffffcb30\n"
~"        stack_base = 0x7fffffffcb30\n"
~"        top = 0x7fffffffcb68\n"
~"        stack_lim = 0x7fffffffcb98\n"
~"        bytestr_data = 0x7fffffffcb98 \"r\\004q\\210\\302\\005!\\211\\203\\017\"\n"
~"        pc = 0x7fffffffcba6 \"\\210\\210\\002:\\203\\\"\"\n"
~"        count = 10\n"
~"        result = XIL(0x7ffff2b8b05b)\n"
~"#14 0x00005555558310bd in fetch_and_exec_byte_code (fun=XIL(0x5555560bb2dd), syms_left=make_fixnum(1285), nargs=5, args=0x7fffffffd098) at ../../src/eval.c:3147\n"
~"#15 0x0000555555831584 in funcall_lambda (fun=XIL(0x5555560bb2dd), nargs=5, arg_vector=0x7fffffffd098) at ../../src/eval.c:3228\n"
~"        val = XIL(0x7fffffffcfe8)\n"
~"        syms_left = make_fixnum(1285)\n"
~"        next = XIL(0x19558266c7)\n"
~"        lexenv = XIL(0x5555560bb2d8)\n"
~"        count = 10\n"
~"        i = 93824995191864\n"
~"        optional = 85\n"
~"        rest = false\n"
~"        previous_rest = false\n"
~"#16 0x000055555583087a in Ffuncall (nargs=6, args=0x7fffffffd090) at ../../src/eval.c:3027\n"
~"        fun = XIL(0x5555560bb2dd)\n"
~"        original_fun = XIL(0x1ee630)\n"
~"        funcar = XIL(0)\n"
~"        numargs = 5\n"
~"        val = XIL(0)\n"
~"        count = 9\n"
~"#17 0x0000555555890e41 in exec_byte_code (bytestr=XIL(0x5555561364a4), vector=XIL(0x5555560bc2dd), maxdepth=make_fixnum(9), args_template=make_fixnum(514), nargs=2, args=0x7fffffffd578) at ../../src/bytecode.c:632\n"
~"        op = 5\n"
~"        type = (CONDITION_CASE | CATCHER_ALL | unknown: 0x187f434c)\n"
~"        targets = {0x5555558948a4 <exec_byte_code+18761>, 0x5555558948d5 <exec_byte_code+18810>, 0x5555558948d7 <exec_byte_code+18812>, 0x5555558948d9 <exec_byte_code+18814>, 0x5555558948db <exec_byte_code+18816>, 0x5555558948db <exec_byte_code+18816>, 0x555555894958 <exec_byte_code+18941>, 0x5555558949e7 <exec_byte_code+19084>, 0x555555890564 <exec_byte_code+1545>, 0x555555890566 <exec_byte_code+1547>, 0x555555890568 <exec_byte_code+1549>, 0x55555589056a <exec_byte_code+1551>, 0x55555589056c <exec_byte_code+1553>, 0x55555589056c <exec_byte_code+1553>, 0x555555890575 <exec_byte_code+1562>, 0x555555890521 <exec_byte_code+1478>, 0x555555890a75 <exec_byte_code+2842>, 0x555555890a77 <exec_byte_code+2844>, 0x555555890a79 <exec_byte_code+2846>, 0x555555890a7b <exec_byte_code+2848>, 0x555555890a7d <exec_byte_code+2850>, 0x555555890a7d <exec_byte_code+2850>, 0x555555890ac7 <exec_byte_code+2924>, 0x555555890a86 <exec_byte_code+2859>, 0x555555890d13 <exec_byte_code+3512>, 0x555555890d15 <exec_byte_code+3514>, 0x555555890d17 <exec_byte_code+3516>, 0x555555890d19 <exec_byte_code+3518>, 0x555555890d1b <exec_byte_code+3520>, 0x555555890d1b <exec_byte_code+3520>, 0x555555890cb2 <exec_byte_code+3415>, 0x555555890cd2 <exec_byte_code+3447>, 0x555555890dff <exec_byte_code+3748>, 0x555555890e01 <exec_byte_code+3750>, 0x555555890e03 <exec_byte_code+3752>, 0x555555890e05 <exec_byte_code+3754>, 0x555555890e07 <exec_byte_code+3756>, 0x555555890e07 <exec_byte_code+3756>, 0x555555890d9e <exec_byte_code+3651>, 0x555555890dbe <exec_byte_code+3683>, 0x555555890eed <exec_byte_code+3986>, 0x555555890eef <exec_byte_code+3988>, 0x555555890ef1 <exec_byte_code+3990>, 0x555555890ef3 <exec_byte_code+3992>, 0x555555890ef5 <exec_byte_code+3994>, 0x555555890ef5 <exec_byte_code+3994>, 0x555555890e8c <exec_byte_code+3889>, 0x555555890eac <exec_byte_code+3921>, 0x55555589193b <exec_byte_code+6624>, 0x555555891800 <exec_byte_code+6309>, 0x5555558917f4 <exec_byte_code+6297>, 0x5555558948a4 <exec_byte_code+18761>, 0x5555558948a4 <exec_byte_code+18761>, 0x5555558948a4 <exec_byte_code+18761>, 0x5555558948a4 <exec_byte_code+18761>, 0x5555558948a4 <exec_byte_code+18761>, 0x555555891be1 <exec_byte_code+7302>, 0x555555891d3c <exec_byte_code+7649>, 0x555555891dbb <exec_byte_code+7776>, 0x555555891e3d <exec_byte_code+7906>, 0x555555891ec1 <exec_byte_code+8038>, 0x555555890864 <exec_byte_code+2313>, 0x555555890907 <exec_byte_code+2476>, 0x555555891f5f <exec_byte_code+8196>, 0x55555589077a <exec_byte_code+2079>, 0x55555589098a <exec_byte_code+2607>, 0x555555891fe9 <exec_byte_code+8334>, 0x55555589206c <exec_byte_code+8465>, 0x5555558920c9 <exec_byte_code+8558>, 0x55555589214c <exec_byte_code+8689>, 0x5555558921d0 <exec_byte_code+8821>, 0x555555892301 <exec_byte_code+9126>, 0x55555589235e <exec_byte_code+9219>, 0x5555558923e1 <exec_byte_code+9350>, 0x555555892487 <exec_byte_code+9516>, 0x5555558924e4 <exec_byte_code+9609>, 0x555555892541 <exec_byte_code+9702>, 0x5555558925c4 <exec_byte_code+9833>, 0x555555892647 <exec_byte_code+9964>, 0x5555558926ca <exec_byte_code+10095>, 0x555555892770 <exec_byte_code+10261>, 0x5555558927d7 <exec_byte_code+10364>, 0x55555589283e <exec_byte_code+10467>, 0x555555892947 <exec_byte_code+10732>, 0x555555892a66 <exec_byte_code+11019>, 0x555555892b85 <exec_byte_code+11306>, 0x555555892c0d <exec_byte_code+11442>, 0x555555892c95 <exec_byte_code+11578>, 0x555555892d1d <exec_byte_code+11714>, 0x555555892da5 <exec_byte_code+11850>, 0x555555892e2d <exec_byte_code+11986>, 0x555555892e94 <exec_byte_code+12089>, 0x555555892fb4 <exec_byte_code+12377>, 0x55555589301b <exec_byte_code+12480>, 0x555555893082 <exec_byte_code+12583>, 0x5555558930e9 <exec_byte_code+12686>, 0x55555589323a <exec_byte_code+13023>, 0x55555589162f <exec_byte_code+5844>, 0x5555558932aa <exec_byte_code+13135>, 0x555555893307 <exec_byte_code+13228>, 0x555555893408 <exec_byte_code+13485>, 0x555555893483 <exec_byte_code+13608>, 0x5555558934f3 <exec_byte_code+13720>, 0x555555893550 <exec_byte_code+13813>, 0x5555558935a8 <exec_byte_code+13901>, 0x555555893600 <exec_byte_code+13989>, 0x555555893660 <exec_byte_code+14085>, 0x5555558948a4 <exec_byte_code+18761>, 0x5555558936cd <exec_byte_code+14194>, 0x555555893725 <exec_byte_code+14282>, 0x55555589377d <exec_byte_code+14370>, 0x5555558937d5 <exec_byte_code+14458>, 0x55555589382d <exec_byte_code+14546>, 0x555555893885 <exec_byte_code+14634>, 0x55555589162f <exec_byte_code+5844>, 0x5555558948a4 <exec_byte_code+18761>, 0x5555558938e2 <exec_byte_code+14727>, 0x55555589394c <exec_byte_code+14833>, 0x5555558939a9 <exec_byte_code+14926>, 0x555555893a06 <exec_byte_code+15019>, 0x555555893a89 <exec_byte_code+15150>, 0x555555893b0c <exec_byte_code+15281>, 0x555555893b69 <exec_byte_code+15374>, 0x555555893c3e <exec_byte_code+15587>, 0x555555893cc1 <exec_byte_code+15718>, 0x555555893d44 <exec_byte_code+15849>, 0x555555893dc7 <exec_byte_code+15980>, 0x555555893e1f <exec_byte_code+16068>, 0x5555558948a4 <exec_byte_code+18761>, 0x555555891542 <exec_byte_code+5607>, 0x555555890fc0 <exec_byte_code+4197>, 0x5555558906c4 <exec_byte_code+1897>, 0x5555558910aa <exec_byte_code+4431>, 0x555555891152 <exec_byte_code+4599>, 0x5555558911f7 <exec_byte_code+4764>, 0x5555558914e4 <exec_byte_code+5513>, 0x5555558914fc <exec_byte_code+5537>, 0x555555890c4a <exec_byte_code+3311>, 0x5555558915ec <exec_byte_code+5777>, 0x555555891672 <exec_byte_code+5911>, 0x555555891715 <exec_byte_code+6074>, 0x55555589176a <exec_byte_code+6159>, 0x555555891993 <exec_byte_code+6712>, 0x555555891a22 <exec_byte_code+6855>, 0x555555891ac8 <exec_byte_code+7021>, 0x555555891b43 <exec_byte_code+7144>, 0x555555890f63 <exec_byte_code+4104>, 0x555555893e7c <exec_byte_code+16161>, 0x555555893f22 <exec_byte_code+16327>, 0x555555893f7f <exec_byte_code+16420>, 0x555555893fdc <exec_byte_code+16513>, 0x555555894039 <exec_byte_code+16606>, 0x555555894096 <exec_byte_code+16699>, 0x555555894119 <exec_byte_code+16830>, 0x55555589419c <exec_byte_code+16961>, 0x55555589421f <exec_byte_code+17092>, 0x5555558942a2 <exec_byte_code+17223>, 0x555555894412 <exec_byte_code+17591>, 0x555555894495 <exec_byte_code+17722>, 0x555555894518 <exec_byte_code+17853>, 0x555555894575 <exec_byte_code+17946>, 0x5555558945f8 <exec_byte_code+18077>, 0x55555589467b <exec_byte_code+18208>, 0x5555558946d8 <exec_byte_code+18301>, 0x555555894735 <exec_byte_code+18394>, 0x555555893150 <exec_byte_code+12789>, 0x5555558931b7 <exec_byte_code+12892>, 0x55555589479c <exec_byte_code+18497>, 0x555555894820 <exec_byte_code+18629>, 0x5555558948a4 <exec_byte_code+18761>, 0x55555589129c <exec_byte_code+4929>, 0x5555558912c2 <exec_byte_code+4967>, 0x55555589134c <exec_byte_code+5105>, 0x5555558913d6 <exec_byte_code+5243>, 0x55555589145d <exec_byte_code+5378>, 0x55555589225f <exec_byte_code+8964>, 0x5555558928a5 <exec_byte_code+10570>, 0x555555893366 <exec_byte_code+13323>, 0x555555894aa1 <exec_byte_code+19270>, 0x555555894b2b <exec_byte_code+19408>, 0x5555558948a4 <exec_byte_code+18761>, 0x5555558948a4 <exec_byte_code+18761>, 0x555555894be2 <exec_byte_code+19591>, 0x555555894c93 <exec_byte_code+19768>, 0x5555558948a4 <exec_byte_code+18761>, 0x5555558948a4 <exec_byte_code+18761>, 0x5555558948a4 <exec_byte_code+18761>, 0x5555558948a4 <exec_byte_code+18761>, 0x5555558948a4 <exec_byte_code+18761>, 0x5555558948a4 <exec_byte_code+18761>, 0x5555558948a4 <exec_byte_code+18761>, 0x5555558948a4 <exec_byte_code+18761>, 0x555555894de7 <exec_byte_code+20108> <repeats 64 times>}\n"
~"        const_length = 11\n"
~"        bytestr_length = 41\n"
~"        vectorp = 0x5555560bc2e0\n"
~"        quitcounter = 1 '\\001'\n"
~"        stack_items = 10\n"
~"        sa_avail = 16263\n"
~"        sa_count = 9\n"
~"        alloc = 0x7fffffffd070\n"
~"        stack_base = 0x7fffffffd070\n"
~"        top = 0x7fffffffd090\n"
~"        stack_lim = 0x7fffffffd0c0\n"
~"        bytestr_data = 0x7fffffffd0c0 \"\\301\\002!\\302=\\205(\"\n"
~"        pc = 0x7fffffffd0e0 \"\\210\\312\\305\\002!!\\262\\001\\207\"\n"
~"        count = 9\n"
~"        result = XIL(0x5fdeafb814d45900)\n"
~"#18 0x00005555558310bd in fetch_and_exec_byte_code (fun=XIL(0x5555560bc33d), syms_left=make_fixnum(514), nargs=2, args=0x7fffffffd568) at ../../src/eval.c:3147\n"
~"#19 0x0000555555831584 in funcall_lambda (fun=XIL(0x5555560bc33d), nargs=2, arg_vector=0x7fffffffd568) at ../../src/eval.c:3228\n"
~"        val = XIL(0x7fffffffd4d8)\n"
~"        syms_left = make_fixnum(514)\n"
~"        next = XIL(0x19558266c7)\n"
~"        lexenv = XIL(0x5555560bc338)\n"
~"        count = 9\n"
~"        i = 93824995191864\n"
~"        optional = 85\n"
~"        rest = false\n"
~"        previous_rest = false\n"
~"#20 0x000055555583087a in Ffuncall (nargs=3, args=0x7fffffffd560) at ../../src/eval.c:3027\n"
~"        fun = XIL(0x5555560bc33d)\n"
~"        original_fun = XIL(0x2c3460)\n"
~"        funcar = XIL(0)\n"
~"        numargs = 2\n"
~"        val = XIL(0)\n"
~"        count = 8\n"
~"#21 0x000055555582f895 in Fapply (nargs=2, args=0x7fffffffd610) at ../../src/eval.c:2653\n"
~"        i = 3\n"
~"        funcall_nargs = 3\n"
~"        funcall_args = 0x7fffffffd560\n"
~"        spread_arg = XIL(0)\n"
~"        fun = XIL(0x5555560bc33d)\n"
~"        sa_avail = 16360\n"
~"        sa_count = 8\n"
~"        numargs = 2\n"
~"        retval = XIL(0x18)\n"
~"#22 0x000055555582ffa0 in apply1 (fn=XIL(0x2c3460), arg=XIL(0x55555650eb43)) at ../../src/eval.c:2869\n"
~"#23 0x00005555558a68d2 in read_process_output_call (fun_and_args=XIL(0x55555650eb53)) at ../../src/process.c:5973\n"
~"#24 0x000055555582bf58 in internal_condition_case_1 (bfun=0x5555558a6836 <read_process_output_call>, arg=XIL(0x55555650eb53), handlers=XIL(0x90), hfun=0x5555558aa280 <exec_sentinel_error_handler>) at ../../src/eval.c:1474\n"
~"        val = XIL(0x5555561feadd)\n"
~"        c = 0x555555f9e700\n"
~"#25 0x00005555558aa4a5 in exec_sentinel (proc=XIL(0x5555561feadd), reason=XIL(0x5555565212f4)) at ../../src/process.c:7462\n"
~"        sentinel = XIL(0x2c3460)\n"
~"        odeactivate = XIL(0)\n"
~"        p = 0x5555561fead8\n"
~"        count = 5\n"
~"        outer_running_asynch_code = false\n"
~"        waiting = -1\n"
~"#26 0x00005555558aa711 in status_notify (deleting_process=0x0, wait_proc=0x0) at ../../src/process.c:7554\n"
~"        symbol = XIL(0x65a0)\n"
~"        p = 0x5555561fead8\n"
~"        proc = XIL(0x5555561feadd)\n"
~"        tail = XIL(0x5555562054a3)\n"
~"        msg = XIL(0x5555565212f4)\n"
~"        got_some_output = -1\n"
~"#27 0x00005555558a4e6d in wait_reading_process_output (time_limit=0, nsecs=0, read_kbd=-1, do_display=true, wait_for_cell=XIL(0), wait_proc=0x0, just_wait_proc=0) at ../../src/process.c:5376\n"
~"        Atemp = {\n          fds_bits = {0 <repeats 16 times>}\n        }"
~"\n"
~"        Ctemp = {\n          fds_bits = {0 <repeats 16 times>}\n        }"
~"\n"
~"        fd = 7\n"
~"        process_skipped = false\n"
~"        wrapped = true\n"
~"        channel_start = 10\n"
~"        child_fd = 7\n"
~"        last_read_channel = 9\n"
~"        channel = 10\n"
~"        nfds = 1\n"
~"        Available = {\n          fds_bits = {0 <repeats 16 times>}\n        }"
~"\n"
~"        Writeok = {\n          fds_bits = {0 <repeats 16 times>}\n        }"
~"\n"
~"        check_write = true\n"
~"        check_delay = 1\n"
~"        no_avail = false\n"
~"        xerrno = 5\n"
~"        proc = XIL(0x5555561f6645)\n"
~"        timeout = {\n          tv_sec = 0,\n          tv_nsec = 0\n        }"
~"\n"
~"        end_time = {\n          tv_sec = 5294967296,\n          tv_nsec = 0\n        }"
~"\n"
~"        timer_delay = {\n          tv_sec = 0,\n          tv_nsec = 135838054\n        }"
~"\n"
~"        got_output_end_time = {\n          tv_sec = 0,\n          tv_nsec = -1\n        }"
~"\n"
~"        wait = FOREVER\n"
~"        got_some_output = 1272\n"
~"        prev_wait_proc_nbytes_read = 0\n"
~"        retry_for_async = false\n"
~"        count = 4\n"
~"        now = {\n          tv_sec = 0,\n          tv_nsec = -1\n        }"
~"\n"
~"#28 0x000055555574db31 in kbd_buffer_get_event (kbp=0x7fffffffdc60, used_mouse_menu=0x7fffffffe26d, end_time=0x0) at ../../src/keyboard.c:3926\n"
~"        do_display = true\n"
~"        obj = make_fixnum(0)\n"
~"#29 0x000055555574800a in read_event_from_main_queue (end_time=0x0, local_getcjmp=0x7fffffffe070, used_mouse_menu=0x7fffffffe26d) at ../../src/keyboard.c:2198\n"
~"        c = XIL(0)\n"
~"        save_jump = {{\n            __jmpbuf = {0, 0, 0, 0, 0, 0, 0, 0},\n            __mask_was_saved = 0,\n            __saved_mask = {\n              __val = {0 <repeats 16 times>}\n            }\n          }}"
~"\n"
~"        kb = 0x555555e99180 <mpz>\n"
~"        count = 3\n"
~"#30 0x0000555555748430 in read_decoded_event_from_main_queue (end_time=0x0, local_getcjmp=0x7fffffffe070, prev_event=XIL(0), used_mouse_menu=0x7fffffffe26d) at ../../src/keyboard.c:2262\n"
~"        nextevt = make_fixnum(67904286)\n"
~"        frame = 0x0\n"
~"        terminal = 0x0\n"
~"        events = {XIL(0x7fffffffde10), XIL(0x555555741321), XIL(0), XIL(0x555555eb41e0), XIL(0), XIL(0), XIL(0x7fffffffde30), XIL(0x55555574137b), XIL(0x7fffffffde60), make_fixnum(358431713), XIL(0x7fffffffde60), XIL(0x555555745035), XIL(0x555556518173), XIL(0), XIL(0), XIL(0)}\n"
~"        n = 0\n"
~"#31 0x000055555574a7e7 in read_char (commandflag=1, map=XIL(0x55555651b0c3), prev_event=XIL(0), used_mouse_menu=0x7fffffffe26d, end_time=0x0) at ../../src/keyboard.c:2892\n"
~"        c = XIL(0)\n"
~"        jmpcount = 3\n"
~"        local_getcjmp = {{\n            __jmpbuf = {0, 4807611475803699516, 0, 140737488349464, 93824997382392, 140737354125312, 4807611474895632700, 1724109259802736956},\n            __mask_was_saved = 0,\n            __saved_mask = {\n              __val = {0, 140737488347360, 93824995190561, 140737268828123, 2627389160, 140737488347472, 93824995242875, 93825008775395, 3, 140737488347440, 0, 93825008775411, 93825002062304, 0, 0, 140737488347472}\n            }\n          }}"
~"\n"
~"        save_jump = {{\n            __jmpbuf = {0, 0, 0, 0, 0, 0, 0, 0},\n            __mask_was_saved = 0,\n            __saved_mask = {\n              __val = {0 <repeats 16 times>}\n            }\n          }}"
~"\n"
~"        tem = XIL(0x5555561f5ff8)\n"
~"        save = XIL(0x555555802948)\n"
~"        previous_echo_area_message = XIL(0)\n"
~"        also_record = XIL(0)\n"
~"        reread = false\n"
~"        recorded = false\n"
~"        polling_stopped_here = true\n"
~"        orig_kboard = 0x555555fb0d20\n"
~"#32 0x000055555575d792 in read_key_sequence (keybuf=0x7fffffffe450, prompt=XIL(0), dont_downcase_last=false, can_return_switch_frame=true, fix_current_buffer=true, prevent_redisplay=false) at ../../src/keyboard.c:9635\n"
~"        interrupted_kboard = 0x555555fb0d20\n"
~"        interrupted_frame = 0x555555f625a8\n"
~"        key = XIL(0xa00000000)\n"
~"        used_mouse_menu = false\n"
~"        echo_local_start = 0\n"
~"        last_real_key_start = 0\n"
~"        keys_local_start = 0\n"
~"        new_binding = XIL(0x555555f62815)\n"
~"        count = 3\n"
~"        t = 0\n"
~"        echo_start = 0\n"
~"        keys_start = 0\n"
~"        current_binding = XIL(0x55555651b0c3)\n"
~"        first_unbound = 31\n"
~"        mock_input = 0\n"
~"        used_mouse_menu_history = {false <repeats 30 times>}\n"
~"        fkey = {\n          parent = XIL(0x555555f66443),\n          map = XIL(0x555555f66443),\n          start = 0,\n          end = 0\n        }"
~"\n"
~"        keytran = {\n          parent = XIL(0x7ffff2e9cbeb),\n          map = XIL(0x7ffff2e9cbeb),\n          start = 0,\n          end = 0\n        }"
~"\n"
~"        indec = {\n          parent = XIL(0x555555f66433),\n          map = XIL(0x555555f66433),\n          start = 0,\n          end = 0\n        }"
~"\n"
~"        shift_translated = false\n"
~"        delayed_switch_frame = XIL(0)\n"
~"        original_uppercase = XIL(0x7fffffffe3c0)\n"
~"        original_uppercase_position = -1\n"
~"        dummyflag = false\n"
~"        starting_buffer = 0x5555561f5ff8\n"
~"        fake_prefixed_keys = XIL(0)\n"
~"        first_event = XIL(0)\n"
~"        second_event = XIL(0)\n"
~"#33 0x0000555555745643 in command_loop_1 () at ../../src/keyboard.c:1392\n"
~"        cmd = XIL(0x1e17e0)\n"
~"        keybuf = {make_fixnum(13), make_fixnum(120), XIL(0x7fffffffe490), XIL(0x5555558266c7), make_fixnum(34910567923712), XIL(0x555555eb41e0), XIL(0), XIL(0), XIL(0), XIL(0x555555eb41e0), XIL(0x7fffffffe4d0), XIL(0x5555558266c7), XIL(0x7fffffffe520), XIL(0x555555eb41e0), XIL(0), XIL(0), XIL(0x7fffffffe4f0), XIL(0x555555826721), make_fixnum(2), XIL(0x8bb0), XIL(0x7fffffffe530), XIL(0x55555582c6bb), XIL(0x100000000), XIL(0x90), XIL(0x7fffffffe540), XIL(0x555555f9e5d0), XIL(0), XIL(0x90), XIL(0x7fffffffe560), XIL(0x55555582c5cc)}\n"
~"        i = 1\n"
~"        prev_modiff = 168\n"
~"        prev_buffer = 0x5555561f5ff8\n"
~"        already_adjusted = false\n"
~"#34 0x000055555582be77 in internal_condition_case (bfun=0x5555557451a3 <command_loop_1>, handlers=XIL(0x90), hfun=0x555555744586 <cmd_error>) at ../../src/eval.c:1450\n"
~"        val = XIL(0x7fffffffe5c0)\n"
~"        c = 0x555555f9e5d0\n"
~"#35 0x0000555555744d5c in command_loop_2 (handlers=XIL(0x90)) at ../../src/keyboard.c:1133\n"
~"        val = XIL(0xe850)\n"
~"#36 0x000055555582b006 in internal_catch (tag=XIL(0xe850), func=0x555555744d32 <command_loop_2>, arg=XIL(0x90)) at ../../src/eval.c:1181\n"
~"        val = XIL(0x55555574137b)\n"
~"        c = 0x555555fb0df0\n"
~"#37 0x0000555555744cfe in command_loop () at ../../src/keyboard.c:1111\n"
~"#38 0x0000555555744032 in recursive_edit_1 () at ../../src/keyboard.c:720\n"
~"        count = 1\n"
~"        val = XIL(0x7fffffffe6a0)\n"
~"#39 0x0000555555744254 in Frecursive_edit () at ../../src/keyboard.c:803\n"
~"        count = 0\n"
~"        buffer = XIL(0)\n"
~"#40 0x000055555573fd00 in main (argc=3, argv=0x7fffffffe8f8) at ../../src/emacs.c:2358\n"
~"        stack_bottom_variable = 0x1\n"
~"        no_loadup = false\n"
~"        junk = 0x0\n"
~"        dname_arg = 0x0\n"
~"        ch_to_dir = 0x0\n"
~"        original_pwd = 0x0\n"
~"        dump_mode = 0x0\n"
~"        skip_args = 1\n"
~"        temacs = 0x0\n"
~"        attempt_load_pdump = true\n"
~"        rlim = {\n          rlim_cur = 10022912,\n          rlim_max = 18446744073709551615\n        }"
~"\n"
~"        lc_all = 0x0\n"
~"        sockfd = -1\n"
~"        module_assertions = false\n"
~"\n"
~"Lisp Backtrace:\n"
~"\"redisplay_internal (C function)\""
~" (0x0)\n"
~"\"delete-process\""
~" (0xffffcb70)\n"
~"\"comint-exec\""
~" (0xffffd098)\n"
~"\"gdb-inferior-io-sentinel\""
~" (0xffffd568)\n"
^done
(gdb) 
&"xbacktrace\n"
~"\"redisplay_internal (C function)\""
~" (0x0)\n"
~"\"delete-process\""
~" (0xffffcb70)\n"
~"\"comint-exec\""
~" (0xffffd098)\n"
~"\"gdb-inferior-io-sentinel\""
~" (0xffffd568)\n"
^done
(gdb) 
&"exit\n"
=thread-exited,id="1",group-id="i1"
=thread-exited,id="2",group-id="i1"
=thread-group-exited,id="i1"

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



In GNU Emacs 28.1 (build 1, x86_64-pc-linux-gnu, X toolkit, cairo version 1.17.6, Xaw3d scroll bars)
 of 2022-08-25 built on huana84
System Description: Arch Linux

Configured using:
 'configure --sysconfdir=/etc --prefix=/usr --libexecdir=/usr/lib
 --localstatedir=/var --with-cairo --with-harfbuzz --with-libsystemd
 --with-wide-int --with-json=yes --with-modules
 --enable-checking=yes,glyphs --enable-check-lisp-object-type
 'CFLAGS=-O0 -g3' --with-x-toolkit=lucid
 LDFLAGS=-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now'

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

Important settings:
  value of $LC_COLLATE: C
  value of $LANG: en_US.UTF-8
  locale-coding-system: utf-8-unix

Major mode: Lisp Interaction

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

Load-path shadows:
None found.

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

Memory information:
((conses 16 49110 7410)
 (symbols 48 6619 1)
 (strings 32 17762 1892)
 (string-bytes 1 584463)
 (vectors 16 10077)
 (vector-slots 8 124787 5648)
 (floats 8 19 235)
 (intervals 56 207 0)
 (buffers 992 10))

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

* bug#57364: [PATCH]
  2022-08-30  7:29                           ` bug#57364: [PATCH] (was: bug#57364: 28.1.91; asynchronous X server error when creating a second frame on alternate DISPLAY) andrés ramírez
@ 2022-08-30 10:07                             ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
  2022-09-27 12:49                               ` bug#57364: 28.1.91; asynchronous X server error when creating a second frame on alternate DISPLAY Lars Ingebrigtsen
  0 siblings, 1 reply; 21+ messages in thread
From: Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2022-08-30 10:07 UTC (permalink / raw)
  To: andrés ramírez; +Cc: 57364

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

> Are You going to apply the patch?

No.  It is too large for the release branch.





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

* bug#57364: 28.1.91; asynchronous X server error when creating a second frame on alternate DISPLAY
  2022-08-30 10:07                             ` bug#57364: [PATCH] Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
@ 2022-09-27 12:49                               ` Lars Ingebrigtsen
  2022-09-27 13:46                                 ` andrés ramírez
  0 siblings, 1 reply; 21+ messages in thread
From: Lars Ingebrigtsen @ 2022-09-27 12:49 UTC (permalink / raw)
  To: Po Lu; +Cc: andrés ramírez, 57364

Po Lu <luangruo@yahoo.com> writes:

>> Are You going to apply the patch?
>
> No.  It is too large for the release branch.

Skimming this bug report, the conclusion seems to be that it's fixed on
the "master" branch, but it's too large to backport to Emacs 28 (and in
any case, it's somewhat doubtful there will be further Emacs 28
releases), so I'm closing this bug report.





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

* bug#57364: 28.1.91; asynchronous X server error when creating a second frame on alternate DISPLAY
  2022-09-27 12:49                               ` bug#57364: 28.1.91; asynchronous X server error when creating a second frame on alternate DISPLAY Lars Ingebrigtsen
@ 2022-09-27 13:46                                 ` andrés ramírez
  2022-09-27 17:32                                   ` Lars Ingebrigtsen
  0 siblings, 1 reply; 21+ messages in thread
From: andrés ramírez @ 2022-09-27 13:46 UTC (permalink / raw)
  To: Lars Ingebrigtsen; +Cc: Po Lu, 57364

Hi. Lars.

>>>>> "Lars" == Lars Ingebrigtsen <larsi@gnus.org> writes:


[...]

    Lars> Skimming this bug report, the conclusion seems to be that it's fixed on the "master"
    Lars> branch, but it's too large to backport to Emacs 28 (and in any case, it's somewhat
    Lars> doubtful there will be further Emacs 28 releases), so I'm closing this bug report.

But remember. It was also mentioned 'this issue was going to be
reflected on /etc/PROBLEMS' is that task going to be completed?

Best Regards
ps: Also checking the commit log. there are a couple of leaks that
should be fixed on the 28 branch OMHO.





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

* bug#57364: 28.1.91; asynchronous X server error when creating a second frame on alternate DISPLAY
  2022-09-27 13:46                                 ` andrés ramírez
@ 2022-09-27 17:32                                   ` Lars Ingebrigtsen
  0 siblings, 0 replies; 21+ messages in thread
From: Lars Ingebrigtsen @ 2022-09-27 17:32 UTC (permalink / raw)
  To: andrés ramírez; +Cc: Po Lu, 57364

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

>     Lars> Skimming this bug report, the conclusion seems to be that
>     Lars> it's fixed on the "master"
>     Lars> branch, but it's too large to backport to Emacs 28 (and in
>     Lars> any case, it's somewhat
>     Lars> doubtful there will be further Emacs 28 releases), so I'm
>     Lars> closing this bug report.
>
> But remember. It was also mentioned 'this issue was going to be
> reflected on /etc/PROBLEMS' is that task going to be completed?

Like I said, I don't think there's going to be any further Emacs 28
releases, so adding something about this to etc/PROBLEMS on that branch
doesn't seem vital.





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

end of thread, other threads:[~2022-09-27 17:32 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-23 17:51 bug#57364: 28.1.91; asynchronous X server error when creating a second frame on alternate DISPLAY Andrés Ramírez
2022-08-24  1:56 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-08-25 14:29   ` andrés ramírez
2022-08-25 15:13   ` andrés ramírez
2022-08-26  1:07     ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-08-26  1:50       ` andrés ramírez
2022-08-26  3:08         ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-08-26  3:43           ` andrés ramírez
2022-08-26  5:44             ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-08-26 13:59               ` andrés ramírez
2022-08-27  1:17                 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-08-29 19:58                   ` andrés ramírez
2022-08-30  1:19                     ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-08-30  5:28                       ` andrés ramírez
2022-08-30  7:02                         ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-08-30  7:29                           ` bug#57364: [PATCH] (was: bug#57364: 28.1.91; asynchronous X server error when creating a second frame on alternate DISPLAY) andrés ramírez
2022-08-30 10:07                             ` bug#57364: [PATCH] Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-09-27 12:49                               ` bug#57364: 28.1.91; asynchronous X server error when creating a second frame on alternate DISPLAY Lars Ingebrigtsen
2022-09-27 13:46                                 ` andrés ramírez
2022-09-27 17:32                                   ` Lars Ingebrigtsen
2022-08-30  8:02 ` bug#57364: 28.1; emacs segfaulted when debugging emacs form within emacs for bug#57364 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).