AdguardForAndroid icon indicating copy to clipboard operation
AdguardForAndroid copied to clipboard

Adguard crash immediately after start every time if device doesn't turn on logcat records

Open ajdgsu opened this issue 1 year ago • 2 comments

Please answer the following questions for yourself before submitting an issue

  • [X] Filters were updated before reproducing an issue
  • [X] I checked the knowledge base and found no answer
  • [X] I checked to make sure that this issue has not already been filed

AdGuard version

since 4.xx

Environment

  • OS version: MIUI 14.07 (Android 13)
  • Device: Xiaomi 13

HTTPS filtering

  • [X] yes, I do

Root access

  • [X] yes, I have it

Integration with AdGuard VPN

  • [ ] yes, I do

Routing mode

Local VPN

Ad Blocking

AdGuard Base filter, AdGuard Mobile Ads filter, EasyList

Privacy

EasyPrivacy

Social

No response

Annoyances

No response

Security

No response

Language-specific

AdGuard Chinese filter

Other

Filter unblocking search ads and self-promotion

Which DNS server do you use?

DNS protection disabled

DNS protocol

None

Custom DNS

No response

What Stealth Mode options do you have enabled?

No response

Issue Details

Steps to reproduce: 1.turn off the logcat records before install the adguard 2.install adguard 3.start app

Expected Behavior

start normally

Actual Behavior

crash immediately

Screenshots

Screenshot 1

Screenshot_2024-06-23-13-37-31-239_com android settings

Additional Information

if device doesn't turn on the logcat records function (like in picture) before the adguard app installed, after install the app simply crash immediately when you trying to start, this behavior only happens on 4.xx version (yes the last 3.xx version, which is 3.6.54 doesn't have this issue). after turn on logcat records then apps can start normally, and even turn of the logcat records again adguard can still running without problem.

ps: if user installed some magisk modules that disabled the logcat, this can also cause problems as well.

logs here: adguard.zip

ajdgsu avatar Jun 23 '24 06:06 ajdgsu

There is no any error in your logs. Could you please collect logs again using this manual:

  1. Enable debug logging: Settings -> General -> Advanced -> Logging level -> Debug
  2. Reproduce the issue, then remember the exact time when it happened
  3. Collect logs: Settings -> General -> Advanced -> Export logs and system info
  4. Send this file to [email protected]:
    • mention the 5372 number in the subject
    • specify the exact time when the issue occurred

Also send us your system logs please. Here's how to do it: https://adguard.com/kb/adguard-for-android/solving-problems/logcat/

ESurina avatar Jun 28 '24 13:06 ESurina

logs here: logs-2024-06-29-15-33-42.zip Now adguard seems also crash when the logcat records enabled, not sure what's going on. And adguard seems crash with this log: E/JobScheduler.Concurrency(2661): Error executing JobStatus{782da5a #u0a576/11 com.adguard.android/androidx.work.impl.background.systemjob.SystemJobService u=0 s=10576 TIME=-5m5s514ms:none NET READY}

ajdgsu avatar Jun 29 '24 07:06 ajdgsu

We suspect that the problem is with your phone's system. This problem does not occur on our side. We will investigate it again if more users complain about it.

ESurina avatar Aug 08 '24 13:08 ESurina