From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Po Lu Newsgroups: gmane.emacs.help Subject: Re: Emacs for Android with Termux fails to execute most subprocesses: readlink('/proc/self/exe') failed Date: Mon, 18 Sep 2023 13:03:10 +0800 Message-ID: <87bke0xecx.fsf@yahoo.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="12511"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: =?utf-8?Q?Rom=C3=A1rio?= Rios To: =?utf-8?Q?Rom=C3=A1rio?= Rios via Users list for the GNU Emacs text editor Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Mon Sep 18 07:04:16 2023 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1qi6Qh-00031l-HU for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 18 Sep 2023 07:04:15 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qi6Q0-0003kA-BN; Mon, 18 Sep 2023 01:03:32 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qi6Px-0003jk-Dg for help-gnu-emacs@gnu.org; Mon, 18 Sep 2023 01:03:29 -0400 Original-Received: from sonic310-25.consmr.mail.ne1.yahoo.com ([66.163.186.206]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qi6Pu-0006Ts-I0 for help-gnu-emacs@gnu.org; Mon, 18 Sep 2023 01:03:29 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1695013403; bh=7ZQUeivoTthJELNmIIFL56o0dQMEdRacjbJ+HJjuWXE=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From:Subject:Reply-To; b=XvEhpPCLkHvZYHVPIxzV4/h7wQ86nM1ROz//3NaxwzC6XEx3/JPGBZFIq7i8vw4hg1ga1u5QIJLSFnW+bHskGxh7q8sPCXrsMiXpcxXKPN0+fjy7xmbD+k78espvPKX5BIOZTItMLrNj44vmfCbdEH3LsX8O7Y5m4Y1p8xva2kqSp2tY1JwbC4YM66FQ1494dKTHVlrymVfTrhTz4Va05MbDlIgDio6S3wIM4zHX/dKuVQkGmtxnzSxM0h69peMo/Y2vPQW8jY7GNhTHg3muZ+PO9pe40ujf04EgDamLtQpR/G6PyaK8+BGS3MmFPn9tdq9679mXnvBPuuXNVDN8iA== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1695013403; bh=lbf/ugQO+DE1flW0QfHhlrlYE1teRJUbj41tiB8eBjp=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=GdS6Vddvm52OPUtR4Ta1R3tZzqmVB2LfqU6ph3E+u6r5nJWsLBma4zKk6RxGS7pzwY8yrE6ZQ8KNUGyPbwrbcGoxBcSiVBggqn7B/bOMhbJu/YZXeFG63bkRztx6w/1Wu+MRYIw0xH57JfzWMwslPaSG+tRiny1i+WoBrMGZJKEHS6FcpSiag2WMmMLSO7GzH6UDpizINbL1jA2tOE9BTFp4gFH0icbma6COTU7+I4e8BW09k+xI1i0YpJUhmefVVLttXKdE4JfR8pyNwcyeTSgr/uVPIKdrIHMWwnqbHZz9gYBe6qLuPPDgTYRk14gYThdX7cV8Q5GX0jiA55n+Sw== X-YMail-OSG: uGk8O2UVM1lAHiY5n1rwrpBBRnz4bofSDvmxHzxk39z2fuRzdjWa.O9KH0SuPrJ wir9QS6u0BYT6K5YmWN0SYoTnQp9Q3doYoBbu1X7ozDJuNqe1f4OQE1b9mEaKJGIAB7J9VI3U0pQ mwu1y0NS3qGnjNXEvUqkmGyR5wfiZI5f7QEqi9sdcZJ2MKTU_e4b_S6dh1amvNFEZtVzx6OyFbE6 b.wTsrOpLFd1CsCIRmUIFdNAv2aN3OaHCi4fkyR9ligLhsmarVgR6gZOM1zVL1mAH4on7UDRZKhq 7NVm9F8R5hgpC0d12kJ8l3wUxKvxOwwAmPC243MkWrscYzA959fLUCbDNuTKsHrmXM9Zuo_4v_41 4tsRAxDxyxCCxYA7ytjT4mSwrJV2FeXaLIj53sL9cOA5_AWoS5yuFINgXO4vruKg6EVyMqhuyd2d NKMV.qRPGKlB0Xfnf5No__0n1yPPWAKAeU.5C._JzUfS.XjP8G.Wi9ADH7hwzQ0Aa25goyJdLsvC _ynV0cGnZ.WaTRMr3qWPlrVn3q6jwRZfHOd0tP2GR3mOyQjqkeK7lKtbESIk3zq86t3YaFtW5HVQ E9z87gwkMHoELmF1QllrJQDdYT.H6rBwhtZ5uvasALX_HNcwVMTGyZi0RHNfJPuovp2UOndm8mhf vPXsgdHTpT_eeV65iZxyNTIiqVsK4XWZWyRC7RotT6bSxMcRyrv5dNYwb8qWWlSXuAUcDRvuSffE Tc4vtGUHGgF208Dgf4WmXOH7nXTuCxftpwDsttpvqUhRzeLctGbp2VxEEaFI2i0EQtQQYo4KpFFH KALYJ3Z0REWxYsLHTKQ93X21hhqb_dvAXVv_M6Mtoq X-Sonic-MF: X-Sonic-ID: 18a2ae46-4d60-4fbe-a529-73619754dab7 Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic310.consmr.mail.ne1.yahoo.com with HTTP; Mon, 18 Sep 2023 05:03:23 +0000 Original-Received: by hermes--production-sg3-55c667b499-fc69l (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID ade868b1c5ac6a10195ecefee7a4ddda; Mon, 18 Sep 2023 05:03:17 +0000 (UTC) In-Reply-To: (=?utf-8?Q?=22Rom=C3=A1rio?= Rios via Users list for the GNU Emacs text editor"'s message of "Mon, 18 Sep 2023 01:19:23 +0000") X-Mailer: WebService/1.1.21797 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Received-SPF: pass client-ip=66.163.186.206; envelope-from=luangruo@yahoo.com; helo=sonic310-25.consmr.mail.ne1.yahoo.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.help:145135 Archived-At: Rom=C3=A1rio Rios via Users list for the GNU Emacs text editor writes: > Hello, > > I've just downloaded the Android+Termux port of Emacs from here: https://= sourceforge.net/projects/android-ports-for-gnu-emacs/files/termux/ > > I followed the instructions (install Termux first, then install Emacs), t= hen I opened Emacs and tried to edit .emacs > > Emacs froze immediately. > > Then I forced emacs to close and tried again, this time doing M-x shell R= ET > > Emacs froze again. > > I then (after closing and reopening Emacs) opened eshell and tried to exe= cute *anything* besides basic stuff like ls and this is what I get: > > $ sh > readlink('/proc/self/exe') failed: Bad file descriptor > > And then the shell hangs. > > Any idea why this happens? This doesn't happen with the normal Emacs from= Fdroid. > > I'm running the armeabi-v7a version of Emacs. My phone is not rooted and = I'm running Android 10. > > Thanks in advance. > > (Please cc me, I'm not subscribed to the list) I think this issue arises from within the armeabi-v7a process tracing code, which I wrote blindfolded at the time absent any devices to test on. I will investigate this.