No idéa why. Opening this post makes boost crash

4 points

Logcat for it

FATAL EXCEPTION: main
Process: com.rubenmayayo.lemmy, PID: 29912
java.lang.RuntimeException: Canvas: trying to draw too large(170161920bytes) bitmap.
	at android.graphics.RecordingCanvas.throwIfCannotDraw(RecordingCanvas.java:266)
	at android.graphics.BaseRecordingCanvas.drawBitmap(BaseRecordingCanvas.java:94)
	at android.graphics.drawable.BitmapDrawable.draw(BitmapDrawable.java:549)
	at ah.a.draw(AsyncDrawable.java:9)
	at ah.e.draw(AsyncDrawableSpan.java:76)
	at android.text.TextLine.handleReplacement(TextLine.java:1507)
	at android.text.TextLine.handleRun(TextLine.java:1676)
	at android.text.TextLine.drawRun(TextLine.java:846)
	at android.text.TextLine.draw(TextLine.java:446)
	at android.text.Layout.drawText(Layout.java:911)
	at android.widget.Editor.drawHardwareAcceleratedInner(Editor.java:2296)
	at android.widget.Editor.drawHardwareAccelerated(Editor.java:2209)
	at android.widget.Editor.onDraw(Editor.java:2140)
	at android.widget.TextView.onDraw(TextView.java:9350)
	at android.view.View.draw(View.java:24627)
	at android.view.View.updateDisplayListIfDirty(View.java:23493)
	at android.view.View.draw(View.java:24357)
	at android.view.ViewGroup.drawChild(ViewGroup.java:4576)
	at android.view.ViewGroup.dispatchDraw(ViewGroup.java:4337)
	at android.view.View.draw(View.java:24630)
	at android.view.View.updateDisplayListIfDirty(View.java:23493)
	at android.view.View.draw(View.java:24357)
	at android.view.ViewGroup.drawChild(ViewGroup.java:4576)
	at android.view.ViewGroup.dispatchDraw(ViewGroup.java:4337)
	at android.view.View.draw(View.java:24630)
	at android.view.View.updateDisplayListIfDirty(View.java:23493)
	at android.view.View.draw(View.java:24357)
	at android.view.ViewGroup.drawChild(ViewGroup.java:4576)
	at androidx.recyclerview.widget.RecyclerView.drawChild(RecyclerView.java:1)
	at android.view.ViewGroup.dispatchDraw(ViewGroup.java:4337)
	at android.view.View.draw(View.java:24630)
	at androidx.recyclerview.widget.RecyclerView.draw(RecyclerView.java:1)
	at android.view.View.updateDisplayListIfDirty(View.java:23493)
	at android.view.View.draw(View.java:24357)
	at android.view.ViewGroup.drawChild(ViewGroup.java:4576)
	at android.view.ViewGroup.dispatchDraw(ViewGroup.java:4337)
	at android.view.View.draw(View.java:24630)
	at android.view.View.updateDisplayListIfDirty(View.java:23493)
	at android.view.View.draw(View.java:24357)
	at android.view.ViewGroup.drawChild(ViewGroup.java:4576)
	at androidx.coordinatorlayout.widget.CoordinatorLayout.drawChild(CoordinatorLayout.java:137)
	at android.view.ViewGroup.dispatchDraw(ViewGroup.java:4337)
	at android.view.View.updateDisplayListIfDirty(View.java:23484)
	at android.view.View.draw(View.java:24357)
	at android.view.ViewGroup.drawChild(ViewGroup.java:4576)
	at android.view.ViewGroup.dispatchDraw(ViewGroup.java:4337)
	at android.view.View.updateDisplayListIfDirty(View.java:23484)
	at android.view.View.draw(View.java:24357)
	at android.view.ViewGroup.drawChild(ViewGroup.java:4576)
	at androidx.coordinatorlayout.widget.CoordinatorLayout.drawChild(CoordinatorLayout.java:137)
	at android.view.ViewGroup.dispatchDraw(ViewGroup.java:4337)
	at android.view.View.updateDisplayListIfDirty(View.java:23484)
	at android.view.View.draw(View.java:24357)
	at android.view.ViewGroup.drawChild(ViewGroup.java:4576)
	at android.view.ViewGroup.dispatchDraw(ViewGroup.java:4337)
	at android.view.View.draw(View.java:24630)
	at android.view.View.updateDisplayListIfDirty(View.java:23493)
	at android.view.View.draw(View.java:24357)
	at android.view.ViewGroup.drawChild(ViewGroup.java:4576)
	at android.view.ViewGroup.dispatchDraw(ViewGroup.java:4337)
	at android.view.View.updateDisplayListIfDirty(View.java:23484)
	at android.view.View.draw(View.java:24357)
	at android.view.ViewGroup.drawChild(ViewGroup.java:4576)
	at android.view.ViewGroup.dispatchDraw(ViewGroup.java:4337)
	at android.view.View.updateDisplayListIfDirty(View.java:23484)
	at android.view.View.draw(View.java:24357)
permalink
report
reply
1 point

Works just fine for me

permalink
report
reply
1 point

Huh. I wonder if this is related.

permalink
report
reply
3 points

No, it’s got to be the images. I used Boost to comment on that thread before OP updated with the images, and when I get to the post via my inbox it loads fine. Until I scroll up and the images load, then it crashes.

permalink
report
parent
reply
2 points

Could it still be the same though? What if there’s an image post that has the same issue in the image? When Boost tries to load that post, wouldn’t it crash too?

permalink
report
parent
reply
2 points

I can confirm that Boost occasionally crashes while scrolling the feed.

permalink
report
parent
reply
2 points

Might depend on the view. I use the list view so I see thumbnails but if you use the card view yeah I could see that crashing it as well. It appears to attempt to display images at whatever resolution it came in.

permalink
report
parent
reply
7 points
*

Wow, not sure what i expected but yeah it does in fact crash boost.

Edit: found the reason

/j

permalink
report
reply
2 points

Arch Linux so unstable it crashes other devices over the Internet! /S

I use Arch BTW

permalink
report
parent
reply
11 points
*

Oh wow, yeah can confirm, that’s what happens

permalink
report
reply

Boost For Lemmy

!boostforlemmy@lemmy.world

Create post

Community of the Android app Boost for Lemmy

Community stats

  • 138

    Monthly active users

  • 173

    Posts

  • 499

    Comments

Community moderators