unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Jean Louis <bugs@gnu.support>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 27816@debbugs.gnu.org
Subject: bug#27816: 26.0.50; X protocol error: BadPixmap (invalid Pixmap parameter) on protocol request 55
Date: Thu, 27 Jul 2017 22:30:29 +0300	[thread overview]
Message-ID: <20170727193029.GH26109@protected.rcdrun.com> (raw)
In-Reply-To: <83vamd4x4n.fsf@gnu.org>

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

Hello Eli,

Thank you. I had to set first the breakpoint, as GDB prompt would not come back if I run emacs.

OK, here it is attached.

On Thu, Jul 27, 2017 at 08:18:00PM +0300, Eli Zaretskii wrote:
> > Date: Thu, 27 Jul 2017 10:38:27 +0300
> > From: Jean Louis <bugs@gnu.support>
> > Cc: 27816@debbugs.gnu.org
> > 
> > I am starting Emacs through screen, without X windows. So I started as:
> > 
> > gdb screen
> > 
> > then I do:
> > 
> > breakpoint x_error_quitter
> > 
> > It asks me for future loaded libraries, I said y.
> > 
> > Then I "run" and get screen and bash.
> > 
> > Then I start emacs as 
> > 
> > emacs --user admin --chdir /home/data1/protected (that is my home dir)
> 
> No, I think this is a mistake.  You should first start screen, then
> start GDB from that like this:
> 
>   gdb emacs
> 
> Then when GDB shows its prompt, type
> 
>   (gdb) break x_error_quitter
>   (gdb) run  --user admin --chdir /home/data1/protected
> 
> (The "(gdb)" part is the GDB prompt, you don't need to type it.)
> And then continue as you usually would:
> 
> > And then I connect to emacs as emacsclient
> > 
> > and evaluate (x-synchronize t)
> > 
> > and then if I connect each 4th or 5th time, not clearly known why,
> > then I get that bug, and X frame of new emacsclient is not appearing.
> > 
> > But back in debugger I do not see much, emacs as server is still
> > running.
> 
> If you start Emacs as above, you should see GDB take control when the
> problem happens.  Then type
> 
>   (gdb) thread apply all bt
> 
> and post here everything it displays.

[-- Attachment #2: screenlog.0 --]
[-- Type: text/plain, Size: 6805 bytes --]


(gdb) thread apply all bt

Thread 2 (Thread 0x7fffe6f4b700 (LWP 26533)):
#0  0x00007ffff1c7dc7d in poll () from /lib/libc.so.6
#1  0x00007ffff471f0c4 in g_main_context_poll (priority=2147483647, n_fds=1, fds=0x7fffe00008e0, 
    timeout=<optimized out>, context=0x15e8880) at gmain.c:4228
#2  g_main_context_iterate (context=context@entry=0x15e8880, block=block@entry=1, dispatch=dispatch@entry=1, 
    self=<optimized out>) at gmain.c:3924
#3  0x00007ffff471f1cc in g_main_context_iteration (context=0x15e8880, may_block=may_block@entry=1)
    at gmain.c:3990
#4  0x00007ffff471f209 in glib_worker_main (data=<optimized out>) at gmain.c:5783
#5  0x00007ffff47460c5 in g_thread_proxy (data=0x15e9400) at gthread.c:784
#6  0x00007ffff25683e4 in start_thread () from /lib/libpthread.so.0
#7  0x00007ffff1c86cfd in clone () from /lib/libc.so.6

Thread 1 (Thread 0x7ffff7fb99c0 (LWP 26529)):
#0  x_error_quitter (display=display@entry=0x1d2ec30, event=0x7fffffff7c00, event=0x7fffffff7c00)
    at xterm.c:9849
