AccessViolationException on CreateGdPictureImageFromFile

General discussions about GdPicture.NET.
Post Reply
jeffjaco
Posts: 2
Joined: Mon Jun 13, 2011 5:52 pm

AccessViolationException on CreateGdPictureImageFromFile

Post by jeffjaco » Tue Jun 14, 2011 12:05 am

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.
Attachments
0001-01.jpg

User avatar
Loïc
Site Admin
Posts: 5881
Joined: Tue Oct 17, 2006 10:48 pm
Location: France
Contact:

Re: AccessViolationException on CreateGdPictureImageFromFile

Post by Loïc » Tue Jun 14, 2011 11:49 am

Hi,

The problem have been reproduces. It should be solved within a couple of weeks.

kind regards,

Loïc

jeffjaco
Posts: 2
Joined: Mon Jun 13, 2011 5:52 pm

Re: AccessViolationException on CreateGdPictureImageFromFile

Post by jeffjaco » Wed Jun 29, 2011 7:25 pm

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

User avatar
Loïc
Site Admin
Posts: 5881
Joined: Tue Oct 17, 2006 10:48 pm
Location: France
Contact:

Re: AccessViolationException on CreateGdPictureImageFromFile

Post by Loïc » Fri Jul 01, 2011 12:35 pm

Hi Jeff,

We stopped to maintain V6 & V7.

The bug have been fixed in V8 only.

Kind regards,

Loïc

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests