[Bug 2149759] Re: Crash on termux proot distro /proc/727/stat
Daniel Tang
2149759 at bugs.launchpad.net
Sun Apr 26 00:40:28 UTC 2026
** Summary changed:
- Crash on termux proot distro
+ Crash on termux proot distro /proc/727/stat
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ubuntu-release-upgrader in
Ubuntu.
https://bugs.launchpad.net/bugs/2149759
Title:
Crash on termux proot distro /proc/727/stat
Status in ubuntu-release-upgrader package in Ubuntu:
New
Bug description:
Tried to upgrade Ubuntu Noble to Resolute dev using do-release-upgrade
-d inside proot-distro inside termux on an Android 14 OS with 4.19
Linux kernel and it crashed with the error below. Looking at the code,
I believe it lacks a try and except continue on the utils.py while
opening the /proc/%s/stat
Traceback (most recent call last): File "/tmp/ubuntu-release-upgrader-ipjerrcr/resolute", line 8, in <module> sys.exit(main()) ^^^^^^ File "/tmp/ubuntu-release-upgrader-ipjerrcr/DistUpgrade/DistUpgradeMain.py", line 235, in main if app.run():
^^^^^^^^^ File "/tmp/ubuntu-release-upgrader-ipjerrcr/DistUpgrade/DistUpgradeController.py", line 1985, in run
return self.fullUpgrade()
^^^^^^^^^^^^^^^^^^
File "/tmp/ubuntu-release-upgrader-ipjerrcr/DistUpgrade/DistUpgradeController.py", line 1799, in fullUpgrade if not self.prepare(): ^^^^^^^^^^^^^^
File "/tmp/ubuntu-release-upgrader-ipjerrcr/DistUpgrade/DistUpgradeController.py", line 449, in prepare self._sshMagic() File "/tmp/ubuntu-release-upgrader-ipjerrcr/DistUpgrade/DistUpgradeController.py", line 351, in _sshMagic is_child_of_process_name("sshd")): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/tmp/ubuntu-release-upgrader-ipjerrcr/DistUpgrade/utils.py", line 108, in is_child_of_process_name with open(stat_file) as stat_f: ^^^^^^^^^^^^^^^ FileNotFoundError: [Errno 2] No such file or directory: '/proc/727/stat'
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/2149759/+subscriptions
More information about the foundations-bugs
mailing list