eigengo/lift

Pebble app crash

Closed this issue · 3 comments

In some cases the pebble watch app crashes when ending a session. Since I only saw this at session end this might be related with messaging.
Steps to replicate:

  1. Start the IOS app.
  2. Start an exercise session.
  3. After some time stop the session from the IOS app.
    Actual results: sometimes the pebble app crashes, sometimes the pebble app keeps on running.
    Expected results: the pebble app should terminate in a "normal" way.

Enabling logging and reading the logs (attaching with "pebble logs") seem to replicate a crash a few seconds after starting an exercise session.

Sometimes the crash occurs in queue_pop(...). This suggests that there are some threading issues.

Done some testing, it seems that pebble falsely identifies operations that are longer than 1 sec (approx. value) with crashes.