luckysingh89 / pdfviewer-win32

Automatically exported from code.google.com/p/pdfviewer-win32
0 stars 0 forks source link

Problems when getting bitmap of page #9

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
When i trying to get a bitmap of page  in some PDF files there is raising error 
"Error of reading/record of the protected memory". Even if you try to catch an 
exception that library is hang of and block the PDF file. The Method Dispose 
also not works. Probably it occurs that PDF contains CorelDraw's object.      

Unfortunately attach file i can't because its size is over then 10 MB. Thats 
why i upload PDF in file hosting. 
On that PDF file error rais on page 22.

http://narod.ru/disk/21766580000/DAK%2315_19.04.10.pdf.html

The reference will be active to 11.08.2010

Same error appear in all versions. 

Original issue reported on code.google.com by Chitae...@gmail.com on 11 Jun 2010 at 11:56

GoogleCodeExporter commented 9 years ago
I have this problem too. It is tough to debug because it happens randomly. Are 
there any workarounds or upcoming releases that will fix this problem? Thanks

Original comment by ross.peo...@gmail.com on 5 Aug 2010 at 11:47

GoogleCodeExporter commented 9 years ago
I will start working in the bugs, can you upload the file again? Thanks

Original comment by plazacom...@gmail.com on 23 Jan 2011 at 2:27

GoogleCodeExporter commented 9 years ago
Ok. He are this file: http://narod.yandex.ru/disk/4214597001/DAK_15_19.04.10.pdf
The reference will be active for 30 days

Original comment by Chitae...@gmail.com on 24 Jan 2011 at 7:31

GoogleCodeExporter commented 9 years ago
Thank you, I will to work on that.

Original comment by plazacom...@gmail.com on 1 Feb 2011 at 3:43

GoogleCodeExporter commented 9 years ago
It seems to me that this bug appear when on the computer doesn't exist some 
necessary fonts. 

Original comment by Chitae...@gmail.com on 1 Feb 2011 at 3:53

GoogleCodeExporter commented 9 years ago
I'm debugging the app, in the page 22 the exception ocurres when xpdf deletes a 
resource in SplashOutputDev.cc line 2702. I dont know why it happends, but if I 
replace the operator delete with "free" the exception does not throw. I think 
that it's because xpdf is creating a global shared object in another thread.

Original comment by plazacom...@gmail.com on 1 Feb 2011 at 5:05

GoogleCodeExporter commented 9 years ago
It´s seems like a bug with soft masks in xpdf. I will to investigate the 
problem. At the moment I have uploaded a temporally fix, but it's rendering 
only a part of the soft mask.

Original comment by plazacom...@gmail.com on 2 Feb 2011 at 8:37