[Bug 1879768] Re: /usr/share/apport/whoopsie-upload-all:AssertionError:/usr/share/apport/whoopsie-upload-all at 162:collect_info:process_report:add_gdb_info:crash_signature_addresses:_address_to_offset:_build_proc_maps_cache
Benjamin Drung
1879768 at bugs.launchpad.net
Thu Jun 12 11:00:24 UTC 2025
There are tousand of reports for noble plus ones for oracular and plucky
with that stack:
```
Traceback (most recent call last):
File "/usr/share/apport/whoopsie-upload-all", line 246, in <module>
main()
File "/usr/share/apport/whoopsie-upload-all", line 228, in main
stamps = collect_info()
^^^^^^^^^^^^^^
File "/usr/share/apport/whoopsie-upload-all", line 162, in collect_info
res = process_report(r)
^^^^^^^^^^^^^^^^^
File "/usr/share/apport/whoopsie-upload-all", line 112, in process_report
r.add_gdb_info()
File "/usr/lib/python3/dist-packages/apport/report.py", line 1022, in add_gdb_info
addr_signature = self.crash_signature_addresses()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/apport/report.py", line 1761, in crash_signature_addresses
offset = self._address_to_offset(addr)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/apport/report.py", line 1969, in _address_to_offset
self._build_proc_maps_cache()
File "/usr/lib/python3/dist-packages/apport/report.py", line 2005, in _build_proc_maps_cache
assert m, "cannot parse ProcMaps line: " + line
^
AssertionError: cannot parse ProcMaps line: Error: [Errno 3] No such process: 'maps'
```
So this workaround is not enough:
```
def crash_signature_addresses(self) -> str | None:
# [...]
if "Errno 13" in self["ProcMaps"]:
return None
```
--
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/1879768
Title:
/usr/share/apport/whoopsie-upload-
all:AssertionError:/usr/share/apport/whoopsie-upload-
all at 162:collect_info:process_report:add_gdb_info:crash_signature_addresses:_address_to_offset:_build_proc_maps_cache
Status in apport package in Ubuntu:
Confirmed
Bug description:
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-0ubuntu27, the problem page at https://errors.ubuntu.com/problem/273e9176fa4ab3b0cd738b3fa4e782fabc3957a4 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/1879768/+subscriptions
More information about the foundations-bugs
mailing list