[ https://issues.apache.org/jira/browse/PDFBOX-1336?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13719689#comment-13719689 ]
Shalom Ben-Zvi commented on PDFBOX-1336: ---------------------------------------- I got passed this error by upgrading to 1.8.2. i had it happening consistently with a certain document. but now I'm getting this error on another document and the jvm dies : java: ../../../src/share/native/sun/font/t2k/t1.c:1936: DecryptData: Assertion `byteCount == 0' failed. I could not find any clue to this error in google. it happens with that code: List<PDPage> pages = pdDocument.getDocumentCatalog().getAllPages(); for(PDPage page: pages){ BufferedImage image = page.convertToImage(BufferedImage.TYPE_INT_RGB, 112); } it is sometimes preceded with messages like this: 2013-07-25 18:19:15,264 | 061eacb4-9980-4309-960f-3412825eb02e | INFO | wecaCjpegAsyncExecutor-5 | PDType1Font | Can't read the embedded type1 font EJRZTM+CMBX12 2013-07-25 18:19:15,267 | 061eacb4-9980-4309-960f-3412825eb02e | INFO | wecaCjpegAsyncExecutor-5 | PDType1Font | Can't find the specified font EJRZTM+CMBX12 2013-07-25 18:19:15,268 | 061eacb4-9980-4309-960f-3412825eb02e | INFO | wecaCjpegAsyncExecutor-5 | PDType1Font | Using font SansSerif.plain instead 2013-07-25 18:19:15,279 | 061eacb4-9980-4309-960f-3412825eb02e | INFO | wecaCjpegAsyncExecutor-4 | PDType1Font | Can't read the embedded type1 font EJRZTM+CMBX12 2013-07-25 18:19:15,290 | 061eacb4-9980-4309-960f-3412825eb02e | INFO | wecaCjpegAsyncExecutor-4 | PDType1Font | Can't find the specified font EJRZTM+CMBX12 2013-07-25 18:19:15,296 | 061eacb4-9980-4309-960f-3412825eb02e | INFO | wecaCjpegAsyncExecutor-4 | PDType1Font | Using font SansSerif.plain instead > JVM Crashes on Linux OS + Sun JVM + PDFBox > ------------------------------------------ > > Key: PDFBOX-1336 > URL: https://issues.apache.org/jira/browse/PDFBOX-1336 > Project: PDFBox > Issue Type: Bug > Affects Versions: 1.7.0 > Environment: CentOS 5.6 > Sun JVM Java version: 6 update 31 > Tomcat 7.0.26 > Reporter: Ann Addicks > Priority: Critical > Attachments: CrashTest.java, hs_err_pid16603.log, > pdfcrowd_1334685364.pdf > > > A fatal error has been detected by the Java Runtime Environment: > # > # SIGSEGV (0xb) at pc=0x796af64d, pid=16603, tid=2021653392 > # > # JRE version: 6.0_31-b04 > # Java VM: Java HotSpot(TM) Server VM (20.6-b01 mixed mode linux-x86 ) > # Problematic frame: > # C [libfontmanager.so+0x1e64d] imaginary long double+0x7d > # > # If you would like to submit a bug report, please visit: > # http://java.sun.com/webapps/bugreport/crash.jsp > # The crash happened outside the Java Virtual Machine in native code. > # See problematic frame for where to report the bug. > I can provide the full error, please let me know. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira