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

Crashes upon sleep mode or backgrounding #11532

Closed
6 tasks done
ethanc8 opened this issue Sep 15, 2024 · 2 comments
Closed
6 tasks done

Crashes upon sleep mode or backgrounding #11532

ethanc8 opened this issue Sep 15, 2024 · 2 comments
Labels
duplicate Issue or discussion is a duplicate of an existing issue or discussion template ignored The user didn't follow the template/instructions (or removed them)

Comments

@ethanc8
Copy link

ethanc8 commented Sep 15, 2024

Checklist

  • I am able to reproduce the bug with the latest version given here: CLICK THIS LINK.
  • 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.27.2, from the NewPipe F-Droid repo

Steps to reproduce the bug

Navigate to the Hsinchu City Chinese Youth Orchestra channel, find the all-time hits playlist, and choose the first video.

Expected behavior

The video plays.

Actual behavior

The video plays until a few seconds after the user puts their phone to sleep or starts playing the video in the background.

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.27.2
  • OS: Linux samsung/dm1quew/dm1q:14/UP1A.231005.007/S911U1UEU2CXCG:user/release-keys 14 - 34
Crash log

android.os.BadParcelableException: Parcelable encountered IOException writing serializable object (name = org.schabi.newpipe.extractor.channel.ChannelInfo)
	at android.os.Parcel.writeSerializable(Parcel.java:2809)
	at android.os.Parcel.writeValue(Parcel.java:2575)
	at android.os.Parcel.writeValue(Parcel.java:2374)
	at android.os.Parcel.writeArrayMapInternal(Parcel.java:1310)
	at android.os.BaseBundle.writeToParcelInner(BaseBundle.java:1843)
	at android.os.Bundle.writeToParcel(Bundle.java:1389)
	at android.os.Parcel.writeBundle(Parcel.java:1379)
	at android.os.Parcel.writeValue(Parcel.java:2491)
	at android.os.Parcel.writeValue(Parcel.java:2381)
	at android.os.Parcel.writeArrayMapInternal(Parcel.java:1310)
	at android.os.BaseBundle.writeToParcelInner(BaseBundle.java:1843)
	at android.os.Bundle.writeToParcel(Bundle.java:1389)
	at android.os.Parcel.writeBundle(Parcel.java:1379)
	at android.os.Parcel.writeValue(Parcel.java:2491)
	at android.os.Parcel.writeValue(Parcel.java:2381)
	at android.os.Parcel.writeArrayMapInternal(Parcel.java:1310)
	at android.os.BaseBundle.writeToParcelInner(BaseBundle.java:1843)
	at android.os.Bundle.writeToParcel(Bundle.java:1389)
	at android.os.Parcel.writeBundle(Parcel.java:1379)
	at android.os.Parcel.writeValue(Parcel.java:2491)
	at android.os.Parcel.writeValue(Parcel.java:2381)
	at android.os.Parcel.writeArrayMapInternal(Parcel.java:1310)
	at android.os.BaseBundle.writeToParcelInner(BaseBundle.java:1843)
	at android.os.Bundle.writeToParcel(Bundle.java:1389)
	at android.os.Parcel.writeBundle(Parcel.java:1379)
	at android.os.Parcel.writeValue(Parcel.java:2491)
	at android.os.Parcel.writeValue(Parcel.java:2381)
	at android.os.Parcel.writeArrayMapInternal(Parcel.java:1310)
	at android.os.BaseBundle.writeToParcelInner(BaseBundle.java:1843)
	at android.os.Bundle.writeToParcel(Bundle.java:1389)
	at android.os.Parcel.writeBundle(Parcel.java:1379)
	at android.os.Parcel.writeValue(Parcel.java:2491)
	at android.os.Parcel.writeValue(Parcel.java:2381)
	at android.os.Parcel.writeArrayMapInternal(Parcel.java:1310)
	at android.os.BaseBundle.writeToParcelInner(BaseBundle.java:1843)
	at android.os.Bundle.writeToParcel(Bundle.java:1389)
	at android.os.Parcel.writeBundle(Parcel.java:1379)
	at android.os.Parcel.writeValue(Parcel.java:2491)
	at android.os.Parcel.writeValue(Parcel.java:2381)
	at android.os.BaseBundle.dumpStats(BaseBundle.java:1917)
	at android.os.BaseBundle.dumpStats(BaseBundle.java:1954)
	at android.app.servertransaction.PendingTransactionActions$StopInfo.collectBundleStates(PendingTransactionActions.java:123)
	at android.app.servertransaction.PendingTransactionActions$StopInfo.run(PendingTransactionActions.java:139)
	at android.os.Handler.handleCallback(Handler.java:958)
	at android.os.Handler.dispatchMessage(Handler.java:99)
	at android.os.Looper.loopOnce(Looper.java:230)
	at android.os.Looper.loop(Looper.java:319)
	at android.app.ActivityThread.main(ActivityThread.java:8919)
	at java.lang.reflect.Method.invoke(Native Method)
	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:578)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1103)
Caused by: java.io.NotSerializableException: org.schabi.newpipe.extractor.services.youtube.extractors.YoutubeChannelExtractor
	at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1240)
	at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1620)
	at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1581)
	at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1490)
	at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1234)
	at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1620)
	at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1581)
	at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1490)
	at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1234)
	at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:354)
	at java.util.ArrayList.writeObject(ArrayList.java:873)
	at java.lang.reflect.Method.invoke(Native Method)
	at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:1079)
	at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1568)
	at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1490)
	at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1234)
	at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1620)
	at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1581)
	at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1490)
	at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1234)
	at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1620)
	at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1581)
	at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1490)
	at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1234)
	at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:354)
	at android.os.Parcel.writeSerializable(Parcel.java:2804)
	... 50 more


Affected Android/Custom ROM version

No response

Affected device model

No response

Additional information

I these crashes on many videos when I put the phone to sleep or put the video in background. This only manifests on some channels such as the HeartString guzheng music channel and the Hsinchu City Youth Chinese Orchestra channel, but not on AtinPiano, Patrik Pietschmann, or PianoDeuss.

@ethanc8 ethanc8 added bug Issue is related to a bug needs triage Issue is not yet ready for PR authors to take up labels Sep 15, 2024
@AudricV
Copy link
Member

AudricV commented Sep 15, 2024

  • I made sure that there are no existing issues - open or closed - which I could contribute my information to.

Duplicate of #11356. Please search (better, with different keywords?) for duplicates the next time you want to open an issue. Thank you.

@AudricV AudricV closed this as completed Sep 15, 2024
@AudricV AudricV added template ignored The user didn't follow the template/instructions (or removed them) duplicate Issue or discussion is a duplicate of an existing issue or discussion and removed bug Issue is related to a bug needs triage Issue is not yet ready for PR authors to take up labels Sep 15, 2024
@ethanc8
Copy link
Author

ethanc8 commented Sep 16, 2024

Sorry, I was unsure of which keywords this would be under. I will try to search better next time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate Issue or discussion is a duplicate of an existing issue or discussion template ignored The user didn't follow the template/instructions (or removed them)
Projects
None yet
Development

No branches or pull requests

2 participants