[Bug 1205374] Re: Only attempts to retry the existing crash reports once, after two hours.

Evan Dandrea evan.dandrea at canonical.com
Mon Jul 29 16:21:25 UTC 2013


** Changed in: whoopsie (Ubuntu Precise)
       Status: Confirmed => Fix Committed

** Description changed:

  process_existing_files is supposed to fire every two hours. However,
  because the function doesn't return a boolean value, glib stops
  processing the two hour timeout event after the first run.
+ 
+ TEST CASE:
+ 
+ Terminal 1:
+ sudo stop whoopsie
+ sudo CRASH_DB_URL=http://nowhereville whoopsie -f
+ 
+ Terminal 2:
+ bash -c 'kill -SEGV $$'
+ touch /var/crash/_bin_bash.1000.upload
+ 
+ Every two hours there should be an attempt to upload the crash report in
+ Terminal 1.

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

Title:
  Only attempts to retry the existing crash reports once, after two
  hours.

Status in “whoopsie” package in Ubuntu:
  Fix Committed
Status in “whoopsie” source package in Precise:
  Fix Committed
Status in “whoopsie” source package in Quantal:
  Fix Committed
Status in “whoopsie” source package in Raring:
  Fix Committed
Status in “whoopsie” source package in Saucy:
  Fix Committed

Bug description:
  process_existing_files is supposed to fire every two hours. However,
  because the function doesn't return a boolean value, glib stops
  processing the two hour timeout event after the first run.

  TEST CASE:

  Terminal 1:
  sudo stop whoopsie
  sudo CRASH_DB_URL=http://nowhereville whoopsie -f

  Terminal 2:
  bash -c 'kill -SEGV $$'
  touch /var/crash/_bin_bash.1000.upload

  Every two hours there should be an attempt to upload the crash report
  in Terminal 1.

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




More information about the foundations-bugs mailing list