You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a plugin which is using the XMP-Toolkit-SDK. I found out that if this plugin is installed, Photoshop crashes when trying to save an image via "File -> Export -> Save for Web(Legacy).
All other Saving/Exporting functions in Photoshop seems fine so far.
As it can be seen here, the XMP-Toolkit is directly called from "Save for Web", so I have no chance to put something into my code to avoid writing Metadata in that case.
This code will lead to the crash, even if I do not call the constructor at all. When I comment out _xmpData = std::unique_ptr<SXMPMeta> (new SXMPMeta());, it is fine.
This seems to me like a very strange behaviour.
Platform and Version
MAC-OS: Tested with 14.2 and 13.6 on both Intel and Arm, all are reproducable
Photoshop-Version: Tested with 22, 23 and 24, all reproducable
Toolkit-Version: February 2022 has the problem, older Version of my Plugin which use a version from 2014 does not crash
Windows: Working fine
Illustrator on Mac: Working fine
The text was updated successfully, but these errors were encountered:
I have a plugin which is using the XMP-Toolkit-SDK. I found out that if this plugin is installed, Photoshop crashes when trying to save an image via "File -> Export -> Save for Web(Legacy).
All other Saving/Exporting functions in Photoshop seems fine so far.
Attached is the crash-report given by Apple
CrashReport.txt
As it can be seen here, the XMP-Toolkit is directly called from "Save for Web", so I have no chance to put something into my code to avoid writing Metadata in that case.
I find it somehow strange that crash happens even if I do not call any part of the XMP-Toolkit actively, it needs to be just there in the code.
Example:
I have the following call:
.h-File:
.cpp-File:
This code will lead to the crash, even if I do not call the constructor at all. When I comment out
_xmpData = std::unique_ptr<SXMPMeta> (new SXMPMeta());
, it is fine.This seems to me like a very strange behaviour.
Platform and Version
MAC-OS: Tested with 14.2 and 13.6 on both Intel and Arm, all are reproducable
Photoshop-Version: Tested with 22, 23 and 24, all reproducable
Toolkit-Version: February 2022 has the problem, older Version of my Plugin which use a version from 2014 does not crash
Windows: Working fine
Illustrator on Mac: Working fine
The text was updated successfully, but these errors were encountered: