Rank: Advanced Member
Groups: Guest
Joined: 10/12/2015(UTC) Posts: 44
|
I am getting the following exception when loading a Photoshop file (attached). "An unhandled exception of type 'System.AccessViolationException' occurred in Unknown Module. Attempted to read or write protected memory. This is often an indication that other memory is corrupt." The code is pretty basic: Code:var customResolver = new FontResolver(mapPath("~/localfonts/Psds/"));
customResolver.FontRegistry.FallbackFonts.Add("Arial");
var psdProcessor = new PsdProcessor(customResolver);
psdProcessor.TextCallback = (processor, textFrame, textString) => {
if (Utils.Contains(textString, "dd") || Utils.Contains(textString, "DD"))
this.NoDays = false;
var text = processor.ProcessText(textFrame);
return text;
};
using (var memIn = new MemoryStream(_psdBytes))
using (var memOut = new MemoryStream()) {
psdProcessor.Render(memIn, memOut, new PngSettings());
}
Following the error it logs users out and even crashes my IIS Express development process. corrupt.zip (432kb) downloaded 3 time(s).
|
|
|
|
Rank: Advanced Member
Groups: Guest
Joined: 7/28/2003(UTC) Posts: 1,660
Thanks: 5 times Was thanked: 76 time(s) in 74 post(s)
|
Hi, Thank you for the problem report. Could you prepare a small code snippet without dependencies which allows reproducing of the problem? The following code works perfect with the version 10.0.27: Code:using Aurigma.GraphicsMill.Codecs;
using Aurigma.GraphicsMill.Templates;
class Program
{
static void Main(string[] args)
{
var psdProcessor = new PsdProcessor();
psdProcessor.Render("../../../corrupt.psd", "../../../out.png", new PngSettings());
}
}
|
Best regards, Fedor Skvortsov
|
|
|
|
Rank: Advanced Member
Groups: Guest
Joined: 10/12/2015(UTC) Posts: 44
|
We are using the latest Version 9, before the new license changes. Right now we aren't in a place to upgrade to 10.0.27 because of license server exceptions we have received. Can you help us determine why this psd is crashing the IIS process in Version 9?
|
|
|
|
Rank: Advanced Member
Groups: Guest
Joined: 7/28/2003(UTC) Posts: 1,660
Thanks: 5 times Was thanked: 76 time(s) in 74 post(s)
|
Quote:We are using the latest Version 9, before the new license changes. Right now we aren't in a place to upgrade to 10.0.27 because of license server exceptions we have received. Can you help us determine why this psd is crashing the IIS process in Version 9? I can reproduce the problem with the version 9.3.37, but it work perfectly with the version 10.0.27. So I guess we should focus on the fixing of license server exception. Which error do you experience? |
Best regards, Fedor Skvortsov
|
|
|
|
Rank: Advanced Member
Groups: Guest
Joined: 10/12/2015(UTC) Posts: 44
|
I get the following error when using the new (10.x) library: "The response from the license server is invalid." I'm guessing it's because the server I use it on (and my development/staging server) don't have internet access. Therefor it looks like I'm stuck with the old components, which I would have loved to know before purchasing a new maintenance agreement.
|
|
|
|
Rank: Advanced Member
Groups: Guest
Joined: 7/28/2003(UTC) Posts: 1,660
Thanks: 5 times Was thanked: 76 time(s) in 74 post(s)
|
Hi, Please activate the Server license in your Aurigma account: Graphics Mill (Standard + PSD, Server, version >=10.0) The Server license doesn't require internet connection to run. The Developer version you have (gm.std+psd.dev.max:X.maint:2019-XX-XX_QOojk...) doesn't allow to run the license on the server OS anyway. |
Best regards, Fedor Skvortsov
|
|
|
|
Rank: Advanced Member
Groups: Guest
Joined: 10/12/2015(UTC) Posts: 44
|
Are these licensing games the only course of action we have? Are the 9.x versions getting bug fixes, or are they being shelved?
|
|
|
|
Rank: Advanced Member
Groups: Guest
Joined: 7/28/2003(UTC) Posts: 1,660
Thanks: 5 times Was thanked: 76 time(s) in 74 post(s)
|
Originally Posted by: Nifty Are these licensing games the only course of action we have? Are the 9.x versions getting bug fixes, or are they being shelved? All customers with an active maintenance subscription who use the version 9 are eligible for free upgrade to Graphics Mill 10. The version 10 is just a bug fix for Graphics Mill 9. The last version is 100% compatible with the previous one and has entirely the same functionality. That's why I see no reason to have separate branches for the different major versions of the product. Edited by user Tuesday, November 20, 2018 8:45:19 PM(UTC)
| Reason: Not specified |
Best regards, Fedor Skvortsov
|
|
|
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.