What the Titel says; when trying to edit a photo on the latest GOS version, the gallery app crashes. MTE is enabled
Steps: Open Gallery app
Select a photo
Tip on edit
Select crop

Log:

type: crash
osVersion: google/husky/husky:14/UD1A.230803.041/2023103000:user/release-keys
package: com.android.gallery3d:40030
process: com.android.gallery3d
processUptime: 11096 + 176 ms

java.lang.OutOfMemoryError
	at android.graphics.Bitmap.nativeCreate(Native Method)
	at android.graphics.Bitmap.createBitmap(Bitmap.java:1206)
	at android.graphics.Bitmap.createBitmap(Bitmap.java:979)
	at android.graphics.Bitmap.createScaledBitmap(Bitmap.java:831)
	at com.android.gallery3d.filtershow.cache.ImageLoader.loadRegionBitmap(ImageLoader.java:288)
	at com.android.gallery3d.filtershow.cache.ImageLoader.getScaleOneImageForPreset(ImageLoader.java:442)
	at com.android.gallery3d.filtershow.pipeline.CachingPipeline.render(CachingPipeline.java:308)
	at com.android.gallery3d.filtershow.pipeline.FullresRenderingRequestTask.doInBackground(FullresRenderingRequestTask.java:50)
	at com.android.gallery3d.filtershow.pipeline.ProcessingTask.processRequest(ProcessingTask.java:61)
	at com.android.gallery3d.filtershow.pipeline.ProcessingTaskController.handleMessage(ProcessingTaskController.java:59)
	at android.os.Handler.dispatchMessage(Handler.java:102)
	at android.os.Looper.loopOnce(Looper.java:205)
	at android.os.Looper.loop(Looper.java:294)
	at android.os.HandlerThread.run(HandlerThread.java:67)

    We need more details on what's causing the crash. How exactly are you editing it?

      I just tried to edit a photo at 10MP and 5MB and didn't have any issue. Tried it also with Google Photos, no issues as well. I'm on update 3 Stable.

      I have tried editing the photo with advanced memory protection disabled, same issue.
      Pictures taken with the GOS camera app can be edited as well as raw images taken with the google pixel camera app.
      Pictures taken with the 12mb setting in the google pixel camera app can be edited as well.

      This seems to be specific to photos taken with the 50mb mode in the google pixel camera app.

        5 months later

        homejacob
        What could be causing editing issues specifically with photos taken in the 50mb mode of the Google Pixel camera app?