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

OS not responding error followed by UI crash #9030

Closed
6 tasks done
Jaymn opened this issue Sep 26, 2022 · 7 comments · Fixed by #10578
Closed
6 tasks done

OS not responding error followed by UI crash #9030

Jaymn opened this issue Sep 26, 2022 · 7 comments · Fixed by #10578
Labels
bug Issue is related to a bug

Comments

@Jaymn
Copy link

Jaymn commented Sep 26, 2022

Checklist

  • I am able to reproduce the bug with the latest version.
  • I made sure that there are no existing issues - open or closed - which I could contribute my information to.
  • I have read the FAQ and my problem isn't listed.
  • I have taken the time to fill in all the required details. I understand that the bug report will be dismissed otherwise.
  • This issue contains only one bug.
  • I have read and understood the contribution guidelines.

Affected version

0.24.0

Steps to reproduce the bug

I have not seen a pattern to this issue consistently. Best way to try and replicate it is through combination of switching between full screen and not, changing playback speeds (1.0 to 1.75 at .25 intervals), and changing between videos. After a bit, an OS level pop-up shows up showing that the application is not responding, even though it still is.

When I close the playing video afterwards, the app crashes (log has been attached).

I will keep trying to see if I can figure out a pattern and update this ticket accordingly. I'm sorry this does not follow the proper guidelines.

Expected behavior

No response

Actual behavior

No response

Screenshots/Screen recordings

No response

Logs

{"user_action":"ui error",
"request":"ACRA report",
"content_language":"en-CA",
"content_country":"CA",
"app_language":"en_CA",
"service":"none",
"package":"org.schabi.newpipe",
"version":"0.24.0",
"os":"Linux Android 13 - 33",
"time":"2022-09-26 19:02",
"Exceptions":
["android.app.RemoteServiceException$ForegroundServiceDidNotStartInTimeException: Context.startForegroundService() did not then call Service.startForeground(): ServiceRecord{515ea4f u0 org.schabi.newpipe/.player.PlayerService}
at android.app.ActivityThread.generateForegroundServiceDidNotStartInTimeException(ActivityThread.java:2006)
at android.app.ActivityThread.throwRemoteServiceException(ActivityThread.java:1977)
at android.app.ActivityThread.-$$Nest$mthrowRemoteServiceException(Unknown Source:0)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2242)
at android.os.Handler.dispatchMessage(Handler.java:106)\n\tat android.os.Looper.loopOnce(Looper.java:201)
at android.os.Looper.loop(Looper.java:288)
at android.app.ActivityThread.main(ActivityThread.java:7898)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:936)
Caused by: android.app.StackTrace: Last startServiceCommon() call for this service was made here
at android.app.ContextImpl.startServiceCommon(ContextImpl.java:1915)
at android.app.ContextImpl.startForegroundService(ContextImpl.java:1870)
at android.content.ContextWrapper.startForegroundService(ContextWrapper.java:822)
at android.content.ContextWrapper.startForegroundService(ContextWrapper.java:822)
at androidx.core.content.ContextCompat$Api26Impl.startForegroundService(ContextCompat.java:931)
at androidx.core.content.ContextCompat.startForegroundService(ContextCompat.java:703)
at org.schabi.newpipe.fragments.detail.VideoDetailFragment.openMainPlayer(VideoDetailFragment.java:1235)
at org.schabi.newpipe.fragments.detail.VideoDetailFragment.$r8$lambda$7cA0nfOW4EXxLpA03fs92UQohwM(Unknown Source:0)
at org.schabi.newpipe.fragments.detail.VideoDetailFragment$$ExternalSyntheticLambda16.run(Unknown Source:2)
at org.schabi.newpipe.fragments.detail.VideoDetailFragment.replaceQueueIfUserConfirms(VideoDetailFragment.java:2150)
at org.schabi.newpipe.fragments.detail.VideoDetailFragment.openVideoPlayer(VideoDetailFragment.java:1190)
at org.schabi.newpipe.fragments.detail.VideoDetailFragment.openVideoPlayerAutoFullscreen(VideoDetailFragment.java:1203)
at org.schabi.newpipe.fragments.detail.VideoDetailFragment.lambda$runWorker$9(VideoDetailFragment.java:942)
at org.schabi.newpipe.fragments.detail.VideoDetailFragment.$r8$lambda$U48iIKXy1FeNEKzrs0mKI60q5_s(Unknown Source:0)
at org.schabi.newpipe.fragments.detail.VideoDetailFragment$$ExternalSyntheticLambda12.accept(Unknown Source:8)
at io.reactivex.rxjava3.internal.observers.ConsumerSingleObserver.onSuccess(ConsumerSingleObserver.java:62)
at io.reactivex.rxjava3.internal.operators.single.SingleObserveOn$ObserveOnSingleObserver.run(SingleObserveOn.java:81)
at io.reactivex.rxjava3.android.schedulers.HandlerScheduler$ScheduledRunnable.run(HandlerScheduler.java:123)
at android.os.Handler.handleCallback(Handler.java:942)
at android.os.Handler.dispatchMessage(Handler.java:99)
... 6 more

Affected Android/Custom ROM version

Android version 13

Affected device model

Pixel 4a

Additional information

No response

@Jaymn Jaymn added bug Issue is related to a bug needs triage Issue is not yet ready for PR authors to take up labels Sep 26, 2022
@OfficialDyray
Copy link

I am experiencing a similar issue.
Device: Pixel 4a with GrapheneOS

It will be actively playing video when the not responding message pops up. If I click wait, it will pop back up in a few seconds.

@itsme24082004
Copy link

Same issue on redmi

@opusforlife2
Copy link
Collaborator

Try on 0.24.1?

@opusforlife2 opusforlife2 added the waiting for author If the author doesn't respond, the issue will be auto-closed. Otherwise the label will be removed. label Nov 10, 2022
@Jaymn
Copy link
Author

Jaymn commented Nov 10, 2022

@opusforlife2 unfortunately yes. I tried it out for a day or two, but the issue still persisted. Ended up going back to version 0.23.3 for the time being.

@github-actions github-actions bot removed the waiting for author If the author doesn't respond, the issue will be auto-closed. Otherwise the label will be removed. label Nov 10, 2022
@opusforlife2 opusforlife2 removed the needs triage Issue is not yet ready for PR authors to take up label Nov 10, 2022
@pmontgo33
Copy link

Same issue on Pixel 6 running Android 13

@Coderdude112
Copy link

I have this same issue and can reproduce it reliability.

To create this error, watch a video, minimize the player and then click on another video without closing the first video. If you let video 2 play, after a little while the not responding dialogue shows up and is persistent even if you click wait button. I'm happy to record a vid if this is confusing.

The initial details of error I get are below.

  • User Action: ui error
  • Request: ACRA report
  • Content Country: US
  • Content Language: en-US
  • App Language: en_US
  • Service: none
  • Version: 0.24.1
  • OS: Linux Android 13 - 33

@Jaymn
Copy link
Author

Jaymn commented Jan 9, 2023

@Coderdude112 that sounds about right. Although for me, I've noticed that it happens after completing the first video, and starting the second one. About a minute in the error message pops up. I tried doing the steps you mentioned above, but nadda yet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issue is related to a bug
Projects
None yet
6 participants