Android Wireguard Unhandled Exception
Silvan Nagl
mail at 53c70r.de
Sat May 12 12:37:15 CEST 2018
Hello,
herewith I want to announce a bug regarding to Androids Wireguard app.
The bug occurs when trying to start the app while the phone is still in
"lockdown mode". The lockdown mode was activated by my previous
l2tp/ipsec setup which was enforcing the VPN to be always activated. So
when I tried to start the Wireguard app the program crashed unhandled.
After I turned of the previous VPN setup it worked like expected.
Greetings
Silvan
-------------- next part --------------
05-10 12:35:37.448 5259 12044 I ActivityManager: START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.wireguard.android/.activity.MainActivity bnds=[307,2148][582,2560]} from uid 10026
05-10 12:35:37.506 5259 12044 I ActivityManager: Start proc 28845:com.wireguard.android/u0a77 for activity com.wireguard.android/.activity.MainActivity
05-10 12:35:37.590 3037 3659 E BufferQueueProducer: [org.lineageos.trebuchet/com.android.launcher3.Launcher#0] disconnect: not connected (req=1)
05-10 12:35:37.591 5994 6079 W libEGL : EGLNativeWindowType 0x7d3b09a010 disconnect failed
05-10 12:35:37.670 28845 28845 D AndroidRuntime: Shutting down VM
05-10 12:35:37.671 28845 28845 E AndroidRuntime: FATAL EXCEPTION: main
05-10 12:35:37.671 28845 28845 E AndroidRuntime: Process: com.wireguard.android, PID: 28845
05-10 12:35:37.671 28845 28845 E AndroidRuntime: java.lang.RuntimeException: Unable to start activity ComponentInfo{com.wireguard.android/com.wireguard.android.activity.MainActivity}: java.lang.IllegalStateException: Unavailable in lockdown mode
05-10 12:35:37.671 28845 28845 E AndroidRuntime: at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2817)
05-10 12:35:37.671 28845 28845 E AndroidRuntime: at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2892)
05-10 12:35:37.671 28845 28845 E AndroidRuntime: at android.app.ActivityThread.-wrap11(Unknown Source:0)
05-10 12:35:37.671 28845 28845 E AndroidRuntime: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1593)
05-10 12:35:37.671 28845 28845 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:105)
05-10 12:35:37.671 28845 28845 E AndroidRuntime: at android.os.Looper.loop(Looper.java:164)
05-10 12:35:37.671 28845 28845 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:6541)
05-10 12:35:37.671 28845 28845 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
05-10 12:35:37.671 28845 28845 E AndroidRuntime: at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:240)
05-10 12:35:37.671 28845 28845 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:767)
05-10 12:35:37.671 28845 28845 E AndroidRuntime: Caused by: java.lang.IllegalStateException: Unavailable in lockdown mode
05-10 12:35:37.671 28845 28845 E AndroidRuntime: at android.os.Parcel.readException(Parcel.java:1950)
05-10 12:35:37.671 28845 28845 E AndroidRuntime: at android.os.Parcel.readException(Parcel.java:1888)
05-10 12:35:37.671 28845 28845 E AndroidRuntime: at android.net.IConnectivityManager$Stub$Proxy.prepareVpn(IConnectivityManager.java:1901)
05-10 12:35:37.671 28845 28845 E AndroidRuntime: at android.net.VpnService.prepare(VpnService.java:160)
05-10 12:35:37.671 28845 28845 E AndroidRuntime: at com.wireguard.android.activity.a.onCreate(Unknown Source:64)
05-10 12:35:37.671 28845 28845 E AndroidRuntime: at com.wireguard.android.activity.MainActivity.onCreate(Unknown Source:0)
05-10 12:35:37.671 28845 28845 E AndroidRuntime: at android.app.Activity.performCreate(Activity.java:6975)
05-10 12:35:37.671 28845 28845 E AndroidRuntime: at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1213)
05-10 12:35:37.671 28845 28845 E AndroidRuntime: at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2770)
05-10 12:35:37.671 28845 28845 E AndroidRuntime: ... 9 more
05-10 12:35:37.677 5259 12044 W ActivityManager: Force finishing activity com.wireguard.android/.activity.MainActivity
05-10 12:35:37.694 5259 5275 I ActivityManager: Showing crash dialog for package com.wireguard.android u0
05-10 12:35:37.766 5259 7363 I OpenGLRenderer: Initialized EGL, version 1.4
05-10 12:35:37.766 5259 7363 D OpenGLRenderer: Swap behavior 1
05-10 12:35:37.774 5259 7363 D mali_winsys: EGLint new_window_surface(egl_winsys_display*, void*, EGLSurface, EGLConfig, egl_winsys_surface**, egl_color_buffer_format*, EGLBoolean) returns 0x3000, [1590x741]-format:1
05-10 12:35:38.187 5259 5274 W ActivityManager: Activity pause timeout for ActivityRecord{9bbfc78 u0 com.wireguard.android/.activity.MainActivity t289 f}
05-10 12:35:38.239 5994 6079 D mali_winsys: EGLint new_window_surface(egl_winsys_display*, void*, EGLSurface, EGLConfig, egl_winsys_surface**, egl_color_buffer_format*, EGLBoolean) returns 0x3000, [1440x2560]-format:1
05-10 12:35:38.754 5994 6079 W OpenGLRenderer: Incorrectly called buildLayer on View: ShortcutAndWidgetContainer, destroying layer...
05-10 12:35:43.580 27877 27877 D mtpd : Received HELLO -> Sending ACK
05-10 12:35:48.533 5259 5274 W ActivityManager: Activity destroy timeout for ActivityRecord{9bbfc78 u0 com.wireguard.android/.activity.MainActivity t289 f}
More information about the WireGuard
mailing list