Git Product home page Git Product logo

Comments (31)

itsdrnoob avatar itsdrnoob commented on June 12, 2024
  • 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.

killerrook avatar killerrook commented on June 12, 2024

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.

killerrook avatar killerrook commented on June 12, 2024

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.

killerrook avatar killerrook commented on June 12, 2024

Might be something related to #41 not sure though

from datamonitor.

itsdrnoob avatar itsdrnoob commented on June 12, 2024

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.

killerrook avatar killerrook commented on June 12, 2024

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.

killerrook avatar killerrook commented on June 12, 2024

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

  1. The screen time says loading
  2. 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.

itsdrnoob avatar itsdrnoob commented on June 12, 2024

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.

killerrook avatar killerrook commented on June 12, 2024

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.

itsdrnoob avatar itsdrnoob commented on June 12, 2024

sorry don't use telegram

That's alright, you can drop me a mail

from datamonitor.

killerrook avatar killerrook commented on June 12, 2024

from datamonitor.

killerrook avatar killerrook commented on June 12, 2024

Well it doesn't work either it still crashes and then takes me to the following screen

Screenshot_2022-10-27-15-59-23-15_4658bfd74d73f2a7c13010ce808ba7ad

  1. Clicking on anything other than github will simply close the app
  2. Clicking on github takes me to open a new issue page of this repository using default browser.
  3. The app doesn't even have an option to copy logs or something neither does it autofill when selecting the github option
  4. 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.

killerrook avatar killerrook commented on June 12, 2024

Here are permissions screens if you need
Screenshot_2022-10-27-16-02-29-68
Screenshot_2022-10-27-16-11-38-19
Screenshot_2022-10-27-16-10-54-18

from datamonitor.

killerrook avatar killerrook commented on June 12, 2024

Your crash reporter should allow at least ability to copy crash logs to be further posted into github or other support forums

from datamonitor.

killerrook avatar killerrook commented on June 12, 2024

Something like this should be implemented for error reporting
Screenshot_2022-10-27-16-23-10-07

from datamonitor.

itsdrnoob avatar itsdrnoob commented on June 12, 2024

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.

itsdrnoob avatar itsdrnoob commented on June 12, 2024

Your crash reporter should allow at least ability to copy crash logs

Yeah, will add an option to manually copy logs

from datamonitor.

killerrook avatar killerrook commented on June 12, 2024

When you select github, it automatically copies the crash logs to clipboard

  1. Nothing gets copied
  2. Suggestion to add a toast that error report is copied to clipboard if it's intended to be that way

from datamonitor.

itsdrnoob avatar itsdrnoob commented on June 12, 2024

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.

killerrook avatar killerrook commented on June 12, 2024

Also make debug version separate from original app as it unnecessarily increases the app size if appropriate

from datamonitor.

itsdrnoob avatar itsdrnoob commented on June 12, 2024

Also make debug version separate from original app

Debug version is not released. Only release builds are available for download.

from datamonitor.

killerrook avatar killerrook commented on June 12, 2024

@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.

itsdrnoob avatar itsdrnoob commented on June 12, 2024

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.

killerrook avatar killerrook commented on June 12, 2024

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.

killerrook avatar killerrook commented on June 12, 2024

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.

itsdrnoob avatar itsdrnoob commented on June 12, 2024

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.

killerrook avatar killerrook commented on June 12, 2024

Sent via mail as well

from datamonitor.

killerrook avatar killerrook commented on June 12, 2024

Yup the latest app you sent fixed the problem of crash but permission denied toast still appears

from datamonitor.

killerrook avatar killerrook commented on June 12, 2024

Shall i close this issue now

from datamonitor.

itsdrnoob avatar itsdrnoob commented on June 12, 2024

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.

killerrook avatar killerrook commented on June 12, 2024

The problem appears to be fixed

from datamonitor.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.