AccessViolationException on CreateGdPictureImageFromFile
AccessViolationException on CreateGdPictureImageFromFile
I have a collection of tif scanned documents that have been converted to jpeg using GraphicsMagick. A small percentage of the jpeg images fail to load into GdPicture. An AccessViolationException is thrown when calling CreateGdPictureImageFromFile. The message given is:
System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
The really strange thing is that the same image that fails can usually be loaded successfully if it is loaded after another image that GdPicture likes. I've loaded the same jpeg into several other image viewers without any problems (MS Paint, Irfanview, Windows Photo Viewer).
I have tested this with the latest versions of GdPicture.NET V6 and V7. The same error is given when using the "Document Viewer With Thumbnails" sample C# code that is distributed with the library.
I've attached one of the bad images.
Any help would be greatly appreciated. Thanks.
System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
The really strange thing is that the same image that fails can usually be loaded successfully if it is loaded after another image that GdPicture likes. I've loaded the same jpeg into several other image viewers without any problems (MS Paint, Irfanview, Windows Photo Viewer).
I have tested this with the latest versions of GdPicture.NET V6 and V7. The same error is given when using the "Document Viewer With Thumbnails" sample C# code that is distributed with the library.
I've attached one of the bad images.
Any help would be greatly appreciated. Thanks.
Re: AccessViolationException on CreateGdPictureImageFromFile
Hi,
The problem have been reproduces. It should be solved within a couple of weeks.
kind regards,
Loïc
The problem have been reproduces. It should be solved within a couple of weeks.
kind regards,
Loïc
Re: AccessViolationException on CreateGdPictureImageFromFile
Loïc,
Could you give me an update on the status of this bug? Is there a bug tracker ticket that I should follow?
Also, will this fix be released in GdPicture.NET V6? That is the version that I have licensed.
Thanks,
Jeff
Could you give me an update on the status of this bug? Is there a bug tracker ticket that I should follow?
Also, will this fix be released in GdPicture.NET V6? That is the version that I have licensed.
Thanks,
Jeff
Re: AccessViolationException on CreateGdPictureImageFromFile
Hi Jeff,
We stopped to maintain V6 & V7.
The bug have been fixed in V8 only.
Kind regards,
Loïc
We stopped to maintain V6 & V7.
The bug have been fixed in V8 only.
Kind regards,
Loïc
Who is online
Users browsing this forum: No registered users and 2 guests