Skip to main content
Participating Frequently
February 8, 2024

P: 8-bit indexed PNG files in UXP panel crashes Photoshop

  • February 8, 2024
  • 9 replies
  • 331 views

The following Photoshop UXP panel crashes Photoshop, try it in e.g. UXP Developer Tools playground:

 

 

 

<!DOCTYPE html>
<html>
<body>
    <img src="https://files.catbox.moe/vc7acj.png">
</body>
</html>

 

 

 

 

 

(the manifest file needs permissions to the image host)

 

 

 

 

"requiredPermissions": {
    "network": {
        "domains": [ "https://files.catbox.moe" ]
    }
}

 

 

 

 

 

The file is a PNG file with 8-bit indexed colors.

 

Trying to display this type of file completely hangs my Photoshop process, requiring manual process kill.

 

Photoshop version: 25.4.0

UXP version: 7.3.0

Operating system: Windows 11

 
 
 
This topic has been closed for replies.

9 replies

roqvistAuthor
Participating Frequently
February 27, 2024

Hello again, I installed Photoshop Beta 25.6.0 20240222.m.2515 7d8319b x64 and it doesn't silently crash anymore but gives me an error report. No PNG file is displayed.

 

 

 The error report is uploaded here.

 

What do you need from me to help you reproduce this? My colleague gets this as well. We're both on Windows 11 with NVIDIA hardware.

 
CShubert
Community Manager
Community Manager
February 22, 2024

Hi @roqvist the team tried reproducing this in the way it was described: UDT + Playground. The image displayed OK as depicted in this screenshot.

 

 

If we missed something, please let us know what is the issue so we can test again.

 

Please update to the latest beta: Adobe Photoshop Version: 25.6.0 20240217.m.2506 d5ee5e5 arm64 and see if you still have this issue.

 

Thanks,

Cory - Photoshop Product Manager

CShubert
Community Manager
Community Manager
February 21, 2024

Hi @roqvist the team will look into this.

Thanks,

Cory - Photoshop Product Manager

roqvistAuthor
Participating Frequently
February 15, 2024

@CShubert just wanted to check if your team managed to reproduce this?

roqvistAuthor
Participating Frequently
February 9, 2024

Note, don't forget to add the file host domain to permissions in manifest.json as per my initial post when debugging this, otherwise the image obviously will not be attempted to load at all.

roqvistAuthor
Participating Frequently
February 9, 2024

If I change the URL to the same PNG file but instead encoded in full 24-bit color, the panel works fine (as per attached screenshot)

 

 

roqvistAuthor
Participating Frequently
February 9, 2024

After doing this several times in a row, I managed to get a crash report. I uploaded it here.

roqvistAuthor
Participating Frequently
February 9, 2024

Sure.

 

I tried it today on on a different machine, which has a different Photoshop versions, and I get the same problem. A colleague  of mine also experiences this on his machine.

 

So the video recording and system info is this time on Windows 10, Photoshop 25.3.1. The Photoshop executable just freezes and after a few seconds it shuts down.

 

System info

Video recording

CShubert
Community Manager
Community Manager
February 8, 2024

Hi @roqvist we are not able to reproduce here. Could you share a video of your steps when you see this issue?

 

It may help if we could see your Photoshop System Info. Launch Photoshop, and select Help >System Info...and copy/paste the text in a reply.  

 

Thanks,

Cory - Photoshop Product Manager