[Bug 1360417] Re: thread_collect_info can leave out information in .crash files

2014-09-11 Thread Launchpad Bug Tracker
This bug was fixed in the package apport - 2.14.1-0ubuntu3.4

---
apport (2.14.1-0ubuntu3.4) trusty-proposed; urgency=medium

  * Write report even for crashes with UnreportableReasons, so that whoopsie
will upload more information. (LP: #1360417)
 -- Brian Murray br...@ubuntu.com   Tue, 02 Sep 2014 09:53:41 -0700

** Changed in: apport (Ubuntu Trusty)
   Status: Fix Committed = Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1360417

Title:
  thread_collect_info can leave out information in .crash files

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1360417] Re: thread_collect_info can leave out information in .crash files

2014-09-05 Thread Brian Murray
I installed the version of apport from trusty-proposed and confirm that
the .crash file had information added to it.  Specifically,
DistroRelease, UnreportableReason, Uname, Architecture were added.
However, Dependencies was not because apport can't read
/etc/apt/sources.list (duh).

** Tags removed: verification-needed
** Tags added: verification-done

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1360417

Title:
  thread_collect_info can leave out information in .crash files

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1360417] Re: thread_collect_info can leave out information in .crash files

2014-09-02 Thread Brian Murray
** Also affects: apport (Ubuntu Trusty)
   Importance: Undecided
   Status: New

** Changed in: apport (Ubuntu Trusty)
   Status: New = Triaged

** Changed in: apport (Ubuntu Trusty)
   Importance: Undecided = Medium

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1360417

Title:
  thread_collect_info can leave out information in .crash files

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1360417] Re: thread_collect_info can leave out information in .crash files

2014-09-02 Thread Brian Murray
** Changed in: apport (Ubuntu Trusty)
 Assignee: (unassigned) = Brian Murray (brian-murray)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1360417

Title:
  thread_collect_info can leave out information in .crash files

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1360417] Re: thread_collect_info can leave out information in .crash files

2014-09-02 Thread Launchpad Bug Tracker
** Branch linked: lp:~ubuntu-core-dev/ubuntu/trusty/apport/ubuntu

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1360417

Title:
  thread_collect_info can leave out information in .crash files

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1360417] Re: thread_collect_info can leave out information in .crash files

2014-09-02 Thread Brian Murray
I've uploaded this to the trusty-proposed queue for review.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1360417

Title:
  thread_collect_info can leave out information in .crash files

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1360417] Re: thread_collect_info can leave out information in .crash files

2014-09-02 Thread Chris J Arges
Hello Brian, or anyone else affected,

Accepted apport into trusty-proposed. The package will build now and be
available at
http://launchpad.net/ubuntu/+source/apport/2.14.1-0ubuntu3.4 in a few
hours, and then in the -proposed repository.

Please help us by testing this new package.  See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to
enable and use -proposed.  Your feedback will aid us getting this update
out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested, and change the tag
from verification-needed to verification-done. If it does not fix the
bug for you, please add a comment stating that, and change the tag to
verification-failed.  In either case, details of your testing will help
us make a better decision.

Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification .  Thank you in
advance!

** Changed in: apport (Ubuntu Trusty)
   Status: Triaged = Fix Committed

** Tags added: verification-needed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1360417

Title:
  thread_collect_info can leave out information in .crash files

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1360417] Re: thread_collect_info can leave out information in .crash files

2014-08-29 Thread Launchpad Bug Tracker
This bug was fixed in the package apport - 2.14.7-0ubuntu1

---
apport (2.14.7-0ubuntu1) utopic; urgency=medium

  * New upstream release:
- Fix interpretation of core dump ulimits: they are in bytes, not KiB.
  (LP: #1346497)
- apport-retrace: Don't require specifying an operation; default to
  updating the given .crash file. (LP: #1361242)
- Write report even on UnreportableReasons, so that whoopsie can still
  upload them. (LP: #1360417)
- apt/dpkg install_packages(): Write a packages.txt into sandbox root
  directory to keep track of installed packages and their versions.
  Prerequisite for LP #1352591.
- apt/dpkg install_packages(): Avoid re-downloading/installing packages
  which are already installed into a permanent sandbox. Prerequisite for
  LP #1352591.
- sandboxutils.py, make_sandbox(): Drop check for already existing files
  when dynamically resolving libraries and ExecutablePaths; with that,
  these packages would never get updated in a permanent sandbox. The new
  version tracking from above now takes care of that. (LP: #1352591)
- Fix report.test_add_proc_info test to stop assuming that pid 1 is named
  init, as one can specify a different one on the kernel command line.
- report.py, add_gdb_info(): Check for truncated core dumps, and set
  UnreportableReason and raise an IOError on them. Handle this in
  apport-retrace and whoopsie-upload-all to fail properly instead of
  silently producing broken Stacktraces. (LP: #1354571)
 -- Martin Pitt martin.p...@ubuntu.com   Fri, 29 Aug 2014 12:38:54 +0200

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

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1360417

Title:
  thread_collect_info can leave out information in .crash files

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1360417] Re: thread_collect_info can leave out information in .crash files

2014-08-27 Thread Martin Pitt
** Changed in: apport (Ubuntu)
   Status: New = In Progress

** Changed in: apport (Ubuntu)
   Importance: Undecided = Medium

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1360417

Title:
  thread_collect_info can leave out information in .crash files

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1360417] Re: thread_collect_info can leave out information in .crash files

2014-08-27 Thread Martin Pitt
Fixed in trunk r2846.

** Changed in: apport (Ubuntu)
   Status: In Progress = Fix Committed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1360417

Title:
  thread_collect_info can leave out information in .crash files

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1360417] Re: thread_collect_info can leave out information in .crash files

2014-08-27 Thread Launchpad Bug Tracker
** Branch linked: lp:apport

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1360417

Title:
  thread_collect_info can leave out information in .crash files

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1360417] Re: thread_collect_info can leave out information in .crash files

2014-08-22 Thread Brian Murray
I've tracked this down to the following in apport/ui.py:

try:
report.add_package_info(package)
except ValueError:
# this happens if we are collecting information on an uninstalled
# package
if not ignore_uninstalled:
raise
except SystemError as e:
report['UnreportableReason'] = excstr(e)
return

We are returning from thread_collect_info() before we've written the
collected information to the report. Removing the return works but then
'UnreportableReason' was changed to 'This package does not seem to be
installed correctly'. I think that any information gathered by apport
should be written to the report and we shouldn't return so early from
collecting info.

With the Error Tracker we've made a design decision to send reports that
are unreportable to Launchpad and it seems like this, the case of
/etc/apt/source.list being unreadable, is one of the crashes we'd want
reported.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1360417

Title:
  thread_collect_info can leave out information in .crash files

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1360417] Re: thread_collect_info can leave out information in .crash files

2014-08-22 Thread Brian Murray
This also happened to me with the oneconf-service:

https://errors.ubuntu.com/oops/f870f968-2975-11e4-8440-fa163e78b027

/etc/apt/sources.list was having read permissions removed from it by
apt-clone, a bug which has since been fixed.  But again having this
issues reported to the Error Tracker would be a good thing.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1360417

Title:
  thread_collect_info can leave out information in .crash files

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1360417] Re: thread_collect_info can leave out information in .crash files

2014-08-22 Thread Brian Murray
Here is the incomplete .crash file in the Error Tracker:

https://errors.ubuntu.com/oops/76316c14-2a27-11e4-a5d9-fa163e5bb1a2

This is the one that was made when I removed the return from
collect_info:

https://errors.ubuntu.com/oops/53f7a9ba-2a31-11e4-b792-fa163e5bb1a2

As we can see there is much more information in the second crash.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1360417

Title:
  thread_collect_info can leave out information in .crash files

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1360417] Re: thread_collect_info can leave out information in .crash files

2014-08-22 Thread Brian Murray
** Changed in: apport (Ubuntu)
 Assignee: (unassigned) = Martin Pitt (pitti)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1360417

Title:
  thread_collect_info can leave out information in .crash files

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs