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

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

martin rudalics <rudalics@gmx.at> writes:

>> I don't get the Xaw3dComputeTopShadowRGB in my backtrace like Martin does:
[...]
>
> Maybe you should try calling ‘x-synchronize’ first.  Without that I can
> get all sorts of things like, for example,
>
> #0  x_error_quitter (display=0xe6dd60, event=0x7fffebd72bc0) at ../../src/xterm.c:9855
> #1  0x000000000054763f in x_error_handler (display=0xe6dd60, event=0x7fffebd72bc0) at ../../src/xterm.c:9828
> #2  0x00007ffa6360729a in _XError () from /usr/lib/x86_64-linux-gnu/libX11.so.6
> #3  0x00007ffa636045c1 in ?? () from /usr/lib/x86_64-linux-gnu/libX11.so.6
> #4  0x00007ffa63604605 in ?? () from /usr/lib/x86_64-linux-gnu/libX11.so.6
> #5  0x00007ffa63604e95 in _XEventsQueued () from /usr/lib/x86_64-linux-gnu/libX11.so.6
> #6  0x00007ffa635f65ad in XPending () from /usr/lib/x86_64-linux-gnu/libX11.so.6
> #7  0x0000000000545aa4 in XTread_socket (terminal=0x1e23a38, hold_quit=0x7fffebd72e20) at ../../src/xterm.c:9055
> #8  0x0000000000585ce8 in gobble_input () at ../../src/keyboard.c:6913
> #9  0x00000000005861ff in handle_async_input () at ../../src/keyboard.c:7150
> #10 0x000000000058621b in process_pending_signals () at ../../src/keyboard.c:7164
> #11 0x000000000058625a in unblock_input_to (level=0) at ../../src/keyboard.c:7179
> #12 0x000000000058627d in unblock_input () at ../../src/keyboard.c:7198
> #13 0x000000000053fdc6 in x_scroll_bar_create (w=0x156c7d0, top=37, left=1, width=16, height=612, horizontal=false) at ../../src/xterm.c:6575
> #14 0x00000000005405f4 in XTset_vertical_scroll_bar (w=0x156c7d0, portion=145, whole=145, position=0) at ../../src/xterm.c:6746
[...]


> But with ‘x-synchronize’ I reliably get the Xaw3dComputeTopShadowRGB
> bug.

Evaluating (x-synchronize t) in the first X frame doesn't seem to have
any effect for me.  My interpretation of the backtraces is that the
presence of XSync() indicates synchronous mode, and since yours lacks
that you are not actually in synchronous mode (I am somewhat out of my
depth here though, so perhaps this is nonsense).

>
> BTW could you try this with a motif build?  Here this gets me the backtrace
>
> #0  x_error_quitter (display=0x101b690, event=0x7fffaa9f2a60) at ../../src/xterm.c:9855
> #1  0x0000000000547477 in x_error_handler (display=0x101b690, event=0x7fffaa9f2a60) at ../../src/xterm.c:9828
> #2  0x00007f502555429a in _XError () from /usr/lib/x86_64-linux-gnu/libX11.so.6
> #3  0x00007f50255515c1 in ?? () from /usr/lib/x86_64-linux-gnu/libX11.so.6
> #4  0x00007f5025551605 in ?? () from /usr/lib/x86_64-linux-gnu/libX11.so.6
> #5  0x00007f50255521f8 in _XReply () from /usr/lib/x86_64-linux-gnu/libX11.so.6
> #6  0x00007f5025536e79 in XGetGeometry () from /usr/lib/x86_64-linux-gnu/libX11.so.6
> #7  0x00007f502638cd41 in size_cascade (cascadebtn=cascadebtn@entry=0x1058230) at CascadeB.c:1851
> #8  0x00007f502638d713 in Initialize (w_req=0x7fffaa9f2ee0, w_new=0x1058230, args=<optimized out>, num_args=<optimized out>) at CascadeB.c:2448
> #9  0x00007f5025e99490 in ?? () from /usr/lib/x86_64-linux-gnu/libXt.so.6
> #10 0x00007f5025e99e5f in ?? () from /usr/lib/x86_64-linux-gnu/libXt.so.6
> #11 0x00007f5025e9a2ab in _XtCreateWidget () from /usr/lib/x86_64-linux-gnu/libXt.so.6
> #12 0x00007f5025e9a5ce in XtCreateWidget () from /usr/lib/x86_64-linux-gnu/libXt.so.6
[...]

Attached are backtraces using lucid and motif.  The -x-commandline-synch
ones are where I used --eval '(setq x-command-line-resources
"emacs.synchronous: true")', the -x-synchronize-call are where I
evaluated (x-synchronize t) after creating the first X frame (and they
end up the same as the one where I did nothing, as I mentioned above).


[-- Attachment #2: tarball with backtraces --]
[-- Type: application/x-gtar-compressed, Size: 4960 bytes --]

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



> and the usual BadPixmap error.  So the bug behind all this is probably
> neither scroll bar nor menu related after all.  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 ...

With this patch I can't produce the badpixmap error here.

  parent reply	other threads:[~2017-08-06 13:33 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
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 [this message]
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=87vam04y97.fsf@users.sourceforge.net \
    --to=npostavs@users.sourceforge.net \
    --cc=27816@debbugs.gnu.org \
    --cc=bugs@gnu.support \
    --cc=rudalics@gmx.at \
    /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).