Print Page | Close Window

GetPageText: System.AccessViolationException

Printed From: Debenu Quick PDF Library - PDF SDK Community Forum
Category: For Users of the Library
Forum Name: I need help - I can help
Forum Description: Problems and solutions while programming with the Debenu Quick PDF Library and Debenu PDF Viewer SDK
URL: http://www.quickpdf.org/forum/forum_posts.asp?TID=2404
Printed Date: 29 Apr 25 at 10:28AM
Software Version: Web Wiz Forums 11.01 - http://www.webwizforums.com


Topic: GetPageText: System.AccessViolationException
Posted By: bart_bender
Subject: GetPageText: System.AccessViolationException
Date Posted: 13 Sep 12 at 9:11AM
Hello,
I'm trying to extract the text from a pdf document.

If i invoke the GetPageText method with the ExtractOptions param with 0 value, the method runs correctly, but if i put the 7 value to the param,  the application throw an exception.

System.AccessViolationException: Attempted to read or write protected memory. This often indicates that other memory is corrupt.
in QuickPDFDLL0816.DLL.DelegateWII.Invoke(Int32 P1, Int32 P2)


How can i to upload the test file for review?

Thanks in advance.
Best regards



Replies:
Posted By: Wheeley
Date Posted: 13 Sep 12 at 7:53PM
You need to create a support ticket on the official support type here:

http://www.debenu.com/support/contact/

After you get the ticket number in an e-mail then you can go back and add the file to the ticket.

Wheeley


Posted By: AndrewC
Date Posted: 14 Sep 12 at 5:01AM
Wheeley is correct.  The only way to fix access violations is to create a support ticket and send us the problem file along with a quick description of the problem and a small section of code if relevant.

This type of problem can only be debugged properly with full source code.  Hopefully we can find the problem and add the fix to the next release of QPL.

Andrew.


Posted By: bart_bender
Date Posted: 18 Sep 12 at 9:09AM
Thanks for your help,
I've create the case 14465 https://quickpdf.fogbugz.com/default.asp?14465_r0c2do6s3fjto5he




Posted By: AndrewC
Date Posted: 19 Sep 12 at 10:51AM
bart_bender,

I have found the reason behind the Access Violation and I have added a fix to the latest code base which is QPL 9.11.  

Also, it looks like your fogbugz case has been assigned to the Benubird support queue which I don't have access to but I will get it transferred to the appropriate Quick PDF Library queue.

Andrew.



Posted By: bart_bender
Date Posted: 25 Sep 12 at 1:34PM
I've tested the fix with the 9.11 version and it runs correctly.

Thanks AndrewC



Print Page | Close Window

Forum Software by Web Wiz Forums® version 11.01 - http://www.webwizforums.com
Copyright ©2001-2014 Web Wiz Ltd. - http://www.webwiz.co.uk