unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: martin rudalics <rudalics@gmx.at>
To: npostavs@users.sourceforge.net, Jean Louis <bugs@gnu.support>
Cc: 27816@debbugs.gnu.org
Subject: bug#27816: 26.0.50; X protocol error: BadPixmap (invalid Pixmap parameter) on protocol request 55
Date: Sun, 06 Aug 2017 11:34:35 +0200	[thread overview]
Message-ID: <5986E2AB.5040101@gmx.at> (raw)
In-Reply-To: <5986DDC3.9050803@gmx.at>

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

 > I conjecture that
 > deleting the last GUI frame from a TTY started server messes up
 > something we do not initialize properly when invoking another GUI client
 > from it.  This conjecture is supported by the fact that when I leave a
 > client frame open and fire up a new terminal, I can invoke the client
 > from the new terminal as often as I want without any problems ...

And I confirmed my conjecture here by using the attached patch.  Please
try it.  I now start thinking that the GTK bug is not a GTK bug after
all ...

martin

[-- Attachment #2: frame.c.diff --]
[-- Type: text/plain, Size: 785 bytes --]

diff --git a/src/frame.c b/src/frame.c
index 1e5e4bb..f72b8a6 100644
--- a/src/frame.c
+++ b/src/frame.c
@@ -2022,13 +2022,13 @@ of them (the selected terminal frame) is actually displayed.
     /* If needed, delete the terminal that this frame was on.
        (This must be done after the frame is killed.)  */
     terminal->reference_count--;
-#ifdef USE_GTK
+/** #ifdef USE_GTK **/
     /* FIXME: Deleting the terminal crashes emacs because of a GTK
        bug.
        http://lists.gnu.org/archive/html/emacs-devel/2011-10/msg00363.html */
     if (terminal->reference_count == 0 && terminal->type == output_x_window)
       terminal->reference_count = 1;
-#endif /* USE_GTK */
+/** #endif /\* USE_GTK *\/ **/
     if (terminal->reference_count == 0)
       {
 	Lisp_Object tmp;

  reply	other threads:[~2017-08-06  9:34 UTC|newest]

Thread overview: 65+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-07-25  6:20 bug#27816: 26.0.50; X protocol error: BadPixmap (invalid Pixmap parameter) on protocol request 55 Jean Louis
2017-07-25 14:31 ` Eli Zaretskii
2017-07-25 17:48   ` Jean Louis
2017-07-25 18:33     ` Eli Zaretskii
2017-07-26  5:25       ` Jean Louis
2017-07-26 14:46         ` Eli Zaretskii
2017-07-27  7:09           ` Jean Louis
2017-07-27  7:38       ` Jean Louis
2017-07-27 17:18         ` Eli Zaretskii
2017-07-27 19:25           ` Jean Louis
2017-07-27 19:31             ` Eli Zaretskii
2017-07-27 20:31               ` Jean Louis
2017-07-27 19:30           ` Jean Louis
2017-07-28  7:09             ` Eli Zaretskii
2017-07-28  8:28               ` Jean Louis
2017-07-28  8:42                 ` Eli Zaretskii
2017-07-28  8:47                 ` Eli Zaretskii
2017-07-28 21:23               ` Jean Louis
2017-07-28 23:17                 ` Jean Louis
2017-07-28 23:31                 ` Jean Louis
2017-07-29  6:29                   ` Eli Zaretskii
2017-07-29  7:31                     ` Jean Louis
2017-07-29  7:41                     ` Jean Louis
2017-07-29  7:46                     ` Jean Louis
2017-08-02 16:12                     ` Jean Louis
2017-08-02 18:51                       ` Eli Zaretskii
2017-08-02 19:31                         ` Jean Louis
2017-08-03  3:25                           ` Eli Zaretskii
2017-08-03  4:59                             ` Jean Louis
2017-08-03 16:09                               ` Eli Zaretskii
2017-08-03  9:04                             ` martin rudalics
2017-08-03 16:25                               ` Eli Zaretskii
2017-08-03 16:44                                 ` Glenn Morris
2017-08-03 17:56                                 ` martin rudalics
2017-08-03 18:35                                   ` Eli Zaretskii
2017-08-04  8:54                                     ` martin rudalics
2017-08-04  9:51                                       ` Eli Zaretskii
2017-08-04  8:54                                 ` martin rudalics
2017-08-04  9:50                                   ` Eli Zaretskii
2017-08-05 12:46                                     ` martin rudalics
2017-08-05 12:56                                       ` Eli Zaretskii
2017-08-06  9:13                                         ` martin rudalics
2017-08-05 17:56                                       ` Jean Louis
2017-08-05 18:43                                         ` npostavs
2017-08-05 20:12                                           ` npostavs
2017-08-06  9:13                                             ` martin rudalics
2017-08-06  9:34                                               ` martin rudalics [this message]
2017-08-06 16:51                                                 ` Eli Zaretskii
2017-09-01 22:34                                                   ` Jean Louis
2017-09-02  6:30                                                     ` martin rudalics
2017-09-02  7:06                                                       ` Jean Louis
2017-09-03 10:13                                                         ` martin rudalics
2018-07-16 22:22                                                           ` Noam Postavsky
2017-09-03 10:14                                                   ` martin rudalics
2017-08-06 13:33                                               ` npostavs
2017-08-06  9:12                                           ` martin rudalics
2017-08-30  8:31                                           ` martin rudalics
2017-08-30 10:52                                             ` npostavs
2017-09-03 10:14                                           ` martin rudalics
2017-09-03 15:47                                             ` Noam Postavsky
2017-09-03 17:30                                               ` martin rudalics
2017-08-06  9:12                                         ` martin rudalics
2017-08-02 22:04                         ` Jean Louis
2017-08-02 22:47                         ` Jean Louis
2017-08-02 23:33                         ` Jean Louis

Reply instructions:

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

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

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=5986E2AB.5040101@gmx.at \
    --to=rudalics@gmx.at \
    --cc=27816@debbugs.gnu.org \
    --cc=bugs@gnu.support \
    --cc=npostavs@users.sourceforge.net \
    /path/to/YOUR_REPLY

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

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