Subject: bug#57364: 28.1.91; asynchronous X server error when creating a second frame on alternate DISPLAY

From: andrés ramírez <[email-masked]>
Date: Thu, 25 Aug 2022 14:29:06 +0000

Hi. Po.

>>>>> "Po" == Po Lu <[email-masked]> 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