#1  0x00000000004bf705 in x_error_handler (display=0x1d2ec30, event=0x7fffffff7c00) at xterm.c:9828
#2  0x00007ffff62a8405 in _XError (dpy=dpy@entry=0x1d2ec30, rep=rep@entry=0x1c81360) at XlibInt.c:1429
#3  0x00007ffff62a5407 in handle_error (dpy=0x1d2ec30, err=0x1c81360, in_XReply=<optimized out>) at xcb_io.c:213
#4  0x00007ffff62a54b5 in handle_response (dpy=0x1d2ec30, response=0x1c81360, in_XReply=<optimized out>)
    at xcb_io.c:325
#5  0x00007ffff62a63c8 in _XReply (dpy=dpy@entry=0x1d2ec30, rep=rep@entry=0x7fffffff7dc0, extra=extra@entry=0, 
    discard=discard@entry=0) at xcb_io.c:627
#6  0x00007ffff629c4cf in XQueryColor (dpy=0x1d2ec30, cmap=106, def=def@entry=0x7fffffff7e20) at QuColor.c:49
#7  0x00007ffff7088801 in Xaw3dComputeTopShadowRGB (new=0x1dd4be0, xcol_out=0x7fffffff7e50) at ThreeD.c:331
#8  0x00007ffff7088907 in AllocTopShadowPixel (new=new@entry=0x1dd4be0) at ThreeD.c:351
#9  0x00007ffff7088df8 in Initialize (request=<optimized out>, new=0x1dd4be0, args=<optimized out>, 
    num_args=<optimized out>) at ThreeD.c:491
#10 0x00007ffff6beecfc in CallInitialize (class=0x7ffff72ac380 <threeDClassRec>, 
    req_widget=req_widget@entry=0x7fffffff8020, new_widget=new_widget@entry=0x1dd4be0, 
---Type <return> to continue, or q <return> to quit---
    args=args@entry=0x7fffffff84a0, num_args=3) at Create.c:226
#11 0x00007ffff6beecc6 in CallInitialize (class=0x7ffff72a9ae0 <scrollbarClassRec>, 
    req_widget=req_widget@entry=0x7fffffff8020, new_widget=new_widget@entry=0x1dd4be0, 
    args=args@entry=0x7fffffff84a0, num_args=num_args@entry=3) at Create.c:221
#12 0x00007ffff6bef5ef in xtCreate (name=name@entry=0x5eab7e "verticalScrollBar", class=class@entry=0x0, 
    widget_class=widget_class@entry=0x7ffff72a9ae0 <scrollbarClassRec>, parent=parent@entry=0x1d859c0, 
    default_screen=0x1c7b080, args=args@entry=0x7fffffff84a0, num_args=3, typed_args=0x0, num_typed_args=0, 
    parent_constraint_class=0x0, post_proc=0x7ffff6beed40 <widgetPostProc>) at Create.c:416
#13 0x00007ffff6bef9f4 in _XtCreateWidget (name=name@entry=0x5eab7e "verticalScrollBar", 
    widget_class=widget_class@entry=0x7ffff72a9ae0 <scrollbarClassRec>, parent=parent@entry=0x1d859c0, 
    args=args@entry=0x7fffffff84a0, num_args=num_args@entry=3, typed_args=typed_args@entry=0x0, 
    num_typed_args=0) at Create.c:570
#14 0x00007ffff6befccd in XtCreateWidget (name=name@entry=0x5eab7e "verticalScrollBar", 
    widget_class=0x7ffff72a9ae0 <scrollbarClassRec>, parent=0x1d859c0, args=args@entry=0x7fffffff84a0, 
    num_args=3) at Create.c:589
#15 0x00000000004c062b in x_create_toolkit_scroll_bar (f=0x1dd88f0, bar=0x2064f58) at xterm.c:6005
#16 0x00000000004c0915 in x_scroll_bar_create (w=w@entry=0x1dd8cf0, top=top@entry=677, left=left@entry=1, 
    width=width@entry=16, height=26, horizontal=horizontal@entry=false) at xterm.c:6492
