* Wireguard Android: the application is stopped unexpectedly
@ 2021-01-02 11:39 Jérémy Prego
2021-01-03 13:43 ` Harsh Shandilya
0 siblings, 1 reply; 3+ messages in thread
From: Jérémy Prego @ 2021-01-02 11:39 UTC (permalink / raw)
To: wireguard, team
[-- Attachment #1: Type: text/plain, Size: 400 bytes --]
hello and happy new year,
I have a problem with the wireguard application on my Xiaomi poco m3
(Android 10 / miui 12.0.5). I have set all the correct permissions so
that the application is not killed by miui, but it always ends up
stopping anyway.
In the attached log, I see some errors when stopping the application,
around 11:30 am
I remain available if you need more information
thanks,
Jerem
[-- Attachment #2: wireguard-log.txt --]
[-- Type: text/plain, Size: 28597 bytes --]
--------- beginning of system
01-01 19:54:11.719 4229 4535 W BpBinder: Slow Binder: BpBinder transact took 359ms, interface=android.net.IConnectivityManager, code=41 oneway=false
--------- beginning of events
01-01 19:54:12.013 4229 4229 I auditd : type=1400 audit(0.0:917): avc: denied { read } for comm="DefaultDispatch" name="somaxconn" dev="proc" ino=66268 scontext=u:r:untrusted_app:s0:c14,c257,c512,c768 tcontext=u:object_r:proc_net:s0 tclass=file permissive=0
01-01 19:58:11.481 4229 4229 I am_on_create_called: [0,com.wireguard.android.activity.MainActivity,performCreate,88]
01-01 19:58:11.515 4229 4229 I am_on_start_called: [0,com.wireguard.android.activity.MainActivity,handleStartActivity,32]
01-01 19:58:11.519 4229 4229 I am_on_resume_called: [0,com.wireguard.android.activity.MainActivity,RESUME_ACTIVITY,3]
01-01 19:58:11.537 4229 4229 I am_on_top_resumed_gained_called: [0,com.wireguard.android.activity.MainActivity,topStateChangedWhenResumed]
01-01 19:58:40.449 4229 4229 I am_on_top_resumed_lost_called: [0,com.wireguard.android.activity.MainActivity,topStateChangedWhenResumed]
01-01 19:58:40.452 4229 4229 I am_on_paused_called: [0,com.wireguard.android.activity.MainActivity,performPause,1]
01-01 19:58:40.845 4229 4229 I am_on_stop_called: [0,com.wireguard.android.activity.MainActivity,LIFECYCLER_STOP_ACTIVITY,1]
01-01 19:58:40.849 4229 4229 I am_on_destroy_called: [0,com.wireguard.android.activity.MainActivity,performDestroy,3]
01-01 20:04:46.172 14733 14733 I auditd : type=1400 audit(0.0:2301): avc: denied { read } for comm="reguard.android" name="u:object_r:vendor_default_prop:s0" dev="tmpfs" ino=2008 scontext=u:r:untrusted_app:s0:c14,c257,c512,c768 tcontext=u:object_r:vendor_default_prop:s0 tclass=file permissive=0
01-01 20:04:46.172 14733 14733 I auditd : type=1400 audit(0.0:2302): avc: denied { read } for comm="reguard.android" name="u:object_r:vendor_default_prop:s0" dev="tmpfs" ino=2008 scontext=u:r:untrusted_app:s0:c14,c257,c512,c768 tcontext=u:object_r:vendor_default_prop:s0 tclass=file permissive=0
01-01 20:04:46.712 14733 14733 I auditd : type=1400 audit(0.0:2303): avc: denied { read } for comm="DefaultDispatch" name="somaxconn" dev="proc" ino=263220 scontext=u:r:untrusted_app:s0:c14,c257,c512,c768 tcontext=u:object_r:proc_net:s0 tclass=file permissive=0
01-01 21:15:58.855 14733 14733 I sqlite_mem_released: 0
01-01 21:15:58.864 14733 14733 I force_gc: mem
01-02 06:53:40.043 24035 24035 I auditd : type=1400 audit(0.0:4713): avc: denied { read } for comm="reguard.android" name="u:object_r:vendor_default_prop:s0" dev="tmpfs" ino=2008 scontext=u:r:untrusted_app:s0:c14,c257,c512,c768 tcontext=u:object_r:vendor_default_prop:s0 tclass=file permissive=0
01-02 06:53:40.043 24035 24035 I auditd : type=1400 audit(0.0:4714): avc: denied { read } for comm="reguard.android" name="u:object_r:vendor_default_prop:s0" dev="tmpfs" ino=2008 scontext=u:r:untrusted_app:s0:c14,c257,c512,c768 tcontext=u:object_r:vendor_default_prop:s0 tclass=file permissive=0
01-02 06:53:40.159 24035 24035 I am_on_create_called: [0,com.wireguard.android.activity.MainActivity,performCreate,52]
01-02 06:53:40.210 24035 24035 I am_on_start_called: [0,com.wireguard.android.activity.MainActivity,handleStartActivity,49]
01-02 06:53:40.212 24035 24035 I am_on_resume_called: [0,com.wireguard.android.activity.MainActivity,RESUME_ACTIVITY,0]
01-02 06:53:40.224 24035 24035 I am_on_top_resumed_gained_called: [0,com.wireguard.android.activity.MainActivity,topStateChangedWhenResumed]
01-02 06:53:40.225 24035 24035 W Looper : PerfMonitor looperActivity : package=com.wireguard.android/.activity.MainActivity time=0ms latency=320ms running=0ms procState=2 ClientTransaction{ callbacks=[android.app.servertransaction.TopResumedActivityChangeItem] } historyMsgCount=3 (msgIndex=2 wall=169ms seq=2 running=64ms runnable=5ms io=88ms late=11ms h=android.app.ActivityThread$H w=110) (msgIndex=3 wall=149ms seq=3 running=98ms runnable=10ms io=26ms late=171ms h=android.app.ActivityThread$H w=159)
01-02 06:53:40.663 24035 24035 I auditd : type=1400 audit(0.0:4715): avc: denied { read } for comm="DefaultDispatch" name="somaxconn" dev="proc" ino=478888 scontext=u:r:untrusted_app:s0:c14,c257,c512,c768 tcontext=u:object_r:proc_net:s0 tclass=file permissive=0
01-02 06:53:47.758 24035 24035 I am_on_top_resumed_lost_called: [0,com.wireguard.android.activity.MainActivity,topStateChangedWhenResumed]
01-02 06:53:47.795 24035 24035 I am_on_paused_called: [0,com.wireguard.android.activity.MainActivity,performPause,0]
01-02 06:53:48.340 24035 24035 I am_on_stop_called: [0,com.wireguard.android.activity.MainActivity,STOP_ACTIVITY_ITEM,6]
01-02 09:19:19.967 30134 30134 I auditd : type=1400 audit(0.0:6980): avc: denied { read } for comm="reguard.android" name="u:object_r:vendor_default_prop:s0" dev="tmpfs" ino=2008 scontext=u:r:untrusted_app:s0:c14,c257,c512,c768 tcontext=u:object_r:vendor_default_prop:s0 tclass=file permissive=0
01-02 09:19:19.967 30134 30134 I auditd : type=1400 audit(0.0:6981): avc: denied { read } for comm="reguard.android" name="u:object_r:vendor_default_prop:s0" dev="tmpfs" ino=2008 scontext=u:r:untrusted_app:s0:c14,c257,c512,c768 tcontext=u:object_r:vendor_default_prop:s0 tclass=file permissive=0
01-02 09:19:20.114 30134 30134 I am_on_create_called: [0,com.wireguard.android.activity.MainActivity,performCreate,74]
01-02 09:19:20.145 30134 30134 I am_on_start_called: [0,com.wireguard.android.activity.MainActivity,handleStartActivity,27]
01-02 09:19:20.146 30134 30134 I am_on_resume_called: [0,com.wireguard.android.activity.MainActivity,RESUME_ACTIVITY,0]
01-02 09:19:20.163 30134 30134 I am_on_top_resumed_gained_called: [0,com.wireguard.android.activity.MainActivity,topStateChangedWhenResumed]
01-02 09:19:20.163 30134 30134 W Looper : PerfMonitor looperActivity : package=com.wireguard.android/.activity.MainActivity time=0ms latency=363ms running=0ms procState=2 ClientTransaction{ callbacks=[android.app.servertransaction.TopResumedActivityChangeItem] } historyMsgCount=2 (msgIndex=1 wall=228ms seq=2 running=88ms runnable=18ms io=105ms late=3ms h=android.app.ActivityThread$H w=110) (msgIndex=2 wall=166ms seq=3 running=114ms runnable=12ms io=26ms late=197ms h=android.app.ActivityThread$H w=159)
01-02 09:19:20.607 30134 30134 I auditd : type=1400 audit(0.0:6982): avc: denied { read } for comm="DefaultDispatch" name="somaxconn" dev="proc" ino=690432 scontext=u:r:untrusted_app:s0:c14,c257,c512,c768 tcontext=u:object_r:proc_net:s0 tclass=file permissive=0
01-02 09:19:22.715 30134 30134 I am_on_top_resumed_lost_called: [0,com.wireguard.android.activity.MainActivity,topStateChangedWhenResumed]
01-02 09:19:22.717 30134 30134 I am_on_paused_called: [0,com.wireguard.android.activity.MainActivity,performPause,1]
01-02 09:19:23.142 30134 30134 I am_on_stop_called: [0,com.wireguard.android.activity.MainActivity,LIFECYCLER_STOP_ACTIVITY,0]
01-02 09:19:23.145 30134 30134 I am_on_destroy_called: [0,com.wireguard.android.activity.MainActivity,performDestroy,1]
--------- beginning of main
01-02 11:11:54.304 30134 30190 D WireGuard/GoBackend/wg-maison: peer(cq2G…z51g) - Receiving keepalive packet
01-02 11:12:20.944 30134 30457 D WireGuard/GoBackend/wg-maison: peer(cq2G…z51g) - Receiving keepalive packet
01-02 11:12:38.652 30134 31050 D WireGuard/GoBackend/wg-maison: peer(cq2G…z51g) - Retrying handshake because we stopped hearing back after 15 seconds
01-02 11:12:38.653 30134 31050 D WireGuard/GoBackend/wg-maison: peer(cq2G…z51g) - Sending handshake initiation
01-02 11:12:43.786 30134 30457 D WireGuard/GoBackend/wg-maison: peer(cq2G…z51g) - Handshake did not complete after 5 seconds, retrying (try 2)
01-02 11:12:43.787 30134 30457 D WireGuard/GoBackend/wg-maison: peer(cq2G…z51g) - Sending handshake initiation
01-02 11:12:46.054 30134 30163 D WireGuard/GoBackend/wg-maison: peer(cq2G…z51g) - Receiving keepalive packet
01-02 11:12:46.083 30134 30163 I WireGuard/GoBackend/wg-maison: Received invalid response message from 83.193.171.110:4000
01-02 11:12:49.077 30134 31050 D WireGuard/GoBackend/wg-maison: peer(cq2G…z51g) - Handshake did not complete after 5 seconds, retrying (try 3)
01-02 11:12:49.078 30134 31050 D WireGuard/GoBackend/wg-maison: peer(cq2G…z51g) - Sending handshake initiation
01-02 11:12:54.401 30134 30457 D WireGuard/GoBackend/wg-maison: peer(cq2G…z51g) - Handshake did not complete after 5 seconds, retrying (try 4)
01-02 11:12:54.401 30134 30457 D WireGuard/GoBackend/wg-maison: peer(cq2G…z51g) - Sending handshake initiation
01-02 11:12:59.439 30134 31050 D WireGuard/GoBackend/wg-maison: peer(cq2G…z51g) - Handshake did not complete after 5 seconds, retrying (try 5)
01-02 11:12:59.439 30134 31050 D WireGuard/GoBackend/wg-maison: peer(cq2G…z51g) - Sending handshake initiation
01-02 11:13:04.591 30134 30457 D WireGuard/GoBackend/wg-maison: peer(cq2G…z51g) - Handshake did not complete after 5 seconds, retrying (try 6)
01-02 11:13:04.591 30134 30457 D WireGuard/GoBackend/wg-maison: peer(cq2G…z51g) - Sending handshake initiation
01-02 11:13:09.908 30134 30163 D WireGuard/GoBackend/wg-maison: peer(cq2G…z51g) - Handshake did not complete after 5 seconds, retrying (try 7)
01-02 11:13:09.909 30134 30163 D WireGuard/GoBackend/wg-maison: peer(cq2G…z51g) - Sending handshake initiation
01-02 11:13:11.414 30134 30163 D WireGuard/GoBackend/wg-maison: peer(cq2G…z51g) - Received handshake initiation
01-02 11:13:11.414 30134 30163 D WireGuard/GoBackend/wg-maison: peer(cq2G…z51g) - Sending handshake response
01-02 11:13:11.414 30134 30182 D WireGuard/GoBackend/wg-maison: peer(cq2G…z51g) - Received handshake initiation
01-02 11:13:11.417 30134 30182 D WireGuard/GoBackend/wg-maison: peer(cq2G…z51g) - Sending handshake response
01-02 11:13:11.420 30134 30182 E WireGuard/GoBackend/wg-maison: peer(cq2G…z51g) - Failed to create response message: handshake initiation must be consumed first
01-02 11:13:11.437 30134 30457 I WireGuard/GoBackend/wg-maison: Received invalid response message from 83.193.171.110:4000
01-02 11:13:15.102 30134 30457 D WireGuard/GoBackend/wg-maison: peer(cq2G…z51g) - Handshake did not complete after 5 seconds, retrying (try 8)
01-02 11:13:21.960 30134 30190 D WireGuard/GoBackend/wg-maison: peer(cq2G…z51g) - Received handshake initiation
01-02 11:13:21.961 30134 30190 D WireGuard/GoBackend/wg-maison: peer(cq2G…z51g) - Sending handshake response
01-02 11:13:21.962 30134 30163 D WireGuard/GoBackend/wg-maison: peer(cq2G…z51g) - Receiving keepalive packet
01-02 11:13:22.080 30134 30163 D WireGuard/GoBackend/wg-maison: peer(cq2G…z51g) - Receiving keepalive packet
01-02 11:13:47.692 30134 30182 D WireGuard/GoBackend/wg-maison: peer(cq2G…z51g) - Received handshake initiation
01-02 11:13:47.692 30134 30182 D WireGuard/GoBackend/wg-maison: peer(cq2G…z51g) - Sending handshake response
01-02 11:13:47.787 30134 30163 D WireGuard/GoBackend/wg-maison: peer(cq2G…z51g) - Receiving keepalive packet
01-02 11:14:29.904 30134 30182 D WireGuard/GoBackend/wg-maison: peer(cq2G…z51g) - Sending keepalive packet
01-02 11:14:29.907 30134 30163 D WireGuard/GoBackend/wg-maison: peer(cq2G…z51g) - Received handshake initiation
01-02 11:14:29.907 30134 30163 D WireGuard/GoBackend/wg-maison: peer(cq2G…z51g) - Sending handshake response
01-02 11:14:30.012 30134 30190 D WireGuard/GoBackend/wg-maison: peer(cq2G…z51g) - Receiving keepalive packet
01-02 11:15:22.309 30134 30190 D WireGuard/GoBackend/wg-maison: peer(cq2G…z51g) - Receiving keepalive packet
01-02 11:16:30.546 30134 31050 D WireGuard/GoBackend/wg-maison: peer(cq2G…z51g) - Received handshake initiation
01-02 11:16:30.546 30134 31050 D WireGuard/GoBackend/wg-maison: peer(cq2G…z51g) - Sending handshake response
01-02 11:16:30.614 30134 2179 D WireGuard/GoBackend/wg-maison: peer(cq2G…z51g) - Receiving keepalive packet
01-02 11:18:31.560 30134 30190 D WireGuard/GoBackend/wg-maison: peer(cq2G…z51g) - Received handshake initiation
01-02 11:18:31.560 30134 30190 D WireGuard/GoBackend/wg-maison: peer(cq2G…z51g) - Sending handshake response
01-02 11:18:31.621 30134 31050 D WireGuard/GoBackend/wg-maison: peer(cq2G…z51g) - Receiving keepalive packet
01-02 11:20:31.768 30134 30182 D WireGuard/GoBackend/wg-maison: peer(cq2G…z51g) - Received handshake initiation
01-02 11:20:31.768 30134 30182 D WireGuard/GoBackend/wg-maison: peer(cq2G…z51g) - Sending handshake response
01-02 11:20:31.840 30134 30182 D WireGuard/GoBackend/wg-maison: peer(cq2G…z51g) - Receiving keepalive packet
01-02 11:22:32.139 30134 30368 D WireGuard/GoBackend/wg-maison: peer(cq2G…z51g) - Received handshake initiation
01-02 11:22:32.140 30134 30368 D WireGuard/GoBackend/wg-maison: peer(cq2G…z51g) - Sending handshake response
01-02 11:22:32.219 30134 30182 D WireGuard/GoBackend/wg-maison: peer(cq2G…z51g) - Receiving keepalive packet
01-02 11:24:32.677 30134 30182 D WireGuard/GoBackend/wg-maison: peer(cq2G…z51g) - Received handshake initiation
01-02 11:24:32.677 30134 30182 D WireGuard/GoBackend/wg-maison: peer(cq2G…z51g) - Sending handshake response
01-02 11:24:32.759 30134 30368 D WireGuard/GoBackend/wg-maison: peer(cq2G…z51g) - Receiving keepalive packet
01-02 11:26:32.840 30134 2179 D WireGuard/GoBackend/wg-maison: peer(cq2G…z51g) - Received handshake initiation
01-02 11:26:32.840 30134 2179 D WireGuard/GoBackend/wg-maison: peer(cq2G…z51g) - Sending handshake response
01-02 11:26:32.923 30134 2179 D WireGuard/GoBackend/wg-maison: peer(cq2G…z51g) - Receiving keepalive packet
01-02 11:28:33.868 30134 30368 D WireGuard/GoBackend/wg-maison: peer(cq2G…z51g) - Received handshake initiation
01-02 11:28:33.868 30134 30368 D WireGuard/GoBackend/wg-maison: peer(cq2G…z51g) - Sending handshake response
01-02 11:28:33.937 30134 30457 D WireGuard/GoBackend/wg-maison: peer(cq2G…z51g) - Receiving keepalive packet
01-02 11:29:07.053 6005 6005 E reguard.androi: Not starting debugger since process cannot load the jdwp agent.
01-02 11:29:07.165 6005 6005 W reguard.androi: JIT profile information will not be recorded: profile file does not exits.
01-02 11:29:07.166 6005 6005 I chatty : uid=10270(com.wireguard.android) identical 1 line
01-02 11:29:07.166 6005 6005 W reguard.androi: JIT profile information will not be recorded: profile file does not exits.
01-02 11:29:07.177 6005 6005 I Perf : Connecting to perf service.
01-02 11:29:07.354 6005 6005 I WireGuard/Application: WireGuard/1.0.20201224 (Android 29; arm64-v8a; citrus; Xiaomi M2010J19CG; POCO/citrus_eea/citrus:10/QKQ1.200830.002/V12.0.5.0.QJFEUXM:user/release-keys)
01-02 11:29:07.357 6005 6005 I FeatureParser: can't find citrus.xml in assets/device_features/,it may be in /vendor/etc/device_features
01-02 11:29:07.345 6005 6005 I auditd : type=1400 audit(0.0:7266): avc: denied { read } for comm="reguard.android" name="u:object_r:vendor_default_prop:s0" dev="tmpfs" ino=2008 scontext=u:r:untrusted_app:s0:c14,c257,c512,c768 tcontext=u:object_r:vendor_default_prop:s0 tclass=file permissive=0
01-02 11:29:07.360 6005 6005 E libc : Access denied finding property "ro.vendor.df.effect.conflict"
01-02 11:29:07.345 6005 6005 W reguard.android: type=1400 audit(0.0:7266): avc: denied { read } for name="u:object_r:vendor_default_prop:s0" dev="tmpfs" ino=2008 scontext=u:r:untrusted_app:s0:c14,c257,c512,c768 tcontext=u:object_r:vendor_default_prop:s0 tclass=file permissive=0
01-02 11:29:07.360 6005 6005 E libc : Access denied finding property "ro.vendor.knock.type"
01-02 11:29:07.345 6005 6005 W reguard.android: type=1400 audit(0.0:7267): avc: denied { read } for name="u:object_r:vendor_default_prop:s0" dev="tmpfs" ino=2008 scontext=u:r:untrusted_app:s0:c14,c257,c512,c768 tcontext=u:object_r:vendor_default_prop:s0 tclass=file permissive=0
01-02 11:29:07.411 6005 6005 W reguard.androi: Accessing hidden field Ljava/util/Collections$SynchronizedCollection;->mutex:Ljava/lang/Object; (greylist-max-o, reflection, denied)
01-02 11:29:07.412 6005 6005 W reguard.androi: Accessing hidden method Ljava/util/Collections$SynchronizedSet;-><init>(Ljava/util/Set;Ljava/lang/Object;)V (greylist-max-o, reflection, denied)
01-02 11:29:07.412 6005 6005 W reguard.androi: Accessing hidden method Ljava/util/Collections$SynchronizedCollection;-><init>(Ljava/util/Collection;Ljava/lang/Object;)V (greylist-max-o, reflection, denied)
01-02 11:29:07.345 6005 6005 I auditd : type=1400 audit(0.0:7267): avc: denied { read } for comm="reguard.android" name="u:object_r:vendor_default_prop:s0" dev="tmpfs" ino=2008 scontext=u:r:untrusted_app:s0:c14,c257,c512,c768 tcontext=u:object_r:vendor_default_prop:s0 tclass=file permissive=0
01-02 11:29:07.567 6005 6005 I am_on_create_called: [0,com.wireguard.android.activity.MainActivity,performCreate,129]
01-02 11:29:07.591 6005 6005 I am_on_start_called: [0,com.wireguard.android.activity.MainActivity,handleStartActivity,22]
01-02 11:29:07.593 6005 6005 I am_on_resume_called: [0,com.wireguard.android.activity.MainActivity,RESUME_ACTIVITY,1]
01-02 11:29:07.617 6005 6005 W Looper : PerfMonitor looperActivity : package=com.wireguard.android/.activity.MainActivity time=232ms latency=303ms running=105ms procState=2 ClientTransaction{ callbacks=[android.app.servertransaction.LaunchActivityItem] lifecycleRequest=android.app.servertransaction.ResumeActivityItem } historyMsgCount=2 (msgIndex=2 wall=298ms seq=2 running=90ms runnable=14ms io=167ms late=7ms h=android.app.ActivityThread$H w=110)
01-02 11:29:07.617 6005 6005 I am_on_top_resumed_gained_called: [0,com.wireguard.android.activity.MainActivity,topStateChangedWhenResumed]
01-02 11:29:07.617 6005 6005 W Looper : PerfMonitor looperActivity : package=com.wireguard.android/.activity.MainActivity time=1ms latency=533ms running=0ms procState=2 ClientTransaction{ callbacks=[android.app.servertransaction.TopResumedActivityChangeItem] } historyMsgCount=3 (msgIndex=2 wall=298ms seq=2 running=90ms runnable=14ms io=167ms late=7ms h=android.app.ActivityThread$H w=110) (msgIndex=3 wall=232ms seq=3 running=105ms runnable=11ms io=85ms late=303ms h=android.app.ActivityThread$H w=159)
01-02 11:29:07.648 6005 6034 I AdrenoGLES-0: QUALCOMM build : b05f905, Ibb57145ad1
01-02 11:29:07.648 6005 6034 I AdrenoGLES-0: Build Date : 09/14/20
01-02 11:29:07.648 6005 6034 I AdrenoGLES-0: OpenGL ES Shader Compiler Version: EV031.29.00.16
01-02 11:29:07.648 6005 6034 I AdrenoGLES-0: Local Branch :
01-02 11:29:07.648 6005 6034 I AdrenoGLES-0: Remote Branch : quic/gfx-adreno.lnx.1.0.r107-rel
01-02 11:29:07.648 6005 6034 I AdrenoGLES-0: Remote Branch : NONE
01-02 11:29:07.648 6005 6034 I AdrenoGLES-0: Reconstruct Branch : NOTHING
01-02 11:29:07.648 6005 6034 I AdrenoGLES-0: Build Config : S P 8.0.16 AArch64
01-02 11:29:07.648 6005 6034 I AdrenoGLES-0: Driver Path : /vendor/lib64/egl/libGLESv2_adreno.so
01-02 11:29:07.677 6005 6034 I AdrenoGLES-0: PFP: 0x016ee188, ME: 0x00000000
01-02 11:29:07.952 6005 6031 I WireGuard/GoBackend: Bringing tunnel wg-maison UP
01-02 11:29:07.956 6005 6031 D WireGuard/GoBackend: Requesting to start VpnService
01-02 11:29:08.279 6005 6031 D WireGuard/GoBackend: Go backend v0.0.20201118
01-02 11:29:08.280 6005 6031 D WireGuard/GoBackend/wg-maison: Debug log enabled
01-02 11:29:08.280 6005 6031 I WireGuard/GoBackend/wg-maison: Attaching to interface tun0
01-02 11:29:08.292 6005 6031 D WireGuard/GoBackend/wg-maison: UAPI: Updating private key
01-02 11:29:08.292 6005 6031 D WireGuard/GoBackend/wg-maison: UAPI: Removing all peers
01-02 11:29:08.292 6005 6031 D WireGuard/GoBackend/wg-maison: UAPI: Transition to peer configuration
01-02 11:29:08.293 6005 6031 D WireGuard/GoBackend/wg-maison: peer(cq2G…z51g) - UAPI: Created
01-02 11:29:08.293 6005 6031 D WireGuard/GoBackend/wg-maison: peer(cq2G…z51g) - UAPI: Adding allowedip
01-02 11:29:08.293 6005 6031 D WireGuard/GoBackend/wg-maison: peer(cq2G…z51g) - UAPI: Adding allowedip
01-02 11:29:08.293 6005 6031 D WireGuard/GoBackend/wg-maison: peer(cq2G…z51g) - UAPI: Updating endpoint
01-02 11:29:08.293 6005 6031 D WireGuard/GoBackend/wg-maison: peer(cq2G…z51g) - UAPI: Updating persistent keepalive interval
01-02 11:29:08.294 6005 6043 D WireGuard/GoBackend/wg-maison: Routine: decryption worker - started
01-02 11:29:08.294 6005 6043 D WireGuard/GoBackend/wg-maison: Routine: encryption worker - started
01-02 11:29:08.294 6005 6043 D WireGuard/GoBackend/wg-maison: Routine: decryption worker - started
01-02 11:29:08.294 6005 6043 D WireGuard/GoBackend/wg-maison: Routine: handshake worker - started
01-02 11:29:08.294 6005 6043 D WireGuard/GoBackend/wg-maison: Routine: encryption worker - started
01-02 11:29:08.294 6005 6043 D WireGuard/GoBackend/wg-maison: Routine: decryption worker - started
01-02 11:29:08.294 6005 6043 D WireGuard/GoBackend/wg-maison: Routine: handshake worker - started
01-02 11:29:08.294 6005 6043 D WireGuard/GoBackend/wg-maison: Routine: encryption worker - started
01-02 11:29:08.294 6005 6043 D WireGuard/GoBackend/wg-maison: Routine: decryption worker - started
01-02 11:29:08.294 6005 6043 D WireGuard/GoBackend/wg-maison: Routine: handshake worker - started
01-02 11:29:08.294 6005 6043 D WireGuard/GoBackend/wg-maison: Routine: encryption worker - started
01-02 11:29:08.294 6005 6043 D WireGuard/GoBackend/wg-maison: Routine: decryption worker - started
01-02 11:29:08.294 6005 6043 D WireGuard/GoBackend/wg-maison: Routine: handshake worker - started
01-02 11:29:08.294 6005 6043 D WireGuard/GoBackend/wg-maison: Routine: encryption worker - started
01-02 11:29:08.294 6005 6043 D WireGuard/GoBackend/wg-maison: Routine: decryption worker - started
01-02 11:29:08.294 6005 6043 D WireGuard/GoBackend/wg-maison: Routine: handshake worker - started
01-02 11:29:08.294 6005 6043 D WireGuard/GoBackend/wg-maison: Routine: encryption worker - started
01-02 11:29:08.294 6005 6043 D WireGuard/GoBackend/wg-maison: Routine: decryption worker - started
01-02 11:29:08.294 6005 6043 D WireGuard/GoBackend/wg-maison: Routine: handshake worker - started
01-02 11:29:08.294 6005 6043 D WireGuard/GoBackend/wg-maison: Routine: encryption worker - started
01-02 11:29:08.294 6005 6043 D WireGuard/GoBackend/wg-maison: Routine: handshake worker - started
01-02 11:29:08.294 6005 6043 D WireGuard/GoBackend/wg-maison: Routine: TUN reader - started
01-02 11:29:08.295 6005 6043 D WireGuard/GoBackend/wg-maison: Routine: event worker - started
01-02 11:29:08.297 6005 6031 D WireGuard/GoBackend/wg-maison: UDP bind has been updated
01-02 11:29:08.297 6005 6031 D WireGuard/GoBackend/wg-maison: peer(cq2G…z51g) - Starting...
01-02 11:29:08.297 6005 6043 D WireGuard/GoBackend/wg-maison: Routine: receive incoming IPv4 - started
01-02 11:29:08.297 6005 6031 D WireGuard/GoBackend/wg-maison: peer(cq2G…z51g) - Sending keepalive packet
01-02 11:29:08.297 6005 6031 I WireGuard/GoBackend/wg-maison: Device started
01-02 11:29:08.297 6005 6043 D WireGuard/GoBackend/wg-maison: peer(cq2G…z51g) - Routine: nonce worker - started
01-02 11:29:08.297 6005 6043 D WireGuard/GoBackend/wg-maison: peer(cq2G…z51g) - Sending handshake initiation
01-02 11:29:08.299 6005 6043 D WireGuard/GoBackend/wg-maison: peer(cq2G…z51g) - Awaiting keypair
01-02 11:29:08.300 6005 6054 D WireGuard/GoBackend/wg-maison: Routine: receive incoming IPv6 - started
01-02 11:29:08.300 6005 6053 D WireGuard/GoBackend/wg-maison: peer(cq2G…z51g) - Routine: sequential receiver - started
01-02 11:29:08.300 6005 6053 D WireGuard/GoBackend/wg-maison: peer(cq2G…z51g) - Routine: sequential sender - started
01-02 11:29:08.285 6005 6005 I auditd : type=1400 audit(0.0:7268): avc: denied { read } for comm="DefaultDispatch" name="somaxconn" dev="proc" ino=837698 scontext=u:r:untrusted_app:s0:c14,c257,c512,c768 tcontext=u:object_r:proc_net:s0 tclass=file permissive=0
01-02 11:29:08.285 6005 6005 W DefaultDispatch: type=1400 audit(0.0:7268): avc: denied { read } for name="somaxconn" dev="proc" ino=837698 scontext=u:r:untrusted_app:s0:c14,c257,c512,c768 tcontext=u:object_r:proc_net:s0 tclass=file permissive=0
01-02 11:29:08.367 6005 6054 D WireGuard/GoBackend/wg-maison: peer(cq2G…z51g) - Received handshake response
01-02 11:29:08.367 6005 6054 D WireGuard/GoBackend/wg-maison: peer(cq2G…z51g) - Obtained awaited keypair
01-02 11:29:11.291 6005 6005 I am_on_top_resumed_lost_called: [0,com.wireguard.android.activity.MainActivity,topStateChangedWhenResumed]
01-02 11:29:11.303 6005 6005 I am_on_paused_called: [0,com.wireguard.android.activity.MainActivity,performPause,0]
01-02 11:29:11.814 6005 6005 I am_on_stop_called: [0,com.wireguard.android.activity.MainActivity,STOP_ACTIVITY_ITEM,0]
01-02 11:30:45.391 6005 6043 D WireGuard/GoBackend/wg-maison: peer(cq2G…z51g) - Receiving keepalive packet
01-02 11:31:08.983 6005 6080 D WireGuard/GoBackend/wg-maison: peer(cq2G…z51g) - Sending handshake initiation
01-02 11:31:09.081 6005 6054 D WireGuard/GoBackend/wg-maison: peer(cq2G…z51g) - Received handshake response
01-02 11:31:09.081 6005 6054 D WireGuard/GoBackend/wg-maison: peer(cq2G…z51g) - Sending keepalive packet
01-02 11:31:40.200 6005 6055 D WireGuard/GoBackend/wg-maison: peer(cq2G…z51g) - Receiving keepalive packet
01-02 11:31:51.261 6005 6005 I am_on_restart_called: [0,com.wireguard.android.activity.MainActivity,performRestartActivity,0]
01-02 11:31:51.282 6005 6005 I am_on_start_called: [0,com.wireguard.android.activity.MainActivity,handleStartActivity,20]
01-02 11:31:51.284 6005 6005 I am_on_resume_called: [0,com.wireguard.android.activity.MainActivity,RESUME_ACTIVITY,0]
01-02 11:31:51.284 6005 6005 I am_on_top_resumed_gained_called: [0,com.wireguard.android.activity.MainActivity,topWhenResuming]
01-02 11:31:57.370 6005 6005 I menu_item_selected: [0,Paramètres]
01-02 11:31:57.378 6005 6005 I Timeline: Timeline: Activity_launch_request time:4712077
01-02 11:31:57.404 6005 6005 I am_on_top_resumed_lost_called: [0,com.wireguard.android.activity.MainActivity,topStateChangedWhenResumed]
01-02 11:31:57.405 6005 6005 I am_on_paused_called: [0,com.wireguard.android.activity.MainActivity,performPause,0]
01-02 11:31:57.412 6005 6005 W ActivityThread: handleWindowVisibility: no activity for token android.os.BinderProxy@a1a647a
01-02 11:31:57.436 6005 6005 I am_on_create_called: [0,com.wireguard.android.activity.SettingsActivity,performCreate,5]
01-02 11:31:57.476 6005 6005 I am_on_start_called: [0,com.wireguard.android.activity.SettingsActivity,handleStartActivity,33]
01-02 11:31:57.477 6005 6005 I am_on_resume_called: [0,com.wireguard.android.activity.SettingsActivity,RESUME_ACTIVITY,1]
01-02 11:31:57.481 6005 6005 I am_on_top_resumed_gained_called: [0,com.wireguard.android.activity.SettingsActivity,topStateChangedWhenResumed]
01-02 11:31:58.091 6005 6005 I am_on_stop_called: [0,com.wireguard.android.activity.MainActivity,STOP_ACTIVITY_ITEM,0]
01-02 11:32:04.926 6005 6005 I Timeline: Timeline: Activity_launch_request time:4719625
01-02 11:32:04.940 6005 6005 I am_on_top_resumed_lost_called: [0,com.wireguard.android.activity.SettingsActivity,topStateChangedWhenResumed]
01-02 11:32:04.943 6005 6005 I am_on_paused_called: [0,com.wireguard.android.activity.SettingsActivity,performPause,1]
01-02 11:32:04.949 6005 6005 W ActivityThread: handleWindowVisibility: no activity for token android.os.BinderProxy@1e9087f
01-02 11:32:04.975 6005 6005 I am_on_create_called: [0,com.wireguard.android.activity.LogViewerActivity,performCreate,21]
01-02 11:32:04.977 6005 6005 I am_on_start_called: [0,com.wireguard.android.activity.LogViewerActivity,handleStartActivity,0]
01-02 11:32:04.978 6005 6005 I am_on_resume_called: [0,com.wireguard.android.activity.LogViewerActivity,RESUME_ACTIVITY,1]
01-02 11:32:04.983 6005 6005 I am_on_top_resumed_gained_called: [0,com.wireguard.android.activity.LogViewerActivity,topStateChangedWhenResumed]
01-02 11:32:05.612 6005 6005 I am_on_stop_called: [0,com.wireguard.android.activity.SettingsActivity,STOP_ACTIVITY_ITEM,0]
01-02 11:32:08.247 6005 6005 I menu_item_selected: [0,Exporter le fichier journal]
01-02 11:32:08.721 6005 6035 W BpBinder: Slow Binder: BpBinder transact took 448ms, interface=android.app.IActivityManager, code=20 oneway=false
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Wireguard Android: the application is stopped unexpectedly
2021-01-02 11:39 Wireguard Android: the application is stopped unexpectedly Jérémy Prego
@ 2021-01-03 13:43 ` Harsh Shandilya
2021-01-03 15:50 ` Jérémy Prego
0 siblings, 1 reply; 3+ messages in thread
From: Harsh Shandilya @ 2021-01-03 13:43 UTC (permalink / raw)
To: Jérémy Prego; +Cc: wireguard, team
Hey Jérémy,
On 2021-01-02 11:39, Jérémy Prego wrote:
> hello and happy new year,
>
> I have a problem with the wireguard application on my Xiaomi poco m3
> (Android 10 / miui 12.0.5). I have set all the correct permissions so
> that the application is not killed by miui, but it always ends up
> stopping anyway.
> In the attached log, I see some errors when stopping the application,
> around 11:30 am
The auditd lines are harmless, and the app itself seems to have no
information as to why its being killed. There are no crashes, and no
fatal errors being logged. I'm rather confident that this is MIUI's
doing, because I have a Samsung phone that has been running the same
WireGuard client for 14 days straight without failing or being force
closed. Is there a possibility that a new MIUI "optimisation" showed up
that you did not disable yet? I don't believe the reason for your issue
is a bug in the app.
>
> I remain available if you need more information
>
> thanks,
>
> Jerem
Cheers,
Harsh
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Wireguard Android: the application is stopped unexpectedly
2021-01-03 13:43 ` Harsh Shandilya
@ 2021-01-03 15:50 ` Jérémy Prego
0 siblings, 0 replies; 3+ messages in thread
From: Jérémy Prego @ 2021-01-03 15:50 UTC (permalink / raw)
To: Harsh Shandilya; +Cc: wireguard, team
hello,
thanks for the reply
réponse inline:
Le 03/01/2021 à 14:43, Harsh Shandilya a écrit :
> I'm rather confident that this is MIUI's doing, because I have a
> Samsung phone that has been running the same WireGuard client for 14
> days straight without failing or being force closed.
on my old p10 lite phone, wireguard worked without any issues
> Is there a possibility that a new MIUI "optimisation" showed up that
> you did not disable yet?
i dont think i have disabled all miui optimization i found on the
internet. the strangest thing is that it can work for several days and
end up stopping ... suddenly I don't know how I can get more information
to know if it comes from miui or from the wireguard
Jerem
Le 03/01/2021 à 14:43, Harsh Shandilya a écrit :
> Hey Jérémy,
>
> On 2021-01-02 11:39, Jérémy Prego wrote:
>> hello and happy new year,
>>
>> I have a problem with the wireguard application on my Xiaomi poco m3
>> (Android 10 / miui 12.0.5). I have set all the correct permissions so
>> that the application is not killed by miui, but it always ends up
>> stopping anyway.
>> In the attached log, I see some errors when stopping the application,
>> around 11:30 am
>
> The auditd lines are harmless, and the app itself seems to have no
> information as to why its being killed. There are no crashes, and no
> fatal errors being logged. I'm rather confident that this is MIUI's
> doing, because I have a Samsung phone that has been running the same
> WireGuard client for 14 days straight without failing or being force
> closed. Is there a possibility that a new MIUI "optimisation" showed
> up that you did not disable yet? I don't believe the reason for your
> issue is a bug in the app.
>
>>
>> I remain available if you need more information
>>
>> thanks,
>>
>> Jerem
>
> Cheers,
> Harsh
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2021-01-03 15:50 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-02 11:39 Wireguard Android: the application is stopped unexpectedly Jérémy Prego
2021-01-03 13:43 ` Harsh Shandilya
2021-01-03 15:50 ` Jérémy Prego
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).