dump_acpi_tables.py crashed with OSError in dump_acpi_tables(): [Errno 2] No such file or directory: '/sys/firmware/acpi/tables'

Bug #729622 reported by Sergey "Shnatsel" Davidoff
40
This bug affects 4 people
Affects Status Importance Assigned to Milestone
apport (Ubuntu)
Fix Released
Medium
Brian Murray

Bug Description

Binary package hint: apport

A message about kernel oops appeared, I clicked "report problem"and then dump_acpi_tables.py crashed.

ProblemType: Crash
DistroRelease: Ubuntu 11.04
Package: apport 1.19-0ubuntu2
ProcVersionSignature: Ubuntu 2.6.38-5.32-generic 2.6.38-rc6
Uname: Linux 2.6.38-5-generic x86_64
Architecture: amd64
Date: Sat Mar 5 12:39:43 2011
ExecutablePath: /usr/share/apport/dump_acpi_tables.py
InterpreterPath: /usr/bin/python2.7
LiveMediaBuild: Ubuntu 11.04 "Natty Narwhal" - Alpha amd64 (20110304)
PackageArchitecture: all
ProcCmdline: /usr/bin/python /usr/share/apport/dump_acpi_tables.py
ProcEnviron:
 LANG=en_US.UTF-8
 SHELL=/bin/bash
 LANGUAGE=en_US:en
 PATH=(custom, no user)
 LC_MESSAGES=C
PythonArgs: ['/usr/share/apport/dump_acpi_tables.py']
SourcePackage: apport
Title: dump_acpi_tables.py crashed with OSError in dump_acpi_tables(): [Errno 2] No such file or directory: '/sys/firmware/acpi/tables'
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups:

Revision history for this message
Sergey "Shnatsel" Davidoff (shnatsel) wrote :
visibility: private → public
tags: removed: need-duplicate-check
Revision history for this message
Sergey "Shnatsel" Davidoff (shnatsel) wrote :

I had this crash when I was booted with "acpi=off" parameter.

tags: added: iso-testing
Revision history for this message
Philip Muškovac (yofel) wrote :

The script should check if the file exists before trying to dump it.

Changed in apport (Ubuntu):
importance: Undecided → Medium
status: New → Triaged
Changed in apport (Ubuntu):
assignee: nobody → Brian Murray (brian-murray)
status: Triaged → In Progress
Revision history for this message
Martin Pitt (pitti) wrote :

Fix merged upstream, thanks!

Changed in apport (Ubuntu):
status: In Progress → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package apport - 1.20.1-0ubuntu2

---------------
apport (1.20.1-0ubuntu2) natty; urgency=low

  [ Brad Figg ]
  * The kernel team has decided that asking the user for a bunch of
    information which they may not be able to answer is the wrong thing to do.
    Therefore, all the propmpting of the user for said information has been
    removed. Also removed is the tagging of "needs-upstream-testing".

  [ Martin Pitt ]
  * Merge bug fixes from trunk:
    - apport-gtk: HTML-escape text for dialogs with URLs. (LP: #750870)
    - dump_acpi_tables.py: Check to see if acpi/tables dir is mounted first.
      Thanks Brian Murray. (LP: #729622)
    - man/apport-cli.1: Document recently added -w/--window option. Thanks
      Abhinav Upadhyay. (LP: #765600)
 -- Martin Pitt <email address hidden> Tue, 19 Apr 2011 11:04:57 +0200

Changed in apport (Ubuntu):
status: Fix Committed → Fix Released
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.