[Bug 2112466] Re: /usr/share/apport/apport:FileNotFoundError:/usr/share/apport/apport at 600:get_pid_info

Benjamin Drung 2112466 at bugs.launchpad.net
Wed Jun 4 12:30:04 UTC 2025


This has been fixed in commit fcbb93816aa367f2bd35c029ca8ecc0d83992722
("fix(apport): Print proper error message if /proc/<pid> is gone") which
is included in Apport 2.26.1 and thus in Ubuntu 24.04 (noble).

** Description changed:

+ ```
+ Traceback (most recent call last):
+   File "/usr/share/apport/apport", line 600, in <module>
+     get_pid_info(pid)
+   File "/usr/share/apport/apport", line 97, in get_pid_info
+     proc_pid_fd = os.open('/proc/%s' % pid, os.O_RDONLY | os.O_PATH | os.O_DIRECTORY)
+ FileNotFoundError: [Errno 2] No such file or directory: '/proc/10754'
+ ```
+ 
  The Ubuntu Error Tracker has been receiving reports about a problem regarding apport.  This problem was most recently seen with package version 2.20.11-0ubuntu82.7, the problem page at https://errors.ubuntu.com/problem/43f924069e9e0d6cdb25ce58213a1f3dfa6e966e contains more details, including versions of packages affected, stacktrace or traceback, and individual crash reports.
  If you do not have access to the Ubuntu Error Tracker and are a software developer, you can request it at http://forms.canonical.com/reports/.

** Summary changed:

- /usr/share/apport/apport:FileNotFoundError:/usr/share/apport/apport at 600:get_pid_info
+ /usr/share/apport/apport:FileNotFoundError:/usr/share/apport/apport at 600:get_pid_info on /proc/<pid>

** Changed in: apport (Ubuntu)
   Importance: Undecided => High

** Changed in: apport (Ubuntu)
       Status: New => Fix Released

-- 
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/2112466

Title:
  /usr/share/apport/apport:FileNotFoundError:/usr/share/apport/apport at 600:get_pid_info
  on /proc/<pid>

Status in apport package in Ubuntu:
  Fix Released

Bug description:
  ```
  Traceback (most recent call last):
    File "/usr/share/apport/apport", line 600, in <module>
      get_pid_info(pid)
    File "/usr/share/apport/apport", line 97, in get_pid_info
      proc_pid_fd = os.open('/proc/%s' % pid, os.O_RDONLY | os.O_PATH | os.O_DIRECTORY)
  FileNotFoundError: [Errno 2] No such file or directory: '/proc/10754'
  ```

  The Ubuntu Error Tracker has been receiving reports about a problem regarding apport.  This problem was most recently seen with package version 2.20.11-0ubuntu82.7, the problem page at https://errors.ubuntu.com/problem/43f924069e9e0d6cdb25ce58213a1f3dfa6e966e contains more details, including versions of packages affected, stacktrace or traceback, and individual crash reports.
  If you do not have access to the Ubuntu Error Tracker and are a software developer, you can request it at http://forms.canonical.com/reports/.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apport/+bug/2112466/+subscriptions




More information about the foundations-bugs mailing list