Skip to content

Phone: silo://play deep link enters a main-thread ANR loop #138

Closed

Description

@Quick104

Summary

Opening an existing silo://play link reproducibly ANRs the phone app.

Reproduction

With an authenticated profile, launch:

adb shell am start -a android.intent.action.VIEW -d 'silo://play/movie-tmdb-463015?type=movie' org.siloserver.silo

Observed

The app stops responding. The main thread repeatedly traverses Regex.matchEntire, NavDeepLink.getMatchingArguments, NavGraph.matchRouteComprehensive, and NavController.navigate.

The pending-route collector in androidApp/.../AppNavigation.kt:129-161 calls navController.navigate(route) while collecting the current back-stack entry flow, which appears to retrigger route matching/navigation indefinitely.

Manual Search -> item -> Play works, so this is isolated from normal playback startup.

Expected

The external route is consumed exactly once and reaches the player without blocking the main thread.

Related but not duplicate

#68 concerns declaring domain Android App Links. This issue is an ANR in the already-supported custom silo:// route.

Tested build

PR #119 at 34767aa2a1ee416a7758b4c38277a591b5785c04; reproduced on the Android phone emulator.

Activity

  1. added
    bug
    on Jul 30, 2026
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

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions