[Touch-packages] [Bug 1512902] Re: apport will create .upload files for incomplete or corrupt crash reports

2016-01-06 Thread Mathew Hodson
** Tags removed: verification-failed-precise verification-needed
** Tags added: verification-failed

-- 
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/1512902

Title:
  apport will create .upload files for incomplete or corrupt crash
  reports

Status in apport package in Ubuntu:
  Fix Released
Status in apport source package in Precise:
  Fix Committed
Status in apport source package in Trusty:
  Fix Released
Status in apport source package in Vivid:
  Fix Released
Status in apport source package in Wily:
  Fix Released

Bug description:
  SRU information appears in comment #3.

  apport will set an UnreportableReason in the following situations for
  crash reports where information collection fails or for packages that
  do not exist.  From apport/ui.py:

  1036 try:
  1037 icthread.exc_raise()
  1038 except (IOError, EOFError, zlib.error) as e:
  1039 # can happen with broken core dumps
  1040 self.report['UnreportableReason'] = '%s\n\n%s' % (
  1041 _('This problem report is damaged and cannot be 
processed.'),
  1042 repr(e))
  1043 except ValueError:  # package does not exist
  1044 self.report['UnreportableReason'] = _('The report 
belongs to a package that is not installed.')
  1045 except Exception as e:
  1046 apport.error(repr(e))
  1047 self.report['UnreportableReason'] = _('An error 
occurred while attempting to '
  1048   'process this 
problem report:') + '\n\n' + str(e)

  Because an UnreportableReason exists in the report, apport will stop
  collecting information. Subsequently, there is "_MarkForUpload" is
  left as True (the default) so apport calls mark_report_upload which
  creates a .upload file such that the report which is incomplete or
  corrupt is then uploaded to the Error Tracker.

  In these cases the "_MarkForUpload" key should be set to "False"
  thereby preventing uploads to the Error Tracker.

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

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1512902] Re: apport will create .upload files for incomplete or corrupt crash reports

2015-11-16 Thread Launchpad Bug Tracker
This bug was fixed in the package apport - 2.14.1-0ubuntu3.19

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

  * apport/ui.py: set "_MarkForUpload" field to False for cases where the
apport report is damaged, about a not installed package, or when an
error occurred processing the report. (LP: #1512902)

 -- Brian Murray   Fri, 06 Nov 2015 07:14:08 -0800

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

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

-- 
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/1512902

Title:
  apport will create .upload files for incomplete or corrupt crash
  reports

Status in apport package in Ubuntu:
  Fix Released
Status in apport source package in Precise:
  Fix Committed
Status in apport source package in Trusty:
  Fix Released
Status in apport source package in Vivid:
  Fix Released
Status in apport source package in Wily:
  Fix Released

Bug description:
  SRU information appears in comment #3.

  apport will set an UnreportableReason in the following situations for
  crash reports where information collection fails or for packages that
  do not exist.  From apport/ui.py:

  1036 try:
  1037 icthread.exc_raise()
  1038 except (IOError, EOFError, zlib.error) as e:
  1039 # can happen with broken core dumps
  1040 self.report['UnreportableReason'] = '%s\n\n%s' % (
  1041 _('This problem report is damaged and cannot be 
processed.'),
  1042 repr(e))
  1043 except ValueError:  # package does not exist
  1044 self.report['UnreportableReason'] = _('The report 
belongs to a package that is not installed.')
  1045 except Exception as e:
  1046 apport.error(repr(e))
  1047 self.report['UnreportableReason'] = _('An error 
occurred while attempting to '
  1048   'process this 
problem report:') + '\n\n' + str(e)

  Because an UnreportableReason exists in the report, apport will stop
  collecting information. Subsequently, there is "_MarkForUpload" is
  left as True (the default) so apport calls mark_report_upload which
  creates a .upload file such that the report which is incomplete or
  corrupt is then uploaded to the Error Tracker.

  In these cases the "_MarkForUpload" key should be set to "False"
  thereby preventing uploads to the Error Tracker.

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

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1512902] Re: apport will create .upload files for incomplete or corrupt crash reports

2015-11-16 Thread Launchpad Bug Tracker
This bug was fixed in the package apport - 2.17.2-0ubuntu1.8

---
apport (2.17.2-0ubuntu1.8) vivid-proposed; urgency=medium

  * apport/ui.py: set "_MarkForUpload" field to False for cases where the
apport report is damaged, about a not installed package, or when an
error occurred processing the report. (LP: #1512902)

 -- Brian Murray   Thu, 05 Nov 2015 15:27:47 -0800

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

-- 
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/1512902

Title:
  apport will create .upload files for incomplete or corrupt crash
  reports

Status in apport package in Ubuntu:
  Fix Released
Status in apport source package in Precise:
  Fix Committed
Status in apport source package in Trusty:
  Fix Released
Status in apport source package in Vivid:
  Fix Released
Status in apport source package in Wily:
  Fix Released

Bug description:
  SRU information appears in comment #3.

  apport will set an UnreportableReason in the following situations for
  crash reports where information collection fails or for packages that
  do not exist.  From apport/ui.py:

  1036 try:
  1037 icthread.exc_raise()
  1038 except (IOError, EOFError, zlib.error) as e:
  1039 # can happen with broken core dumps
  1040 self.report['UnreportableReason'] = '%s\n\n%s' % (
  1041 _('This problem report is damaged and cannot be 
processed.'),
  1042 repr(e))
  1043 except ValueError:  # package does not exist
  1044 self.report['UnreportableReason'] = _('The report 
belongs to a package that is not installed.')
  1045 except Exception as e:
  1046 apport.error(repr(e))
  1047 self.report['UnreportableReason'] = _('An error 
occurred while attempting to '
  1048   'process this 
problem report:') + '\n\n' + str(e)

  Because an UnreportableReason exists in the report, apport will stop
  collecting information. Subsequently, there is "_MarkForUpload" is
  left as True (the default) so apport calls mark_report_upload which
  creates a .upload file such that the report which is incomplete or
  corrupt is then uploaded to the Error Tracker.

  In these cases the "_MarkForUpload" key should be set to "False"
  thereby preventing uploads to the Error Tracker.

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

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1512902] Re: apport will create .upload files for incomplete or corrupt crash reports

2015-11-16 Thread Launchpad Bug Tracker
This bug was fixed in the package apport - 2.19.1-0ubuntu5

---
apport (2.19.1-0ubuntu5) wily-proposed; urgency=medium

  * apport/ui.py: set "_MarkForUpload" field to False for cases where the
apport report is damaged, about a not installed package, or when an
error occurred processing the report. (LP: #1512902)

 -- Brian Murray   Wed, 04 Nov 2015 10:00:38 -0800

-- 
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/1512902

Title:
  apport will create .upload files for incomplete or corrupt crash
  reports

Status in apport package in Ubuntu:
  Fix Released
Status in apport source package in Precise:
  Fix Committed
Status in apport source package in Trusty:
  Fix Released
Status in apport source package in Vivid:
  Fix Released
Status in apport source package in Wily:
  Fix Released

Bug description:
  SRU information appears in comment #3.

  apport will set an UnreportableReason in the following situations for
  crash reports where information collection fails or for packages that
  do not exist.  From apport/ui.py:

  1036 try:
  1037 icthread.exc_raise()
  1038 except (IOError, EOFError, zlib.error) as e:
  1039 # can happen with broken core dumps
  1040 self.report['UnreportableReason'] = '%s\n\n%s' % (
  1041 _('This problem report is damaged and cannot be 
processed.'),
  1042 repr(e))
  1043 except ValueError:  # package does not exist
  1044 self.report['UnreportableReason'] = _('The report 
belongs to a package that is not installed.')
  1045 except Exception as e:
  1046 apport.error(repr(e))
  1047 self.report['UnreportableReason'] = _('An error 
occurred while attempting to '
  1048   'process this 
problem report:') + '\n\n' + str(e)

  Because an UnreportableReason exists in the report, apport will stop
  collecting information. Subsequently, there is "_MarkForUpload" is
  left as True (the default) so apport calls mark_report_upload which
  creates a .upload file such that the report which is incomplete or
  corrupt is then uploaded to the Error Tracker.

  In these cases the "_MarkForUpload" key should be set to "False"
  thereby preventing uploads to the Error Tracker.

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

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1512902] Re: apport will create .upload files for incomplete or corrupt crash reports

2015-11-09 Thread Brian Murray
I've verified this in Vivid with the test case I provided.

bdmurray@clean-vivid-amd64:~$ apt-cache policy apport
apport:
  Installed: 2.17.2-0ubuntu1.8
  Candidate: 2.17.2-0ubuntu1.8
  Version table:
 *** 2.17.2-0ubuntu1.8 0
500 http://192.168.10.7/ubuntu/ vivid-proposed/main amd64 Packages
100 /var/lib/dpkg/status
 2.17.2-0ubuntu1.7 0
500 http://192.168.10.7/ubuntu/ vivid-updates/main amd64 Packages
500 http://192.168.10.7/ubuntu/ vivid-security/main amd64 Packages
 2.17.2-0ubuntu1 0
500 http://192.168.10.7/ubuntu/ vivid/main amd64 Packages
bdmurray@clean-vivid-amd64:~$ ls /var/crash/
_bin_sleep.1000.crash


** Tags added: verification-done-vivid verification-done-wily

-- 
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/1512902

Title:
  apport will create .upload files for incomplete or corrupt crash
  reports

Status in apport package in Ubuntu:
  Fix Released
Status in apport source package in Precise:
  Fix Committed
Status in apport source package in Trusty:
  Fix Committed
Status in apport source package in Vivid:
  Fix Committed
Status in apport source package in Wily:
  Fix Committed

Bug description:
  SRU information appears in comment #3.

  apport will set an UnreportableReason in the following situations for
  crash reports where information collection fails or for packages that
  do not exist.  From apport/ui.py:

  1036 try:
  1037 icthread.exc_raise()
  1038 except (IOError, EOFError, zlib.error) as e:
  1039 # can happen with broken core dumps
  1040 self.report['UnreportableReason'] = '%s\n\n%s' % (
  1041 _('This problem report is damaged and cannot be 
processed.'),
  1042 repr(e))
  1043 except ValueError:  # package does not exist
  1044 self.report['UnreportableReason'] = _('The report 
belongs to a package that is not installed.')
  1045 except Exception as e:
  1046 apport.error(repr(e))
  1047 self.report['UnreportableReason'] = _('An error 
occurred while attempting to '
  1048   'process this 
problem report:') + '\n\n' + str(e)

  Because an UnreportableReason exists in the report, apport will stop
  collecting information. Subsequently, there is "_MarkForUpload" is
  left as True (the default) so apport calls mark_report_upload which
  creates a .upload file such that the report which is incomplete or
  corrupt is then uploaded to the Error Tracker.

  In these cases the "_MarkForUpload" key should be set to "False"
  thereby preventing uploads to the Error Tracker.

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

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1512902] Re: apport will create .upload files for incomplete or corrupt crash reports

2015-11-09 Thread Adam Conrad
Hello Brian, or anyone else affected,

Accepted apport into precise-proposed. The package will build now and be
available at
https://launchpad.net/ubuntu/+source/apport/2.0.1-0ubuntu17.14 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 Precise)
   Status: In Progress => Fix Committed

** Tags removed: verification-done

** Tags added: verification-needed

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

-- 
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/1512902

Title:
  apport will create .upload files for incomplete or corrupt crash
  reports

Status in apport package in Ubuntu:
  Fix Released
Status in apport source package in Precise:
  Fix Committed
Status in apport source package in Trusty:
  Fix Committed
Status in apport source package in Vivid:
  Fix Committed
Status in apport source package in Wily:
  Fix Committed

Bug description:
  SRU information appears in comment #3.

  apport will set an UnreportableReason in the following situations for
  crash reports where information collection fails or for packages that
  do not exist.  From apport/ui.py:

  1036 try:
  1037 icthread.exc_raise()
  1038 except (IOError, EOFError, zlib.error) as e:
  1039 # can happen with broken core dumps
  1040 self.report['UnreportableReason'] = '%s\n\n%s' % (
  1041 _('This problem report is damaged and cannot be 
processed.'),
  1042 repr(e))
  1043 except ValueError:  # package does not exist
  1044 self.report['UnreportableReason'] = _('The report 
belongs to a package that is not installed.')
  1045 except Exception as e:
  1046 apport.error(repr(e))
  1047 self.report['UnreportableReason'] = _('An error 
occurred while attempting to '
  1048   'process this 
problem report:') + '\n\n' + str(e)

  Because an UnreportableReason exists in the report, apport will stop
  collecting information. Subsequently, there is "_MarkForUpload" is
  left as True (the default) so apport calls mark_report_upload which
  creates a .upload file such that the report which is incomplete or
  corrupt is then uploaded to the Error Tracker.

  In these cases the "_MarkForUpload" key should be set to "False"
  thereby preventing uploads to the Error Tracker.

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

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1512902] Re: apport will create .upload files for incomplete or corrupt crash reports

2015-11-09 Thread Brian Murray
The test case for this bug fails with the version of apport from
precise-proposed with the following.

*** Error: Invalid problem report

This problem report is damaged and cannot be processed.

IOError('CRC check failed 0xfd06bf8f != 0xe96ce39bL',)

Press any key to continue...  
Traceback (most recent call last):
  File "/usr/bin/apport-cli", line 365, in 
if not app.run_argv():
  File "/usr/lib/python2.7/dist-packages/apport/ui.py", line 565, in run_argv
self.run_crash(self.options.crash_file, False)
  File "/usr/lib/python2.7/dist-packages/apport/ui.py", line 232, in run_crash
self.report['_MarkForUpload'] = 'False'
TypeError: 'NoneType' object does not support item assignment

So it seems, with the IOError, that the crash would not have been
uploaded anyway. The crash happens in Precise because the correct field
is MarkForUpload not _MarkForUpload.

** Tags removed: verification-failed
** Tags added: verification-failed-precise

-- 
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/1512902

Title:
  apport will create .upload files for incomplete or corrupt crash
  reports

Status in apport package in Ubuntu:
  Fix Released
Status in apport source package in Precise:
  Fix Committed
Status in apport source package in Trusty:
  Fix Committed
Status in apport source package in Vivid:
  Fix Committed
Status in apport source package in Wily:
  Fix Committed

Bug description:
  SRU information appears in comment #3.

  apport will set an UnreportableReason in the following situations for
  crash reports where information collection fails or for packages that
  do not exist.  From apport/ui.py:

  1036 try:
  1037 icthread.exc_raise()
  1038 except (IOError, EOFError, zlib.error) as e:
  1039 # can happen with broken core dumps
  1040 self.report['UnreportableReason'] = '%s\n\n%s' % (
  1041 _('This problem report is damaged and cannot be 
processed.'),
  1042 repr(e))
  1043 except ValueError:  # package does not exist
  1044 self.report['UnreportableReason'] = _('The report 
belongs to a package that is not installed.')
  1045 except Exception as e:
  1046 apport.error(repr(e))
  1047 self.report['UnreportableReason'] = _('An error 
occurred while attempting to '
  1048   'process this 
problem report:') + '\n\n' + str(e)

  Because an UnreportableReason exists in the report, apport will stop
  collecting information. Subsequently, there is "_MarkForUpload" is
  left as True (the default) so apport calls mark_report_upload which
  creates a .upload file such that the report which is incomplete or
  corrupt is then uploaded to the Error Tracker.

  In these cases the "_MarkForUpload" key should be set to "False"
  thereby preventing uploads to the Error Tracker.

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

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1512902] Re: apport will create .upload files for incomplete or corrupt crash reports

2015-11-09 Thread Brian Murray
I've verified this in Trusty with the test case I provided.

bdmurray@clean-trusty-amd64:~$ apt-cache policy apport
apport:
  Installed: 2.14.1-0ubuntu3.19
  Candidate: 2.14.1-0ubuntu3.19
  Version table:
 *** 2.14.1-0ubuntu3.19 0
500 http://192.168.10.7/ubuntu/ trusty-proposed/main amd64 Packages
100 /var/lib/dpkg/status
 2.14.1-0ubuntu3.18 0
500 http://192.168.10.7/ubuntu/ trusty-updates/main amd64 Packages
500 http://192.168.10.7/ubuntu/ trusty-security/main amd64 Packages
 2.14.1-0ubuntu3 0
500 http://192.168.10.7/ubuntu/ trusty/main amd64 Packages
bdmurray@clean-trusty-amd64:~$ ls /var/crash/
_bin_sleep.1000.crash


** Tags added: verification-done-trusty

-- 
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/1512902

Title:
  apport will create .upload files for incomplete or corrupt crash
  reports

Status in apport package in Ubuntu:
  Fix Released
Status in apport source package in Precise:
  Fix Committed
Status in apport source package in Trusty:
  Fix Committed
Status in apport source package in Vivid:
  Fix Committed
Status in apport source package in Wily:
  Fix Committed

Bug description:
  SRU information appears in comment #3.

  apport will set an UnreportableReason in the following situations for
  crash reports where information collection fails or for packages that
  do not exist.  From apport/ui.py:

  1036 try:
  1037 icthread.exc_raise()
  1038 except (IOError, EOFError, zlib.error) as e:
  1039 # can happen with broken core dumps
  1040 self.report['UnreportableReason'] = '%s\n\n%s' % (
  1041 _('This problem report is damaged and cannot be 
processed.'),
  1042 repr(e))
  1043 except ValueError:  # package does not exist
  1044 self.report['UnreportableReason'] = _('The report 
belongs to a package that is not installed.')
  1045 except Exception as e:
  1046 apport.error(repr(e))
  1047 self.report['UnreportableReason'] = _('An error 
occurred while attempting to '
  1048   'process this 
problem report:') + '\n\n' + str(e)

  Because an UnreportableReason exists in the report, apport will stop
  collecting information. Subsequently, there is "_MarkForUpload" is
  left as True (the default) so apport calls mark_report_upload which
  creates a .upload file such that the report which is incomplete or
  corrupt is then uploaded to the Error Tracker.

  In these cases the "_MarkForUpload" key should be set to "False"
  thereby preventing uploads to the Error Tracker.

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

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1512902] Re: apport will create .upload files for incomplete or corrupt crash reports

2015-11-06 Thread Brian Murray
** Changed in: apport (Ubuntu Trusty)
   Status: Triaged => In Progress

** Changed in: apport (Ubuntu Trusty)
 Assignee: (unassigned) => Brian Murray (brian-murray)

-- 
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/1512902

Title:
  apport will create .upload files for incomplete or corrupt crash
  reports

Status in apport package in Ubuntu:
  Fix Released
Status in apport source package in Precise:
  In Progress
Status in apport source package in Trusty:
  In Progress
Status in apport source package in Vivid:
  In Progress
Status in apport source package in Wily:
  Fix Committed

Bug description:
  SRU information appears in comment #3.

  apport will set an UnreportableReason in the following situations for
  crash reports where information collection fails or for packages that
  do not exist.  From apport/ui.py:

  1036 try:
  1037 icthread.exc_raise()
  1038 except (IOError, EOFError, zlib.error) as e:
  1039 # can happen with broken core dumps
  1040 self.report['UnreportableReason'] = '%s\n\n%s' % (
  1041 _('This problem report is damaged and cannot be 
processed.'),
  1042 repr(e))
  1043 except ValueError:  # package does not exist
  1044 self.report['UnreportableReason'] = _('The report 
belongs to a package that is not installed.')
  1045 except Exception as e:
  1046 apport.error(repr(e))
  1047 self.report['UnreportableReason'] = _('An error 
occurred while attempting to '
  1048   'process this 
problem report:') + '\n\n' + str(e)

  Because an UnreportableReason exists in the report, apport will stop
  collecting information. Subsequently, there is "_MarkForUpload" is
  left as True (the default) so apport calls mark_report_upload which
  creates a .upload file such that the report which is incomplete or
  corrupt is then uploaded to the Error Tracker.

  In these cases the "_MarkForUpload" key should be set to "False"
  thereby preventing uploads to the Error Tracker.

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

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1512902] Re: apport will create .upload files for incomplete or corrupt crash reports

2015-11-06 Thread Brian Murray
** Changed in: apport (Ubuntu Precise)
   Status: Triaged => In Progress

** Changed in: apport (Ubuntu Precise)
 Assignee: (unassigned) => Brian Murray (brian-murray)

-- 
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/1512902

Title:
  apport will create .upload files for incomplete or corrupt crash
  reports

Status in apport package in Ubuntu:
  Fix Released
Status in apport source package in Precise:
  In Progress
Status in apport source package in Trusty:
  In Progress
Status in apport source package in Vivid:
  In Progress
Status in apport source package in Wily:
  Fix Committed

Bug description:
  SRU information appears in comment #3.

  apport will set an UnreportableReason in the following situations for
  crash reports where information collection fails or for packages that
  do not exist.  From apport/ui.py:

  1036 try:
  1037 icthread.exc_raise()
  1038 except (IOError, EOFError, zlib.error) as e:
  1039 # can happen with broken core dumps
  1040 self.report['UnreportableReason'] = '%s\n\n%s' % (
  1041 _('This problem report is damaged and cannot be 
processed.'),
  1042 repr(e))
  1043 except ValueError:  # package does not exist
  1044 self.report['UnreportableReason'] = _('The report 
belongs to a package that is not installed.')
  1045 except Exception as e:
  1046 apport.error(repr(e))
  1047 self.report['UnreportableReason'] = _('An error 
occurred while attempting to '
  1048   'process this 
problem report:') + '\n\n' + str(e)

  Because an UnreportableReason exists in the report, apport will stop
  collecting information. Subsequently, there is "_MarkForUpload" is
  left as True (the default) so apport calls mark_report_upload which
  creates a .upload file such that the report which is incomplete or
  corrupt is then uploaded to the Error Tracker.

  In these cases the "_MarkForUpload" key should be set to "False"
  thereby preventing uploads to the Error Tracker.

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

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1512902] Re: apport will create .upload files for incomplete or corrupt crash reports

2015-11-06 Thread Launchpad Bug Tracker
** Branch linked: lp:~ubuntu-core-dev/ubuntu/precise/apport/ubuntu

-- 
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/1512902

Title:
  apport will create .upload files for incomplete or corrupt crash
  reports

Status in apport package in Ubuntu:
  Fix Released
Status in apport source package in Precise:
  In Progress
Status in apport source package in Trusty:
  In Progress
Status in apport source package in Vivid:
  In Progress
Status in apport source package in Wily:
  Fix Committed

Bug description:
  SRU information appears in comment #3.

  apport will set an UnreportableReason in the following situations for
  crash reports where information collection fails or for packages that
  do not exist.  From apport/ui.py:

  1036 try:
  1037 icthread.exc_raise()
  1038 except (IOError, EOFError, zlib.error) as e:
  1039 # can happen with broken core dumps
  1040 self.report['UnreportableReason'] = '%s\n\n%s' % (
  1041 _('This problem report is damaged and cannot be 
processed.'),
  1042 repr(e))
  1043 except ValueError:  # package does not exist
  1044 self.report['UnreportableReason'] = _('The report 
belongs to a package that is not installed.')
  1045 except Exception as e:
  1046 apport.error(repr(e))
  1047 self.report['UnreportableReason'] = _('An error 
occurred while attempting to '
  1048   'process this 
problem report:') + '\n\n' + str(e)

  Because an UnreportableReason exists in the report, apport will stop
  collecting information. Subsequently, there is "_MarkForUpload" is
  left as True (the default) so apport calls mark_report_upload which
  creates a .upload file such that the report which is incomplete or
  corrupt is then uploaded to the Error Tracker.

  In these cases the "_MarkForUpload" key should be set to "False"
  thereby preventing uploads to the Error Tracker.

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

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1512902] Re: apport will create .upload files for incomplete or corrupt crash reports

2015-11-05 Thread Hans Christian Holm
** Changed in: apport (Ubuntu Wily)
   Status: Fix Committed => Fix Released

-- 
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/1512902

Title:
  apport will create .upload files for incomplete or corrupt crash
  reports

Status in apport package in Ubuntu:
  Fix Released
Status in apport source package in Wily:
  Fix Released

Bug description:
  SRU information appears in comment #3.

  apport will set an UnreportableReason in the following situations for
  crash reports where information collection fails or for packages that
  do not exist.  From apport/ui.py:

  1036 try:
  1037 icthread.exc_raise()
  1038 except (IOError, EOFError, zlib.error) as e:
  1039 # can happen with broken core dumps
  1040 self.report['UnreportableReason'] = '%s\n\n%s' % (
  1041 _('This problem report is damaged and cannot be 
processed.'),
  1042 repr(e))
  1043 except ValueError:  # package does not exist
  1044 self.report['UnreportableReason'] = _('The report 
belongs to a package that is not installed.')
  1045 except Exception as e:
  1046 apport.error(repr(e))
  1047 self.report['UnreportableReason'] = _('An error 
occurred while attempting to '
  1048   'process this 
problem report:') + '\n\n' + str(e)

  Because an UnreportableReason exists in the report, apport will stop
  collecting information. Subsequently, there is "_MarkForUpload" is
  left as True (the default) so apport calls mark_report_upload which
  creates a .upload file such that the report which is incomplete or
  corrupt is then uploaded to the Error Tracker.

  In these cases the "_MarkForUpload" key should be set to "False"
  thereby preventing uploads to the Error Tracker.

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

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1512902] Re: apport will create .upload files for incomplete or corrupt crash reports

2015-11-05 Thread Brian Murray
This is *not* fixed in the Ubuntu archive as the package has not been
moved to -updates, it only exists in -proposed. The Launchpad janitor
will automatically mark the task as Fix Released when the package moves
to -updates.

Please stop setting this to Fix Released.

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

-- 
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/1512902

Title:
  apport will create .upload files for incomplete or corrupt crash
  reports

Status in apport package in Ubuntu:
  Fix Released
Status in apport source package in Precise:
  Triaged
Status in apport source package in Trusty:
  Triaged
Status in apport source package in Vivid:
  Triaged
Status in apport source package in Wily:
  Fix Committed

Bug description:
  SRU information appears in comment #3.

  apport will set an UnreportableReason in the following situations for
  crash reports where information collection fails or for packages that
  do not exist.  From apport/ui.py:

  1036 try:
  1037 icthread.exc_raise()
  1038 except (IOError, EOFError, zlib.error) as e:
  1039 # can happen with broken core dumps
  1040 self.report['UnreportableReason'] = '%s\n\n%s' % (
  1041 _('This problem report is damaged and cannot be 
processed.'),
  1042 repr(e))
  1043 except ValueError:  # package does not exist
  1044 self.report['UnreportableReason'] = _('The report 
belongs to a package that is not installed.')
  1045 except Exception as e:
  1046 apport.error(repr(e))
  1047 self.report['UnreportableReason'] = _('An error 
occurred while attempting to '
  1048   'process this 
problem report:') + '\n\n' + str(e)

  Because an UnreportableReason exists in the report, apport will stop
  collecting information. Subsequently, there is "_MarkForUpload" is
  left as True (the default) so apport calls mark_report_upload which
  creates a .upload file such that the report which is incomplete or
  corrupt is then uploaded to the Error Tracker.

  In these cases the "_MarkForUpload" key should be set to "False"
  thereby preventing uploads to the Error Tracker.

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

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1512902] Re: apport will create .upload files for incomplete or corrupt crash reports

2015-11-05 Thread Brian Murray
** Changed in: apport (Ubuntu Wily)
   Status: Fix Released => Fix Committed

** Also affects: apport (Ubuntu Trusty)
   Importance: Undecided
   Status: New

** Also affects: apport (Ubuntu Precise)
   Importance: Undecided
   Status: New

** Also affects: apport (Ubuntu Vivid)
   Importance: Undecided
   Status: New

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

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

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

** Changed in: apport (Ubuntu Precise)
   Importance: Undecided => High

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

** Changed in: apport (Ubuntu Vivid)
   Importance: Undecided => High

-- 
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/1512902

Title:
  apport will create .upload files for incomplete or corrupt crash
  reports

Status in apport package in Ubuntu:
  Fix Released
Status in apport source package in Precise:
  Triaged
Status in apport source package in Trusty:
  Triaged
Status in apport source package in Vivid:
  Triaged
Status in apport source package in Wily:
  Fix Committed

Bug description:
  SRU information appears in comment #3.

  apport will set an UnreportableReason in the following situations for
  crash reports where information collection fails or for packages that
  do not exist.  From apport/ui.py:

  1036 try:
  1037 icthread.exc_raise()
  1038 except (IOError, EOFError, zlib.error) as e:
  1039 # can happen with broken core dumps
  1040 self.report['UnreportableReason'] = '%s\n\n%s' % (
  1041 _('This problem report is damaged and cannot be 
processed.'),
  1042 repr(e))
  1043 except ValueError:  # package does not exist
  1044 self.report['UnreportableReason'] = _('The report 
belongs to a package that is not installed.')
  1045 except Exception as e:
  1046 apport.error(repr(e))
  1047 self.report['UnreportableReason'] = _('An error 
occurred while attempting to '
  1048   'process this 
problem report:') + '\n\n' + str(e)

  Because an UnreportableReason exists in the report, apport will stop
  collecting information. Subsequently, there is "_MarkForUpload" is
  left as True (the default) so apport calls mark_report_upload which
  creates a .upload file such that the report which is incomplete or
  corrupt is then uploaded to the Error Tracker.

  In these cases the "_MarkForUpload" key should be set to "False"
  thereby preventing uploads to the Error Tracker.

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

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1512902] Re: apport will create .upload files for incomplete or corrupt crash reports

2015-11-05 Thread Hans Christian Holm
** Changed in: apport (Ubuntu Wily)
   Status: Fix Committed => Fix Released

-- 
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/1512902

Title:
  apport will create .upload files for incomplete or corrupt crash
  reports

Status in apport package in Ubuntu:
  Fix Released
Status in apport source package in Precise:
  Triaged
Status in apport source package in Trusty:
  Triaged
Status in apport source package in Vivid:
  Triaged
Status in apport source package in Wily:
  Fix Released

Bug description:
  SRU information appears in comment #3.

  apport will set an UnreportableReason in the following situations for
  crash reports where information collection fails or for packages that
  do not exist.  From apport/ui.py:

  1036 try:
  1037 icthread.exc_raise()
  1038 except (IOError, EOFError, zlib.error) as e:
  1039 # can happen with broken core dumps
  1040 self.report['UnreportableReason'] = '%s\n\n%s' % (
  1041 _('This problem report is damaged and cannot be 
processed.'),
  1042 repr(e))
  1043 except ValueError:  # package does not exist
  1044 self.report['UnreportableReason'] = _('The report 
belongs to a package that is not installed.')
  1045 except Exception as e:
  1046 apport.error(repr(e))
  1047 self.report['UnreportableReason'] = _('An error 
occurred while attempting to '
  1048   'process this 
problem report:') + '\n\n' + str(e)

  Because an UnreportableReason exists in the report, apport will stop
  collecting information. Subsequently, there is "_MarkForUpload" is
  left as True (the default) so apport calls mark_report_upload which
  creates a .upload file such that the report which is incomplete or
  corrupt is then uploaded to the Error Tracker.

  In these cases the "_MarkForUpload" key should be set to "False"
  thereby preventing uploads to the Error Tracker.

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

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1512902] Re: apport will create .upload files for incomplete or corrupt crash reports

2015-11-05 Thread Brian Murray
** Changed in: apport (Ubuntu Vivid)
 Assignee: (unassigned) => Brian Murray (brian-murray)

** Changed in: apport (Ubuntu Vivid)
   Status: Triaged => In Progress

-- 
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/1512902

Title:
  apport will create .upload files for incomplete or corrupt crash
  reports

Status in apport package in Ubuntu:
  Fix Released
Status in apport source package in Precise:
  Triaged
Status in apport source package in Trusty:
  Triaged
Status in apport source package in Vivid:
  In Progress
Status in apport source package in Wily:
  Fix Committed

Bug description:
  SRU information appears in comment #3.

  apport will set an UnreportableReason in the following situations for
  crash reports where information collection fails or for packages that
  do not exist.  From apport/ui.py:

  1036 try:
  1037 icthread.exc_raise()
  1038 except (IOError, EOFError, zlib.error) as e:
  1039 # can happen with broken core dumps
  1040 self.report['UnreportableReason'] = '%s\n\n%s' % (
  1041 _('This problem report is damaged and cannot be 
processed.'),
  1042 repr(e))
  1043 except ValueError:  # package does not exist
  1044 self.report['UnreportableReason'] = _('The report 
belongs to a package that is not installed.')
  1045 except Exception as e:
  1046 apport.error(repr(e))
  1047 self.report['UnreportableReason'] = _('An error 
occurred while attempting to '
  1048   'process this 
problem report:') + '\n\n' + str(e)

  Because an UnreportableReason exists in the report, apport will stop
  collecting information. Subsequently, there is "_MarkForUpload" is
  left as True (the default) so apport calls mark_report_upload which
  creates a .upload file such that the report which is incomplete or
  corrupt is then uploaded to the Error Tracker.

  In these cases the "_MarkForUpload" key should be set to "False"
  thereby preventing uploads to the Error Tracker.

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

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1512902] Re: apport will create .upload files for incomplete or corrupt crash reports

2015-11-04 Thread Brian Murray
I've verified this fix in Wily using the test case that I provided.

bdmurray@blacklightning:/var/crash$ apt-cache policy python3-apport
python3-apport:
  Installed: 2.19.1-0ubuntu5
  Candidate: 2.19.1-0ubuntu5
  Version table:
 *** 2.19.1-0ubuntu5 0
100 /var/lib/dpkg/status
 2.19.1-0ubuntu4 0
500 http://us.archive.ubuntu.com/ubuntu/ wily-updates/main amd64 
Packages
500 http://us.archive.ubuntu.com/ubuntu/ wily-security/main amd64 
Packages
 2.19.1-0ubuntu3 0
500 http://us.archive.ubuntu.com/ubuntu/ wily/main amd64 Packages
bdmurray@blacklightning:/var/crash$ ls -lh
total 32K
-rw-r- 1 bdmurray whoopsie 31K Nov  4 13:37 _bin_sleep.1000.crash


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

-- 
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/1512902

Title:
  apport will create .upload files for incomplete or corrupt crash
  reports

Status in apport package in Ubuntu:
  Fix Released
Status in apport source package in Wily:
  Fix Committed

Bug description:
  SRU information appears in comment #3.

  apport will set an UnreportableReason in the following situations for
  crash reports where information collection fails or for packages that
  do not exist.  From apport/ui.py:

  1036 try:
  1037 icthread.exc_raise()
  1038 except (IOError, EOFError, zlib.error) as e:
  1039 # can happen with broken core dumps
  1040 self.report['UnreportableReason'] = '%s\n\n%s' % (
  1041 _('This problem report is damaged and cannot be 
processed.'),
  1042 repr(e))
  1043 except ValueError:  # package does not exist
  1044 self.report['UnreportableReason'] = _('The report 
belongs to a package that is not installed.')
  1045 except Exception as e:
  1046 apport.error(repr(e))
  1047 self.report['UnreportableReason'] = _('An error 
occurred while attempting to '
  1048   'process this 
problem report:') + '\n\n' + str(e)

  Because an UnreportableReason exists in the report, apport will stop
  collecting information. Subsequently, there is "_MarkForUpload" is
  left as True (the default) so apport calls mark_report_upload which
  creates a .upload file such that the report which is incomplete or
  corrupt is then uploaded to the Error Tracker.

  In these cases the "_MarkForUpload" key should be set to "False"
  thereby preventing uploads to the Error Tracker.

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

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1512902] Re: apport will create .upload files for incomplete or corrupt crash reports

2015-11-04 Thread Launchpad Bug Tracker
This bug was fixed in the package apport - 2.19.2-0ubuntu2

---
apport (2.19.2-0ubuntu2) xenial; urgency=medium

  * apport/ui.py: set "_MarkForUpload" field to False for cases where the
apport report is damaged, about a not installed package, or when an
error occurred processing the report. (LP: #1512902)

 -- Brian Murray   Tue, 03 Nov 2015 15:44:18 -0800

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

-- 
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/1512902

Title:
  apport will create .upload files for incomplete or corrupt crash
  reports

Status in apport package in Ubuntu:
  Fix Released

Bug description:
  apport will set an an UnreportableReason in the following situations
  for crash reports where information collection fails or for packages
  that do not exist.  From apport/ui.py:

  1036 try:
  1037 icthread.exc_raise()
  1038 except (IOError, EOFError, zlib.error) as e:
  1039 # can happen with broken core dumps
  1040 self.report['UnreportableReason'] = '%s\n\n%s' % (
  1041 _('This problem report is damaged and cannot be 
processed.'),
  1042 repr(e))
  1043 except ValueError:  # package does not exist
  1044 self.report['UnreportableReason'] = _('The report 
belongs to a package that is not installed.')
  1045 except Exception as e:
  1046 apport.error(repr(e))
  1047 self.report['UnreportableReason'] = _('An error 
occurred while attempting to '
  1048   'process this 
problem report:') + '\n\n' + str(e)

  Because an UnreportableReason exists in the report, apport will stop
  collecting infromation. Subsequently, there is no "_MarkForUpload"
  information in the report so apport calls mark_report_upload which
  creates a .upload file such that the report which is incomplete or
  corrupt is then uploaded to the Error Tracker.

  In these cases the "_MarkForUpload" key should be set to "False"
  thereby preventing uploads to the Error Tracker.

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

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1512902] Re: apport will create .upload files for incomplete or corrupt crash reports

2015-11-04 Thread Brian Murray
** Also affects: apport (Ubuntu Wily)
   Importance: Undecided
   Status: New

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

** Changed in: apport (Ubuntu Wily)
   Importance: Undecided => High

** Description changed:

- apport will set an an UnreportableReason in the following situations for
+ apport will set an UnreportableReason in the following situations for
  crash reports where information collection fails or for packages that do
  not exist.  From apport/ui.py:
  
  1036 try:
  1037 icthread.exc_raise()
  1038 except (IOError, EOFError, zlib.error) as e:
  1039 # can happen with broken core dumps
  1040 self.report['UnreportableReason'] = '%s\n\n%s' % (
  1041 _('This problem report is damaged and cannot be 
processed.'),
  1042 repr(e))
  1043 except ValueError:  # package does not exist
  1044 self.report['UnreportableReason'] = _('The report 
belongs to a package that is not installed.')
  1045 except Exception as e:
  1046 apport.error(repr(e))
  1047 self.report['UnreportableReason'] = _('An error 
occurred while attempting to '
  1048   'process this 
problem report:') + '\n\n' + str(e)
  
  Because an UnreportableReason exists in the report, apport will stop
  collecting infromation. Subsequently, there is no "_MarkForUpload"
  information in the report so apport calls mark_report_upload which
  creates a .upload file such that the report which is incomplete or
  corrupt is then uploaded to the Error Tracker.
  
  In these cases the "_MarkForUpload" key should be set to "False" thereby
  preventing uploads to the Error Tracker.

** Description changed:

  apport will set an UnreportableReason in the following situations for
  crash reports where information collection fails or for packages that do
  not exist.  From apport/ui.py:
  
  1036 try:
  1037 icthread.exc_raise()
  1038 except (IOError, EOFError, zlib.error) as e:
  1039 # can happen with broken core dumps
  1040 self.report['UnreportableReason'] = '%s\n\n%s' % (
  1041 _('This problem report is damaged and cannot be 
processed.'),
  1042 repr(e))
  1043 except ValueError:  # package does not exist
  1044 self.report['UnreportableReason'] = _('The report 
belongs to a package that is not installed.')
  1045 except Exception as e:
  1046 apport.error(repr(e))
  1047 self.report['UnreportableReason'] = _('An error 
occurred while attempting to '
  1048   'process this 
problem report:') + '\n\n' + str(e)
  
  Because an UnreportableReason exists in the report, apport will stop
- collecting infromation. Subsequently, there is no "_MarkForUpload"
- information in the report so apport calls mark_report_upload which
- creates a .upload file such that the report which is incomplete or
- corrupt is then uploaded to the Error Tracker.
+ collecting information. Subsequently, there is "_MarkForUpload" is left
+ as True (the default) so apport calls mark_report_upload which creates a
+ .upload file such that the report which is incomplete or corrupt is then
+ uploaded to the Error Tracker.
  
  In these cases the "_MarkForUpload" key should be set to "False" thereby
  preventing uploads to the Error Tracker.

-- 
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/1512902

Title:
  apport will create .upload files for incomplete or corrupt crash
  reports

Status in apport package in Ubuntu:
  Fix Released
Status in apport source package in Wily:
  Triaged

Bug description:
  apport will set an UnreportableReason in the following situations for
  crash reports where information collection fails or for packages that
  do not exist.  From apport/ui.py:

  1036 try:
  1037 icthread.exc_raise()
  1038 except (IOError, EOFError, zlib.error) as e:
  1039 # can happen with broken core dumps
  1040 self.report['UnreportableReason'] = '%s\n\n%s' % (
  1041 _('This problem report is damaged and cannot be 
processed.'),
  1042 repr(e))
  1043 except ValueError:  # package does not exist
  1044 self.report['UnreportableReason'] = _('The report 
belongs to a package that is not installed.')
  1045 except Exception as e:
  1046 

[Touch-packages] [Bug 1512902] Re: apport will create .upload files for incomplete or corrupt crash reports

2015-11-04 Thread Brian Murray
This may cause a decrease in the quantity for crash reports that appear
as "Not a core dump per gdb" in the Error Tracker retracer log files and
the counter "retrace.failure.gdb_core_check".

-- 
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/1512902

Title:
  apport will create .upload files for incomplete or corrupt crash
  reports

Status in apport package in Ubuntu:
  Fix Released
Status in apport source package in Wily:
  Triaged

Bug description:
  apport will set an UnreportableReason in the following situations for
  crash reports where information collection fails or for packages that
  do not exist.  From apport/ui.py:

  1036 try:
  1037 icthread.exc_raise()
  1038 except (IOError, EOFError, zlib.error) as e:
  1039 # can happen with broken core dumps
  1040 self.report['UnreportableReason'] = '%s\n\n%s' % (
  1041 _('This problem report is damaged and cannot be 
processed.'),
  1042 repr(e))
  1043 except ValueError:  # package does not exist
  1044 self.report['UnreportableReason'] = _('The report 
belongs to a package that is not installed.')
  1045 except Exception as e:
  1046 apport.error(repr(e))
  1047 self.report['UnreportableReason'] = _('An error 
occurred while attempting to '
  1048   'process this 
problem report:') + '\n\n' + str(e)

  Because an UnreportableReason exists in the report, apport will stop
  collecting information. Subsequently, there is "_MarkForUpload" is
  left as True (the default) so apport calls mark_report_upload which
  creates a .upload file such that the report which is incomplete or
  corrupt is then uploaded to the Error Tracker.

  In these cases the "_MarkForUpload" key should be set to "False"
  thereby preventing uploads to the Error Tracker.

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

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1512902] Re: apport will create .upload files for incomplete or corrupt crash reports

2015-11-04 Thread Brian Murray
This is the test crash with a corrupted CoreDump field.

** Attachment added: "_bin_sleep.1000.crash"
   
https://bugs.launchpad.net/ubuntu/+source/apport/+bug/1512902/+attachment/4512887/+files/_bin_sleep.1000.crash

** Description changed:

+ SRU information appears in comment #3.
+ 
  apport will set an UnreportableReason in the following situations for
  crash reports where information collection fails or for packages that do
  not exist.  From apport/ui.py:
  
  1036 try:
  1037 icthread.exc_raise()
  1038 except (IOError, EOFError, zlib.error) as e:
  1039 # can happen with broken core dumps
  1040 self.report['UnreportableReason'] = '%s\n\n%s' % (
  1041 _('This problem report is damaged and cannot be 
processed.'),
  1042 repr(e))
  1043 except ValueError:  # package does not exist
  1044 self.report['UnreportableReason'] = _('The report 
belongs to a package that is not installed.')
  1045 except Exception as e:
  1046 apport.error(repr(e))
  1047 self.report['UnreportableReason'] = _('An error 
occurred while attempting to '
  1048   'process this 
problem report:') + '\n\n' + str(e)
  
  Because an UnreportableReason exists in the report, apport will stop
  collecting information. Subsequently, there is "_MarkForUpload" is left
  as True (the default) so apport calls mark_report_upload which creates a
  .upload file such that the report which is incomplete or corrupt is then
  uploaded to the Error Tracker.
  
  In these cases the "_MarkForUpload" key should be set to "False" thereby
  preventing uploads to the Error Tracker.

-- 
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/1512902

Title:
  apport will create .upload files for incomplete or corrupt crash
  reports

Status in apport package in Ubuntu:
  Fix Released
Status in apport source package in Wily:
  Triaged

Bug description:
  SRU information appears in comment #3.

  apport will set an UnreportableReason in the following situations for
  crash reports where information collection fails or for packages that
  do not exist.  From apport/ui.py:

  1036 try:
  1037 icthread.exc_raise()
  1038 except (IOError, EOFError, zlib.error) as e:
  1039 # can happen with broken core dumps
  1040 self.report['UnreportableReason'] = '%s\n\n%s' % (
  1041 _('This problem report is damaged and cannot be 
processed.'),
  1042 repr(e))
  1043 except ValueError:  # package does not exist
  1044 self.report['UnreportableReason'] = _('The report 
belongs to a package that is not installed.')
  1045 except Exception as e:
  1046 apport.error(repr(e))
  1047 self.report['UnreportableReason'] = _('An error 
occurred while attempting to '
  1048   'process this 
problem report:') + '\n\n' + str(e)

  Because an UnreportableReason exists in the report, apport will stop
  collecting information. Subsequently, there is "_MarkForUpload" is
  left as True (the default) so apport calls mark_report_upload which
  creates a .upload file such that the report which is incomplete or
  corrupt is then uploaded to the Error Tracker.

  In these cases the "_MarkForUpload" key should be set to "False"
  thereby preventing uploads to the Error Tracker.

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

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1512902] Re: apport will create .upload files for incomplete or corrupt crash reports

2015-11-04 Thread Brian Murray
TEST CASE
--
1) Put the attached crash report (re /bin/sleep with the CoreDump field 
corrupted) in /var/crash/
2) Run ubuntu-bug /var/crash/_bin_sleep.1000.crash
3) View the details of the crash and observe an UnreportableReason indicating 
that the "problem report is damaged"
4) Leave "Send an error report" checked and click continue
5) Observe a _bin_sleep.1000.upload in /var/crash/

With the version of the package from -proposed a .upload file will not
be created.

REGRESSION POTENTIAL
--
It's possible that _MarkForUpload will be set to False in more cases than it 
should be thereby preventing crashes from being sent to the Error Tracker. So 
it might also be good to SEGV a process and ensure that a .crash and .upload 
file are created.

-- 
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/1512902

Title:
  apport will create .upload files for incomplete or corrupt crash
  reports

Status in apport package in Ubuntu:
  Fix Released
Status in apport source package in Wily:
  Triaged

Bug description:
  SRU information appears in comment #3.

  apport will set an UnreportableReason in the following situations for
  crash reports where information collection fails or for packages that
  do not exist.  From apport/ui.py:

  1036 try:
  1037 icthread.exc_raise()
  1038 except (IOError, EOFError, zlib.error) as e:
  1039 # can happen with broken core dumps
  1040 self.report['UnreportableReason'] = '%s\n\n%s' % (
  1041 _('This problem report is damaged and cannot be 
processed.'),
  1042 repr(e))
  1043 except ValueError:  # package does not exist
  1044 self.report['UnreportableReason'] = _('The report 
belongs to a package that is not installed.')
  1045 except Exception as e:
  1046 apport.error(repr(e))
  1047 self.report['UnreportableReason'] = _('An error 
occurred while attempting to '
  1048   'process this 
problem report:') + '\n\n' + str(e)

  Because an UnreportableReason exists in the report, apport will stop
  collecting information. Subsequently, there is "_MarkForUpload" is
  left as True (the default) so apport calls mark_report_upload which
  creates a .upload file such that the report which is incomplete or
  corrupt is then uploaded to the Error Tracker.

  In these cases the "_MarkForUpload" key should be set to "False"
  thereby preventing uploads to the Error Tracker.

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

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1512902] Re: apport will create .upload files for incomplete or corrupt crash reports

2015-11-04 Thread Brian Murray
** Changed in: apport (Ubuntu Wily)
 Assignee: (unassigned) => Brian Murray (brian-murray)

** Changed in: apport (Ubuntu Wily)
   Status: Triaged => In Progress

-- 
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/1512902

Title:
  apport will create .upload files for incomplete or corrupt crash
  reports

Status in apport package in Ubuntu:
  Fix Released
Status in apport source package in Wily:
  Fix Committed

Bug description:
  SRU information appears in comment #3.

  apport will set an UnreportableReason in the following situations for
  crash reports where information collection fails or for packages that
  do not exist.  From apport/ui.py:

  1036 try:
  1037 icthread.exc_raise()
  1038 except (IOError, EOFError, zlib.error) as e:
  1039 # can happen with broken core dumps
  1040 self.report['UnreportableReason'] = '%s\n\n%s' % (
  1041 _('This problem report is damaged and cannot be 
processed.'),
  1042 repr(e))
  1043 except ValueError:  # package does not exist
  1044 self.report['UnreportableReason'] = _('The report 
belongs to a package that is not installed.')
  1045 except Exception as e:
  1046 apport.error(repr(e))
  1047 self.report['UnreportableReason'] = _('An error 
occurred while attempting to '
  1048   'process this 
problem report:') + '\n\n' + str(e)

  Because an UnreportableReason exists in the report, apport will stop
  collecting information. Subsequently, there is "_MarkForUpload" is
  left as True (the default) so apport calls mark_report_upload which
  creates a .upload file such that the report which is incomplete or
  corrupt is then uploaded to the Error Tracker.

  In these cases the "_MarkForUpload" key should be set to "False"
  thereby preventing uploads to the Error Tracker.

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

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1512902] Re: apport will create .upload files for incomplete or corrupt crash reports

2015-11-04 Thread Chris J Arges
Hello Brian, or anyone else affected,

Accepted apport into wily-proposed. The package will build now and be
available at https://launchpad.net/ubuntu/+source/apport/2.19.1-0ubuntu5
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 Wily)
   Status: In Progress => Fix Committed

** Tags added: verification-needed

-- 
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/1512902

Title:
  apport will create .upload files for incomplete or corrupt crash
  reports

Status in apport package in Ubuntu:
  Fix Released
Status in apport source package in Wily:
  Fix Committed

Bug description:
  SRU information appears in comment #3.

  apport will set an UnreportableReason in the following situations for
  crash reports where information collection fails or for packages that
  do not exist.  From apport/ui.py:

  1036 try:
  1037 icthread.exc_raise()
  1038 except (IOError, EOFError, zlib.error) as e:
  1039 # can happen with broken core dumps
  1040 self.report['UnreportableReason'] = '%s\n\n%s' % (
  1041 _('This problem report is damaged and cannot be 
processed.'),
  1042 repr(e))
  1043 except ValueError:  # package does not exist
  1044 self.report['UnreportableReason'] = _('The report 
belongs to a package that is not installed.')
  1045 except Exception as e:
  1046 apport.error(repr(e))
  1047 self.report['UnreportableReason'] = _('An error 
occurred while attempting to '
  1048   'process this 
problem report:') + '\n\n' + str(e)

  Because an UnreportableReason exists in the report, apport will stop
  collecting information. Subsequently, there is "_MarkForUpload" is
  left as True (the default) so apport calls mark_report_upload which
  creates a .upload file such that the report which is incomplete or
  corrupt is then uploaded to the Error Tracker.

  In these cases the "_MarkForUpload" key should be set to "False"
  thereby preventing uploads to the Error Tracker.

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

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1512902] Re: apport will create .upload files for incomplete or corrupt crash reports

2015-11-04 Thread Launchpad Bug Tracker
** Branch linked: lp:~ubuntu-core-dev/ubuntu/wily/apport/ubuntu

-- 
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/1512902

Title:
  apport will create .upload files for incomplete or corrupt crash
  reports

Status in apport package in Ubuntu:
  Fix Released
Status in apport source package in Wily:
  In Progress

Bug description:
  SRU information appears in comment #3.

  apport will set an UnreportableReason in the following situations for
  crash reports where information collection fails or for packages that
  do not exist.  From apport/ui.py:

  1036 try:
  1037 icthread.exc_raise()
  1038 except (IOError, EOFError, zlib.error) as e:
  1039 # can happen with broken core dumps
  1040 self.report['UnreportableReason'] = '%s\n\n%s' % (
  1041 _('This problem report is damaged and cannot be 
processed.'),
  1042 repr(e))
  1043 except ValueError:  # package does not exist
  1044 self.report['UnreportableReason'] = _('The report 
belongs to a package that is not installed.')
  1045 except Exception as e:
  1046 apport.error(repr(e))
  1047 self.report['UnreportableReason'] = _('An error 
occurred while attempting to '
  1048   'process this 
problem report:') + '\n\n' + str(e)

  Because an UnreportableReason exists in the report, apport will stop
  collecting information. Subsequently, there is "_MarkForUpload" is
  left as True (the default) so apport calls mark_report_upload which
  creates a .upload file such that the report which is incomplete or
  corrupt is then uploaded to the Error Tracker.

  In these cases the "_MarkForUpload" key should be set to "False"
  thereby preventing uploads to the Error Tracker.

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

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1512902] Re: apport will create .upload files for incomplete or corrupt crash reports

2015-11-03 Thread Launchpad Bug Tracker
** Branch linked: lp:~ubuntu-core-dev/ubuntu/xenial/apport/ubuntu

-- 
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/1512902

Title:
  apport will create .upload files for incomplete or corrupt crash
  reports

Status in apport package in Ubuntu:
  In Progress

Bug description:
  apport will set an an UnreportableReason in the following situations
  for crash reports where information collection fails or for packages
  that do not exist.  From apport/ui.py:

  1036 try:
  1037 icthread.exc_raise()
  1038 except (IOError, EOFError, zlib.error) as e:
  1039 # can happen with broken core dumps
  1040 self.report['UnreportableReason'] = '%s\n\n%s' % (
  1041 _('This problem report is damaged and cannot be 
processed.'),
  1042 repr(e))
  1043 except ValueError:  # package does not exist
  1044 self.report['UnreportableReason'] = _('The report 
belongs to a package that is not installed.')
  1045 except Exception as e:
  1046 apport.error(repr(e))
  1047 self.report['UnreportableReason'] = _('An error 
occurred while attempting to '
  1048   'process this 
problem report:') + '\n\n' + str(e)

  Because an UnreportableReason exists in the report, apport will stop
  collecting infromation. Subsequently, there is no "_MarkForUpload"
  information in the report so apport calls mark_report_upload which
  creates a .upload file such that the report which is incomplete or
  corrupt is then uploaded to the Error Tracker.

  In these cases the "_MarkForUpload" key should be set to "False"
  thereby preventing uploads to the Error Tracker.

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

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp