Closes when attempting to turn on.
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
4.10.65
Environment
- OS version:15
- Device: Xiaomi 14 Ultra
HTTPS filtering
- [x] yes, I do
Root access
- [x] yes, I have it
Integration with AdGuard VPN
- [ ] yes, I do
Routing mode
Automatic proxy
Ad Blocking
EasyList
Privacy
AdGuard Tracking Protection filter
Social
AdGuard Social Media filter
Annoyances
Adblock Warning Removal List
Security
Online Malicious URL Blocklist
Language-specific
AdGuard Russian filter
Other
AdGuard Experimental filter
Which DNS server do you use?
Cloudflare DNS
DNS protocol
DNS-over-TLS
Custom DNS
No response
What Stealth Mode options do you have enabled?
Block trackers
Issue Details
Steps to reproduce: 1. I open the Adguard app. I click "Enable" and after a few seconds it closes with a fatal error.
Expected Behavior
No response
Actual Behavior
I'll give you the fatal error logs.
Screenshots
Screenshot 1
Additional Information
No response
[Stack Trace]: java.lang.OutOfMemoryError: pthread_create (1040KB stack) failed: Try again at java.lang.Thread.nativeCreate(Native Method) at java.lang.Thread.start(Thread.java:1083) at java.util.concurrent.ThreadPoolExecutor.addWorker(ThreadPoolExecutor.java:965) at java.util.concurrent.ThreadPoolExecutor.execute(ThreadPoolExecutor.java:1386) at androidx.profileinstaller.ProfileInstallerInitializer.writeInBackground(Unknown Source:22) at androidx.profileinstaller.ProfileInstallerInitializer.lambda$installAfterDelay$1(Unknown Source:0) at androidx.profileinstaller.ProfileInstallerInitializer.c(Unknown Source:0) at androidx.profileinstaller.e.run(Unknown Source:2) at android.os.Handler.handleCallback(Handler.java:959) at android.os.Handler.dispatchMessage(Handler.java:100) at android.os.Looper.loopOnce(Looper.java:249) at android.os.Looper.loop(Looper.java:337) at android.app.ActivityThread.main(ActivityThread.java:9587) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:593) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:936)
Please try updating the app and tell me if the issue is reproducible on version 4.11.
@Dimon-015 I remind you to try updating the app.
@Dimon-015 I remind you to try updating the app.
Sorry, I didn't receive a notification about your previous message. Okay, I'll install the latest version and let you know in a few days if there are any errors. Which version do you recommend installing? Which one is considered the most up-to-date and newest?
The newest release version is 4.11.
If it doesn't help, we need to get your application logs.
Here's what we need you to do:
- Enable debug logging: Settings -> General -> Advanced -> Logging level -> Debug.
- Reproduce the problem, then remember the exact time when it happened.
- Collect logs: Settings -> General -> Advanced -> Export logs and system info.
- Send this file to [email protected]:
- include
[android]keyword and5817in the subject of your email - specify the exact time when the issue occurred
- include
@Dimon-015 I remind you to try updating the app.
@ESurina Same issue, persisting minimum for 2 years since previous releases. Samsung S23 Ultra, Android 15, Apatch 11107 (latest). Adguard v4.11, problem still here. Almost every day crashing with OutOfMemory in logcat. Tried installing Adguard as system app via root manager, didn't help. Reboot fixed the problem, sometimes force closing and clearing cache several times helps without reboot. Turned on debug mode to grab some logs. How and where should I send my logs?
Adguard v4.12, nothing changed, still crashing
@ValanisZz Can you please send us the logs as per the instructions mentioned above?
@ESurina Sent logs from v4.11
@ValanisZz Could you please send us the logcat too?
@ESurina Sent logcat for v4.12
@ValanisZz Could you tell me if you can't access the app at all or if the crash only occurs after a while? Also we need you to send us a database. You can export it here: Settings -> General -> Advanced -> Low-level settings.
@ESurina Each time differently. After app stops working (crashing silently) and I try to restart it, one of these can happen:
- crash immediately on launcher icon tap
- crash after launch while "Starting protection..."
- crash after protection started
- rarely may continue work as usual
We see that the problem is caused by the large number of statistics. We've adjusted for this in the latest Nightly update, so this update should help. Clearing your statistics is also an option, but that's only a temporary solution.
Updated to v4.14 Nightly 7. I will monitor if any crashes would happen. If everything would be good, I will write back in a week.
@ESurina nope, update and statistics reset didn't help, crashed again
Could you please reset the statistics, enable debug logs, and immediately after the first crash, download the database and logs and send them to us?
@ESurina sent both files
Thank you, we received them!
Could you please install any app, that monitors RAM memory and see which application is using the most memory? We have a hunch that some application is using a lot of memory and there is no memory left for AdGuard.
I have already turned Samsung RAM profiler before when tried to resolve Adguard OOM crashes on my on. Seems like Adguard app has memory leaks somewhere and after several hours it definitely crashes as there was no memory left. Here are up-to-date screenshots of memory profiler without Adguard running.
I have also tried running Adguard for Windows on my server PC as proxy server and use 24/7 proxy root client on my Android phone, connected to Adguard proxy. This setup is currently working for 5 days without issues. Seems like the main issue is with Adguard Mobile App.
Thank you! Could you please also send us a screenshot of memory profiler with AdGuard running?
Sure, here they are