-
Notifications
You must be signed in to change notification settings - Fork 210
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
Blokada randomly closes/crashes itself #346
Comments
Blokada isn't a suicide application, it won't kill itself, because that makes no sense. |
I forgot to add: even though there is a "Keep alive" in the app, the system can override it. You can try and enable that option, but it's not guaranteed that will solve the issue. |
Yes, blokada is of course excluded from battery optimisation. And Keep Alive is of course turned on. I think I have done all the usual, go-to measures I should first look into. This didn't happen even once on the previous v3.6. It started on v3.7, just like I wrote it. And it isn't possible that my blokada is working correctly because one of the app's features, issue report is completely useless. |
In this case, did you check the log file in /Download/Blokada directory? What that say, why Blokada shuts down? Do you see OOM messages? |
No, I haven't checked it. So I just checked it. I searched for "kill", "oom" in vain. But "error" has 13 results. Many of them say "onwifi: changed tunnel thread error, will restart after 0 ms". And there was one instance where it says "I/O error during system call, Software caused connection abort". I don't know if these are relevant. So please tell me if there are more effective ways to search in the log. |
Oh. Now when I tap "Share log", it doesn't even open the window and the app seems to hang for a second or so. |
Try to turn off "DNS fallback" in Advanced Settings and check if Blokada connects then. |
I turned that off just a while ago. I'll see if that helps. But I need to clarify; And in addition to this spooky behaviour, I cannot send the log using "Share log" because, as I said, it either closes the app altogether and takes me back to the home screen, or doesn't even open the window at all. |
Did you grant external storage access permission for Blokada in system settings? Can it be Blokada can't write the log, but because it crashed, tries to send the log which isn't generated? |
Yes, I did. The current log has been recorded from March 3, 2019. P.S. I will be away for a while. Sorry. |
Debugging it would be more easier on Telegram, you can join with the below link: |
I need to first create my account on telegram and I'm not available just yet so I will join there after a while. Thanks for your directing! |
Welcome. Let's see if we can resolve it on the chat. |
Hi, after I updated to V3.7, I started to notice blokada randomly closes itself. It shows the issue report window for a split second, closes and takes me back to the home screen, interfering with my phone use. (There was one time it showed the window for a good few seconds but ultimately spontaneously closed.) When it does this, it seems that blokada is actually crashing because it gets disconnected.
Also every time I open Share log it exhibits the same behaviour, showing the issue report window for a spilt second and then closes itself. But this time, blockada doesn't seem to be crashing because it doesn't get disconnected. The state of the app is perfectly preserved when reopened.
I am not sure the two problems are the same problem or separate problems. But the behaviour is definitely similar, so I put them in one report. Feel free to ask me questions if need be. Thanks.
Steps to reproduce
It's a random crash so I haven't figured out the steps to reproduce. But regarding the crash with Share log:
Expected behaviour
Blooada opens the issue report window and holds it until I close it.
Or, blokada runs without killing itself for no reason.
Actual behaviour
Blokada shows the issue report window for a split second, closes and takes me back to the home screen.
Configuration
3.7.022000
OnePlus 5t
Oxygen OS 9.0.4, Android P
Questions
About 2 or 3 months.
When I updated to v3.7, so I suppose it started a few weeks ago.
Probably once a day or two. Could be less often.
The text was updated successfully, but these errors were encountered: