nightscout / AndroidAPS

Opensource automated insulin delivery system (closed loop)
https://wiki.aaps.app
GNU Affero General Public License v3.0
707 stars 1.73k forks source link

AAPS After database reset: loop process blocks, app crashes on manual calculation (tab SMB/AUTOISF - swipe) #3470

Open vanelsberg opened 12 hours ago

vanelsberg commented 12 hours ago

AndroidAPS 3.3.0-dev-c Flavor: fullDebug Build commit# ba1c475fcce4a7275e21d5be3799aefb5771e0b6

Problem is when config is set to OpenAPS SMB or AutoISF When selecting OpenAPS AMA all seems well

After database reset:

Additional info: Just before crashing AAPS briefly shows the "Fallback to SMB. Not enough TDD data". Also seeing the alert "Fallback to profile sensitivity. Not enough TDD data". This is even after 6++ hours...

Logfile: AndroidAPS.log

Logcat of crash after forcing loop calc: Screenshot 2024-10-15 222724

ga-zelle commented 11 hours ago

When testing new averageISs for AutoISF with dev-b I saw similar behaviour:

  1. cleared database
  2. cleared results to start with clean averages
  3. With 1 minute random BG the loop did not trigger on its own. Every few minutes I pressed "run now" and after about 20-30 minutes it would run on its own.

I did not investigate further because I had a different focus.