Skip to content

Android Tailscale 1.10.1 release does not proceed past the loading screen #2290

Closed

Description

@DentonGentry

Android release 1.10.1, built last night, does not proceed past the loading screen on my Pixel 3a XL. Other user reports include:

adb logcat lines which mention "tailscale" while app is starting:

06-30 05:54:27.100  1666  5016 I ActivityTaskManager: START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.tailscale.ipn/.IPNActivity bnds=[236,545][439,844]} from uid 10027
06-30 05:54:27.120  2137  2238 D StartingSurfaceDrawer: addSplashScreen com.tailscale.ipn: nonLocalizedLabel=null theme=7f0a0005 task= 19300
06-30 05:54:27.160  1666  1780 I ActivityManager: Start proc 7175:com.tailscale.ipn/u0a421 for pre-top-activity {com.tailscale.ipn/com.tailscale.ipn.IPNActivity}
06-30 05:54:27.196  7175  7175 E m.tailscale.ip: Not starting debugger since process cannot load the jdwp agent.
06-30 05:54:27.160  1666  1780 I ActivityManager: Start proc 7175:com.tailscale.ipn/u0a421 for pre-top-activity {com.tailscale.ipn/com.tailscale.ipn.IPNActivity}
06-30 05:54:27.196  7175  7175 E m.tailscale.ip: Not starting debugger since process cannot load the jdwp agent.
06-30 05:54:27.258  7175  7175 W m.tailscale.ip: Entry not found
06-30 05:54:27.260  7175  7175 W m.tailscale.ip: Entry not found
06-30 05:54:27.260  7175  7175 W m.tailscale.ip: Entry not found
06-30 05:54:27.260  7175  7175 W m.tailscale.ip: Entry not found
06-30 05:54:27.267  7175  7175 W m.tailscale.ip: JIT profile information will not be recorded: profile file does not exist.
06-30 05:54:27.267  7175  7175 W m.tailscale.ip: JIT profile information will not be recorded: profile file does not exist.
06-30 05:54:27.267  7175  7175 W m.tailscale.ip: JIT profile information will not be recorded: profile file does not exist.
06-30 05:54:27.267  7175  7175 W m.tailscale.ip: JIT profile information will not be recorded: profile file does not exist.
06-30 05:54:27.274  2957  2957 I GoogleInputMethodService: GoogleInputMethodService$10.getInputViewCoverNavigationHeight():3312 insetBottom=120
06-30 05:54:27.275  7175  7175 I TetheringManager: registerTetheringEventCallback:com.tailscale.ipn
06-30 05:54:27.310  7175  7175 V GraphicsEnvironment: ANGLE Developer option for 'com.tailscale.ipn' set to: 'default'
06-30 05:54:27.310  7175  7175 V GraphicsEnvironment: Neither updatable production driver nor prerelease driver is supported.
06-30 05:54:27.572  7175  7205 I com.tailscale.ipn: logtail started
06-30 05:54:27.572  7175  7210 I com.tailscale.ipn: goSetupLogs: success
06-30 05:54:27.570  7175  7175 W m.tailscale.ipn: type=1400 audit(0.0:61): avc: denied { bind } for scontext=u:r:untrusted_app:s0:c165,c257,c512,c768 tcontext=u:r:untrusted_app:s0:c165,c257,c512,c768 tclass=netlink_route_socket permissive=0 bug=b/155595000 app=com.tailscale.ipn
06-30 05:54:27.574  7175  7210 I com.tailscale.ipn: fatal error: runBackend: NewUserspaceEngineAdvanced: route ip+net: netlinkrib: permission denied
06-30 05:54:27.798  1666  5598 W InputManager-JNI: Input channel object 'e709352 Splash Screen com.tailscale.ipn (client)' was disposed without first being removed with the input manager!
06-30 05:54:27.805  1666  1758 I ActivityTaskManager: Displayed com.tailscale.ipn/.IPNActivity: +690ms

The fatal error: runBackend: NewUserspaceEngineAdvanced: route ip+net: netlinkrib: permission denied looks most relevant.

I'll build an APK locally and try to narrow it down further.

Activity

  1. added
    L2 Few
    OS-android
    P6 Blocks build
    T8 Crash
    and removed on Jun 30, 2021
  2. bradfitz commented on Jun 30, 2021

    @bradfitz
    Member

    The latest build bumped the target SDK version from 29 to 30 iirc. On Android, higher SDK versions bring both more APIs but also more restrictions. Maybe 30 prohibits netlink.

    Cc @eliasnaur

  3. DentonGentry commented on Jun 30, 2021

    @DentonGentry
    ContributorAuthor

    An APK built locally shows the same symptom, which is good as it makes it debuggable.

    06-30 06:57:21.803  1666  2086 I ActivityTaskManager: START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.tailscale.ipn/.IPNActivity bnds=[34,240][236,539]} from uid 10027
    06-30 06:57:21.822  2121  2173 D StartingSurfaceDrawer: addSplashScreen com.tailscale.ipn: nonLocalizedLabel=null theme=7f0a0005 task= 19304
    06-30 06:57:21.862  1666  1775 I ActivityManager: Start proc 7737:com.tailscale.ipn/u0a422 for pre-top-activity {com.tailscale.ipn/com.tailscale.ipn.IPNActivity}
    06-30 06:57:21.877  7737  7737 I m.tailscale.ip: Late-enabling -Xcheck:jni
    06-30 06:57:22.088  7737  7737 I TetheringManager: registerTetheringEventCallback:com.tailscale.ipn
    06-30 06:57:22.093  7737  7737 V GraphicsEnvironment: ANGLE Developer option for 'com.tailscale.ipn' set to: 'default'
    06-30 06:57:22.427  7737  7763 I com.tailscale.ipn: logtail started
    06-30 06:57:22.429  7737  7773 I com.tailscale.ipn: goSetupLogs: success
    06-30 06:57:22.430  7737  7773 I com.tailscale.ipn: fatal error: runBackend: NewUserspaceEngineAdvanced: route ip+net: netlinkrib: permission denied
    06-30 06:57:22.427  7737  7737 W m.tailscale.ipn: type=1400 audit(0.0:61): avc: denied { bind } for scontext=u:r:untrusted_app:s0:c166,c257,c512,c768 tcontext=u:r:untrusted_app:s0:c166,c257,c512,c768 tclass=netlink_route_socket permissive=0 bug=b/155595000 app=com.tailscale.ipn
    06-30 06:57:22.575  1666  1693 W InputManager-JNI: Input channel object '3ce0520 Splash Screen com.tailscale.ipn (client)' was disposed without first being removed with the input manager!
    06-30 06:57:22.579  1666  1757 I ActivityTaskManager: Displayed com.tailscale.ipn/.IPNActivity: +767ms
    
  4. eliasnaur commented on Jun 30, 2021

    @eliasnaur
    Contributor

    @bradfitz called it. I'm releasing a new build with target SDK 29.

  5. DentonGentry commented on Jun 30, 2021

    @DentonGentry
    ContributorAuthor

    Confirming that an APK built locally with compileSdkVersion and targetSdkVersion set to 29 is able to start and run normally.

  6. eliasnaur commented on Jun 30, 2021

    @eliasnaur
    Contributor

    I've released a new version with the workaround. It's a workaround because the underlying issue is not fixed (netlink access denied) and is probably the root cause of #1965 if we assume that Android 12 enforces SDK 30 behaviour.

  7. iball commented on Jun 30, 2021

    @iball

    Looks like the new version has hit the Google App Store. Installed it and no more freeze, it's working just fine for me.

  8. added a commit that references this issue on Mar 21, 2024
    242c936
  9. added a commit that references this issue on Mar 22, 2026
    7e7a8f1
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

    L2 FewOS-androidP6 Blocks buildT8 Crash

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions