pacien / tincapp

Android binding and user interface for the tinc mesh VPN daemon.
https://tincapp.euxane.net
GNU General Public License v3.0
165 stars 31 forks source link

Crash when starting the VPN #100

Closed pacien closed 1 year ago

pacien commented 4 years ago

Issue: the application crashes when starting the VPN, right after selecting a network or when trying to resume operations after the device has been restarted.

Please comment with more details if you experience this issue!


Automatic crash report from Android Vitals received on 2020-09-18.

Stack trace:

java.lang.RuntimeException: 
  at android.app.ActivityThread.handleServiceArgs (ActivityThread.java:4552)
  at android.app.ActivityThread.access$2100 (ActivityThread.java:274)
  at android.app.ActivityThread$H.handleMessage (ActivityThread.java:2134)
  at android.os.Handler.dispatchMessage (Handler.java:107)
  at android.os.Looper.loop (Looper.java:237)
  at android.app.ActivityThread.main (ActivityThread.java:8154)
  at java.lang.reflect.Method.invoke (Method.java)
  at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:496)
  at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1100)
Caused by: java.io.IOException: 
  at android.net.LocalSocketImpl.bindLocal (LocalSocketImpl.java)
  at android.net.LocalSocketImpl.bind (LocalSocketImpl.java:312)
  at android.net.LocalServerSocket.<init> (LocalServerSocket.java:49)
  at org.pacien.tincapp.service.TincVpnService.startVpn (TincVpnService.java:148)
  at org.pacien.tincapp.service.TincVpnService.onStartCommand (TincVpnService.java:66)
  at android.app.ActivityThread.handleServiceArgs (ActivityThread.java:4534)
  at android.app.ActivityThread.access$2100 (ActivityThread.java:274)
  at android.app.ActivityThread$H.handleMessage (ActivityThread.java:2134)
  at android.os.Handler.dispatchMessage (Handler.java:107)
  at android.os.Looper.loop (Looper.java:237)
  at android.app.ActivityThread.main (ActivityThread.java:8154)
  at java.lang.reflect.Method.invoke (Method.java)
  at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:496)
  at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1100)
fatih2424 commented 4 years ago

Issue: the application crashes when starting the VPN, right after selecting a network or when trying to resume operations after the device has been restarted.

Please comment with more details if you experience this issue!


Automatic crash report from Android Vitals received on 2020-09-18.

  • Affected app versions:
    • v0.31
  • Affected platforms:
    • Android 10 (Samsung)

Stack trace:

java.lang.RuntimeException: 
  at android.app.ActivityThread.handleServiceArgs (ActivityThread.java:4552)
  at android.app.ActivityThread.access$2100 (ActivityThread.java:274)
  at android.app.ActivityThread$H.handleMessage (ActivityThread.java:2134)
  at android.os.Handler.dispatchMessage (Handler.java:107)
  at android.os.Looper.loop (Looper.java:237)
  at android.app.ActivityThread.main (ActivityThread.java:8154)
  at java.lang.reflect.Method.invoke (Method.java)
  at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:496)
  at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1100)
Caused by: java.io.IOException: 
  at android.net.LocalSocketImpl.bindLocal (LocalSocketImpl.java)
  at android.net.LocalSocketImpl.bind (LocalSocketImpl.java:312)
  at android.net.LocalServerSocket.<init> (LocalServerSocket.java:49)
  at org.pacien.tincapp.service.TincVpnService.startVpn (TincVpnService.java:148)
  at org.pacien.tincapp.service.TincVpnService.onStartCommand (TincVpnService.java:66)
  at android.app.ActivityThread.handleServiceArgs (ActivityThread.java:4534)
  at android.app.ActivityThread.access$2100 (ActivityThread.java:274)
  at android.app.ActivityThread$H.handleMessage (ActivityThread.java:2134)
  at android.os.Handler.dispatchMessage (Handler.java:107)
  at android.os.Looper.loop (Looper.java:237)
  at android.app.ActivityThread.main (ActivityThread.java:8154)
  at java.lang.reflect.Method.invoke (Method.java)
  at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:496)
  at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1100)
fatih2424 commented 4 years ago

33cad47025041ca053a69ed74a4d0e0446af1550

pacien commented 1 year ago

This doesn't show anymore in the Google Play Console.

I've seen a similar stacktrace when double-taping on a network too rapidly too. This should be fixed in 202e741ef92d102646dd40b9a1bdae97bc095318.