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

  • Annoyed_🦀 @monyet.cc
    link
    fedilink
    English
    arrow-up
    7
    ·
    edit-2
    4 months ago

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

    Edit: found the reason

    /j

  • Max-P@lemmy.max-p.me
    link
    fedilink
    English
    arrow-up
    4
    ·
    4 months ago

    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)
    
    • Max-P@lemmy.max-p.me
      link
      fedilink
      English
      arrow-up
      3
      ·
      4 months ago

      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.

      • Bangs42@lemmy.world
        link
        fedilink
        English
        arrow-up
        2
        ·
        4 months ago

        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?

        • Max-P@lemmy.max-p.me
          link
          fedilink
          English
          arrow-up
          2
          ·
          4 months ago

          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.