我们将itext 7.0.5用于一个编辑pdf。当我们尝试保存pdf时,JVM崩溃了。这是一个已知的问题?问题更加频繁,我不会说这是一致的,但是不一致的情况更加频繁。下面是崩溃报告。
或@Bruno Lowagie提到,这可能是硬件问题吗?任何快速帮助表示赞赏...
Stack: [0x00007f89d4dd1000,0x00007f89d4ed2000], sp=0x00007f89d4ecd768, free space=1009k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C [libc.so.6+0x159990] __memmove_ssse3_back+0x50
J 4377 sun.misc.Unsafe.copyMemory(Ljava/lang/Object;JLjava/lang/Object;JJ)V (0 bytes) @ 0x00007f89f5e87761 [0x00007f89f5e87680+0xe1]
J 18168 C1 java.nio.Bits.copyToArray(JLjava/lang/Object;JJJ)V (68 bytes) @ 0x00007f89f810ff6c [0x00007f89f810fec0+0xac]
J 22335 C1 java.nio.DirectByteBuffer.get([BII)Ljava/nio/ByteBuffer; (126 bytes) @ 0x00007f89f8c6b7f4 [0x00007f89f8c6b460+0x394]
j com.itextpdf.io.source.ByteBufferRandomAccessSource.get(J[BII)I+66
j com.itextpdf.io.source.MappedChannelRandomAccessSource.get(J[BII)I+27
j com.itextpdf.io.source.FileChannelRandomAccessSource.get(J[BII)I+10
J 20012 C2 com.itextpdf.io.source.RandomAccessFileOrArray.read()I (42 bytes) @ 0x00007f89f5b213fc [0x00007f89f5b21300+0xfc]
J 19982 C1 com.itextpdf.io.source.PdfTokenizer.read()I (8 bytes) @ 0x00007f89f77d30c4 [0x00007f89f77d3040+0x84]
j com.itextpdf.io.source.PdfTokenizer.readString(I)Ljava/lang/String;+16
j com.itextpdf.io.source.PdfTokenizer.getStartxref()J+46
j com.itextpdf.kernel.pdf.PdfReader.readXref()V+8
j com.itextpdf.kernel.pdf.PdfReader.readPdf()V+32
j com.itextpdf.kernel.pdf.PdfDocument.open(Lcom/itextpdf/kernel/pdf/PdfVersion;)V+30
j com.itextpdf.kernel.pdf.PdfDocument.<init>(Lcom/itextpdf/kernel/pdf/PdfReader;Lcom/itextpdf/kernel/pdf/PdfWriter;Lcom/itextpdf/kernel/pdf/StampingProperties;)V+287
j com.itextpdf.kernel.pdf.PdfDocument.<init>(Lcom/itextpdf/kernel/pdf/PdfReader;Lcom/itextpdf/kernel/pdf/PdfWriter;)V+10