From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.bugs Subject: bug#13390: tramp-adb hanging forever Date: Mon, 18 Feb 2013 17:09:51 +0100 Message-ID: <874nh9siwg.fsf@gmx.de> References: <87r4lveebo.fsf@gmail.com> <87lic3cq6c.fsf@gmx.de> <87mwwje3zs.fsf@gmail.com> <87a9sisuhp.fsf@gmx.de> <87y5eo3x6n.fsf@gmx.de> <87bobhnbs5.fsf@gmail.com> <87hal9sx09.fsf@gmx.de> <87d2vxelqj.fsf@gmail.com> <878v6lsn75.fsf@gmx.de> <874nh91xo9.fsf@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1361203867 5369 80.91.229.3 (18 Feb 2013 16:11:07 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 18 Feb 2013 16:11:07 +0000 (UTC) Cc: 13390@debbugs.gnu.org To: Thierry Volpiatto Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Feb 18 17:11:29 2013 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1U7TJP-0004G1-Tg for geb-bug-gnu-emacs@m.gmane.org; Mon, 18 Feb 2013 17:11:28 +0100 Original-Received: from localhost ([::1]:50195 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U7TJ5-0000Th-Hw for geb-bug-gnu-emacs@m.gmane.org; Mon, 18 Feb 2013 11:11:07 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:37964) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U7TJ1-0000TD-Pn for bug-gnu-emacs@gnu.org; Mon, 18 Feb 2013 11:11:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U7TJ0-00036u-24 for bug-gnu-emacs@gnu.org; Mon, 18 Feb 2013 11:11:03 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:57696) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U7TIz-00036p-Uo for bug-gnu-emacs@gnu.org; Mon, 18 Feb 2013 11:11:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1U7TJx-0006W8-UW for bug-gnu-emacs@gnu.org; Mon, 18 Feb 2013 11:12:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Michael Albinus Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 18 Feb 2013 16:12:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 13390 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 13390-submit@debbugs.gnu.org id=B13390.136120386124974 (code B ref 13390); Mon, 18 Feb 2013 16:12:01 +0000 Original-Received: (at 13390) by debbugs.gnu.org; 18 Feb 2013 16:11:01 +0000 Original-Received: from localhost ([127.0.0.1]:34927 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U7TIx-0006Ub-4T for submit@debbugs.gnu.org; Mon, 18 Feb 2013 11:11:00 -0500 Original-Received: from mout.gmx.net ([212.227.15.18]:55761) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U7TIu-0006UT-Dj for 13390@debbugs.gnu.org; Mon, 18 Feb 2013 11:10:57 -0500 Original-Received: from mailout-de.gmx.net ([10.1.76.20]) by mrigmx.server.lan (mrigmx002) with ESMTP (Nemesis) id 0MhOyy-1USpcW35xC-00MeZN for <13390@debbugs.gnu.org>; Mon, 18 Feb 2013 17:09:54 +0100 Original-Received: (qmail invoked by alias); 18 Feb 2013 16:09:54 -0000 Original-Received: from p57BB97C2.dip0.t-ipconnect.de (EHLO arthur.gmx.de) [87.187.151.194] by mail.gmx.net (mp020) with SMTP; 18 Feb 2013 17:09:54 +0100 X-Authenticated: #3708877 X-Provags-ID: V01U2FsdGVkX1/GZuFh2ZPGai3n9yIfwvVjvMkxL0G5QUmeKzq0kE SbWLKmN3XIT7P4 In-Reply-To: <874nh91xo9.fsf@gmail.com> (Thierry Volpiatto's message of "Mon, 18 Feb 2013 15:52:54 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) X-Y-GMX-Trusted: 0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x 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: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:71476 Archived-At: Thierry Volpiatto writes: Hi Thierry, > 15:39:46.189500 tramp-send-command (6) # /system/bin/id -g 2>/dev/null; echo tramp_exit_status $? > 15:39:46.778728 tramp-wait-for-regexp (6) # > uid=0(root) gid=0(root) groups=0(root) > tramp_exit_status 0 > ///cd75dd09133d48f3a1970966969c4c9a#$ > 15:39:46.779790 tramp-send-command-and-read (1) # File error: > /system/bin/id -g ' does not return a valid Lisp expression: > uid=0(root) gid=0(root) groups=0(root) Tramp expects, that "id -g" returns just a number. Your /system/bin/id behaves differently. During my tests I've found that several commands in /system/bin behave not exactly as expected. Thats why I have recommended to use as shell just "sh". In the case of SSHDroid this results in a shell which comes with SSHDroid, and which behaves more regular. Maybe you give it a try? Best regards, Michael.