From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Jean Louis Newsgroups: gmane.emacs.bugs 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 Message-ID: <20170727193029.GH26109@protected.rcdrun.com> References: <8660eh3umw.fsf@protected.rcdrun.com> <837eyw7fma.fsf@gnu.org> <20170725174823.GD5480@protected.rcdrun.com> <83vamg5pu8.fsf@gnu.org> <20170727073827.GA17695@protected.rcdrun.com> <83vamd4x4n.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=_protected.rcdrun.com-26652-1501183829-0001-2" X-Trace: blaine.gmane.org 1501183885 6891 195.159.176.226 (27 Jul 2017 19:31:25 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 27 Jul 2017 19:31:25 +0000 (UTC) Cc: 27816@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Jul 27 21:31:21 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1daoV4-0000ud-Ta for geb-bug-gnu-emacs@m.gmane.org; Thu, 27 Jul 2017 21:31:11 +0200 Original-Received: from localhost ([::1]:44516 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1daoV8-0003V6-WF for geb-bug-gnu-emacs@m.gmane.org; Thu, 27 Jul 2017 15:31:15 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44123) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1daoV0-0003Up-Ve for bug-gnu-emacs@gnu.org; Thu, 27 Jul 2017 15:31:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1daoUw-0001Aj-OW for bug-gnu-emacs@gnu.org; Thu, 27 Jul 2017 15:31:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:56259) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1daoUw-0001AQ-La for bug-gnu-emacs@gnu.org; Thu, 27 Jul 2017 15:31:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1daoUw-0003tY-6y for bug-gnu-emacs@gnu.org; Thu, 27 Jul 2017 15:31:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Jean Louis Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 27 Jul 2017 19:31:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 27816 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 27816-submit@debbugs.gnu.org id=B27816.150118385314955 (code B ref 27816); Thu, 27 Jul 2017 19:31:02 +0000 Original-Received: (at 27816) by debbugs.gnu.org; 27 Jul 2017 19:30:53 +0000 Original-Received: from localhost ([127.0.0.1]:58936 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1daoUm-0003t9-Mr for submit@debbugs.gnu.org; Thu, 27 Jul 2017 15:30:53 -0400 Original-Received: from stw1.rcdrun.com ([217.170.207.13]:48080) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1daoUk-0003st-22 for 27816@debbugs.gnu.org; Thu, 27 Jul 2017 15:30:50 -0400 Original-Received: from protected.rcdrun.com (localhost [::1]) (AUTH: PLAIN securesender, TLS: TLSv1/SSLv3,256bits,AES256-SHA) by stw1.rcdrun.com with ESMTPSA; Thu, 27 Jul 2017 12:30:43 -0700 id 000000000009267F.00000000597A3F64.00003CE3 Original-Received: from localhost (localhost [127.0.0.1]) (uid 1001) by protected.rcdrun.com with local; Thu, 27 Jul 2017 22:30:29 +0300 id 00000000001475EA.00000000597A3F55.0000681C Content-Disposition: inline In-Reply-To: <83vamd4x4n.fsf@gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:135055 Archived-At: This is a MIME-formatted message. If you see this text it means that your E-mail software does not support MIME-formatted messages. --=_protected.rcdrun.com-26652-1501183829-0001-2 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline 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 > > 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. --=_protected.rcdrun.com-26652-1501183829-0001-2 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="screenlog.0" =0D (gdb) thread apply all bt=0D =0D Thread 2 (Thread 0x7fffe6f4b700 (LWP 26533)):=0D #0 0x00007ffff1c7dc7d in poll () from /lib/libc.so.6=0D #1 0x00007ffff471f0c4 in g_main_context_poll (priority=3D2147483647, n_fds= =3D1, fds=3D0x7fffe00008e0, =0D timeout=3D, context=3D0x15e8880) at gmain.c:4228=0D #2 g_main_context_iterate (context=3Dcontext@entry=3D0x15e8880, block=3Dbl= ock@entry=3D1, dispatch=3Ddispatch@entry=3D1, =0D self=3D) at gmain.c:3924=0D #3 0x00007ffff471f1cc in g_main_context_iteration (context=3D0x15e8880, ma= y_block=3Dmay_block@entry=3D1)=0D at gmain.c:3990=0D #4 0x00007ffff471f209 in glib_worker_main (data=3D) at gmai= n.c:5783=0D #5 0x00007ffff47460c5 in g_thread_proxy (data=3D0x15e9400) at gthread.c:78= 4=0D #6 0x00007ffff25683e4 in start_thread () from /lib/libpthread.so.0=0D #7 0x00007ffff1c86cfd in clone () from /lib/libc.so.6=0D =0D Thread 1 (Thread 0x7ffff7fb99c0 (LWP 26529)):=0D #0 x_error_quitter (display=3Ddisplay@entry=3D0x1d2ec30, event=3D0x7ffffff= f7c00, event=3D0x7fffffff7c00)=0D at xterm.c:9849=0D #1 0x00000000004bf705 in x_error_handler (display=3D0x1d2ec30, event=3D0x7= fffffff7c00) at xterm.c:9828=0D #2 0x00007ffff62a8405 in _XError (dpy=3Ddpy@entry=3D0x1d2ec30, rep=3Drep@e= ntry=3D0x1c81360) at XlibInt.c:1429=0D #3 0x00007ffff62a5407 in handle_error (dpy=3D0x1d2ec30, err=3D0x1c81360, i= n_XReply=3D) at xcb_io.c:213=0D #4 0x00007ffff62a54b5 in handle_response (dpy=3D0x1d2ec30, response=3D0x1c= 81360, in_XReply=3D)=0D at xcb_io.c:325=0D #5 0x00007ffff62a63c8 in _XReply (dpy=3Ddpy@entry=3D0x1d2ec30, rep=3Drep@e= ntry=3D0x7fffffff7dc0, extra=3Dextra@entry=3D0, =0D discard=3Ddiscard@entry=3D0) at xcb_io.c:627=0D #6 0x00007ffff629c4cf in XQueryColor (dpy=3D0x1d2ec30, cmap=3D106, def=3Dd= ef@entry=3D0x7fffffff7e20) at QuColor.c:49=0D #7 0x00007ffff7088801 in Xaw3dComputeTopShadowRGB (new=3D0x1dd4be0, xcol_o= ut=3D0x7fffffff7e50) at ThreeD.c:331=0D #8 0x00007ffff7088907 in AllocTopShadowPixel (new=3Dnew@entry=3D0x1dd4be0)= at ThreeD.c:351=0D #9 0x00007ffff7088df8 in Initialize (request=3D, new=3D0x1d= d4be0, args=3D, =0D num_args=3D) at ThreeD.c:491=0D #10 0x00007ffff6beecfc in CallInitialize (class=3D0x7ffff72ac380 , =0D req_widget=3Dreq_widget@entry=3D0x7fffffff8020, new_widget=3Dnew_widget= @entry=3D0x1dd4be0, =0D ---Type to continue, or q to quit---=0D args=3Dargs@entry=3D0x7fffffff84a0, num_args=3D3) at Create.c:226=0D #11 0x00007ffff6beecc6 in CallInitialize (class=3D0x7ffff72a9ae0 , =0D req_widget=3Dreq_widget@entry=3D0x7fffffff8020, new_widget=3Dnew_widget= @entry=3D0x1dd4be0, =0D args=3Dargs@entry=3D0x7fffffff84a0, num_args=3Dnum_args@entry=3D3) at C= reate.c:221=0D #12 0x00007ffff6bef5ef in xtCreate (name=3Dname@entry=3D0x5eab7e "verticalS= crollBar", class=3Dclass@entry=3D0x0, =0D widget_class=3Dwidget_class@entry=3D0x7ffff72a9ae0 ,= parent=3Dparent@entry=3D0x1d859c0, =0D default_screen=3D0x1c7b080, args=3Dargs@entry=3D0x7fffffff84a0, num_arg= s=3D3, typed_args=3D0x0, num_typed_args=3D0, =0D parent_constraint_class=3D0x0, post_proc=3D0x7ffff6beed40 ) at Create.c:416=0D #13 0x00007ffff6bef9f4 in _XtCreateWidget (name=3Dname@entry=3D0x5eab7e "ve= rticalScrollBar", =0D widget_class=3Dwidget_class@entry=3D0x7ffff72a9ae0 ,= parent=3Dparent@entry=3D0x1d859c0, =0D args=3Dargs@entry=3D0x7fffffff84a0, num_args=3Dnum_args@entry=3D3, type= d_args=3Dtyped_args@entry=3D0x0, =0D num_typed_args=3D0) at Create.c:570=0D #14 0x00007ffff6befccd in XtCreateWidget (name=3Dname@entry=3D0x5eab7e "ver= ticalScrollBar", =0D widget_class=3D0x7ffff72a9ae0 , parent=3D0x1d859c0, = args=3Dargs@entry=3D0x7fffffff84a0, =0D num_args=3D3) at Create.c:589=0D #15 0x00000000004c062b in x_create_toolkit_scroll_bar (f=3D0x1dd88f0, bar= =3D0x2064f58) at xterm.c:6005=0D #16 0x00000000004c0915 in x_scroll_bar_create (w=3Dw@entry=3D0x1dd8cf0, top= =3Dtop@entry=3D677, left=3Dleft@entry=3D1, =0D width=3Dwidth@entry=3D16, height=3D26, horizontal=3Dhorizontal@entry=3D= false) at xterm.c:6492=0D #17 0x00000000004c160d in XTset_vertical_scroll_bar (w=3D0x1dd8cf0, portion= =3D0, whole=3D0, position=3D0)=0D at xterm.c:6746=0D #18 0x0000000000460fb8 in redisplay_window (window=3D..., just_this_one_p= =3Djust_this_one_p@entry=3Dfalse)=0D at xdisp.c:17506=0D #19 0x0000000000464f0b in redisplay_window_0 (window=3D..., window@entry=3D= =2E..) at xdisp.c:14778=0D #20 0x0000000000554296 in internal_condition_case_1 (bfun=3Dbfun@entry=3D0x= 464ee0 , arg=3D..., =0D handlers=3D..., hfun=3Dhfun@entry=3D0x429c20 ) = at eval.c:1343=0D #21 0x000000000042f01f in redisplay_windows (window=3D...) at xdisp.c:14758= =0D #22 0x00000000004526b5 in redisplay_internal () at xdisp.c:14247=0D #23 0x0000000000454340 in redisplay_preserve_echo_area (from_where=3Dfrom_w= here@entry=3D12) at xdisp.c:14577=0D #24 0x000000000059876f in wait_reading_process_output (time_limit=3Dtime_li= mit@entry=3D20, nsecs=3Dnsecs@entry=3D0, =0D read_kbd=3Dread_kbd@entry=3D-1, do_display=3Ddo_display@entry=3Dtrue, w= ait_for_cell=3D..., wait_for_cell@entry=3D..., =0D wait_proc=3Dwait_proc@entry=3D0x0, just_wait_proc=3D0) at process.c:562= 0=0D ---Type to continue, or q to quit---=0D #25 0x000000000041eb82 in sit_for (timeout=3D..., reading=3Dreading@entry= =3Dtrue, =0D display_option=3Ddisplay_option@entry=3D1) at dispnew.c:5763=0D #26 0x00000000004ecf44 in read_char (commandflag=3Dcommandflag@entry=3D1, m= ap=3D..., map@entry=3D..., prev_event=3D..., =0D used_mouse_menu=3Dused_mouse_menu@entry=3D0x7fffffffcccb, end_time=3Den= d_time@entry=3D0x0) at keyboard.c:2724=0D #27 0x00000000004edd74 in read_key_sequence (keybuf=3Dkeybuf@entry=3D0x7fff= ffffcdb0, prompt=3D..., prompt@entry=3D..., =0D dont_downcase_last=3Ddont_downcase_last@entry=3Dfalse, =0D can_return_switch_frame=3Dcan_return_switch_frame@entry=3Dtrue, =0D fix_current_buffer=3Dfix_current_buffer@entry=3Dtrue, prevent_redisplay= =3Dprevent_redisplay@entry=3Dfalse, =0D bufsize=3D30) at keyboard.c:9151=0D #28 0x00000000004ef836 in command_loop_1 () at keyboard.c:1372=0D #29 0x00000000005541fe in internal_condition_case (bfun=3Dbfun@entry=3D0x4e= f630 , handlers=3D..., =0D handlers@entry=3D..., hfun=3Dhfun@entry=3D0x4e6250 ) at eval= =2Ec:1319=0D #30 0x00000000004e169c in command_loop_2 (ignore=3D..., ignore@entry=3D...)= at keyboard.c:1114=0D #31 0x000000000055419c in internal_catch (tag=3D..., tag@entry=3D..., func= =3Dfunc@entry=3D0x4e1680 , =0D arg=3D..., arg@entry=3D...) at eval.c:1084=0D #32 0x00000000004e1659 in command_loop () at keyboard.c:1093=0D #33 0x00000000004e5e26 in recursive_edit_1 () at keyboard.c:699=0D #34 0x00000000004e6173 in Frecursive_edit () at keyboard.c:770=0D #35 0x0000000000414f2b in main (argc=3D5, argv=3D0x7fffffffd128) at emacs.c= :1706=0D (gdb) quit=0D A debugging session is active.=0D =0D Inferior 1 [process 26529] will be killed.=0D =0D Quit anyway? (y or n) y=0D =1B[32m[~]=1B[0m=0D=0D =1B[1;36madmin=1B[1;33m-> =1B[0mgdb emacs --=_protected.rcdrun.com-26652-1501183829-0001-2--