This was fixed in Precise.

        # check if binary changed since the crash happened
        if 'ExecutablePath' in self.report and 'ExecutableTimestamp' in 
self.report: 
            orig_time = int(self.report['ExecutableTimestamp'])
            del self.report['ExecutableTimestamp']
            cur_time = int(os.stat(self.report['ExecutablePath']).st_mtime)

            if orig_time != cur_time:
                self.report['UnreportableReason'] = (
                    _('The problem happened with the program %s which changed '
                      'since the crash occurred.') % 
self.report['ExecutablePath']) 
                return


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

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to apport in Ubuntu.
https://bugs.launchpad.net/bugs/794190

Title:
  crash files don't ensure matching package version

Status in “apport” package in Ubuntu:
  Fix Released

Bug description:
  Binary package hint: apport

  When writing a crash file apport does not include the package version,
  but does include the package version when filing the bug.  So its
  possible that if the system installs updated packages before reporting
  the crash that the package version being shown in the bug report is
  not the actual package version which experienced the crash.  I think
  the package version should be written to the crash file.

  If you look at bug 777087 and look at the package version in that
  report you'll see that it is 0.80.9 however the Traceback.txt displays
  code from an earlier version of the package.

  ProblemType: Bug
  DistroRelease: Ubuntu 11.04
  Package: apport 1.20.1-0ubuntu5 [modified: 
usr/share/apport/package-hooks/source_linux.py]
  ProcVersionSignature: Ubuntu 2.6.38-8.42-generic 2.6.38.2
  Uname: Linux 2.6.38-8-generic x86_64
  Architecture: amd64
  CheckboxSubmission: fee5e196cb921cbd36888f428b38b488
  CheckboxSystem: 2a6f54df59af338184485e85cbcf0d32
  CrashReports:
   600:1000:0:1173262:2011-06-07 11:17:11.000000000 -0700:2011-06-07 
11:17:12.000000000 -0700:/var/crash/_usr_sbin_cupsd.0.crash
   600:1000:100:37246202:2011-06-07 11:13:54.000000000 -0700:2011-06-07 
11:14:11.000000000 -0700:/var/crash/_usr_bin_gtimelog.1000.crash
  Date: Tue Jun  7 11:20:36 2011
  PackageArchitecture: all
  ProcEnviron:
   LANGUAGE=en_US:en
   PATH=(custom, user)
   LANG=en_US.UTF-8
   SHELL=/bin/zsh
  SourcePackage: apport
  UpgradeStatus: Upgraded to natty on 2011-04-28 (39 days ago)

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

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to