Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Service stops at random #23

Open
mnirun opened this issue Feb 10, 2025 · 16 comments
Open

Service stops at random #23

mnirun opened this issue Feb 10, 2025 · 16 comments
Labels
bug Something isn't working

Comments

@mnirun
Copy link

mnirun commented Feb 10, 2025

DNSNet keep stopped randomly.

DNSNet version: 1.0.16
DNSNet APK Source: F-Droid
Device: realme 5 Pro
OS: Android 11

Logcat 1:

--------- beginning of main
02-10 19:54:22.484 10252 15555 E libEGL  : Invalid file path for libcolorx-loader.so
--------- beginning of system
02-10 19:54:22.788 10252 10252 D ColorViewRootUtil: initSwipState, isDisplayCompatApp false
02-10 19:54:22.788 10252 10252 D ColorViewRootUtil: mScreenHeight 2340, mScreenWidth 1080
02-10 19:54:22.789 10252 10252 D WindowManager: Add to mViews: DecorView@a5f96b6[MainActivity],pkg= dev.clombardo.dnsnet
02-10 19:54:22.800 10252 10704 E Parcel  : Reading a NULL string not supported here.
02-10 19:54:22.808 10252 10704 I chatty  : uid=11177(dev.clombardo.dnsnet) DefaultDispatch identical 4 lines
02-10 19:54:22.812 10252 10704 E Parcel  : Reading a NULL string not supported here.
02-10 19:54:22.816 10252 10704 E Parcel  : Reading a NULL string not supported here.
02-10 19:54:22.824 10252 10704 I chatty  : uid=11177(dev.clombardo.dnsnet) DefaultDispatch identical 5 lines
02-10 19:54:22.826 10252 10704 E Parcel  : Reading a NULL string not supported here.
02-10 19:54:22.939 10252 10252 V OplusZoomWindowDecorViewHelper: setLastReportedMergedConfiguration mZoomDisplayHeight: 2340 getDecorView.DecorView@a5f96b6[MainActivity]
02-10 19:54:23.072 10252 10270 W lombardo.dnsne: Reducing the number of considered missed Gc histogram windows from 697 to 100
02-10 19:54:23.076 10252 10272 W System  : A resource failed to call close. 
02-10 19:54:23.078 10252 10272 I chatty  : uid=11177(dev.clombardo.dnsnet) FinalizerDaemon identical 43 lines
02-10 19:54:23.078 10252 10272 W System  : A resource failed to call close. 
02-10 19:54:23.944 10252 10252 D ViewRootImpl[MainActivity]: processMotionEvent MotionEvent { action=ACTION_DOWN, actionButton=0, id[0]=0, x[0]=862.0, y[0]=1586.0, toolType[0]=TOOL_TYPE_FINGER, buttonState=0, classification=NONE, metaState=0, flags=0x2, edgeFlags=0x0, pointerCount=1, historySize=0, eventTime=21753272, downTime=21753272, deviceId=4, source=0x1002, displayId=0 }
02-10 19:54:23.946 10252 10252 D ViewRootImpl[MainActivity]: dispatchPointerEvent handled=true, event=MotionEvent { action=ACTION_DOWN, actionButton=0, id[0]=0, x[0]=862.0, y[0]=1586.0, toolType[0]=TOOL_TYPE_FINGER, buttonState=0, classification=NONE, metaState=0, flags=0x2, edgeFlags=0x0, pointerCount=1, historySize=0, eventTime=21753272, downTime=21753272, deviceId=4, source=0x1002, displayId=0 }
02-10 19:54:24.086 10252 10252 D ViewRootImpl[MainActivity]: processMotionEvent MotionEvent { action=ACTION_UP, actionButton=0, id[0]=0, x[0]=1079.0, y[0]=1151.0, toolType[0]=TOOL_TYPE_FINGER, buttonState=0, classification=NONE, metaState=0, flags=0x2, edgeFlags=0x0, pointerCount=1, historySize=0, eventTime=21753413, downTime=21753272, deviceId=4, source=0x1002, displayId=0 }
02-10 19:54:24.087 10252 10252 D ViewRootImpl[MainActivity]: dispatchPointerEvent handled=true, event=MotionEvent { action=ACTION_UP, actionButton=0, id[0]=0, x[0]=1079.0, y[0]=1151.0, toolType[0]=TOOL_TYPE_FINGER, buttonState=0, classification=NONE, metaState=0, flags=0x2, edgeFlags=0x0, pointerCount=1, historySize=0, eventTime=21753413, downTime=21753272, deviceId=4, source=0x1002, displayId=0 }
02-10 19:54:25.921 10252 10252 D ViewRootImpl[MainActivity]: processMotionEvent MotionEvent { action=ACTION_DOWN, actionButton=0, id[0]=0, x[0]=906.0, y[0]=1012.0, toolType[0]=TOOL_TYPE_FINGER, buttonState=0, classification=NONE, metaState=0, flags=0x2, edgeFlags=0x0, pointerCount=1, historySize=0, eventTime=21755246, downTime=21755246, deviceId=4, source=0x1002, displayId=0 }
02-10 19:54:25.924 10252 10252 D ViewRootImpl[MainActivity]: dispatchPointerEvent handled=true, event=MotionEvent { action=ACTION_DOWN, actionButton=0, id[0]=0, x[0]=906.0, y[0]=1012.0, toolType[0]=TOOL_TYPE_FINGER, buttonState=0, classification=NONE, metaState=0, flags=0x2, edgeFlags=0x0, pointerCount=1, historySize=0, eventTime=21755246, downTime=21755246, deviceId=4, source=0x1002, displayId=0 }
02-10 19:54:25.987 10252 10252 D ViewRootImpl[MainActivity]: processMotionEvent MotionEvent { action=ACTION_UP, actionButton=0, id[0]=0, x[0]=906.0, y[0]=1012.0, toolType[0]=TOOL_TYPE_FINGER, buttonState=0, classification=NONE, metaState=0, flags=0x2, edgeFlags=0x0, pointerCount=1, historySize=0, eventTime=21755313, downTime=21755246, deviceId=4, source=0x1002, displayId=0 }
02-10 19:54:25.988 10252 10252 E Parcel  : Reading a NULL string not supported here.
02-10 19:54:26.011 10252 10252 D ViewRootImpl[MainActivity]: dispatchPointerEvent handled=true, event=MotionEvent { action=ACTION_UP, actionButton=0, id[0]=0, x[0]=906.0, y[0]=1012.0, toolType[0]=TOOL_TYPE_FINGER, buttonState=0, classification=NONE, metaState=0, flags=0x2, edgeFlags=0x0, pointerCount=1, historySize=0, eventTime=21755313, downTime=21755246, deviceId=4, source=0x1002, displayId=0 }
02-10 19:54:26.215 10252 10698 D OpenGLRenderer: endAllActiveAnimators on 0x7aff329e00 (v) with handle 0x7a9aeef4c0
02-10 19:54:27.843 10252 10704 E Parcel  : Reading a NULL string not supported here.
02-10 19:54:27.863 10252 10704 I chatty  : uid=11177(dev.clombardo.dnsnet) DefaultDispatch identical 11 lines
02-10 19:54:27.865 10252 10704 E Parcel  : Reading a NULL string not supported here.
02-10 19:54:28.833 10252 10704 I lombardo.dnsne: Explicit concurrent copying GC freed 113652(5446KB) AllocSpace objects, 0(0B) LOS objects, 49% free, 8243KB/16MB, paused 69us total 47.784ms

Logcat 2:

--------- beginning of main
02-10 20:36:18.942 10252 29726 E libEGL  : Invalid file path for libcolorx-loader.so
--------- beginning of system
02-10 20:36:19.256 10252 10252 D ColorViewRootUtil: initSwipState, isDisplayCompatApp false
02-10 20:36:19.256 10252 10252 D ColorViewRootUtil: mScreenHeight 2340, mScreenWidth 1080
02-10 20:36:19.256 10252 10252 D WindowManager: Add to mViews: DecorView@1e56e17[MainActivity],pkg= dev.clombardo.dnsnet
02-10 20:36:19.267 10252 10703 E Parcel  : Reading a NULL string not supported here.
02-10 20:36:19.287 10252 10703 I chatty  : uid=11177(dev.clombardo.dnsnet) DefaultDispatch identical 12 lines
02-10 20:36:19.289 10252 10703 E Parcel  : Reading a NULL string not supported here.
02-10 20:36:19.292 10252 10703 E Parcel  : Reading a NULL string not supported here.
02-10 20:36:19.294 10252 10703 E Parcel  : Reading a NULL string not supported here.
02-10 20:36:19.327 10252 10703 E Parcel  : Reading a NULL string not supported here.
02-10 20:36:19.330 10252 10703 E Parcel  : Reading a NULL string not supported here.
02-10 20:36:19.334 10252 10703 E Parcel  : Reading a NULL string not supported here.
02-10 20:36:19.339 10252 10703 E Parcel  : Reading a NULL string not supported here.
02-10 20:36:19.345 10252 10703 E Parcel  : Reading a NULL string not supported here.
02-10 20:36:19.350 10252 10703 E Parcel  : Reading a NULL string not supported here.
02-10 20:36:19.358 10252 10703 E Parcel  : Reading a NULL string not supported here.
02-10 20:36:19.369 10252 10703 E Parcel  : Reading a NULL string not supported here.
02-10 20:36:19.373 10252 10703 E Parcel  : Reading a NULL string not supported here.
02-10 20:36:19.379 10252 10703 E Parcel  : Reading a NULL string not supported here.
02-10 20:36:19.391 10252 10252 V OplusZoomWindowDecorViewHelper: setLastReportedMergedConfiguration mZoomDisplayHeight: 2340 getDecorView.DecorView@1e56e17[MainActivity]
02-10 20:36:19.509 10252 10703 I lombardo.dnsne: Explicit concurrent copying GC freed 125408(6672KB) AllocSpace objects, 1(20KB) LOS objects, 49% free, 10MB/21MB, paused 105us total 126.399ms
02-10 20:36:19.509 10252 10703 W lombardo.dnsne: Reducing the number of considered missed Gc histogram windows from 239 to 100
02-10 20:36:19.510 10252 10270 I lombardo.dnsne: WaitForGcToComplete blocked Background on ProfileSaver for 107.832ms
02-10 20:36:20.238 10252 10252 D ViewRootImpl[MainActivity]: processMotionEvent MotionEvent { action=ACTION_DOWN, actionButton=0, id[0]=0, x[0]=117.0, y[0]=1803.0, toolType[0]=TOOL_TYPE_FINGER, buttonState=0, classification=NONE, metaState=0, flags=0x2, edgeFlags=0x0, pointerCount=1, historySize=0, eventTime=24264605, downTime=24264605, deviceId=4, source=0x1002, displayId=0 }
02-10 20:36:20.241 10252 10252 D ViewRootImpl[MainActivity]: dispatchPointerEvent handled=true, event=MotionEvent { action=ACTION_DOWN, actionButton=0, id[0]=0, x[0]=117.0, y[0]=1803.0, toolType[0]=TOOL_TYPE_FINGER, buttonState=0, classification=NONE, metaState=0, flags=0x2, edgeFlags=0x0, pointerCount=1, historySize=0, eventTime=24264605, downTime=24264605, deviceId=4, source=0x1002, displayId=0 }
02-10 20:36:20.338 10252 10252 D ViewRootImpl[MainActivity]: processMotionEvent MotionEvent { action=ACTION_UP, actionButton=0, id[0]=0, x[0]=112.0, y[0]=1479.0, toolType[0]=TOOL_TYPE_FINGER, buttonState=0, classification=NONE, metaState=0, flags=0x2, edgeFlags=0x0, pointerCount=1, historySize=0, eventTime=24264705, downTime=24264605, deviceId=4, source=0x1002, displayId=0 }
02-10 20:36:20.338 10252 10252 D ViewRootImpl[MainActivity]: dispatchPointerEvent handled=true, event=MotionEvent { action=ACTION_UP, actionButton=0, id[0]=0, x[0]=112.0, y[0]=1479.0, toolType[0]=TOOL_TYPE_FINGER, buttonState=0, classification=NONE, metaState=0, flags=0x2, edgeFlags=0x0, pointerCount=1, historySize=0, eventTime=24264705, downTime=24264605, deviceId=4, source=0x1002, displayId=0 }
02-10 20:36:23.758 10252 10252 D ViewRootImpl[MainActivity]: processMotionEvent MotionEvent { action=ACTION_DOWN, actionButton=0, id[0]=0, x[0]=288.0, y[0]=1055.0, toolType[0]=TOOL_TYPE_FINGER, buttonState=0, classification=NONE, metaState=0, flags=0x2, edgeFlags=0x0, pointerCount=1, historySize=0, eventTime=24268123, downTime=24268123, deviceId=4, source=0x1002, displayId=0 }
02-10 20:36:23.761 10252 10252 D ViewRootImpl[MainActivity]: dispatchPointerEvent handled=true, event=MotionEvent { action=ACTION_DOWN, actionButton=0, id[0]=0, x[0]=288.0, y[0]=1055.0, toolType[0]=TOOL_TYPE_FINGER, buttonState=0, classification=NONE, metaState=0, flags=0x2, edgeFlags=0x0, pointerCount=1, historySize=0, eventTime=24268123, downTime=24268123, deviceId=4, source=0x1002, displayId=0 }
02-10 20:36:23.829 10252 10252 D ViewRootImpl[MainActivity]: processMotionEvent MotionEvent { action=ACTION_UP, actionButton=0, id[0]=0, x[0]=288.0, y[0]=1055.0, toolType[0]=TOOL_TYPE_FINGER, buttonState=0, classification=NONE, metaState=0, flags=0x2, edgeFlags=0x0, pointerCount=1, historySize=0, eventTime=24268196, downTime=24268123, deviceId=4, source=0x1002, displayId=0 }
02-10 20:36:23.831 10252 10252 E Parcel  : Reading a NULL string not supported here.
02-10 20:36:23.854 10252 10252 D ViewRootImpl[MainActivity]: dispatchPointerEvent handled=true, event=MotionEvent { action=ACTION_UP, actionButton=0, id[0]=0, x[0]=288.0, y[0]=1055.0, toolType[0]=TOOL_TYPE_FINGER, buttonState=0, classification=NONE, metaState=0, flags=0x2, edgeFlags=0x0, pointerCount=1, historySize=0, eventTime=24268196, downTime=24268123, deviceId=4, source=0x1002, displayId=0 }
02-10 20:36:24.044 10252 10698 D OpenGLRenderer: endAllActiveAnimators on 0x7aa3979100 (v) with handle 0x7af3582b80
@t895
Copy link
Owner

t895 commented Feb 11, 2025

Could you please explain how you triggered the crash? Or does this just happen at random while the service is running?

@mnirun
Copy link
Author

mnirun commented Feb 11, 2025

It's happen at random while the service is running.

Here is a logcat from this morning.

Logcat 3:

--------- beginning of main
02-11 07:58:41.028 10252  7906 E libEGL  : Invalid file path for libcolorx-loader.so
--------- beginning of system
02-11 07:58:41.113 10252 10252 D ColorViewRootUtil: initSwipState, isDisplayCompatApp false
02-11 07:58:41.113 10252 10252 D ColorViewRootUtil: mScreenHeight 2340, mScreenWidth 1080
02-11 07:58:41.120 10252 10252 D WindowManager: Add to mViews: DecorView@5231b6b[MainActivity],pkg= dev.clombardo.dnsnet
02-11 07:58:41.123 10252 12019 E Parcel  : Reading a NULL string not supported here.
02-11 07:58:41.130 10252 12019 E Parcel  : Reading a NULL string not supported here.
02-11 07:58:41.137 10252 12019 E Parcel  : Reading a NULL string not supported here.
02-11 07:58:41.139 10252 12019 E Parcel  : Reading a NULL string not supported here.
02-11 07:58:41.149 10252 12019 I chatty  : uid=11177(dev.clombardo.dnsnet) DefaultDispatch identical 11 lines
02-11 07:58:41.153 10252 12019 E Parcel  : Reading a NULL string not supported here.
02-11 07:58:41.156 10252 12019 E Parcel  : Reading a NULL string not supported here.
02-11 07:58:41.163 10252 12019 E Parcel  : Reading a NULL string not supported here.
02-11 07:58:41.165 10252 12019 E Parcel  : Reading a NULL string not supported here.
02-11 07:58:41.167 10252 12019 E Parcel  : Reading a NULL string not supported here.
02-11 07:58:41.233 10252 10272 W System  : A resource failed to call close. 
02-11 07:58:41.238 10252 10272 I chatty  : uid=11177(dev.clombardo.dnsnet) FinalizerDaemon identical 1498 lines
02-11 07:58:41.238 10252 10272 W System  : A resource failed to call close. 
02-11 07:58:41.239 10252 10272 W System  : A resource failed to call close. 
02-11 07:58:41.255 10252 10272 W System  : A resource failed to call close. 
02-11 07:58:41.255 10252 10272 W System  : A resource failed to call close. 
02-11 07:58:41.271 10252 10272 W System  : A resource failed to call close. 
02-11 07:58:41.272 10252 10272 W System  : A resource failed to call close. 
02-11 07:58:41.273 10252 10272 W System  : A resource failed to call close. 
02-11 07:58:41.274 10252 10272 W System  : A resource failed to call close. 
02-11 07:58:41.283 10252 10272 W System  : A resource failed to call close. 
02-11 07:58:41.283 10252 10272 W System  : A resource failed to call close. 
02-11 07:58:41.288 10252 10272 W System  : A resource failed to call close. 
02-11 07:58:41.288 10252 10272 W System  : A resource failed to call close. 
02-11 07:58:41.298 10252 10252 V OplusZoomWindowDecorViewHelper: setLastReportedMergedConfiguration mZoomDisplayHeight: 2340 getDecorView.DecorView@5231b6b[MainActivity]
02-11 07:58:41.299 10252 10272 W System  : A resource failed to call close. 
02-11 07:58:41.299 10252 10272 W System  : A resource failed to call close. 
02-11 07:58:41.305 10252 10272 W System  : A resource failed to call close. 
02-11 07:58:41.305 10252 10272 W System  : A resource failed to call close. 
02-11 07:58:41.309 10252 10272 W System  : A resource failed to call close. 
02-11 07:58:42.245 10252 10252 D ViewRootImpl[MainActivity]: processMotionEvent MotionEvent { action=ACTION_DOWN, actionButton=0, id[0]=0, x[0]=152.0, y[0]=1698.0, toolType[0]=TOOL_TYPE_FINGER, buttonState=0, classification=NONE, metaState=0, flags=0x2, edgeFlags=0x0, pointerCount=1, historySize=0, eventTime=33131233, downTime=33131233, deviceId=4, source=0x1002, displayId=0 }
02-11 07:58:42.247 10252 10252 D ViewRootImpl[MainActivity]: dispatchPointerEvent handled=true, event=MotionEvent { action=ACTION_DOWN, actionButton=0, id[0]=0, x[0]=152.0, y[0]=1698.0, toolType[0]=TOOL_TYPE_FINGER, buttonState=0, classification=NONE, metaState=0, flags=0x2, edgeFlags=0x0, pointerCount=1, historySize=0, eventTime=33131233, downTime=33131233, deviceId=4, source=0x1002, displayId=0 }
02-11 07:58:42.328 10252 10252 D ViewRootImpl[MainActivity]: processMotionEvent MotionEvent { action=ACTION_UP, actionButton=0, id[0]=0, x[0]=0.0, y[0]=1269.0, toolType[0]=TOOL_TYPE_FINGER, buttonState=0, classification=NONE, metaState=0, flags=0x2, edgeFlags=0x0, pointerCount=1, historySize=0, eventTime=33131316, downTime=33131233, deviceId=4, source=0x1002, displayId=0 }
02-11 07:58:42.329 10252 10252 D ViewRootImpl[MainActivity]: dispatchPointerEvent handled=true, event=MotionEvent { action=ACTION_UP, actionButton=0, id[0]=0, x[0]=0.0, y[0]=1269.0, toolType[0]=TOOL_TYPE_FINGER, buttonState=0, classification=NONE, metaState=0, flags=0x2, edgeFlags=0x0, pointerCount=1, historySize=0, eventTime=33131316, downTime=33131233, deviceId=4, source=0x1002, displayId=0 }
02-11 07:58:43.583 10252 12019 E Parcel  : Reading a NULL string not supported here.
02-11 07:58:43.589 10252 12019 E Parcel  : Reading a NULL string not supported here.
02-11 07:58:43.590 10252 12019 E Parcel  : Reading a NULL string not supported here.
02-11 07:58:43.593 10252 12019 E Parcel  : Reading a NULL string not supported here.
02-11 07:58:43.605 10252 12019 E Parcel  : Reading a NULL string not supported here.
02-11 07:58:43.608 10252 12019 E Parcel  : Reading a NULL string not supported here.
02-11 07:58:43.667 10252 12019 I lombardo.dnsne: Explicit concurrent copying GC freed 144191(7390KB) AllocSpace objects, 0(0B) LOS objects, 49% free, 8947KB/17MB, paused 87us total 55.591ms
02-11 07:58:44.047 10252 10252 D ViewRootImpl[MainActivity]: processMotionEvent MotionEvent { action=ACTION_DOWN, actionButton=0, id[0]=0, x[0]=295.0, y[0]=1009.0, toolType[0]=TOOL_TYPE_FINGER, buttonState=0, classification=NONE, metaState=0, flags=0x2, edgeFlags=0x0, pointerCount=1, historySize=0, eventTime=33133033, downTime=33133033, deviceId=4, source=0x1002, displayId=0 }
02-11 07:58:44.049 10252 10252 D ViewRootImpl[MainActivity]: dispatchPointerEvent handled=true, event=MotionEvent { action=ACTION_DOWN, actionButton=0, id[0]=0, x[0]=295.0, y[0]=1009.0, toolType[0]=TOOL_TYPE_FINGER, buttonState=0, classification=NONE, metaState=0, flags=0x2, edgeFlags=0x0, pointerCount=1, historySize=0, eventTime=33133033, downTime=33133033, deviceId=4, source=0x1002, displayId=0 }
02-11 07:58:44.152 10252 10252 D ViewRootImpl[MainActivity]: processMotionEvent MotionEvent { action=ACTION_UP, actionButton=0, id[0]=0, x[0]=295.0, y[0]=1009.0, toolType[0]=TOOL_TYPE_FINGER, buttonState=0, classification=NONE, metaState=0, flags=0x2, edgeFlags=0x0, pointerCount=1, historySize=0, eventTime=33133133, downTime=33133033, deviceId=4, source=0x1002, displayId=0 }
02-11 07:58:44.157 10252 10252 E Parcel  : Reading a NULL string not supported here.
02-11 07:58:44.181 10252 10252 D ViewRootImpl[MainActivity]: dispatchPointerEvent handled=true, event=MotionEvent { action=ACTION_UP, actionButton=0, id[0]=0, x[0]=295.0, y[0]=1009.0, toolType[0]=TOOL_TYPE_FINGER, buttonState=0, classification=NONE, metaState=0, flags=0x2, edgeFlags=0x0, pointerCount=1, historySize=0, eventTime=33133133, downTime=33133033, deviceId=4, source=0x1002, displayId=0 }
02-11 07:58:44.374 10252 10698 D OpenGLRenderer: endAllActiveAnimators on 0x7a8ebe0f00 (v) with handle 0x7aa38ff7c0

Logcat 4:

--------- beginning of main
02-11 08:01:59.610 10252 10374 I g       : Stopping Vpn Thread
02-11 08:01:59.662 10252  8215 W g       : Network exception in vpn thread, ignoring and reconnecting
02-11 08:01:59.662 10252  8215 W g       : W2.q: Watchdog timed out
02-11 08:01:59.662 10252  8215 W g       : 	at W2.r.c(SourceFile:63)
02-11 08:01:59.662 10252  8215 W g       : 	at W2.g.e(SourceFile:163)
02-11 08:01:59.662 10252  8215 W g       : 	at W2.g.j(SourceFile:50)
02-11 08:01:59.662 10252  8215 W g       : 	at W2.g.run(SourceFile:44)
02-11 08:01:59.662 10252  8215 W g       : 	at java.lang.Thread.run(Thread.java:923)
02-11 08:01:59.662 10252  8215 I g       : Resetting timeout
02-11 08:01:59.662 10252  8215 I g       : Retrying to connect in 5seconds...
02-11 08:01:59.662 10252  8215 I g       : Exiting
02-11 08:01:59.662 10252 10374 I g       : Vpn Thread stopped
02-11 08:03:13.972 10252 10252 D ViewRootImpl[MainActivity]: processMotionEvent MotionEvent { action=ACTION_DOWN, actionButton=0, id[0]=0, x[0]=271.0, y[0]=1221.0, toolType[0]=TOOL_TYPE_FINGER, buttonState=0, classification=NONE, metaState=0, flags=0x2, edgeFlags=0x0, pointerCount=1, historySize=0, eventTime=33402959, downTime=33402959, deviceId=4, source=0x1002, displayId=0 }
02-11 08:03:13.976 10252 10252 D ViewRootImpl[MainActivity]: dispatchPointerEvent handled=true, event=MotionEvent { action=ACTION_DOWN, actionButton=0, id[0]=0, x[0]=271.0, y[0]=1221.0, toolType[0]=TOOL_TYPE_FINGER, buttonState=0, classification=NONE, metaState=0, flags=0x2, edgeFlags=0x0, pointerCount=1, historySize=0, eventTime=33402959, downTime=33402959, deviceId=4, source=0x1002, displayId=0 }
02-11 08:03:14.047 10252 10252 D ViewRootImpl[MainActivity]: processMotionEvent MotionEvent { action=ACTION_UP, actionButton=0, id[0]=0, x[0]=271.0, y[0]=1221.0, toolType[0]=TOOL_TYPE_FINGER, buttonState=0, classification=NONE, metaState=0, flags=0x2, edgeFlags=0x0, pointerCount=1, historySize=0, eventTime=33403033, downTime=33402959, deviceId=4, source=0x1002, displayId=0 }
02-11 08:03:14.049 10252 10252 D ViewRootImpl[MainActivity]: dispatchPointerEvent handled=true, event=MotionEvent { action=ACTION_UP, actionButton=0, id[0]=0, x[0]=271.0, y[0]=1221.0, toolType[0]=TOOL_TYPE_FINGER, buttonState=0, classification=NONE, metaState=0, flags=0x2, edgeFlags=0x0, pointerCount=1, historySize=0, eventTime=33403033, downTime=33402959, deviceId=4, source=0x1002, displayId=0 }
--------- beginning of system
02-11 08:03:14.082 10252 10252 D ColorViewRootUtil: initSwipState, isDisplayCompatApp false
02-11 08:03:14.082 10252 10252 D ColorViewRootUtil: mScreenHeight 2340, mScreenWidth 1080
02-11 08:03:14.082 10252 10252 D WindowManager: Add to mViews: DecorView@532fa5e[MainActivity],pkg= dev.clombardo.dnsnet
02-11 08:03:14.155 10252 10252 V OplusZoomWindowDecorViewHelper: setLastReportedMergedConfiguration mZoomDisplayHeight: 2340 getDecorView.DecorView@532fa5e[MainActivity]
02-11 08:03:15.816 10252 10252 D ViewRootImpl[MainActivity]: processMotionEvent MotionEvent { action=ACTION_DOWN, actionButton=0, id[0]=0, x[0]=540.0, y[0]=433.0, toolType[0]=TOOL_TYPE_FINGER, buttonState=0, classification=NONE, metaState=0, flags=0x0, edgeFlags=0x0, pointerCount=1, historySize=0, eventTime=33404801, downTime=33404801, deviceId=4, source=0x1002, displayId=0 }
02-11 08:03:15.820 10252 10252 D ViewRootImpl[MainActivity]: dispatchPointerEvent handled=true, event=MotionEvent { action=ACTION_DOWN, actionButton=0, id[0]=0, x[0]=540.0, y[0]=433.0, toolType[0]=TOOL_TYPE_FINGER, buttonState=0, classification=NONE, metaState=0, flags=0x0, edgeFlags=0x0, pointerCount=1, historySize=0, eventTime=33404801, downTime=33404801, deviceId=4, source=0x1002, displayId=0 }
02-11 08:03:15.891 10252 10252 D ViewRootImpl[MainActivity]: processMotionEvent MotionEvent { action=ACTION_UP, actionButton=0, id[0]=0, x[0]=540.0, y[0]=433.0, toolType[0]=TOOL_TYPE_FINGER, buttonState=0, classification=NONE, metaState=0, flags=0x0, edgeFlags=0x0, pointerCount=1, historySize=0, eventTime=33404876, downTime=33404801, deviceId=4, source=0x1002, displayId=0 }
02-11 08:03:15.893 10252 10252 D ViewRootImpl[MainActivity]: dispatchPointerEvent handled=true, event=MotionEvent { action=ACTION_UP, actionButton=0, id[0]=0, x[0]=540.0, y[0]=433.0, toolType[0]=TOOL_TYPE_FINGER, buttonState=0, classification=NONE, metaState=0, flags=0x0, edgeFlags=0x0, pointerCount=1, historySize=0, eventTime=33404876, downTime=33404801, deviceId=4, source=0x1002, displayId=0 }
02-11 08:03:15.916 10252 10698 D OpenGLRenderer: endAllActiveAnimators on 0x7aff25c600 (v) with handle 0x7aa38ff140
02-11 08:03:17.323 10252 10252 D ViewRootImpl[MainActivity]: processMotionEvent MotionEvent { action=ACTION_DOWN, actionButton=0, id[0]=0, x[0]=826.0, y[0]=948.0, toolType[0]=TOOL_TYPE_FINGER, buttonState=0, classification=NONE, metaState=0, flags=0x2, edgeFlags=0x0, pointerCount=1, historySize=0, eventTime=33406307, downTime=33406307, deviceId=4, source=0x1002, displayId=0 }
02-11 08:03:17.328 10252 10252 D ViewRootImpl[MainActivity]: dispatchPointerEvent handled=true, event=MotionEvent { action=ACTION_DOWN, actionButton=0, id[0]=0, x[0]=826.0, y[0]=948.0, toolType[0]=TOOL_TYPE_FINGER, buttonState=0, classification=NONE, metaState=0, flags=0x2, edgeFlags=0x0, pointerCount=1, historySize=0, eventTime=33406307, downTime=33406307, deviceId=4, source=0x1002, displayId=0 }
02-11 08:03:17.389 10252 10252 D ViewRootImpl[MainActivity]: processMotionEvent MotionEvent { action=ACTION_UP, actionButton=0, id[0]=0, x[0]=826.0, y[0]=948.0, toolType[0]=TOOL_TYPE_FINGER, buttonState=0, classification=NONE, metaState=0, flags=0x2, edgeFlags=0x0, pointerCount=1, historySize=0, eventTime=33406375, downTime=33406307, deviceId=4, source=0x1002, displayId=0 }
02-11 08:03:17.393 10252 10252 E Parcel  : Reading a NULL string not supported here.
02-11 08:03:17.425 10252 10252 D ViewRootImpl[MainActivity]: dispatchPointerEvent handled=true, event=MotionEvent { action=ACTION_UP, actionButton=0, id[0]=0, x[0]=826.0, y[0]=948.0, toolType[0]=TOOL_TYPE_FINGER, buttonState=0, classification=NONE, metaState=0, flags=0x2, edgeFlags=0x0, pointerCount=1, historySize=0, eventTime=33406375, downTime=33406307, deviceId=4, source=0x1002, displayId=0 }

Logcat 5:

--------- beginning of system
02-11 08:03:14.082 10252 10252 D ColorViewRootUtil: initSwipState, isDisplayCompatApp false
02-11 08:03:14.082 10252 10252 D ColorViewRootUtil: mScreenHeight 2340, mScreenWidth 1080
02-11 08:03:14.155 10252 10252 V OplusZoomWindowDecorViewHelper: setLastReportedMergedConfiguration mZoomDisplayHeight: 2340 getDecorView.DecorView@532fa5e[MainActivity]
--------- beginning of main
02-11 08:04:17.806 10252 10374 I g       : Stopping Vpn Thread
02-11 08:04:17.852 10252 10184 W g       : Network exception in vpn thread, ignoring and reconnecting
02-11 08:04:17.852 10252 10184 W g       : W2.q: Watchdog timed out
02-11 08:04:17.852 10252 10184 W g       : 	at W2.r.c(SourceFile:63)
02-11 08:04:17.852 10252 10184 W g       : 	at W2.g.e(SourceFile:163)
02-11 08:04:17.852 10252 10184 W g       : 	at W2.g.j(SourceFile:50)
02-11 08:04:17.852 10252 10184 W g       : 	at W2.g.run(SourceFile:44)
02-11 08:04:17.852 10252 10184 W g       : 	at java.lang.Thread.run(Thread.java:923)
02-11 08:04:17.853 10252 10184 I g       : Retrying to connect in 5seconds...
02-11 08:04:17.853 10252 10184 I g       : Exiting
02-11 08:04:17.853 10252 10374 I g       : Vpn Thread stopped
02-11 08:05:30.916 10252 10252 D ViewRootImpl[MainActivity]: processMotionEvent MotionEvent { action=ACTION_DOWN, actionButton=0, id[0]=0, x[0]=275.0, y[0]=1016.0, toolType[0]=TOOL_TYPE_FINGER, buttonState=0, classification=NONE, metaState=0, flags=0x2, edgeFlags=0x0, pointerCount=1, historySize=0, eventTime=33539901, downTime=33539901, deviceId=4, source=0x1002, displayId=0 }
02-11 08:05:30.920 10252 10252 D ViewRootImpl[MainActivity]: dispatchPointerEvent handled=true, event=MotionEvent { action=ACTION_DOWN, actionButton=0, id[0]=0, x[0]=275.0, y[0]=1016.0, toolType[0]=TOOL_TYPE_FINGER, buttonState=0, classification=NONE, metaState=0, flags=0x2, edgeFlags=0x0, pointerCount=1, historySize=0, eventTime=33539901, downTime=33539901, deviceId=4, source=0x1002, displayId=0 }
02-11 08:05:31.015 10252 10252 D ViewRootImpl[MainActivity]: processMotionEvent MotionEvent { action=ACTION_UP, actionButton=0, id[0]=0, x[0]=275.0, y[0]=1016.0, toolType[0]=TOOL_TYPE_FINGER, buttonState=0, classification=NONE, metaState=0, flags=0x2, edgeFlags=0x0, pointerCount=1, historySize=0, eventTime=33540000, downTime=33539901, deviceId=4, source=0x1002, displayId=0 }
02-11 08:05:31.018 10252 10252 E Parcel  : Reading a NULL string not supported here.
02-11 08:05:31.052 10252 10252 D ViewRootImpl[MainActivity]: dispatchPointerEvent handled=true, event=MotionEvent { action=ACTION_UP, actionButton=0, id[0]=0, x[0]=275.0, y[0]=1016.0, toolType[0]=TOOL_TYPE_FINGER, buttonState=0, classification=NONE, metaState=0, flags=0x2, edgeFlags=0x0, pointerCount=1, historySize=0, eventTime=33540000, downTime=33539901, deviceId=4, source=0x1002, displayId=0 }

@mnirun
Copy link
Author

mnirun commented Feb 12, 2025

Updated: I've turned off "Watch connection" and found DNSNet working great without any stops for 24 hours.

@MarkyMarkDE
Copy link

MarkyMarkDE commented Feb 14, 2025

DNSNet version: 1.0.16
DNSNet APK Source: F-Droid
Device: Google Pixel 7
OS: Android 15
Patches: February 2025

same here with the current release, will try to do the same (disable Watch connection option) and check again

@MarkyMarkDE
Copy link

MarkyMarkDE commented Feb 14, 2025

don't fix the problem for me (app crashes further), will provide debugs next

hope this helps:

dnsnet-log.txt

here logcat with enabled option "Watch connection":

dnsnet-log_with_enabled_option.txt

@t895 t895 added the bug Something isn't working label Feb 17, 2025
@t895 t895 changed the title DNSNet keep stopped randomly Service stops at random Feb 25, 2025
@t895
Copy link
Owner

t895 commented Feb 27, 2025

@mnirun Would you mind trying to disable battery optimizations for the app? I'm still not entirely sure what the issue is but I was reminded recently how this could cause problems.

@MarkyMarkDE
Copy link

@mnirun Would you mind trying to disable battery optimizations for the app? I'm still not entirely sure what the issue is but I was reminded recently how this could cause problems.

