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

Background play crash bug #9063

Closed
6 tasks done
killerrook opened this issue Oct 4, 2022 · 5 comments · Fixed by #10578
Closed
6 tasks done

Background play crash bug #9063

killerrook opened this issue Oct 4, 2022 · 5 comments · Fixed by #10578
Labels
bug Issue is related to a bug player notification Anything to do with the MediaStyle notification player Issues related to any player (main, popup and background)

Comments

@killerrook
Copy link

killerrook commented Oct 4, 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 stable

Steps to reproduce the bug

  1. Open the 'Newpipe' app
  2. Long press on any video
  3. Select 'start playing in background'
  4. App crashes and you are returned to home screen.
    Note: it doesn't show any error notification but if you quickly open newpipe again before android kills it you will get the following error report.

Expected behavior

Video should play in background

Actual behavior

App crashes

Screenshots/Screen recordings

No response

Logs

Exception

  • User Action: ui error
  • Request: ACRA report
  • Content Country: US
  • Content Language: en-US
  • App Language: en_US
  • Service: none
  • Version: 0.24.0
  • OS: Linux OPPO/CPH1861/CPH1861:9/PPR1.180610.011/1587903909:user/release-keys 9 - 28
Crash log

android.app.RemoteServiceException: Context.startForegroundService() did not then call Service.startForeground(): ServiceRecord{446c64b u0 org.schabi.newpipe/.player.PlayerService}
	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1967)
	at android.os.Handler.dispatchMessage(Handler.java:106)
	at android.os.Looper.loop(Looper.java:226)
	at android.app.ActivityThread.main(ActivityThread.java:7178)
	at java.lang.reflect.Method.invoke(Native Method)
	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:503)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:942)


Affected Android/Custom ROM version

ColorOS v6.0

Affected device model

Oppo Realme 1

Additional information

Probably works fine in previous version.

A workaround is to click on the video and then select background button and video will play fine in background

To reproduce you must exit the new pipe player notification first and then follow the aforesaid steps.

@killerrook killerrook added bug Issue is related to a bug needs triage Issue is not yet ready for PR authors to take up labels Oct 4, 2022
@opusforlife2
Copy link
Collaborator

Have you blocked Newpipe notifications?

@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 Oct 4, 2022
@killerrook
Copy link
Author

killerrook commented Oct 4, 2022

No I haven't blocked notification from newpipe from settings or anywhere else in that regard.

@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 Oct 4, 2022
@killerrook
Copy link
Author

I can even provide screen recording if you want.

@opusforlife2
Copy link
Collaborator

The crash log is what's needed. Edit the description and paste it there.

@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 Oct 4, 2022
@killerrook
Copy link
Author

Updated but not 100% sure check if it helps

@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 Oct 5, 2022
@opusforlife2 opusforlife2 added player Issues related to any player (main, popup and background) player notification Anything to do with the MediaStyle notification and removed needs triage Issue is not yet ready for PR authors to take up labels Oct 5, 2022
@killerrook killerrook mentioned this issue Oct 18, 2022
6 tasks
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 player notification Anything to do with the MediaStyle notification player Issues related to any player (main, popup and background)
Projects
None yet
2 participants