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 10:38:27 +0300 Message-ID: <20170727073827.GA17695@protected.rcdrun.com> References: <8660eh3umw.fsf@protected.rcdrun.com> <837eyw7fma.fsf@gnu.org> <20170725174823.GD5480@protected.rcdrun.com> <83vamg5pu8.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: blaine.gmane.org 1501141150 1105 195.159.176.226 (27 Jul 2017 07:39:10 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 27 Jul 2017 07:39:10 +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 09:39:05 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 1dadNw-0008OQ-2l for geb-bug-gnu-emacs@m.gmane.org; Thu, 27 Jul 2017 09:39:04 +0200 Original-Received: from localhost ([::1]:41546 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dadO1-0002wQ-UW for geb-bug-gnu-emacs@m.gmane.org; Thu, 27 Jul 2017 03:39:09 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47213) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dadNw-0002vT-R5 for bug-gnu-emacs@gnu.org; Thu, 27 Jul 2017 03:39:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dadNu-00039E-6e for bug-gnu-emacs@gnu.org; Thu, 27 Jul 2017 03:39:04 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:55189) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dadNu-00038b-3J for bug-gnu-emacs@gnu.org; Thu, 27 Jul 2017 03:39:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dadNt-0000T5-Pm for bug-gnu-emacs@gnu.org; Thu, 27 Jul 2017 03:39:01 -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 07:39:01 +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.15011411351784 (code B ref 27816); Thu, 27 Jul 2017 07:39:01 +0000 Original-Received: (at 27816) by debbugs.gnu.org; 27 Jul 2017 07:38:55 +0000 Original-Received: from localhost ([127.0.0.1]:57866 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dadNm-0000Si-OR for submit@debbugs.gnu.org; Thu, 27 Jul 2017 03:38:54 -0400 Original-Received: from stw1.rcdrun.com ([217.170.207.13]:36561) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dadNl-0000SR-6d for 27816@debbugs.gnu.org; Thu, 27 Jul 2017 03:38:53 -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 00:38:47 -0700 id 000000000009267F.0000000059799887.00002D3B Original-Received: from localhost (localhost [127.0.0.1]) (uid 1001) by protected.rcdrun.com with local; Thu, 27 Jul 2017 10:38:27 +0300 id 00000000001475EC.0000000059799873.00004653 Content-Disposition: inline In-Reply-To: <83vamg5pu8.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:135042 Archived-At: On Tue, Jul 25, 2017 at 09:33:19PM +0300, Eli Zaretskii wrote: > > Date: Tue, 25 Jul 2017 20:48:24 +0300 > > From: Jean Louis > > Cc: Jean Louis , 27816@debbugs.gnu.org > > > > > The file etc/DEBUG describes how to start Emacs in the X synchronous > > > mode under a debugger (look for "X protocol errors"). Please invoke > > > Emacs as explained there, and then show the backtrace when the > > > breakpoint you set on the function x_error_quitter breaks. This will > > > tell us which code causes these errors, and hopefully provide enough > > > hints to identify the reason of this. > > > > > > Thanks. > > > > Thank you. As I must run Emacs as daemon, to run emacsclient, to > > start debugging, when I run it as daemon with the > > option (x-synchronize t) then I get this error: > > > > error: X windows are not in use or not initialized > > > > To ensure normal operation, you should investigate and remove the > > cause of the error in your initialization file. Start Emacs with > > the ‘--debug-init’ option to view a complete error backtrace. > > Starting Emacs daemon. > > (New file) > > > > Or should I evaluate it later simply? > > Yes, please evaluate it after you have created the first C frame. 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) 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. When I quit emacs, and screen, only then I can see backtrace and it shows me nothing special related to emacs, just three lines. Maybe you can help me, as I am doing something wrong, but I can replicate the bug. If I just start emacs in X Window, and not in screen, in console, under bash, without X Window, I do not get that bug, I tried repeating it but I did not get it. If I start it in console through screen, I get the bug. Jean