mmhh i have the same problem, but the App is complete out of any battery optimization in my case, or is my problem not same?

@t895
Copy link
Owner

t895 commented Feb 27, 2025

mmhh i have the same problem, but the App is complete out of any battery optimization in my case, or is my problem not same?

The most I can gather from your logs is how there's a large number of sockets that are being left open so it's probably different? The only indication of the service stopping from mnirun is one log showing that the watchdog stopped the service and I don't think it's being restarted. The other logs don't tell me anything very useful.

@MarkyMarkDE
Copy link

MarkyMarkDE commented Feb 27, 2025

mmhh i have the same problem, but the App is complete out of any battery optimization in my case, or is my problem not same?

The most I can gather from your logs is how there's a large number of sockets that are being left open so it's probably different? The only indication of the service stopping from mnirun is one log showing that the watchdog stopped the service and I don't think it's being restarted. The other logs don't tell me anything very useful.

Okay and what we should do now, to find the issue or issues?
I've made two logs, the first with watchdog enabled and the second with watchdog disbaled, result is in bot the same.

@t895
Copy link
Owner

t895 commented Feb 27, 2025

Okay and what we should do now, to find the issue or issues?

I need a way to replicate the issue on my end. That way I could better analyze how to fix this.
If you can reliably trigger the issue and send the steps here, that would be help immensely.

