← Back to team overview

touch-packages team mailing list archive

[Bug 1373154] Re: reporting of crashes for programs that don't match the file on disk is happening

 

I think there are actually two separate issues here.

If an old version of an application is still running, then the package
is upgraded, and then it crashes. The crash file is about the new
version of the application even though the old binary is running. In
this case _MarkForUpload is True and there is no UnreportableReason.
This problem has probably always existed.

The other issue is the one I describe in the description where a .crash
file is created, data collection is not done (for whatever reason) until
after the package has been upgraded, and when it is collected
UnreportableReason contains information about the program changing.  In
this case _MarkForUpload should be False and I'll test that again.

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to apport in Ubuntu.
https://bugs.launchpad.net/bugs/1373154

Title:
  reporting of crashes for programs that don't match the file on disk is
  happening

Status in “apport” package in Ubuntu:
  New

Bug description:
  The change to apport in bug 1039220, not to report crashes with an
  UnreportableReason of "The problem happened with the program.*which
  changed since the crash occurred." seems to have regressed somehow.
  While the code looks the same I was able to create a crash file with
  the following content:

  UnreportableReason: The problem happened with the program /usr/games/gnome-sudoku which changed since the crash occurred.
  _MarkForUpload: True

  _MarkForUpload in this case should be False not True. This crash file
  was created on Trusty by following the steps in bug 1272716, choosing
  not to report the crash when apport asked, then installing the fixed
  version of gnome-sudoku, and running apport-bug /var/crash
  /_usr_games_gnome-sudoku.1000.crash.

  You can see the crash I reported at
  https://errors.ubuntu.com/oops/3bd482e4-4369-11e4-b6e3-fa163e22e467.
  Notice how the ExecutableTimestamp (Thu, 23 Jan 2014 15:57:56 GMT) is
  from well before the date of the SRU for gnome-sudoku.

  Test Case
  ---------
  1) Downgrade gnome-sudoku to version 1:3.10.2-0ubuntu2
  2) Launch gnome-sudoku
  3) Upgrade gnome-sudoku to version 1:3.10.2-0ubuntu3.1
  4) Start an easy game in gnome-sudoku
  5) Fill in a number, then press undo
  6) Observe crash dialog
  7) Click continue
  8) grep "_MarkForUpload" /var/crash/* - observe _MarkForUpload is True

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


References