Skip to content

Crash on background launch after reboot, before first unlock (iPhone 18 Pro, iOS 27.0, Loop 3.14.8) #2539

Description

@GurmeetGhataurey

Describe the bug
Loop crashes when iOS launches it in the background shortly after the iPhone restarts, before the phone has been unlocked for the first time. Fresh install; no pump or CGM configured yet. Two crash reports with the same crash location:

  • Exception: EXC_BREAKPOINT / SIGTRAP (Trace/BPT trap: 5) on main thread
  • procRole: Non UI (background launch)
  • Device uptime at crash: 18 s and 17 s
  • isLocked: 1, wasUnlockedSinceBoot: 0
  • Crash ~2 s after process launch
Loop + 605616
Loop + 1512264
Loop + 1508556
+[UIScene _sceneForFBSScene:create:withSession:connectionOptions:]
-[UIApplication _connectUISceneFromFBSScene:transitionContext:]

Attach an Issue Report
Loop Issue Report attached, plus both .ips crash reports (zipped).

To Reproduce
Steps to reproduce the behavior (suspected):

  1. Fresh install of Loop 3.14.8 (2), onboarding complete, no pump/CGM added
  2. Restart the iPhone
  3. Leave it locked for ~20 seconds
  4. Loop crashes in the background; after unlocking, it launches normally

Expected behavior
Loop should wait until protected data is available instead of crashing on a background launch before first unlock.

Screenshots
N/A. Crash reports attached instead.

Phone

  • Hardware: iPhone 18 Pro (iPhone19,2)
  • OS Version: iOS 27.0 (24A437)

Loop Version

  • Version Number: 3.14.8 (2)
  • Repo: LoopKit/LoopWorkspace main, Browser Build via TestFlight

CGM

  • Device: None configured yet (Dexcom G7 planned)
  • Manager app: Dexcom G7 app (not yet added to Loop)

Pump

  • Manufacturer: None configured yet (Insulet Omnipod 5 planned)
  • Model: N/A
  • Firmware version: N/A

Additional context
Loop binary UUID (both reports): 824359AD-537E-3803-85BD-60434FDCBCC3

Incidents:

  1. 2026-09-27 10:37:44 +0100 — 698B9963-40BA-4BE4-8B2F-C1154606D06C
  2. 2026-09-27 11:35:49 +0100 — 0D479B3C-6F17-4673-BCEB-76AF6A9CB665

I'm not sure whether these restarts were manual or whether the phone restarted by itself. I'll update this issue once I know.

Loop-crash-reports-2026-09-27.zip

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions