[Bug 1733366] Re: apport crashed with FileNotFoundError in is_container_pid(): [Errno 2] No such file or directory: '/proc/11102/ns/pid'
Tyler Hicks
tyhicks at canonical.com
Tue Jan 2 19:32:34 UTC 2018
Thanks for the updated debdiffs! They look pretty good to me but I'm
wondering if was intentional that True is returned when the "not
os.path.exists()" checks are true but the exception handler returns
False when os.readlink() throws an errno.ENOENT OSError exception? IIUC,
both situations occur when the namespace files don't exist but one
situation returns True and the other False.
Should both situations return True? If so, I can make those changes
before sponsoring so there's no need to upload new debdiffs.
** Changed in: apport (Ubuntu Artful)
Status: Confirmed => Incomplete
** Changed in: apport (Ubuntu Artful)
Assignee: (unassigned) => Brian Murray (brian-murray)
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to apport in Ubuntu.
https://bugs.launchpad.net/bugs/1733366
Title:
apport crashed with FileNotFoundError in is_container_pid(): [Errno 2]
No such file or directory: '/proc/11102/ns/pid'
Status in Apport:
New
Status in apport package in Ubuntu:
Fix Released
Status in apport source package in Xenial:
Confirmed
Status in apport source package in Zesty:
Confirmed
Status in apport source package in Artful:
Incomplete
Status in apport source package in Bionic:
Fix Released
Bug description:
It appears that after login this was the first action performed by the
system which resulted in the generation of the crash report.
ProblemType: Crash
DistroRelease: Ubuntu 18.04
Package: apport 2.20.8-0ubuntu1
ProcVersionSignature: Ubuntu 4.13.0-16.19-generic 4.13.4
Uname: Linux 4.13.0-16-generic x86_64
ApportVersion: 2.20.8-0ubuntu1
Architecture: amd64
CrashReports: 640:0:119:17503:2017-11-20 01:59:45.143901348 +0530:2017-11-20 01:59:46.143901348 +0530:/var/crash/_usr_share_apport_apport.0.crash
Date: Mon Nov 20 01:59:46 2017
ExecutablePath: /usr/share/apport/apport
InstallationDate: Installed on 2017-11-19 (1 days ago)
InstallationMedia: Ubuntu 18.04.0 2017.11.11 amd64 "Unity 7 Desktop Experience Bionic Beaver"
InterpreterPath: /usr/bin/python3.6
PackageArchitecture: all
ProcCmdline: /usr/bin/python3 /usr/share/apport/apport 11102 11 0 1 11102
ProcEnviron:
Python3Details: /usr/bin/python3.6, Python 3.6.3, python3-minimal, 3.6.3-0ubuntu2
PythonArgs: ['/usr/share/apport/apport', '11102', '11', '0', '1', '11102']
PythonDetails: /root/Error: command ['which', 'python'] failed with exit code 1:, Error: [Errno 2] No such file or directory: "/root/Error: command ['which', 'python'] failed with exit code 1:": "/root/Error: command ['which', 'python'] failed with exit code 1:", unpackaged
SourcePackage: apport
Title: apport crashed with FileNotFoundError in is_container_pid(): [Errno 2] No such file or directory: '/proc/11102/ns/pid'
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups:
To manage notifications about this bug go to:
https://bugs.launchpad.net/apport/+bug/1733366/+subscriptions
More information about the foundations-bugs
mailing list