#17 0x00000000004c160d in XTset_vertical_scroll_bar (w=0x1dd8cf0, portion=0, whole=0, position=0)
    at xterm.c:6746
#18 0x0000000000460fb8 in redisplay_window (window=..., just_this_one_p=just_this_one_p@entry=false)
    at xdisp.c:17506
#19 0x0000000000464f0b in redisplay_window_0 (window=..., window@entry=...) at xdisp.c:14778
#20 0x0000000000554296 in internal_condition_case_1 (bfun=bfun@entry=0x464ee0 <redisplay_window_0>, arg=..., 
    handlers=..., hfun=hfun@entry=0x429c20 <redisplay_window_error>) at eval.c:1343
#21 0x000000000042f01f in redisplay_windows (window=...) at xdisp.c:14758
#22 0x00000000004526b5 in redisplay_internal () at xdisp.c:14247
#23 0x0000000000454340 in redisplay_preserve_echo_area (from_where=from_where@entry=12) at xdisp.c:14577
#24 0x000000000059876f in wait_reading_process_output (time_limit=time_limit@entry=20, nsecs=nsecs@entry=0, 
    read_kbd=read_kbd@entry=-1, do_display=do_display@entry=true, wait_for_cell=..., wait_for_cell@entry=..., 
    wait_proc=wait_proc@entry=0x0, just_wait_proc=0) at process.c:5620
---Type <return> to continue, or q <return> to quit---
#25 0x000000000041eb82 in sit_for (timeout=..., reading=reading@entry=true, 
    display_option=display_option@entry=1) at dispnew.c:5763
#26 0x00000000004ecf44 in read_char (commandflag=commandflag@entry=1, map=..., map@entry=..., prev_event=..., 
    used_mouse_menu=used_mouse_menu@entry=0x7fffffffcccb, end_time=end_time@entry=0x0) at keyboard.c:2724
#27 0x00000000004edd74 in read_key_sequence (keybuf=keybuf@entry=0x7fffffffcdb0, prompt=..., prompt@entry=..., 
    dont_downcase_last=dont_downcase_last@entry=false, 
    can_return_switch_frame=can_return_switch_frame@entry=true, 
    fix_current_buffer=fix_current_buffer@entry=true, prevent_redisplay=prevent_redisplay@entry=false, 
    bufsize=30) at keyboard.c:9151
#28 0x00000000004ef836 in command_loop_1 () at keyboard.c:1372
#29 0x00000000005541fe in internal_condition_case (bfun=bfun@entry=0x4ef630 <command_loop_1>, handlers=..., 
    handlers@entry=..., hfun=hfun@entry=0x4e6250 <cmd_error>) at eval.c:1319
#30 0x00000000004e169c in command_loop_2 (ignore=..., ignore@entry=...) at keyboard.c:1114
#31 0x000000000055419c in internal_catch (tag=..., tag@entry=..., func=func@entry=0x4e1680 <command_loop_2>, 
    arg=..., arg@entry=...) at eval.c:1084
#32 0x00000000004e1659 in command_loop () at keyboard.c:1093
#33 0x00000000004e5e26 in recursive_edit_1 () at keyboard.c:699
#34 0x00000000004e6173 in Frecursive_edit () at keyboard.c:770
#35 0x0000000000414f2b in main (argc=5, argv=0x7fffffffd128) at emacs.c:1706
(gdb) quit
A debugging session is active.

	Inferior 1 [process 26529] will be killed.

Quit anyway? (y or n) y
^[[32m[~]^[[0m
^[[1;36madmin^[[1;33m-> ^[[0mgdb emacs

  parent reply	other threads:[~2017-07-27 19:30 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 [this message]
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
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=20170727193029.GH26109@protected.rcdrun.com \
    --to=bugs@gnu.support \
    --cc=27816@debbugs.gnu.org \
    --cc=eliz@gnu.org \
    /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).