NewPipe icon indicating copy to clipboard operation
NewPipe copied to clipboard

Media player crash [0.24.0]

Open NSTAdventure opened this issue 2 years ago β€’ 3 comments

Checklist

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

Affected version

0.24.0

Steps to reproduce the bug

This ambiguous because happened unexpectedly How this happen? When video end i minimized and get back to media player it not responding and accident crashed like this

Expected behavior

No crash

Actual behavior

Crashed

Screenshots/Screen recordings

No response

Logs

Exception

  • User Action: ui error
  • Request: ACRA report
  • Content Country: ID
  • Content Language: id
  • App Language: en
  • Service: none
  • Version: 0.24.0
  • OS: Linux realme/RMX2030/RMX2030:10/QKQ1.200209.002/1605146661:user/release-keys 10 - 29
Crash log

android.app.RemoteServiceException: Context.startForegroundService() did not then call Service.startForeground(): ServiceRecord{4d9991a u0 org.schabi.newpipe/org.schabi.newpipe.player.PlayerService}
	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2142)
	at android.os.Handler.dispatchMessage(Handler.java:107)
	at android.os.Looper.loop(Looper.java:238)
	at android.app.ActivityThread.main(ActivityThread.java:7853)
	at java.lang.reflect.Method.invoke(Native Method)
	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:492)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:984)


Affected Android/Custom ROM version

Android 10

Affected device model

Realme 5i

Additional information

Happened on both fork and official And of course unexpectedly so i cannot tell exactly how to reproduce them I apologize for this inconvenience πŸ™

NSTAdventure avatar Oct 02 '22 17:10 NSTAdventure

Exception

  • User Action: ui error
  • Request: ACRA report
  • Content Country: LU
  • Content Language: de-LU
  • App Language: de_LU
  • Service: none
  • Version: 0.24.0
  • OS: Linux Android 8.0.0 - 26
Crash log

android.app.RemoteServiceException: Context.startForegroundService() did not then call Service.startForeground()
	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2204)
	at android.os.Handler.dispatchMessage(Handler.java:108)
	at android.os.Looper.loop(Looper.java:166)
	at android.app.ActivityThread.main(ActivityThread.java:7529)
	at java.lang.reflect.Method.invoke(Native Method)
	at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:245)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:921)


falkpaulfabian2004 avatar Oct 03 '22 20:10 falkpaulfabian2004

Sounds like Android is killing NewPipe foreground process (android.app.RemoteServiceException: Context.startForegroundService() did not then call Service.startForeground()), and when you go back to NewPipe, it crashes. I never had this bug, so this may happen only on some devices (specifically the one that had blocked NewPipe from running in background??, or ColorOS ROMs?? since #9070 also happened on Realme phones).

I can't comment anything beside those OEM Devices vendor is horsemen of the annoyance (Bruh πŸ—ΏπŸ—ΏπŸ—ΏπŸ—Ώ)

ghost avatar Oct 12 '22 15:10 ghost

Very likely the same bug as #9070.

opusforlife2 avatar Oct 12 '22 22:10 opusforlife2

Try on 0.24.1?

opusforlife2 avatar Nov 10 '22 19:11 opusforlife2

Try on 0.24.1?

Bug solved thanks developer πŸ™πŸ˜Š

ghost avatar Nov 22 '22 12:11 ghost