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 14:17:48 +0800 Message-ID: <874jjsxawj.fsf@yahoo.com> References: <87bke0xecx.fsf@yahoo.com> 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="8217"; 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 08:18:51 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 1qi7as-0001uP-Q6 for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 18 Sep 2023 08:18:50 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qi7aA-0003a5-1K; Mon, 18 Sep 2023 02:18:06 -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 1qi7a8-0003Z7-41 for help-gnu-emacs@gnu.org; Mon, 18 Sep 2023 02:18:04 -0400 Original-Received: from sonic306-20.consmr.mail.ne1.yahoo.com ([66.163.189.82]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qi7a6-0004tt-3o for help-gnu-emacs@gnu.org; Mon, 18 Sep 2023 02:18:03 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1695017878; bh=ghvRfZdjVYdZ1OeWTMqfX5AR0Ixe4DR6Wrhc2P+FiOU=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From:Subject:Reply-To; b=eZXuOWbgK3NjatWmiGOJYL1ij9EahvjuXun6R1mD8VmOZn9Z9fd3owauygTCUqJG2gHeZD1cGLFqhMFV8p1aHlkpz0+WPS7jNwGALduaKlyAPbfpVo4Daa1UBm7UktEET8uHKDyCPs9mSa5nr9Cn/0yt0UiGdsyegvaVkRcVcbvWqABdkXaJ6Hm9EdW95wze4YtweGKbibx/sZqgU0G94FInqWR/w0ErMXPnDLBydGANq4EecIfp+vGSYl8fEP91feUxqDhS7xZ7sGgU8t+i5g/fV8rMIY8QO6yWBPHEL2AsxCv/RjSUnPLKpuN4cIYB5FD6CNmtNcovaQUJ5vu0Hw== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1695017878; bh=muVjWvHzorLfZC7S8+3s6/mjffBstDbb5RHDrBAs5z8=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=DPsoN+6LWV/Xy4GBQpx0cwS0sB8mHTBoWPbSAfrpwIqPN7T3F35vRFHIgXEUmhD8EB35mzIESAppoOpfbdwcIrMMAzWL5CJ82WVAGTn9ZL3d1KceoYVuW6sEGMXVEt1I2LJLMWCyzK/mN88gRmbavFJIp8BJWgXTQcCWJVP1hXf6OKCkls9I1ka3bALa8Wp5wzXoDH7aRTffp0L0s6d5sbyO80uRLeLYNHIvkl1Ggcq1Fty1HBLRErVqqxSPhXqkgIBltd/F78CD5YFqSvfwXqrKD1G38pFzNnON6Yuoz23BJ9dCagJwmSf6YFe8txx8nmk2iHLLsfhOa6DmUpVklQ== X-YMail-OSG: amabm1cVM1kspBzXX8WpJmbIq6pex3WvR4SMgrsLd7oUQgO1vRL2RnurPsVkFtD QQ0.sTKu3I4qv8ebJmUq0kZcvgZWS6swFdhoTE86dXJ33CH30tkuqKA_bgyIZT8L5._wfvx5iePI N1sdHatAqIScSKR39Q8SJpd4jBHIUnTNEW0nuh8yJpaXs8bZWls..laQ.t__CBm8OTHEx6ghNwnB _tDmm7mTm2ufw_ZjSkeVjVCHs37owwtn5qyYxVZo4kJc1pKui10r_nCu5WGHNoHLtErpS1LiYwhj k65Di5BfEmdP6m2kRQAydcedtb.NiubwNnOZ_WbfGdGXWNWcvxBMadDcslptcAASUWtHfdIIdXnM DegxaZgI.outw0Xf2Z9oJJ1Jfy68Xr.HZWczhFHyDRb26dEQBTfO8NJqtoUXLdr8L9jsLDp6BXym jHPzpcvV1PAogJIZb5S3VP_GQz1A_TIDOTxsdAmP81c4RIU3foX_MgM2ErAcvxggqZgnKW5EiYst .x9bXcswjS6rpu8i_74d..5mo._wjWWW6D1i08xnYpftEXEoM_52TB9_zr0T7YkLiJZ3xc_UkH05 9jzxmnlo35a7L4Qoi6OkWoTnl3LnYVHg9utkxEeJRXpkDEs8eL9SbHhHfFC0MgCyAJahVxsY3h3U kgdulqE1RHFVu3RoX1vxhID9CTWo_h3paTc_hJHdBkNjoIjAxFUONDmugT7R6DCFP8S0VHe7bZZP IIt6Pjt7VCTf5_INAhnGKlsgP7ThiaqxXzR5Wa6G1I4XeOT51xdcRuawoOWQugjKzMhyA0mTwCTn hWo5drOyhZWWv6Rn4cpyjeg7q.BlNXiyF5URj7T1zL X-Sonic-MF: X-Sonic-ID: e373d9d8-9180-4849-9845-5351cf9db1da Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic306.consmr.mail.ne1.yahoo.com with HTTP; Mon, 18 Sep 2023 06:17:58 +0000 Original-Received: by hermes--production-sg3-55c667b499-ll99j (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID a20f8b2d64c04b010410fd96b7ea8e73; Mon, 18 Sep 2023 06:17:55 +0000 (UTC) In-Reply-To: <87bke0xecx.fsf@yahoo.com> (Po Lu's message of "Mon, 18 Sep 2023 13:03:10 +0800") 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.189.82; envelope-from=luangruo@yahoo.com; helo=sonic306-20.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:145136 Archived-At: Po Lu writes: > 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/termu= x/ >> >> I followed the instructions (install Termux first, then install >> Emacs), then 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 = RET >> >> Emacs froze again. >> >> I then (after closing and reopening Emacs) opened eshell and tried >> to execute *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 fro= m 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. This should now function correctly; prebuilts will be generated forthwith, as usual.