Skip to content
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

bug (Youtube): Crash after some time #2008

Closed
5 tasks done
ayushTNM opened this issue May 13, 2024 · 5 comments
Closed
5 tasks done

bug (Youtube): Crash after some time #2008

ayushTNM opened this issue May 13, 2024 · 5 comments
Labels
Bug report Something isn't working

Comments

@ayushTNM
Copy link

ayushTNM commented May 13, 2024

Type

Error while patching

Tools used

RVX Manager

Application

YouTube 19.16.39, rvx patched 4.8.0-dev. 5

Bug description

After installing and using as normal, youtube crashes (just simply closes) after a certain (seemingly varying) amount of time (around 30 mins to an hour). It can crash at any point, even during a video (not having buffer issues (yet))

Error logs

Searching for AndroidRuntime didn't yield any results, so i provided logcat from cutoff point of terminal up untill right after the crash

Included as txt file

Solution

No response

Additional context

List of included patches:
{"com.google.android.youtube":["Alternative thumbnails","Ambient mode control","Change player flyout menu toggles","Change shorts repeat state","Change start page","Custom branding icon YouTube","Custom double tap length","Custom package name","Description components","Disable auto audio tracks","Disable auto captions","Disable resuming shorts on startup","Disable splash animation","Enable debug logging","Enable external browser","Enable gradient loading screen","Enable minimized playback","Enable open links directly","Enable tablet mini player","Fullscreen components","GmsCore support","Hide action buttons","Hide ads","Hide comments component","Hide feed components","Hide feed flyout menu","Hide layout components","Hide player button background","Hide player buttons","Hide player flyout menu","Layout switch","MaterialYou","Navigation bar components","Overlay buttons","Player components","Remove viewer discretion dialog","Return YouTube Dislike","Sanitize sharing links","Seekbar components","Settings","Shorts components","Shorts outline button","SponsorBlock","Spoof format stream data","Spoof test client","Toolbar components","Translations","Video playback"]}

Device Environment

Android 14, Pixel 7

Acknowledgements

  • This issue does not reproduce on unpatched YouTube or YT Music.
  • This issue is not a duplicate of an existing bug report.
  • I have chosen an appropriate title.
  • All requested information has been provided properly.
  • I have written the title and contents in English.
@ayushTNM ayushTNM added the Bug report Something isn't working label May 13, 2024
@inotia00
Copy link
Owner

Attached logcat does not include crashlog.

@ayushTNM
Copy link
Author

Hmm, may be the buffer of the terminal (termux). Will update log tomorrow as it is kind of cumbersome to obtain.

@ayushTNM
Copy link
Author

05-14 13:51:33.127 25548 25548 E AndroidRuntime: FATAL EXCEPTION: main
05-14 13:51:33.127 25548 25548 E AndroidRuntime: Process: app.rvx.android.youtube, PID: 25548
05-14 13:51:33.127 25548 25548 E AndroidRuntime: azqw: The exception was not handled due to missing onError handler in the subscribe() method call. Further reading: https://github.com/ReactiveX/RxJava/wiki/Error-Handling | java.lang.NullPointerException: Attempt to invoke virtual method 'boolean java.lang.String.equals(java.lang.Object)' on a null object reference
05-14 13:51:33.127 25548 25548 E AndroidRuntime: at azsd.a(PG:5)
05-14 13:51:33.127 25548 25548 E AndroidRuntime: at aztc.c(PG:14)
05-14 13:51:33.127 25548 25548 E AndroidRuntime: at aztc.vS(PG:26)
05-14 13:51:33.127 25548 25548 E AndroidRuntime: at bajx.run(PG:124)
05-14 13:51:33.127 25548 25548 E AndroidRuntime: at azeh.run(PG:27)
05-14 13:51:33.127 25548 25548 E AndroidRuntime: at bapu.run(PG:11)
05-14 13:51:33.127 25548 25548 E AndroidRuntime: at bapw.run(PG:34)
05-14 13:51:33.127 25548 25548 E AndroidRuntime: at android.os.Handler.handleCallback(Handler.java:959)
05-14 13:51:33.127 25548 25548 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:100)
05-14 13:51:33.127 25548 25548 E AndroidRuntime: at android.os.Looper.loopOnce(Looper.java:232)
05-14 13:51:33.127 25548 25548 E AndroidRuntime: at android.os.Looper.loop(Looper.java:317)
05-14 13:51:33.127 25548 25548 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:8501)
05-14 13:51:33.127 25548 25548 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
05-14 13:51:33.127 25548 25548 E AndroidRuntime: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:552)
05-14 13:51:33.127 25548 25548 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:878)
05-14 13:51:33.127 25548 25548 E AndroidRuntime: Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'boolean java.lang.String.equals(java.lang.Object)' on a null object reference
05-14 13:51:33.127 25548 25548 E AndroidRuntime: at app.revanced.integrations.youtube.patches.player.PlayerPatch.setContentDescription(PlayerPatch.java:84)
05-14 13:51:33.127 25548 25548 E AndroidRuntime: at znn.K(PG:77)
05-14 13:51:33.127 25548 25548 E AndroidRuntime: at znn.v(PG:10)
05-14 13:51:33.127 25548 25548 E AndroidRuntime: at znn.b(PG:543)
05-14 13:51:33.127 25548 25548 E AndroidRuntime: at zmy.I(PG:2014)
05-14 13:51:33.127 25548 25548 E AndroidRuntime: at zmy.d(PG:33)
05-14 13:51:33.127 25548 25548 E AndroidRuntime: at aclx.eV(PG:38)
05-14 13:51:33.127 25548 25548 E AndroidRuntime: at zot.b(PG:465)
05-14 13:51:33.127 25548 25548 E AndroidRuntime: at ztq.h(PG:260)
05-14 13:51:33.127 25548 25548 E AndroidRuntime: at ztq.g(PG:61)
05-14 13:51:33.127 25548 25548 E AndroidRuntime: at yaz.run(PG:206)
05-14 13:51:33.127 25548 25548 E AndroidRuntime: at xkn.e(PG:50)
05-14 13:51:33.127 25548 25548 E AndroidRuntime: at xkn.b(PG:7)
05-14 13:51:33.127 25548 25548 E AndroidRuntime: at ztq.c(PG:47)
05-14 13:51:33.127 25548 25548 E AndroidRuntime: at ztl.c(PG:14)
05-14 13:51:33.127 25548 25548 E AndroidRuntime: at abvz.c(PG:423)
05-14 13:51:33.127 25548 25548 E AndroidRuntime: at ges.l(PG:139)
05-14 13:51:33.127 25548 25548 E AndroidRuntime: at gcq.a(PG:414)
05-14 13:51:33.127 25548 25548 E AndroidRuntime: at aztc.vS(PG:9)
05-14 13:51:33.127 25548 25548 E AndroidRuntime: ... 12 more

error log

inotia00 added a commit to inotia00/revanced-integrations that referenced this issue May 14, 2024
@inotia00
Copy link
Owner

fixed in revanced-patches-4.8.0-dev.6

@inotia00 inotia00 added the Partially resolved Fixed in certain versions label May 15, 2024
anddea pushed a commit to anddea/revanced-integrations that referenced this issue May 16, 2024
anddea pushed a commit to anddea/revanced-integrations that referenced this issue May 16, 2024
# [0.152.0-dev.8](v0.152.0-dev.7...v0.152.0-dev.8) (2024-05-16)

### Bug Fixes

* **YouTube Music/Hide ads:** `Hide fullscreen ads` setting also closes non-ad dialogs inotia00/ReVanced_Extended#1971 ([7dd292d](7dd292d))
* **YouTube/Description components:** crash occurs when the title of the engagement panel is null inotia00/ReVanced_Extended#2008 ([e4ba2d0](e4ba2d0))
* **YouTube/Hide layout components:** add method to hide settings with whitelist inotia00/ReVanced_Extended#1964 ([10e5d1a](10e5d1a))
* **YouTube/Return YouTube Dislike:** dislike count sometimes not shown in Shorts inotia00/ReVanced_Extended#1565 ([f869a37](f869a37))
* **YouTube/Return YouTube Dislike:** wrong video id is used in shorts inotia00/ReVanced_Extended#1987 ([3868c2b](3868c2b))
* **YouTube/Settings:** settings values of excluded patches have changed due to incorrect settings alignment ([d706d1b](d706d1b))
* **YouTube/SponsorBlock:** pressing the fine adjustment buttons skips to the end of the video while creating a new SponsorBlock segment inotia00/ReVanced_Extended#1980 ([f683045](f683045))
* **YouTube/Spoof format stream data:** check audio tags first ([75e84a2](75e84a2))
* **YouTube/Spoof format stream data:** incorrect url is used ([2f86f6b](2f86f6b))
* **YouTube/Video playback:** default video quality applies even when video is playing inotia00/ReVanced_Extended#1959 ([5cc2c04](5cc2c04))

### Features

* **YouTube/Spoof format stream data:** check endpoint url is non-null ([a25d7d7](a25d7d7))
* **YouTube/Spoof format stream data:** improve hook method, fetch to `ANDROID_TESTSUITE` client ([ef50cf5](ef50cf5))
* **YouTube:** Add `Hide videos by duration` and `Hide videos by views count` greater than specified value ([ReVanced#37](https://github.com/anddea/revanced-integrations/issues/37)) ([d15028c](d15028c))
@inotia00
Copy link
Owner

fixed in revanced-patches-4.8.3

@inotia00 inotia00 removed the Partially resolved Fixed in certain versions label May 26, 2024
anddea pushed a commit to anddea/revanced-integrations that referenced this issue May 29, 2024
# [0.152.0](v0.151.0...v0.152.0) (2024-05-29)

### Bug Fixes

* App crashes when resource not found ([6abcabc](6abcabc))
* **YouTube - Append timestamp information:** Ensure correct RTL layout ([027b948](027b948))
* **YouTube - Default video quality:** Revert back ([d6da339](d6da339))
* **YouTube - Hide action buttons:** Some action buttons are not hidden properly ([c37f238](c37f238))
* **YouTube - Hide feed components:** `Hide mix playlists` setting hides components in channel profile ([dc151ae](dc151ae))
* **YouTube - Hide keyword content:** Filter Shorts found in horizontal shelves ([25465e2](25465e2))
* **YouTube - Hide Shorts components:** Channel headers were hidden if Shorts is disabled ([5451719](5451719))
* **YouTube - Hide Shorts components:** Exclude `Hide sound metadata label` and `Hide video link label` from `Hide info panel` ([a510788](a510788))
* **YouTube - Hide Shorts components:** Hide Shorts in search result horizontal shelves ([2be49fc](2be49fc))
* **YouTube - Return YouTube Dislike:** Disabling `Show dislikes in Shorts` disabled dislikes everywhere ([#11](#11)) ([1b317db](1b317db))
* **YouTube - Return YouTube Dislike:** Dislike counts showing in views ([83bf7b2](83bf7b2))
* **YouTube - Return YouTube Dislike:** Fix some issues ([281dbe3](281dbe3))
* **YouTube - Return YouTube Dislike:** Subscribe icon is hidden ([95b34d4](95b34d4))
* **YouTube - Searchbar:** Hide searchbar in RYD and Sponsorblock sections ([#13](#13)) ([ed60bea](ed60bea))
* **YouTube - Searchbar:** Prevent searchbar appearing briefly when switching between fragments ([#14](#14)) ([584e6e3](584e6e3))
* **YouTube - Searchbar:** Restore original settings page if query is empty ([#12](#12)) ([9592bd5](9592bd5))
* **YouTube - Shorts components:** Update pattern for hide disabled comments ([c7b2fd4](c7b2fd4))
* **YouTube - SponsorBlock:** `Submit a new segment` button did not work ([395d3ce](395d3ce))
* **YouTube - SponsorBlock:** Pressing Now while manually editing a segment results in an error ([9521baa](9521baa))
* **YouTube - Spoof format stream data:** Some Uris are not hooked ([7e49ab3](7e49ab3))
* **YouTube - Video playback:** Default video quality sometimes does not apply when video is not loaded ([86b8130](86b8130))
* **YouTube Music/Hide ads:** `Hide fullscreen ads` setting also closes non-ad dialogs inotia00/ReVanced_Extended#1971 ([7dd292d](7dd292d))
* **YouTube/Description components:** crash occurs when the title of the engagement panel is null inotia00/ReVanced_Extended#2008 ([e4ba2d0](e4ba2d0))
* **YouTube/Hide layout components:** add method to hide settings with whitelist inotia00/ReVanced_Extended#1964 ([10e5d1a](10e5d1a))
* **YouTube/Return YouTube Dislike:** dislike count sometimes not shown in Shorts inotia00/ReVanced_Extended#1565 ([f869a37](f869a37))
* **YouTube/Return YouTube Dislike:** wrong video id is used in shorts inotia00/ReVanced_Extended#1987 ([3868c2b](3868c2b))
* **YouTube/Settings:** settings values of excluded patches have changed due to incorrect settings alignment ([d706d1b](d706d1b))
* **YouTube/SponsorBlock:** pressing the fine adjustment buttons skips to the end of the video while creating a new SponsorBlock segment inotia00/ReVanced_Extended#1980 ([f683045](f683045))
* **YouTube/Spoof format stream data:** check audio tags first ([75e84a2](75e84a2))
* **YouTube/Spoof format stream data:** incorrect url is used ([2f86f6b](2f86f6b))
* **YouTube/Video playback:** default video quality applies even when video is playing inotia00/ReVanced_Extended#1959 ([5cc2c04](5cc2c04))
* **YouTube:** App crashes when `SponsorBlock` patch is excluded ([e657bbd](e657bbd))
* **YT Music - Hide terms container:** Patch doesn't require restart to apply the changes ([e987b6d](e987b6d))

### Features

* Refactor and match ReVanced and inotia ([30ad38a](30ad38a))
* **YouTube - Fullscreen components:** `Hide related videos in quick actions` setting has been merged into the `Hide related video overlay` setting ([a9b973b](a9b973b))
* **YouTube - Hide layout components:** Add `Hide videos based on duration` ([b6bd93a](b6bd93a))
* **YouTube - Hide layout components:** Add an option to hide videos with views greater than specified value ([14d4756](14d4756))
* **YouTube - Hide shorts components:** Add separate option to hide in player ([67cfeb8](67cfeb8))
* **YouTube - Hide shorts components:** Hide comments button if disabled or with label "0" ([44f3c2f](44f3c2f))
* **YouTube - Overlay buttons:** Add `Whitelist` overlay button ([564a044](564a044))
* **YouTube - Player components:** Add setting toggle for `Hide suggested video end screen` ([d020bc8](d020bc8))
* **YouTube - Settings:** Add ability to search in summaries and list entries ([fbe9e53](fbe9e53))
* **YouTube - Settings:** Add search bar for settings ([681cea9](681cea9))
* **YouTube - Toolbar components:** Remove `Hide trending searches` setting ([b14f20c](b14f20c))
* **YouTube Music - Player components:** Add `Enable black player background` setting ([d27d362](d27d362))
* **YouTube Music - Player components:** Add `Hide audio video switch toggle` setting ([68238da](68238da))
* **YouTube/Spoof format stream data:** check endpoint url is non-null ([a25d7d7](a25d7d7))
* **YouTube/Spoof format stream data:** improve hook method, fetch to `ANDROID_TESTSUITE` client ([ef50cf5](ef50cf5))
* **YouTube:** Add `Hide videos by duration` and `Hide videos by views count` greater than specified value ([ReVanced#37](https://github.com/anddea/revanced-integrations/issues/37)) ([d15028c](d15028c))
* **YouTube:** Add `Spoof client` patch ([010f879](010f879))
* **YouTube:** Add support versions `19.19.39` - `19.20.34` ([3c4ccc3](3c4ccc3))
* **YouTube:** Hide live chat replay in fullscreen ([e8184a1](e8184a1))
* **YouTube:** Remove `Spoof test client` patch ([782b25b](782b25b))

### Reverts

* default landscape mode timeout ([f46db5d](f46db5d))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug report Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants