/usr/share/apport/whoopsie-upload-all:AssertionError:/usr/share/apport/whoopsie-upload-all@162:collect_info:process_report:add_gdb_info:crash_signature_addresses:_address_to_offset:_build_proc_maps_cache

Bug #1879768 reported by errors.ubuntu.com bug bridge
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
apport (Ubuntu)
Confirmed
High
Unassigned

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

Revision history for this message
Brian Murray (brian-murray) wrote :

Traceback (most recent call last):
  File "/usr/share/apport/whoopsie-upload-all", line 162, in <module>
    stamps = collect_info()
  File "/usr/share/apport/whoopsie-upload-all", line 112, in collect_info
    res = process_report(r)
  File "/usr/share/apport/whoopsie-upload-all", line 79, in process_report
    r.add_gdb_info()
  File "/usr/lib/python3/dist-packages/apport/report.py", line 805, in add_gdb_info
    addr_signature = self.crash_signature_addresses()
  File "/usr/lib/python3/dist-packages/apport/report.py", line 1488, in crash_signature_addresses
    offset = self._address_to_offset(addr)
  File "/usr/lib/python3/dist-packages/apport/report.py", line 1661, in _address_to_offset
    self._build_proc_maps_cache()
  File "/usr/lib/python3/dist-packages/apport/report.py", line 1697, in _build_proc_maps_cache
    assert m, 'cannot parse ProcMaps line: ' + line
AssertionError: cannot parse ProcMaps line: Error: [Errno 13] Permission denied: 'maps'

Revision history for this message
Brian Murray (brian-murray) wrote :

This primarily seems to be affecting Ubuntu 18.04 LTS and is likely due to changes in version 2.20.9-0ubuntu7.14 of apport. Looking at some of the crash reports it seems they were trying to process an xorg crash e.g.:

640:0:117:5197353:2020-05-19 22:25:36.939364492 +0300:2020-05-19 22:25:32.903194868 +0300:/var/crash/_usr_lib_xorg_Xorg.0.crash

from https://errors.ubuntu.com/oops/84ca0a6a-9a06-11ea-9b4d-fa163e102db1.

tags: added: rls-bb-incoming
Changed in apport (Ubuntu):
importance: Undecided → High
status: New → Confirmed
Revision history for this message
Brian Murray (brian-murray) wrote :

The fix that was used for https://bugs.launchpad.net/ubuntu/+source/apport/+bug/1866347, found in apport's focal branch r2748, works around this by not creating a crash address signature if ProcMaps contains a "Permission denied" error. However, I now wonder why permission was denied.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.