From rabbitko@tenbit.pl Wed Sep 30 09:28:01 2009 Received: (at submit) by emacsbugs.donarmstrong.com; 30 Sep 2009 16:28:02 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: * X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=1.2 required=4.0 tests=FOURLA,SARE_FREE_WEBM_PlTenbi autolearn=no version=3.2.5-bugs.debian.org_2005_01_02 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n8UGRxLQ006936 for ; Wed, 30 Sep 2009 09:28:01 -0700 Received: from mail.gnu.org ([199.232.76.166]:46230 helo=mx10.gnu.org) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1Mt223-0002Tg-8W for emacs-pretest-bug@gnu.org; Wed, 30 Sep 2009 12:27:59 -0400 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1Mt221-0007F3-CK for emacs-pretest-bug@gnu.org; Wed, 30 Sep 2009 12:27:58 -0400 Received: from cg-01.tenbit.pl ([213.180.131.136]:53021 helo=tenbit.pl) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Mt220-0007EJ-O2 for emacs-pretest-bug@gnu.org; Wed, 30 Sep 2009 12:27:57 -0400 Received: from [157.25.157.162] (account rabbitko HELO localhost.localdomain) by tenbit.pl (CommuniGate Pro SMTP 4.1.8) with ESMTP id 147631302 for emacs-pretest-bug@gnu.org; Wed, 30 Sep 2009 18:25:57 +0200 To: emacs-pretest-bug@gnu.org Subject: 23.1.50; tramp + remote debugging works no longer X-MAILER: KMail/1.7.1 From: Michal Date: Wed, 30 Sep 2009 18:27:11 +0200 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-detected-operating-system: by monty-python.gnu.org: Solaris 8 (1) Please write in English if possible, because the Emacs maintainers usually do not have translators to read other languages for them. Your bug report will be posted to the emacs-pretest-bug@gnu.org mailing list. Please describe exactly what actions triggered the bug and the precise symptoms of the bug: I just upgraded from emacs 23.1 (version from web site, not from cvs) to 23.1.50.1. Then tried to debug some simple program: M-x gdb: gdb -i=mi /n.10.3.rh73:/tmp/p1 failed as You can see. Additionaly I just invoked it again, this time with "debug-on-error". This is result: Debugger entered--Lisp error: (wrong-type-argument stringp nil) string-match("[^-0-9a-zA-Z_./]" nil 0) shell-quote-argument(nil) tramp-shell-quote-argument(nil) mapconcat(tramp-shell-quote-argument (nil) " ") tramp-handle-start-file-process("gdb-inferior" # nil) apply(tramp-handle-start-file-process ("gdb-inferior" # nil)) tramp-sh-file-name-handler(start-file-process "gdb-inferior" # nil) apply(tramp-sh-file-name-handler start-file-process ("gdb-inferior" # nil)) tramp-file-name-handler(start-file-process "gdb-inferior" # nil) apply(tramp-file-name-handler start-file-process "gdb-inferior" # nil nil) start-file-process("gdb-inferior" # nil) apply(start-file-process "gdb-inferior" # nil nil) comint-exec-1("gdb-inferior" # nil nil) comint-exec(# "gdb-inferior" nil nil nil) make-comint-in-buffer("gdb-inferior" # nil) gdb-inferior-io-mode() gdb-get-buffer-create(gdb-inferior-io) gdb-init-1() gdb-update() gdb("gdb -i=mi /n.10.3.rh73:/tmp/p1") call-interactively(gdb t nil) execute-extended-command(nil) call-interactively(execute-extended-command nil nil) in previous emacs I used to do: 1) visit /n.10.3.rh73:/tmp directory 2) M-x gdb: gdb --annotate=3 ./p1 for emacs 23.1.50.1 I also tried this command, but no success. Best regards, Michal If Emacs crashed, and you have the Emacs process in the gdb debugger, please include the output from the following gdb commands: `bt full' and `xbacktrace'. If you would like to further debug the crash, please read the file /usr/local/share/emacs/23.1.50/etc/DEBUG for instructions. In GNU Emacs 23.1.50.1 (i686-pc-linux-gnu, GTK+ Version 2.12.12) of 2009-09-29 on localhost.localdomain Windowing system distributor `The X.Org Foundation', version 11.0.10502000 Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: en_US.utf8 value of $XMODIFIERS: nil locale-coding-system: utf-8-unix default enable-multibyte-characters: t Major mode: Debugger Minor modes in effect: shell-dirtrack-mode: t tooltip-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t global-auto-composition-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent input: C-x C-f C-a C-k / n . 1 0 . 3 . r h 7 3 : / t m p / 1 p p 1 C-a C-k C-y . c x g d b C-y x r e p o r t - e m Recent messages: Tramp: Opening connection for n.10.3.rh73 using scp... Tramp: Waiting 60s for local shell to come up... Tramp: Sending command `ssh n.10.3.rh73 -q -e none && exit || exit' Tramp: Waiting for prompts from remote shell Tramp: Found remote shell prompt on `n.10.3.rh73' Tramp: Opening connection for n.10.3.rh73 using scp... Tramp: Waiting 60s for local shell to come up... Tramp: Sending command `ssh n.10.3.rh73 -q -e none && exit || exit' Tramp: Waiting for prompts from remote shell Tramp: Found remote shell prompt on `n.10.3.rh73' shell-quote-argument: Wrong type argument: stringp, nil Load-path shadows: None found. From nickrob@snap.net.nz Wed Sep 30 20:14:52 2009 Received: (at submit) by emacsbugs.donarmstrong.com; 1 Oct 2009 03:14:52 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-3.9 required=4.0 tests=AWL,HAS_BUG_NUMBER, MURPHY_DRUGS_REL8 autolearn=unavailable version=3.2.5-bugs.debian.org_2005_01_02 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n913EpNA004415 for ; Wed, 30 Sep 2009 20:14:52 -0700 Received: from mail.gnu.org ([199.232.76.166]:40800 helo=mx10.gnu.org) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1MtC82-0004MB-He for emacs-pretest-bug@gnu.org; Wed, 30 Sep 2009 23:14:50 -0400 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1MtC80-00071m-8F for emacs-pretest-bug@gnu.org; Wed, 30 Sep 2009 23:14:49 -0400 Received: from mx.southnet.co.nz ([202.37.101.20]:47963 helo=viper.snap.net.nz) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MtC7y-00070M-8b for emacs-pretest-bug@gnu.org; Wed, 30 Sep 2009 23:14:48 -0400 Received: from totara (30.63.255.123.dynamic.snap.net.nz [123.255.63.30]) by viper.snap.net.nz (Postfix) with ESMTP id BD5C73DA613; Thu, 1 Oct 2009 16:14:36 +1300 (NZDT) Received: by totara (Postfix, from userid 1000) id A5134C167; Thu, 1 Oct 2009 16:14:35 +1300 (NZDT) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <19140.7835.581534.413411@totara.tehura.co.nz> Date: Thu, 1 Oct 2009 16:14:35 +1300 To: Michal , 4604@debbugs.gnu.org Cc: emacs-pretest-bug@gnu.org Subject: bug#4604: 23.1.50; tramp + remote debugging works no longer In-Reply-To: References: X-Mailer: VM 7.19 under Emacs 22.2.1 From: nickrob@snap.net.nz (Nick Roberts) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.4-2.6 Remote debugging generally means that the program and the debugger run on different machines (see the Emacs or GDB manual). Tramp just allows you debug programs on remote hosts > I just upgraded from emacs 23.1 (version from web site, not from cvs) to 23.1.50.1. > Then tried to debug some simple program: > M-x gdb: gdb -i=mi /n.10.3.rh73:/tmp/p1 > > failed as You can see. > > Additionaly I just invoked it again, this time with "debug-on-error". This is result: > Debugger entered--Lisp error: (wrong-type-argument stringp nil) > string-match("[^-0-9a-zA-Z_./]" nil 0) > shell-quote-argument(nil) > tramp-shell-quote-argument(nil) > mapconcat(tramp-shell-quote-argument (nil) " ") > tramp-handle-start-file-process("gdb-inferior" # nil) > apply(tramp-handle-start-file-process ("gdb-inferior" # nil)) > tramp-sh-file-name-handler(start-file-process "gdb-inferior" # nil) > apply(tramp-sh-file-name-handler start-file-process ("gdb-inferior" # nil)) > tramp-file-name-handler(start-file-process "gdb-inferior" # nil) > apply(tramp-file-name-handler start-file-process "gdb-inferior" # nil nil) > start-file-process("gdb-inferior" # nil) > apply(start-file-process "gdb-inferior" # nil nil) > comint-exec-1("gdb-inferior" # nil nil) > comint-exec(# "gdb-inferior" nil nil nil) > make-comint-in-buffer("gdb-inferior" # nil) > gdb-inferior-io-mode() > gdb-get-buffer-create(gdb-inferior-io) Yes, it appears to be broken now. Emacs now lets GDB to take control of the terminal associated with the I/O buffer for it's own child process (the program being debugged)and always has a separate I/O buffer. In fact, it looks like previously GDB in Emacs didn't work with tramp when it had a separate I/O buffer (gdb-use-separate-io-buffer is t). PROGRAM is nil in make-comint-in-buffer (third arg - also see start-process) which means just create a pty. > gdb-init-1() > gdb-update() > gdb("gdb -i=mi /n.10.3.rh73:/tmp/p1") > call-interactively(gdb t nil) > execute-extended-command(nil) > call-interactively(execute-extended-command nil nil) > > in previous emacs I used to do: > 1) visit /n.10.3.rh73:/tmp directory > 2) M-x gdb: gdb --annotate=3 ./p1 > > for emacs 23.1.50.1 I also tried this command, but no success. That must have been in emacs 23.1. For now, you're better off using that version with tramp ... or you can always try to write a patch for 23.1.50. That would be great! -- Nick http://users.snap.net.nz/~nickrob From Michael.Albinus@alcatel-lucent.de Fri Oct 2 06:46:21 2009 Received: (at 4604) by emacsbugs.donarmstrong.com; 2 Oct 2009 13:46:21 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-3.1 required=4.0 tests=AWL,HAS_BUG_NUMBER, MURPHY_DRUGS_REL8 autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from mailrelay1.alcatel.de (mailrelay1.alcatel.de [194.113.59.95]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n92DkJug026344 for <4604@emacsbugs.donarmstrong.com>; Fri, 2 Oct 2009 06:46:21 -0700 Received: from destgsu0048.stgl.sel.alcatel.de (destgsu0048.de.alcatel-lucent.com [149.204.242.4]) by mailrelay1.alcatel.de (8.13.8/8.13.8/ICT) with ESMTP id n92DkDjh023397; Fri, 2 Oct 2009 15:46:13 +0200 Received: from slbhn1.alcatel.de (slbhn1.de.alcatel-lucent.com [149.204.90.35]) by destgsu0048.stgl.sel.alcatel.de (8.12.3/8.12.3) with ESMTP id n92DkCY4002862; Fri, 2 Oct 2009 15:46:12 +0200 (MEST) From: Michael Albinus To: Nick Roberts Cc: 4604@debbugs.gnu.org, Michal Subject: Re: bug#4604: 23.1.50; tramp + remote debugging works no longer References: Date: Fri, 02 Oct 2009 15:46:11 +0200 In-Reply-To: (Nick Roberts's message of "Thu, 1 Oct 2009 16:14:35 +1300") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Alcanet-virus-scanned: n92DkCY4002862 at destgsu0048.stgl.sel.alcatel.de X-Scanned-By: MIMEDefang 2.57 on 149.204.45.72 nickrob@snap.net.nz (Nick Roberts) writes: > > start-file-process("gdb-inferior" # nil) > > apply(start-file-process "gdb-inferior" # nil nil) > > comint-exec-1("gdb-inferior" # nil nil) > > comint-exec(# "gdb-inferior" nil nil nil) > > make-comint-in-buffer("gdb-inferior" # nil) > > gdb-inferior-io-mode() > > gdb-get-buffer-create(gdb-inferior-io) > > Yes, it appears to be broken now. Emacs now lets GDB to take control of the > terminal associated with the I/O buffer for it's own child process (the > program being debugged)and always has a separate I/O buffer. In fact, it > looks like previously GDB in Emacs didn't work with tramp when it had a > separate I/O buffer (gdb-use-separate-io-buffer is t). > > PROGRAM is nil in make-comint-in-buffer (third arg - also see start-process) > which means just create a pty. Tramp's start-file-process implementation does not support ptys. And I have no idea how to implement it. For the time being, I will add a check for PROGRAM, resulting in an error when it is nil. No solution, of course, but a more precise indicator. > That must have been in emacs 23.1. For now, you're better off using that version > with tramp ... or you can always try to write a patch for 23.1.50. That would be > great! I would appreciate any patch for this! Or at least proposals how to implement. Best regards, Michael. From debbugs-submit-bounces@debbugs.gnu.org Mon Jun 07 01:23:22 2010 Received: (at control) by debbugs.gnu.org; 7 Jun 2010 05:23:22 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OLUnx-0003LD-RC for submit@debbugs.gnu.org; Mon, 07 Jun 2010 01:23:22 -0400 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OLUnw-0003L8-Rc for control@debbugs.gnu.org; Mon, 07 Jun 2010 01:23:21 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.69) (envelope-from ) id 1OLUns-00008L-Pa; Mon, 07 Jun 2010 01:23:16 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <19468.33348.765545.801211@fencepost.gnu.org> Date: Mon, 7 Jun 2010 01:23:16 -0400 From: Glenn Morris To: control Subject: control X-Attribution: GM X-Mailer: VM (www.wonderworks.com/vm), GNU Emacs (www.gnu.org/software/emacs) X-Hue: green X-Ran: hw,k$Pi[6Jc)[n=d|g23D'pNGSxL@&LcGR!nHRX@x,PFrM6j\7##|cVUvB975Mt)U0F#fw X-Debbugs-No-Ack: yes X-Spam-Score: -5.1 (-----) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -5.1 (-----) merge 4604 6360 From debbugs-submit-bounces@debbugs.gnu.org Sun Jul 03 13:40:05 2011 Received: (at control) by debbugs.gnu.org; 3 Jul 2011 17:40:05 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QdQeL-0000Zh-M9 for submit@debbugs.gnu.org; Sun, 03 Jul 2011 13:40:05 -0400 Received: from mailout-de.gmx.net ([213.165.64.22]) by debbugs.gnu.org with smtp (Exim 4.69) (envelope-from ) id 1QdQeJ-0000ZB-Iy for control@debbugs.gnu.org; Sun, 03 Jul 2011 13:40:04 -0400 Received: (qmail invoked by alias); 03 Jul 2011 17:39:55 -0000 Received: from p57BB8709.dip0.t-ipconnect.de (EHLO detlef.gmx.de) [87.187.135.9] by mail.gmx.net (mp004) with SMTP; 03 Jul 2011 19:39:55 +0200 X-Authenticated: #3708877 X-Provags-ID: V01U2FsdGVkX191RolHhoR1Tub/H205I4of7sVk2+9cxGYmt9IN5D XmilbJsnqS+8ka Date: Sun, 03 Jul 2011 19:39:54 +0200 Message-Id: <87mxgvqn4l.fsf@gmx.de> To: control@debbugs.gnu.org From: Michael Albinus Subject: control message for bug #4604 X-Y-GMX-Trusted: 0 X-Spam-Score: -2.7 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.7 (--) owner 4604 michael.albinus@gmx.de From debbugs-submit-bounces@debbugs.gnu.org Sun Aug 21 04:36:18 2016 Received: (at control) by debbugs.gnu.org; 21 Aug 2016 08:36:18 +0000 Received: from localhost ([127.0.0.1]:35510 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bbOEs-00039O-D6 for submit@debbugs.gnu.org; Sun, 21 Aug 2016 04:36:18 -0400 Received: from mout.gmx.net ([212.227.17.20]:57477) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bbOEr-00039B-Lg for control@debbugs.gnu.org; Sun, 21 Aug 2016 04:36:18 -0400 Received: from detlef.gmx.de ([93.209.69.183]) by mail.gmx.com (mrgmx103) with ESMTPSA (Nemesis) id 0Lb5Tp-1ar1ms1oWf-00kdcL for ; Sun, 21 Aug 2016 10:36:11 +0200 Date: Sun, 21 Aug 2016 10:36:09 +0200 Message-Id: <87bn0mr01y.fsf@gmx.de> To: control@debbugs.gnu.org From: Michael Albinus Subject: control message for bug #22569 X-Provags-ID: V03:K0:6R69ZXjgJzL3kZ7J9BiP1bGfxiaNJEt8w6Zo1+AWmQ23mQT/ZNm UFRWzLiwHXmhFnxUBkWQEowSDYPtnNNMfg8IVM4EaXzNXrrHNJ+EC9B6QcMg96kN7WoYfSW LHVGNNNq7SVJz5smjL0gGou/gymAAELWZ0zF4IIj1zC/nVVqgdE3pvtIVbSUGrCHgY3xeiL sfoidndc49jrPogBIqG9Q== X-UI-Out-Filterresults: notjunk:1;V01:K0:APBOum3gvH8=:/wiEMR7Rt7HKzHO3Bp862y nhxoBQAvPlcdoijhb1SIjkeFBkVMDJ+jKGhc1k0Z+EqNkpJbnAWGyj08sNU2rauz+yiWZoT44 Zc8NdL8pBwfizyiM0hCLM/E2imsTA1/uYY/mWIz6lva3IjLihvoFv3R/xrt9wfytkVe7wbkyV xHv9Ji3xZ3anqLL8Djmp74WZOJH2AsGJp79CEmO6zewlOgmLlixCIY+OLkUZjnexcHDpe2ujt Tks0d9TrPspwpmXwuZNx2SQWL/ZqAbbntQDDUgJVyHRr8Z2fDXP2rO9McNX3cLiUCFtPEA9fo c5JOHn6I5pztZE014VWAdrw1YDF9zNf63RnpTzX6ryjHBCOTvcPZWEnFLStJS1UZlUWk4TJkq QR5dSE6BaJojTVhJzIERLIsl7tbmcE+nzGY54okfPtnA6RxSdhpXHumyH6gB9LTq7aMRbMEPN xmMOm81Rc0eDGs96W1WwVzMaDDyCIfSdylwrIZ4nGQBo+e9k5UX2erZ5sA5ek2MlwrsKWF8u0 dzXD88iEvQAdXWSDl24PpmLy6yrU8OBbi4r5odpwhMTJa41q9CyGgAgh0UzHlp+JBKWcRm0Je A1teW2Orw3CMxzS5sst1BErgko0Vz6Z3dPs4aRc/SFgiJOwK9G7SVzdPyXeGj8la+RD/w945S b1q4xotbGvFVvvSahruy269ntmOVbkYr/QTSsfSzAE6yAwqilVGyHXisAhIpMy1lAofSJJCmV EMNX7Gko+8TljfCk9BGFVIhTNvLSGr0l0RA3q66iWtcOSNErrSQZsNVvjQg= X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) forcemerge 22569 4604 6360 From unknown Sat Jun 21 10:25:55 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Tue, 20 Sep 2016 11:24:03 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator