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

Crash when clicking channel #8553

Closed
5 tasks done
dimaspaf14 opened this issue Jun 26, 2022 · 1 comment
Closed
5 tasks done

Crash when clicking channel #8553

dimaspaf14 opened this issue Jun 26, 2022 · 1 comment
Labels
bug Issue is related to a bug duplicate Issue or discussion is a duplicate of an existing issue or discussion

Comments

@dimaspaf14
Copy link

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 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.23.0

Steps to reproduce the bug

1.play random music in the background
2.search for random video
3.click the random video(dont play it)
4.click channel & it crash
After repeating for 3-4 times may fine

Expected behavior

See a random clicked channel

Actual behavior

Crash & switch to another app

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.23.0
  • OS: Linux Android 6.0.1 - 23
Crash log

java.lang.OutOfMemoryError: Failed to allocate a 4355412 byte allocation with 3447104 free bytes and 3MB until OOM
	at dalvik.system.VMRuntime.newNonMovableArray(Native Method)
	at android.graphics.BitmapFactory.nativeDecodeAsset(Native Method)
	at android.graphics.BitmapFactory.decodeStream(BitmapFactory.java:609)
	at android.graphics.BitmapFactory.decodeResourceStream(BitmapFactory.java:444)
	at android.graphics.drawable.Drawable.createFromResourceStream(Drawable.java:1080)
	at android.content.res.Resources.createFromResourceStream(Resources.java:2988)
	at android.content.res.Resources.loadDrawableForCookie(Resources.java:2708)
	at android.content.res.Resources.loadDrawable(Resources.java:2606)
	at android.content.res.VivoResources.loadDrawable(VivoResources.java:220)
	at android.content.res.TypedArray.getDrawable(TypedArray.java:870)
	at android.widget.ImageView.<init>(ImageView.java:152)
	at android.widget.ImageView.<init>(ImageView.java:140)
	at androidx.appcompat.widget.AppCompatImageView.<init>(AppCompatImageView.java:74)
	at androidx.appcompat.widget.AppCompatImageView.<init>(AppCompatImageView.java:69)
	at androidx.appcompat.app.AppCompatViewInflater.createImageView(AppCompatViewInflater.java:199)
	at androidx.appcompat.app.AppCompatViewInflater.createView(AppCompatViewInflater.java:119)
	at androidx.appcompat.app.AppCompatDelegateImpl.createView(AppCompatDelegateImpl.java:1563)
	at androidx.appcompat.app.AppCompatDelegateImpl.onCreateView(AppCompatDelegateImpl.java:1614)
	at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:791)
	at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:749)
	at android.view.LayoutInflater.rInflate(LayoutInflater.java:880)
	at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:843)
	at android.view.LayoutInflater.rInflate(LayoutInflater.java:883)
	at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:843)
	at android.view.LayoutInflater.inflate(LayoutInflater.java:521)
	at android.view.LayoutInflater.inflate(LayoutInflater.java:429)
	at org.schabi.newpipe.databinding.ChannelHeaderBinding.inflate(ChannelHeaderBinding.java:90)
	at org.schabi.newpipe.fragments.list.channel.ChannelFragment.getListHeaderSupplier(ChannelFragment.java:154)
	at org.schabi.newpipe.fragments.list.BaseListFragment.initViews(BaseListFragment.java:238)
	at org.schabi.newpipe.fragments.list.BaseListInfoFragment.initViews(BaseListInfoFragment.java:51)
	at org.schabi.newpipe.BaseFragment.onViewCreated(BaseFragment.java:67)
	at org.schabi.newpipe.fragments.BaseStateFragment.onViewCreated(BaseStateFragment.java:42)
	at org.schabi.newpipe.fragments.list.channel.ChannelFragment.onViewCreated(ChannelFragment.java:131)
	at androidx.fragment.app.Fragment.performViewCreated(Fragment.java:2987)
	at androidx.fragment.app.FragmentStateManager.createView(FragmentStateManager.java:546)
	at androidx.fragment.app.FragmentStateManager.moveToExpectedState(FragmentStateManager.java:282)
	at androidx.fragment.app.FragmentManager.executeOpsTogether(FragmentManager.java:2189)
	at androidx.fragment.app.FragmentManager.removeRedundantOperationsAndExecute(FragmentManager.java:2100)
	at androidx.fragment.app.FragmentManager.execPendingActions(FragmentManager.java:2002)
	at androidx.fragment.app.FragmentManager$5.run(FragmentManager.java:524)
	at android.os.Handler.handleCallback(Handler.java:739)
	at android.os.Handler.dispatchMessage(Handler.java:95)
	at android.os.Looper.loop(Looper.java:148)
	at android.app.ActivityThread.main(ActivityThread.java:5619)
	at java.lang.reflect.Method.invoke(Native Method)
	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:853)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:737)


Affected Android/Custom ROM version

Android 6.0.1

Affected device model

Vivo y53 1606

Additional information

No response

@dimaspaf14 dimaspaf14 added the bug Issue is related to a bug label Jun 26, 2022
@litetex
Copy link
Member

litetex commented Jul 2, 2022

Duplicate of e.g. #8307

TL;DR
Your device runs out of memory.

@litetex litetex closed this as not planned Won't fix, can't repro, duplicate, stale Jul 2, 2022
@litetex litetex added the duplicate Issue or discussion is a duplicate of an existing issue or discussion label Jul 2, 2022
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 duplicate Issue or discussion is a duplicate of an existing issue or discussion
Projects
None yet
Development

No branches or pull requests

2 participants