You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Abhishek Sisodia (JIRA)" <ji...@apache.org> on 2010/10/11 11:03:32 UTC
[jira] Created: (PDFBOX-859) PDF to Image (JPEG) conversion:
colormodel log info and JVM crash for large PDFs
PDF to Image (JPEG) conversion: colormodel log info and JVM crash for large PDFs
--------------------------------------------------------------------------------
Key: PDFBOX-859
URL: https://issues.apache.org/jira/browse/PDFBOX-859
Project: PDFBox
Issue Type: Bug
Components: PDModel, Writing
Affects Versions: 1.2.1
Environment: OS: Windows Vista Build 6000
CPU:total 2 family 6, cmov, cx8, fxsr, mmx, sse, sse2
Memory: 4k page, physical 2097151k(1623432k free), swap 4194303k(3038876k free)
vm_info: Java HotSpot(TM) Client VM (1.6.0_01-b06) for windows-x86, built on Mar 14 2007 00:24:02 by "java_re" with unknown MS VC++:1310
Reporter: Abhishek Sisodia
Priority: Critical
I am trying to convert pages in a PDF to JPEG images. For smaller files program runs well but in few cases it give following log info:
org.apache.pdfbox.pdmodel.graphics.xobject.PDPixelMap getRGBImage
INFO: ColorModel: ColorModel: #pixelBits = 24 numComponents = 3 color space = java.awt.color.ICC_ColorSpace@107ebe1 transparency = 1 has alpha = false isAlphaPre = false
for larger PDFs JVM crashes with the log mentioned above being displayed repeatedly.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (PDFBOX-859) PDF to Image (JPEG) conversion:
colormodel log info and JVM crash for large PDFs
Posted by "Abhishek Sisodia (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/PDFBOX-859?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12919786#action_12919786 ]
Abhishek Sisodia commented on PDFBOX-859:
-----------------------------------------
I am encountering the same problem even after a JVM update ( vm_info: Java HotSpot(TM) Client VM (17.0-b17) for windows-x86 JRE (1.6.0_21-b07), built on Jul 17 2010 01:10:15 by "java_re" with MS VC++ 7.1 (VS2003) ),
VM gets crashed when "secretlifewebdesigner.pdf" is passed as argument.
> PDF to Image (JPEG) conversion: colormodel log info and JVM crash for large PDFs
> --------------------------------------------------------------------------------
>
> Key: PDFBOX-859
> URL: https://issues.apache.org/jira/browse/PDFBOX-859
> Project: PDFBox
> Issue Type: Bug
> Components: PDModel, Writing
> Affects Versions: 1.2.1
> Environment: OS: Windows Vista Build 6000
> CPU:total 2 family 6, cmov, cx8, fxsr, mmx, sse, sse2
> Memory: 4k page, physical 2097151k(1623432k free), swap 4194303k(3038876k free)
> vm_info: Java HotSpot(TM) Client VM (1.6.0_01-b06) for windows-x86, built on Mar 14 2007 00:24:02 by "java_re" with unknown MS VC++:1310
> Reporter: Abhishek Sisodia
> Priority: Critical
> Attachments: cloud.pdf, pdf2jpeg.java, secretlifewebdesigner.pdf
>
> Original Estimate: 24h
> Remaining Estimate: 24h
>
> I am trying to convert pages in a PDF to JPEG images. For smaller files program runs well but in few cases it give following log info:
> org.apache.pdfbox.pdmodel.graphics.xobject.PDPixelMap getRGBImage
> INFO: ColorModel: ColorModel: #pixelBits = 24 numComponents = 3 color space = java.awt.color.ICC_ColorSpace@107ebe1 transparency = 1 has alpha = false isAlphaPre = false
> for larger PDFs JVM crashes with the log mentioned above being displayed repeatedly.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (PDFBOX-859) PDF to Image (JPEG) conversion:
colormodel log info and JVM crash for large PDFs
Posted by "Abhishek Sisodia (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/PDFBOX-859?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Abhishek Sisodia resolved PDFBOX-859.
-------------------------------------
Resolution: Fixed
> PDF to Image (JPEG) conversion: colormodel log info and JVM crash for large PDFs
> --------------------------------------------------------------------------------
>
> Key: PDFBOX-859
> URL: https://issues.apache.org/jira/browse/PDFBOX-859
> Project: PDFBox
> Issue Type: Bug
> Components: PDModel, Writing
> Affects Versions: 1.2.1
> Environment: OS: Windows Vista Build 6000
> CPU:total 2 family 6, cmov, cx8, fxsr, mmx, sse, sse2
> Memory: 4k page, physical 2097151k(1623432k free), swap 4194303k(3038876k free)
> vm_info: Java HotSpot(TM) Client VM (1.6.0_01-b06) for windows-x86, built on Mar 14 2007 00:24:02 by "java_re" with unknown MS VC++:1310
> Reporter: Abhishek Sisodia
> Priority: Critical
> Attachments: cloud.pdf, output_log.txt, pdf2jpeg.java, secretlifewebdesigner.pdf
>
> Original Estimate: 24h
> Remaining Estimate: 24h
>
> I am trying to convert pages in a PDF to JPEG images. For smaller files program runs well but in few cases it give following log info:
> org.apache.pdfbox.pdmodel.graphics.xobject.PDPixelMap getRGBImage
> INFO: ColorModel: ColorModel: #pixelBits = 24 numComponents = 3 color space = java.awt.color.ICC_ColorSpace@107ebe1 transparency = 1 has alpha = false isAlphaPre = false
> for larger PDFs JVM crashes with the log mentioned above being displayed repeatedly.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (PDFBOX-859) PDF to Image (JPEG) conversion:
colormodel log info and JVM crash for large PDFs
Posted by "Abhishek Sisodia (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/PDFBOX-859?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12921630#action_12921630 ]
Abhishek Sisodia commented on PDFBOX-859:
-----------------------------------------
This issue has been resolved. JVM is not crashing anymore after implementing the fix given in PDFBOX-780 . Thanks for suggestions.
> PDF to Image (JPEG) conversion: colormodel log info and JVM crash for large PDFs
> --------------------------------------------------------------------------------
>
> Key: PDFBOX-859
> URL: https://issues.apache.org/jira/browse/PDFBOX-859
> Project: PDFBox
> Issue Type: Bug
> Components: PDModel, Writing
> Affects Versions: 1.2.1
> Environment: OS: Windows Vista Build 6000
> CPU:total 2 family 6, cmov, cx8, fxsr, mmx, sse, sse2
> Memory: 4k page, physical 2097151k(1623432k free), swap 4194303k(3038876k free)
> vm_info: Java HotSpot(TM) Client VM (1.6.0_01-b06) for windows-x86, built on Mar 14 2007 00:24:02 by "java_re" with unknown MS VC++:1310
> Reporter: Abhishek Sisodia
> Priority: Critical
> Attachments: cloud.pdf, output_log.txt, pdf2jpeg.java, secretlifewebdesigner.pdf
>
> Original Estimate: 24h
> Remaining Estimate: 24h
>
> I am trying to convert pages in a PDF to JPEG images. For smaller files program runs well but in few cases it give following log info:
> org.apache.pdfbox.pdmodel.graphics.xobject.PDPixelMap getRGBImage
> INFO: ColorModel: ColorModel: #pixelBits = 24 numComponents = 3 color space = java.awt.color.ICC_ColorSpace@107ebe1 transparency = 1 has alpha = false isAlphaPre = false
> for larger PDFs JVM crashes with the log mentioned above being displayed repeatedly.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (PDFBOX-859) PDF to Image (JPEG) conversion:
colormodel log info and JVM crash for large PDFs
Posted by "Andreas Lehmkühler (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/PDFBOX-859?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12919797#action_12919797 ]
Andreas Lehmkühler commented on PDFBOX-859:
-------------------------------------------
I had a quick look at your code. Remove the PDFParser stuff. The only thing which is needed to load a pdf is PDDocument.load(pdfFile).
But I guess this will not solve your problem. Please post the stacktrace, so that one can see where exactly the error occurs.
> PDF to Image (JPEG) conversion: colormodel log info and JVM crash for large PDFs
> --------------------------------------------------------------------------------
>
> Key: PDFBOX-859
> URL: https://issues.apache.org/jira/browse/PDFBOX-859
> Project: PDFBox
> Issue Type: Bug
> Components: PDModel, Writing
> Affects Versions: 1.2.1
> Environment: OS: Windows Vista Build 6000
> CPU:total 2 family 6, cmov, cx8, fxsr, mmx, sse, sse2
> Memory: 4k page, physical 2097151k(1623432k free), swap 4194303k(3038876k free)
> vm_info: Java HotSpot(TM) Client VM (1.6.0_01-b06) for windows-x86, built on Mar 14 2007 00:24:02 by "java_re" with unknown MS VC++:1310
> Reporter: Abhishek Sisodia
> Priority: Critical
> Attachments: cloud.pdf, pdf2jpeg.java, secretlifewebdesigner.pdf
>
> Original Estimate: 24h
> Remaining Estimate: 24h
>
> I am trying to convert pages in a PDF to JPEG images. For smaller files program runs well but in few cases it give following log info:
> org.apache.pdfbox.pdmodel.graphics.xobject.PDPixelMap getRGBImage
> INFO: ColorModel: ColorModel: #pixelBits = 24 numComponents = 3 color space = java.awt.color.ICC_ColorSpace@107ebe1 transparency = 1 has alpha = false isAlphaPre = false
> for larger PDFs JVM crashes with the log mentioned above being displayed repeatedly.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (PDFBOX-859) PDF to Image (JPEG) conversion:
colormodel log info and JVM crash for large PDFs
Posted by "Abhishek Sisodia (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/PDFBOX-859?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Abhishek Sisodia updated PDFBOX-859:
------------------------------------
Attachment: secretlifewebdesigner.pdf
cloud.pdf
pdf2jpeg.java
For first PDF log info is displayed twice. For the second PDF JVM crashes after creating 7 JPGs.
> PDF to Image (JPEG) conversion: colormodel log info and JVM crash for large PDFs
> --------------------------------------------------------------------------------
>
> Key: PDFBOX-859
> URL: https://issues.apache.org/jira/browse/PDFBOX-859
> Project: PDFBox
> Issue Type: Bug
> Components: PDModel, Writing
> Affects Versions: 1.2.1
> Environment: OS: Windows Vista Build 6000
> CPU:total 2 family 6, cmov, cx8, fxsr, mmx, sse, sse2
> Memory: 4k page, physical 2097151k(1623432k free), swap 4194303k(3038876k free)
> vm_info: Java HotSpot(TM) Client VM (1.6.0_01-b06) for windows-x86, built on Mar 14 2007 00:24:02 by "java_re" with unknown MS VC++:1310
> Reporter: Abhishek Sisodia
> Priority: Critical
> Attachments: cloud.pdf, pdf2jpeg.java, secretlifewebdesigner.pdf
>
> Original Estimate: 24h
> Remaining Estimate: 24h
>
> I am trying to convert pages in a PDF to JPEG images. For smaller files program runs well but in few cases it give following log info:
> org.apache.pdfbox.pdmodel.graphics.xobject.PDPixelMap getRGBImage
> INFO: ColorModel: ColorModel: #pixelBits = 24 numComponents = 3 color space = java.awt.color.ICC_ColorSpace@107ebe1 transparency = 1 has alpha = false isAlphaPre = false
> for larger PDFs JVM crashes with the log mentioned above being displayed repeatedly.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (PDFBOX-859) PDF to Image (JPEG) conversion:
colormodel log info and JVM crash for large PDFs
Posted by "Andreas Lehmkühler (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/PDFBOX-859?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12919768#action_12919768 ]
Andreas Lehmkühler commented on PDFBOX-859:
-------------------------------------------
Please update your JDK to a more recent version if possible.
> PDF to Image (JPEG) conversion: colormodel log info and JVM crash for large PDFs
> --------------------------------------------------------------------------------
>
> Key: PDFBOX-859
> URL: https://issues.apache.org/jira/browse/PDFBOX-859
> Project: PDFBox
> Issue Type: Bug
> Components: PDModel, Writing
> Affects Versions: 1.2.1
> Environment: OS: Windows Vista Build 6000
> CPU:total 2 family 6, cmov, cx8, fxsr, mmx, sse, sse2
> Memory: 4k page, physical 2097151k(1623432k free), swap 4194303k(3038876k free)
> vm_info: Java HotSpot(TM) Client VM (1.6.0_01-b06) for windows-x86, built on Mar 14 2007 00:24:02 by "java_re" with unknown MS VC++:1310
> Reporter: Abhishek Sisodia
> Priority: Critical
> Attachments: cloud.pdf, pdf2jpeg.java, secretlifewebdesigner.pdf
>
> Original Estimate: 24h
> Remaining Estimate: 24h
>
> I am trying to convert pages in a PDF to JPEG images. For smaller files program runs well but in few cases it give following log info:
> org.apache.pdfbox.pdmodel.graphics.xobject.PDPixelMap getRGBImage
> INFO: ColorModel: ColorModel: #pixelBits = 24 numComponents = 3 color space = java.awt.color.ICC_ColorSpace@107ebe1 transparency = 1 has alpha = false isAlphaPre = false
> for larger PDFs JVM crashes with the log mentioned above being displayed repeatedly.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.