@MarkyMarkDE
Copy link

Okay and what we should do now, to find the issue or issues?

I need a way to replicate the issue on my end. That way I could better analyze how to fix this. If you can reliably trigger the issue and send the steps here, that would be help immensely.

have edited my last reply.

@MarkyMarkDE
Copy link

MarkyMarkDE commented Feb 27, 2025

here my current config: dnsnet.json
I Have only enabled AdBlock and watchdog disabled, hope you are able to reproduce it with my config.
Hope "Watch connection" mean watchdog 😉

@t895
Copy link
Owner

t895 commented Feb 27, 2025

here my current config: dnsnet.json I Have only enabled AdBlock and watchdog disabled, hope you are able to reproduce it with my config.

I have the same setup and I use it daily without the service stopping.
Just to double check, when the service stops, does it just disappear from the notification shade and you have to go back into the app to start it again?

@MarkyMarkDE
Copy link

MarkyMarkDE commented Feb 27, 2025

here my current config: dnsnet.json I Have only enabled AdBlock and watchdog disabled, hope you are able to reproduce it with my config.

I have the same setup and I use it daily without the service stopping. Just to double check, when the service stops, does it just disappear from the notification shade and you have to go back into the app to start it again?

no, the permanent notification says only DNSnet "Stopped" but no other explanation.
The App seems to run further, otherwise the notification would also go away, i mean.
The key icon is then also away then.

@MarkyMarkDE
Copy link

MarkyMarkDE commented Feb 28, 2025

Hope this help, the persistent notificaton:

Images

Image

Image

Image

Image

Here the next logcat, the App or some services crashed again and when I open the app I see no stop or play floating button, I see a spinner:

dnsnet-log.txt

@MarkyMarkDE
Copy link

MarkyMarkDE commented Mar 1, 2025

In my case, I have probably found the problem.
When I don't have the smartphone connected to the charger, everything is fine and nothing crashes, but as soon as I have the smartphone connected to the charger, services crash irregularly, after the battery is fully charged and the smartphone remains connected to the charger.
If my observations are really correct, then we probably have missing permissions (power management stuff or something like that), I'm not skilled in developing Android Apps.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants