Comments (31)
- Does this happen every time?
- I can see in the screenshot for step 3 & 4 that apps appear twice. This is due to the function running twice and and loading half-baked data into the list. This is a bug and is (hopefully) fixed in the upcoming version. So the crash was probably due to this issue.
from datamonitor.
Does this happen every time?
Yes
So the crash was probably due to this issue.
I don't know for sure but I don't have any issues viewing data sent and received for system apps the issue only occurs with non- system aka user apps
from datamonitor.
I can see in the screenshot for step 3 & 4 that apps appear twice
Sometimes app appear twice may be 1 in 3 times but other times they only appear once
from datamonitor.
Might be something related to #41 not sure though
from datamonitor.
If it happens every time, even when the apps appear once, then it might be some other issue.
Have you granted all permissions?
Could be related to #41 but not sure.
Can you grab logs?
from datamonitor.
Have you granted all permissions?
Allowed access to app usage
Denied battery optimization
Can you grab logs?
Not at the moment no pc/adb and my device is non rooted as I'm on a holiday for a couple of months. If you have a debug version with logcat inbuilt I will more than happy to help. Many apps have created same debug type version to access the problems better one example is new pipe in github. So either you should create a debug version or get a logcat inbuilt in the app to catch crash reports
from datamonitor.
One more thing that I noticed is that app only crashes after loading the screen time in just before crash screenshot above. Here is what happens
- The screen time says loading
- As soon as the screen time finishes loading and give me a value like 40 minutes or something the app crashes.
Pretty consistent bug
from datamonitor.
Strange, seems like accessing screen time data is causing the error.
Is there any additional permission in ColorOS that I'm unaware of?
get a logcat inbuilt in the app to catch crash reports
Crash reporter has been implemented in the app for upcoming versions. I can provide you with a build for reporting logs. Can you pm me on telegram ?
from datamonitor.
Can you pm me on telegram ?
sorry don't use telegram never felt the need
Can you provide me the app here or somewhere else like in mail or something or do I have to create a new account on telegram for this specific purpose
from datamonitor.
sorry don't use telegram
That's alright, you can drop me a mail
from datamonitor.
from datamonitor.
Well it doesn't work either it still crashes and then takes me to the following screen
- Clicking on anything other than github will simply close the app
- Clicking on github takes me to open a new issue page of this repository using default browser.
- The app doesn't even have an option to copy logs or something neither does it autofill when selecting the github option
- The scaling of text is also incorrect cause message beneath email header is only partially visible and the page could not be scrolled further.
from datamonitor.
Here are permissions screens if you need
from datamonitor.
Your crash reporter should allow at least ability to copy crash logs to be further posted into github or other support forums
from datamonitor.
Something like this should be implemented for error reporting
from datamonitor.
Clicking on anything other than github will simply close the app
Will check what's happening here.
The app doesn't even have an option to copy logs
When you select github, it automatically copies the crash logs to clipboard.
The scaling of text is also incorrect
Will be fixed
from datamonitor.
Your crash reporter should allow at least ability to copy crash logs
Yeah, will add an option to manually copy logs
from datamonitor.
When you select github, it automatically copies the crash logs to clipboard
- Nothing gets copied
- Suggestion to add a toast that error report is copied to clipboard if it's intended to be that way
from datamonitor.
Once the logs are copied to clipboard, a Toast is shown regarding the same. As logs are no being copied in your case, maybe that's why you weren't shown any Toast.
from datamonitor.
Also make debug version separate from original app as it unnecessarily increases the app size if appropriate
from datamonitor.
Also make debug version separate from original app
Debug version is not released. Only release builds are available for download.
from datamonitor.
@itsdrnoob Copy data button still doesn't work and once clicked on copy logs the app crashes but I got the file from cache folder as advised
Here is the log obtained
--------- beginning of main
11-06 18:16:30.889 22931 22931 W main : type=1400 audit(0.0:1860474): avc: denied { search } for name="/" dev="mmcblk0p40" ino=2 scontext=u:r:zygote:s0 tcontext=u:object_r:unlabeled:s0 tclass=dir permissive=0
11-06 18:16:31.025 22931 22931 W re-initialized>: type=1400 audit(0.0:1860476): avc: denied { read } for name="u:object_r:mtk_amslog_prop:s0" dev="tmpfs" ino=2254 scontext=u:r:untrusted_app:s0:c110,c261,c512,c768 tcontext=u:object_r:mtk_amslog_prop:s0 tclass=file permissive=0
11-06 18:16:31.917 22931 22931 W oob.datamonitor: type=1400 audit(0.0:1860481): avc: denied { search } for name="/" dev="mmcblk0p40" ino=2 scontext=u:r:untrusted_app:s0:c110,c261,c512,c768 tcontext=u:object_r:unlabeled:s0 tclass=dir permissive=0
11-06 18:16:34.173 22931 22931 W RenderThread: type=1400 audit(0.0:1860485): avc: denied { search } for name="/" dev="mmcblk0p40" ino=2 scontext=u:r:untrusted_app:s0:c110,c261,c512,c768 tcontext=u:object_r:unlabeled:s0 tclass=dir permissive=0
11-06 18:16:34.193 22931 22931 W RenderThread: type=1400 audit(0.0:1860486): avc: denied { search } for name="/" dev="mmcblk0p40" ino=2 scontext=u:r:untrusted_app:s0:c110,c261,c512,c768 tcontext=u:object_r:unlabeled:s0 tclass=dir permissive=0
11-06 18:16:34.325 22931 22931 W RenderThread: type=1400 audit(0.0:1860487): avc: denied { search } for name="/" dev="mmcblk0p40" ino=2 scontext=u:r:untrusted_app:s0:c110,c261,c512,c768 tcontext=u:object_r:unlabeled:s0 tclass=dir permissive=0
from datamonitor.
Copy data button still doesn't work
Because there were no logs to copy as happened in earlier cases.
Here is the log obtained
Is that all? I don't see any crash logs here.
from datamonitor.
Yup that's all it gives in a text file
I can send you screenshot and log file in txt format on mail if you like
from datamonitor.
Every other apps works fine which i downloaded from Google Play and they all show usage time as well i can send you screenshot of multiple apps if you like which will confirm that the problem is not device specific or due to some ROM issues
from datamonitor.
Yup that's all it gives in a text file
That's odd. I am still wondering what the issue might be, as it's not even throwing any crash logs.
from datamonitor.
Sent via mail as well
from datamonitor.
Yup the latest app you sent fixed the problem of crash but permission denied toast still appears
from datamonitor.
Shall i close this issue now
from datamonitor.
Yup the latest app you sent fixed the problem of crash
:)
permission denied toast still appears
I haven't done anything about it yet. Will look into it.
Shall i close this issue now
Nope, will push the fix first.
from datamonitor.
The problem appears to be fixed
from datamonitor.
Related Issues (20)
- Mobile Data doesn't show in widget HOT 1
- Dat@ "raush report
- Crash when changing Data Limit per month HOT 2
- Please fix the chart for This week's overview section HOT 7
- Store data HOT 3
- Data Monitor crashes after a while HOT 3
- New text method for network speed meter instead of png images
- Crashed in Chinese Traditional HOT 4
- Better Widgets HOT 7
- Add a options to know how much data you can use per day
- Incorrect app usage data HOT 1
- Third party icon support HOT 1
- Daily quota alert HOT 1
- Chainlistindexing
- Start Date of Data Cycle In The Future HOT 1
- Last week filter HOT 2
- Show in app usage not only the total, but wifi and mobile too. HOT 11
- unnecessary connection HOT 4
- Crash on speed test
- Monthly data plan that starts on custom dates HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from datamonitor.