Skip to main content
Participating Frequently
Feb 8, 2024 12:39 PM UTC
Open for Voting

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

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 is closed to new replies. Start a new post to keep the conversation going.

9 replies

roqvistAuthor
Participating Frequently
Feb 27, 2024 9:48 AM UTC

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.

 
Translate
CShubert
Community Manager
Community Manager
Feb 22, 2024 10:10 PM UTC

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

Translate
CShubert
Community Manager
Community Manager
Feb 21, 2024 8:01 PM UTC

Hi @roqvist the team will look into this.

Thanks,

Cory - Photoshop Product Manager

Translate
roqvistAuthor
Participating Frequently
Feb 15, 2024 9:02 AM UTC

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

Translate
roqvistAuthor
Participating Frequently
Feb 9, 2024 8:31 AM UTC

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.

Translate
roqvistAuthor
Participating Frequently
Feb 9, 2024 7:42 AM UTC

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)

 

 

Translate
roqvistAuthor
Participating Frequently
Feb 9, 2024 7:37 AM UTC

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

Translate
roqvistAuthor
Participating Frequently
Feb 9, 2024 7:33 AM UTC

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

Translate
CShubert
Community Manager
Community Manager
Feb 8, 2024 9:39 PM UTC

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

Translate