From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Peter Dyballa Newsgroups: gmane.emacs.bugs Subject: bug#7949: 24.0.50; GNU Emacs with Xaw3d does not launch as X client Date: Tue, 1 Feb 2011 18:23:27 +0100 Message-ID: <2D76A521-5A4F-4E2F-9354-39E5E394E8C7@Freenet.DE> References: <6C0C7E46-03D6-4C82-A17F-F9FCA44BC260@Freenet.DE> <4D473297.8030706@swipnet.se> <4D47B453.3010408@swipnet.se> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v936) Content-Type: text/plain; charset=WINDOWS-1252; format=flowed; delsp=yes Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1296604861 26839 80.91.229.12 (2 Feb 2011 00:01:01 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 2 Feb 2011 00:01:01 +0000 (UTC) Cc: 7949@debbugs.gnu.org To: Jan =?UTF-8?Q?Dj=C3=A4rv?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Feb 02 01:00:56 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PkQ9X-0005Qk-JX for geb-bug-gnu-emacs@m.gmane.org; Wed, 02 Feb 2011 01:00:56 +0100 Original-Received: from localhost ([127.0.0.1]:50698 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PkPy7-0001h8-OC for geb-bug-gnu-emacs@m.gmane.org; Tue, 01 Feb 2011 18:49:07 -0500 Original-Received: from [140.186.70.92] (port=54527 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PkKD0-0001Mm-LJ for bug-gnu-emacs@gnu.org; Tue, 01 Feb 2011 12:40:10 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PkK8i-0001Gf-Mu for bug-gnu-emacs@gnu.org; Tue, 01 Feb 2011 12:35:41 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:59968) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PkK8i-0001GZ-DH for bug-gnu-emacs@gnu.org; Tue, 01 Feb 2011 12:35:40 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1PkJpi-0002dk-9T; Tue, 01 Feb 2011 12:16:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Peter Dyballa Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 01 Feb 2011 17:16:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 7949 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 7949-submit@debbugs.gnu.org id=B7949.129658051010089 (code B ref 7949); Tue, 01 Feb 2011 17:16:02 +0000 Original-Received: (at 7949) by debbugs.gnu.org; 1 Feb 2011 17:15:10 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PkJos-0002cg-2c for submit@debbugs.gnu.org; Tue, 01 Feb 2011 12:15:10 -0500 Original-Received: from mout1.freenet.de ([195.4.92.91]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PkJop-0002cD-R8 for 7949@debbugs.gnu.org; Tue, 01 Feb 2011 12:15:08 -0500 Original-Received: from [195.4.92.27] (helo=17.mx.freenet.de) by mout1.freenet.de with esmtpa (ID peter_dyballa@freenet.de) (port 25) (Exim 4.72 #3) id 1PkJww-0005cm-Ez; Tue, 01 Feb 2011 18:23:30 +0100 Original-Received: from p5b23e8dc.dip.t-dialin.net ([91.35.232.220]:53554 helo=[192.168.1.2]) by 17.mx.freenet.de with esmtpsa (ID peter_dyballa@freenet.de) (TLSv1:AES128-SHA:128) (port 587) (Exim 4.72 #3) id 1PkJwv-0007hT-Pc; Tue, 01 Feb 2011 18:23:30 +0100 In-Reply-To: <4D47B453.3010408@swipnet.se> X-Mailer: Apple Mail (2.936) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Tue, 01 Feb 2011 12:16:02 -0500 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.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: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:43829 Archived-At: Am 01.02.2011 um 08:20 schrieb Jan Dj=E4rv: > % gdb emacs > (gdb) b x_connection_closed > (gdb) r -xrm '*synchronous: true' > // error occurs > (gdb) p error_message > (gdb) bt I did from inside GNU Emacs, with gud-gdb. Here is the contents of the =20= *gud-emacs* buffer (looks pretty good): Current directory is .../emacs-24.0.50/src/ GNU gdb 6.3.50-20050815 (Apple version gdb-967) (Tue Jul 14 02:15:14 =20 UTC 2009) Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and =20 you are welcome to change it and/or distribute copies of it under certain =20 conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for =20 details. This GDB was configured as "powerpc-apple-darwin"...Reading symbols =20 for shared libraries ........................... done DISPLAY =3D :0 TERM =3D dumb Breakpoint 1 at 0x7a58bc0 Breakpoint 2 at 0x1667ec: file sysdep.c, line 838. (gdb) b x_connection_closed Breakpoint 3 at 0x1052e4: file xterm.c, line 7688. (gdb) r -xrm '*synchronous: true' Starting program: .../emacs-24.0.50/src/emacs -xrm '*synchronous: true' Reading symbols for shared libraries +++++++++++++++++++++++++=20 +=20 = ..........................................................................= .....................warning=20 : Could not find object file [for some bzr related things] .. done Breakpoint 1 at 0x9134abc0 Breakpoint 3, x_connection_closed (dpy=3D0x3034e00, =20 error_message=3D0xbfffb948 "X protocol error: BadValue (integer =20 parameter out of range for operation) on protocol request 45") at =20 xterm.c:433 (gdb) p error_message $1 =3D 0xbfffb948 "X protocol error: BadValue (integer parameter out of =20= range for operation) on protocol request 45" (gdb) bt #0 x_connection_closed (dpy=3D0x3034e00, error_message=3D0xbfffb948 "X =20= protocol error: BadValue (integer parameter out of range for =20 operation) on protocol request 45") at xterm.c:433 #1 0x00105770 in x_error_quitter (display=3D0x3034e00, =20 error=3D0xbfffb948) at xterm.c:7862 #2 0x001057e4 in x_error_handler (display=3D, error=3D) at xterm.c:7832 #3 0x006d8b38 in _XError () #4 0x006d52f8 in handle_error () #5 0x006d55e4 in handle_response () #6 0x006d60c0 in _XReply () #7 0x006b2b74 in _XQueryFont () #8 0x006b3dd8 in XLoadQueryFont () #9 0x0056692c in XtCvtStringToFontStruct () #10 0x00563958 in CallConverter () #11 0x00563f2c in _XtConvert () #12 0x00582a60 in GetResources () #13 0x00583124 in _XtGetResources () #14 0x00569b14 in xtCreate () #15 0x0056a1cc in _XtCreateWidget () #16 0x0056a288 in XtCreateWidget () #17 0x00272194 in xlw_create_menubar (instance=3D0x187fe00) at lwlib-=20 Xlw.c:151 #18 0x00270568 in allocate_widget_instance [inlined] () at .../=20 emacs-24.0.50/lwlib/lwlib.c:814 #19 lw_make_widget (id=3D, parent=3D0x1856710, pop_up_p=3D0 '\0') at .../=20 emacs-24.0.50/lwlib/lwlib.c:858 #20 0x000772e0 in set_frame_menubar (f=3D0x184af60, first_time=3D, deep_p=3D1) at xmenu.c:=20= 1213 #21 0x00112d54 in Fx_create_frame (parms=3D23147686) at xfns.c:3415 #22 0x001e1ae4 in Ffuncall (nargs=3D, args=3D) at eval.c:2842 #23 0x00233614 in Fbyte_code (bytestr=3D, vector=3D, maxdepth=3D) at bytecode.c:676 #24 0x001e1274 in funcall_lambda (fun=3D2961272, nargs=3D2307640, =20 arg_vector=3D0x431808) at eval.c:3028 #25 0x001e172c in Ffuncall (nargs=3D4397064, args=3D) at eval.c:2902 #26 0x00233614 in Fbyte_code (bytestr=3D, vector=3D, maxdepth=3D) at bytecode.c:676 #27 0x001e1274 in funcall_lambda (fun=3D3298960, nargs=3D2307640, =20 arg_vector=3D0x431808) at eval.c:3028 #28 0x001e172c in Ffuncall (nargs=3D4397064, args=3D) at eval.c:2902 #29 0x00233614 in Fbyte_code (bytestr=3D, vector=3D, maxdepth=3D) at bytecode.c:676 #30 0x001e1274 in funcall_lambda (fun=3D3296296, nargs=3D2307640, =20 arg_vector=3D0x431808) at eval.c:3028 #31 0x001e172c in Ffuncall (nargs=3D4397064, args=3D) at eval.c:2902 #32 0x00233614 in Fbyte_code (bytestr=3D, vector=3D, maxdepth=3D) at bytecode.c:676 #33 0x001e1274 in funcall_lambda (fun=3D2998368, nargs=3D2307640, =20 arg_vector=3D0x431808) at eval.c:3028 #34 0x001e172c in Ffuncall (nargs=3D4397064, args=3D) at eval.c:2902 #35 0x00233614 in Fbyte_code (bytestr=3D, vector=3D, maxdepth=3D) at bytecode.c:676 #36 0x001e1274 in funcall_lambda (fun=3D2995792, nargs=3D2307640, =20 arg_vector=3D0x431808) at eval.c:3028 #37 0x001e39e4 in apply_lambda (fun=3D4659208, args=3D, eval_flag=3D1) at eval.c:2954 #38 0x001e04ec in Feval (form=3D) at eval.c:2314 #39 0x001df9ec in internal_condition_case (bfun=3D0x1435e0 =20 , handlers=3D41977714, hfun=3D0x147910 ) at = eval.c:=20 1408 #40 0x001458cc in top_level_1 (ignore=3D) at keyboard.c:1146 #41 0x001dfb50 in internal_catch (tag=3D, func=3D0x145870 , arg=3D41949218) at = =20 eval.c:1152 #42 0x00147dd0 in recursive_edit_1 () at keyboard.c:1101 #43 0x00148014 in Frecursive_edit () at keyboard.c:793 #44 0x0013e430 in main (argc=3D3, argv=3D0xbffff7bc) at emacs.c:1682 Lisp Backtrace: "x-create-frame" (0xbfffe214) "x-create-frame-with-faces" (0xbfffe474) "make-frame" (0xbfffe6d4) "frame-initialize" (0xbfffe934) "command-line" (0xbfffeb94) "normal-top-level" (0xbfffed40) (gdb) The program is running. Exit anyway? (y or n) y Debugger finished Line #433 is the for statement in this function: /* Return the struct x_display_info corresponding to DPY. */ struct x_display_info * x_display_info_for_display (Display *dpy) { struct x_display_info *dpyinfo; =09 for (dpyinfo =3D x_display_list; dpyinfo; dpyinfo =3D = dpyinfo->next) if (dpyinfo->display =3D=3D dpy) return dpyinfo; =09 return 0; } I'll compile once more with -O0 and line #7566 in xterm.c commented. -- Greetings Pete Only two things are infinite, the universe and human stupidity, and =20 I'm not sure about the former. =96 Albert Einstein