revanced-patches
revanced-patches copied to clipboard
bug(YouTube): App closes / crashes without any error message
Bug description
Running Up to date Revanced patches and the supported app version (19.09.37) [Device-VivoS1 Android-12] The app always closes unexpectedly without any error message after using for some time 3-4 mins, need to reopen the app again. Battery Optimization is disabled in the Revanced GMS settings.
To Reproduce the bug- Use the app for 3-4 mins straight be it shorts or a full length video
The Below video shows the app crash
https://github.com/ReVanced/revanced-patches/assets/151951133/1795d735-b93c-4357-bb9b-39242850ade0
Error logs
No response
Solution
No response
Additional context
No response
Acknowledgements
- [X] This issue is not a duplicate of an existing bug report.
- [X] I have chosen an appropriate title.
- [X] All requested information has been provided properly.
The debug logs are needed.
Check dontkillmyapp.com for your manufacturer, And ensure you have done all steps needed. Many vendors require multiple steps.
log.txt I have uploaded the log file here, and also checked the website and i think i have done everything right. Still it does crashes everytime i try to use it.
The debug logs are 16mb for some reason, did you filter them?
I don't how to filter them, I am new to all this
I am experiencing this problem as well with YouTube ReVanced Extended v19.07.40
It's only ever started happening since I updated YouTube ReVanced Extended to v19.07.40 using the ReVanced Manager App
It got me to install a new seperate version of microG Service as well before doing this anf ever since then, the microG service that was being utilised before updating YT ReVanced Extended is labelled as "microG (old)", just thought I'd put that out there to just in case.
@Morsmalleo This is not ReVanced extended. Get support from whatever fork you are using.
Wow cheers buddy, could've been a little bit more polite hey!!
where else am I supposed to go if I can't post it here, it's YouTube ReVanced Extended downloaded using the ReVanced Manager from ReVanced.net, everyone else tells me to post issues related to my problem on this repo, so what the hell am I supposed to do?
Yeah go ahead and mark my comment as off topic but it's not!
On Tue, 2 Apr 2024, 8:22 pm LisoUseInAIKyrios, @.***> wrote:
@Morsmalleo https://github.com/Morsmalleo This is not ReVanced extended. Get support from whatever fork you are using.
— Reply to this email directly, view it on GitHub https://github.com/ReVanced/revanced-patches/issues/2966#issuecomment-2031901080, or unsubscribe https://github.com/notifications/unsubscribe-auth/APK5A2GP62A5AELQHRGC2X3Y3KPJZAVCNFSM6AAAAABFRIRMF2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMZRHEYDCMBYGA . You are receiving this because you were mentioned.Message ID: @.***>
@Morsmalleo ReVanced(.)net is a scam website and not part of the ReVanced project. Change your account passwords because who knows what you are using, and start patching using the manager found at ReVanced.app
Your comments are off topic because neither .net or ReVanced extended is official or part of this project. Stop being sour.
So after my own checks on the website I mentioned all I have to say is....... FK SAKES!! Typical!!! Of course the version I'm using is the community ReVanced app which as you've said is not apart of this repo.... Typical it's a fing scam, OF COURSE IT IS, WHAT THE F*K ISN'T THESE DAYS!!
My bad! My Comments obviously WE'RE off topic so excuse me being a sour little bastard.
Happening same with me on 19.07.40. All of this happened after I updated the app a few days ago when YouTube tried to block Revanced YouTube I use Extended not the base one
The logs don't show any stack trace for any crashes.
The only exception is a security exception that shows up a dozen time or so:
04-01 18:12:47.416 21946 23119 E DatabaseUtils: java.security.AccessControlException: Access not allowed for non-Google app: app.revanced.android.youtube
This could be something on the side of GmsCore, since it involves spoofing packages.
Actually, there is a crash stack trace, but it's missing all entries except one line because of the grep command:
04-01 18:12:44.919 25535 25535 W System.err: at app.revanced.integrations.youtube.swipecontrols.SwipeControlsHostActivity.onStart(SwipeControlsHostActivity.kt:77)
@rohit04026 You'll need to do adb logcat > log.txt
, then open the log file and search for the section of logs where this occurs then post just that section here. The logs get cleared by the device and only keeps the most recent, so you'll have to reproduce the issue again then logcat and then check the file. You can clear the logs before starting YT using adb logcat -c
to keep the logs short and easier to look thru.
You need to search yourself and not send the full logs, because the full logs can include personal data and stuff you should not post to the internet.
Hey @LisoUseInAIKyrios I will also try and get logs, never really done debugging with adb. Might take me some time. If there is any detailed guide on GitHub or anywhere that you know, share it with me but I hope I will figure out easily.
@devendrapoonia Google Adb install.
After that follow the instructions for using logcat in my last message.
@LisoUseInAIKyrios I have attached the new log file here, after going through it ,it seems like the problem arises dur to the GMS microG.
I uninstalled both the YT and microG(the new one) and reinstalled them ,first microG and then YT. Without signing into the google acc through microG Youtube seems to work fine without crashing so this concludes that the problem is due to microG services not working corrrectly.
new_log.txt
I have also uploaded the screenshot of the Self-Check section of microG settings
The issue probably is not GmsCore MicroG. It probably is an A/B test on your account, and the test is not active when you are not logged in.
@rohit04026 you can also try uninstalling ReVanced YouTube, the patch and install YT 19.03.36
(a fully supported version), and see if that crashes when logged in.
@rohit04026 search your recent device logs and find this statement
app.revanced.integrations.youtube.swipecontrols.SwipeControlsHostActivity.onStart(SwipeControlsHostActivity.kt:77)
Post the section of logs this is found in. The log you just posted does not have this statement, but the fist log does. This is most likely is the crash.
@LisoUseInAIKyrios
log_new.txt
Here is the new log you asked for, and the above mentioned YT version 19.03.36
seems to work for now, will update if any issues rises.
@LisoUseInAIKyrios Hey there, here is my crash file that I logged using adb logcat | findstr "revanced" > log.txt
as stated on debugging page. Crash happens around 18:09:17 to 18:10:21.475 timestamp at the end of the file. Let me know if you need full log as well without revanced string. Let me know if you need any more info, my version is 19.07.40 Revanced Extended with all patches.
log.txt
You are using unofficial patches. Capture logs with official patches.
Hey @oSumAtrIX, I didn't really understand unofficial patches. What are unofficial patches and how do I get official patches.
You can use ReVanced Manager from here to patch the app with ReVanced Patches following the usage instructions here. For support move to one of our links at https://revanced.app
@LisoUseInAIKyrios log_new.txt Here is the new log you asked for, and the above mentioned YT version
19.03.36
seems to work for now, will update if any issues rises.
Version 19.03.36
also has the same issue after using it for some time and also fails to load thumbnails of videos.
@LisoUseInAIKyrios log_new.txt Here is the new log you asked for, and the above mentioned YT version
19.03.36
seems to work for now, will update if any issues rises.Version
19.03.36
also has the same issue after using it for some time and also fails to load thumbnails of videos.
This is not YT version nor A/B testing issue...I've already tried it with the v18.45 too. But it is crashing there too...Is the testing also happening on last yr update.?
@rohit04026 The statement app.revanced.integrations.youtube.swipecontrols.SwipeControlsHostActivity.onStart(SwipeControlsHostActivity.kt:77)
is not present in the logs as asked by @LisoUseInAIKyrios
Follow this and report back:
@oSumAtrIX Happening on the official patch as well, Will record the logs and post. Version - 19.09.37
@oSumAtrIX @LisoUseInAIKyrios So here is the log with official patches, the issue occures after line number 1332 and timestamp number 21:36:01.904. I had also forcefully stopped Revanced Extended. I can also provide the log which I recorded trying to reproduce the issue but it worked fine so I stopped for a while and tried again it happened in this try. Version - 19.09.37 and revanced manager version 1.19.3. Let me know if you need anything else. Also one small thing I noticed was this issue was much more frequent on Revanced Extended but in patched version by Revanced Manager, it only happened twice. One when I was not recording the logs and second try is this. So this issue took place in 2 out of three session. (YouTube shorts)
The only exception I see in that log are:
/data/user/0/app.revanced.android.gms/app_cache_dg/9d6eef857cdf684bd532732a23bcd24810523397/libd76E8D98FCF5F.so" already opened by ClassLoader 0x11fb(dalvik.system.DexClassLoader[DexPathList[[zip file "/data/user/0/app.revanced.android.gms/app_cache_dg/9d6eef857cdf684bd532732a23bcd24810523397/the.apk"],nativeLibraryDirectories=[/system/lib64, /system_ext/lib64]]]); can't open in ClassLoader 0x793a41f5cc(dalvik.system.DexClassLoader[DexPathList[[zip file "/data/user/0/app.revanced.android.gms/app_cache_dg/9d6eef857cdf684bd532732a23bcd24810523397/the.apk"],nativeLibraryDirectories=[/system/lib64, /system_ext/lib64]]])
04-04 21:36:25.284 14073 20386 W GmsGuardHandleImpl: Caused by: java.lang.UnsatisfiedLinkError: Shared library "/data/user/0/app.revanced.android.gms/app_cache_dg/9d6eef857cdf684bd532732a23bcd24810523397/libd76E8D98FCF5F.so" already opened by ClassLoader 0x11fb(dalvik.system.DexClassLoader[DexPathList[[zip file "/data/user/0/app.revanced.android.gms/app_cache_dg/9d6eef857cdf684bd532732a23bcd24810523397/the.apk"],nativeLibraryDirectories=[/system/lib64, /system_ext/lib64]]]); can't open in ClassLoader 0x793a41f5cc(dalvik.system.DexClassLoader[DexPathList[[zip file "/data/user/0/app.revanced.android.gms/app_cache_dg/9d6eef857cdf684bd532732a23bcd24810523397/the.apk"],nativeLibraryDirectories=[/system/lib64, /system_ext/lib64]]])
E DatabaseUtils: java.security.AccessControlException: Access not allowed for non-Google app: app.revanced.android.youtube
W WindDownApi: java.lang.SecurityException: Access not allowed for non-Google app: app.revanced.android.youtube
But maybe that's just noise in the logs and not anything of concern.
@devendrapoonia try repatching and excluding patches. Keep repatching and trying the app until only MicroG is selected as described here