touch-packages team mailing list archive
-
touch-packages team
-
Mailing list archive
-
Message #43760
[Bug 1392412] Re: may frequently try to upload reports when server responds with 400
This bug was fixed in the package whoopsie - 0.2.43
---------------
whoopsie (0.2.43) vivid; urgency=medium
* Remove .crash file if we are unable to create a .uploaded file for it
to prevent trying to upload the same crash file multiple times.
(LP: #1392412)
* Avoid buffer overflow when parsing reports. Thanks to John-Mark Bell for
the patch. (LP: #1397340)
-- Brian Murray <brian@xxxxxxxxxx> Wed, 17 Dec 2014 16:17:33 -0800
** Changed in: whoopsie (Ubuntu)
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to whoopsie in Ubuntu.
https://bugs.launchpad.net/bugs/1392412
Title:
may frequently try to upload reports when server responds with 400
Status in whoopsie package in Ubuntu:
Fix Released
Bug description:
parse_and_upload_report will return success = True on a 400 response
from the server, however if for some reason the report is not marked
as handled (mark_handled) then because there is no .uploaded file
whoopsie will continually try to upload the .crash file.
from src/whoopsie.c:
} else if (online_state && parse_and_upload_report (crash_file)) {
if (!mark_handled (crash_file))
log_msg ("Unable to mark report as seen (%s)\n", crash_file);
}
Given that every crash report is not precious, we should just remove
the crash_file if mark_handled fails.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/whoopsie/+bug/1392412/+subscriptions
References