Comment 1 for bug 1820132

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

apport does not depend on gdb so it's possible, even likely, that gdb is not installed on the system reporting the crash. Subsequently, report.add_gdb_info will fail and the docstring indicates that this should "Raises ... OSError if calling gdb fails" however the docstring is currently a liar perhaps because of a change I made. Regardless this should be sorted out. Here's the Traceback:

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 713, in add_gdb_info
    gdb_cmd, environ = self.gdb_command(rootdir, gdb_sandbox)
  File "/usr/lib/python3/dist-packages/apport/report.py", line 1580, in gdb_command
    assert os.path.exists(executable)
AssertionError