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 | Software rendering doesn't support hardware bitmaps #360

Closed
4 tasks done
shuvashish76 opened this issue Oct 26, 2022 · 1 comment
Closed
4 tasks done

Crash | Software rendering doesn't support hardware bitmaps #360

shuvashish76 opened this issue Oct 26, 2022 · 1 comment
Labels
bug Something isn't working

Comments

@shuvashish76
Copy link

shuvashish76 commented Oct 26, 2022

Checklist

  • I am able to reproduce the bug with the latest version.
  • I've checked that there is no issue about this bug.
  • This issue contains only one bug.
  • The title of this issue accurately describes the bug.

Steps to reproduce the bug

  1. Open InnerTune > Home
  2. Search any artist name > click on top result
  3. e.g. while on this page👇🏿

Screenshot_2022-10-26-08-40-37

perform any of the following option
i) click on "more songs" arrow icon
ii) click on Songs/Artists/Albums/Playlists
iii) click on 3dot menu of any song > view album
iv) click on back button from device navigation bar

  1. App crashes

Expected behavior

Perform the expected behavior.

Actual behavior

App crashes

Screenshots/Screen recordings

No response

Logs

FATAL EXCEPTION: main
Process: com.zionhuang.music, PID: 30463
java.lang.IllegalStateException: Software rendering doesn't support hardware bitmaps
	at android.graphics.BaseCanvas.throwIfHwBitmapInSwMode(BaseCanvas.java:532)
	at android.graphics.BaseCanvas.throwIfCannotDraw(BaseCanvas.java:62)
	at android.graphics.BaseCanvas.drawBitmap(BaseCanvas.java:120)
	at android.graphics.Canvas.drawBitmap(Canvas.java:1434)
	at android.graphics.drawable.BitmapDrawable.draw(BitmapDrawable.java:529)
	at android.widget.ImageView.onDraw(ImageView.java:1367)
	at android.view.View.draw(View.java:19196)
	at android.view.View.draw(View.java:19066)
	at android.view.ViewGroup.drawChild(ViewGroup.java:4236)
	at android.view.ViewGroup.dispatchDraw(ViewGroup.java:4022)
	at androidx.constraintlayout.widget.ConstraintLayout.dispatchDraw(Unknown Source:30)
	at android.view.View.draw(View.java:19064)
	at android.view.ViewGroup.drawChild(ViewGroup.java:4236)
	at androidx.recyclerview.widget.RecyclerView.drawChild(Unknown Source:0)
	at android.view.ViewGroup.dispatchDraw(ViewGroup.java:4022)
	at android.view.View.draw(View.java:19199)
	at androidx.recyclerview.widget.RecyclerView.draw(Unknown Source:0)
	at android.view.View.draw(View.java:19066)
	at android.view.ViewGroup.drawChild(ViewGroup.java:4236)
	at android.view.ViewGroup.dispatchDraw(ViewGroup.java:4022)
	at android.view.View.draw(View.java:19199)
	at android.view.View.draw(View.java:19066)
	at android.view.ViewGroup.drawChild(ViewGroup.java:4236)
	at androidx.coordinatorlayout.widget.CoordinatorLayout.drawChild(Unknown Source:13)
	at android.view.ViewGroup.dispatchDraw(ViewGroup.java:4022)
	at android.view.View.draw(View.java:19199)
	at x1.c0.l(SourceFile:429)
	at x1.k.m(SourceFile:89)
	at x1.p.m(SourceFile:55)
	at x1.p.m(SourceFile:55)
	at x1.o$a.onPreDraw(SourceFile:730)
	at android.view.ViewTreeObserver.dispatchOnPreDraw(ViewTreeObserver.java:977)
	at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:2353)
	at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1396)
	at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:6773)
	at android.view.Choreographer$CallbackRecord.run(Choreographer.java:966)
	at android.view.Choreographer.doCallbacks(Choreographer.java:778)
	at android.view.Choreographer.doFrame(Choreographer.java:713)
	at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:952)
	at android.os.Handler.handleCallback(Handler.java:790)
	at android.os.Handler.dispatchMessage(Handler.java:99)
	at android.os.Looper.loop(Looper.java:164)
	at android.app.ActivityThread.main(ActivityThread.java:6518)
	at java.lang.reflect.Method.invoke(Native Method)
	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:438)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:807)

Music version

0.4.2 (13)

Android version

8.1.0

Additional information

No response

@shuvashish76 shuvashish76 added the bug Something isn't working label Oct 26, 2022
@z-huang
Copy link
Owner

z-huang commented Oct 27, 2022

Note: coil-kt/coil#159

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants