Hi Florian, maybe you want to add to/follow https://issues.apache.org/jira/browse/PDFBOX-1336
BR Maruan Sahyoun Am 15.05.2013 um 10:08 schrieb Florian Over <[email protected]>: > Hi Maruan, > PDFBox 1.8.1. > > no sample file. But i try to find a sample and the used fonts. > I updated the JDK to 1.7.21 yesterday and will check if this happens again. > > I opened a bug ticket in Oracle JDK. > > Best regards > Florian Over > > > 2013/5/14 Maruan Sahyoun <[email protected]> > >> Hi, >> >> which version of PDFBox are you using? Would you have a sample file and >> the fonts being used? >> >> BR >> Maruan Sahyoun >> >> Am 14.05.2013 um 11:11 schrieb Florian Over <[email protected]>: >> >>> Howdy Fellas, >>> despite the well-known sigsegv with >>> Compute_cmapClass_GlyphIndex+0x1 >>> >>> we also get crashes on this: >>> sun.font.T2KFontScaler.initNativeScaler(Lsun/font/Font2D;IIZI[I)J+0 >>> >>> I did not see this in the bug tracker, so i want to know if it would be >> of >>> any value if i enter >>> a bug in Jira? >>> >>> Best regards Florian >>> >>> # >>> # A fatal error has been detected by the Java Runtime Environment: >>> # >>> # SIGSEGV (0xb) at pc=0x00007f8a29798814, pid=14490, tid=140231375607552 >>> # >>> # JRE version: 7.0_15-b03 >>> # Java VM: Java HotSpot(TM) 64-Bit Server VM (23.7-b01 mixed mode >>> linux-amd64 compressed oops) >>> # Problematic frame: >>> # C [libt2k.so+0x25814] tsi_NewT1Class+0xd74 >>> # >>> # Failed to write core dump. Core dumps have been disabled. To enable >> core >>> dumping, try "ulimit -c unlimited" before starting Java again >>> # >>> # If you would like to submit a bug report, please visit: >>> # http://bugreport.sun.com/bugreport/crash.jsp >>> # The crash happened outside the Java Virtual Machine in native code. >>> # See problematic frame for where to report the bug. >>> # >>> >>> >>> Stack: [0x00007f8a29445000,0x00007f8a29546000], sp=0x00007f8a29543720, >>> free space=1017k >>> Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native >>> code) >>> C [libt2k.so+0x25814] tsi_NewT1Class+0xd74 >>> C [libt2k.so+0x31f92] New_sfntClassLogical+0xc62 >>> C [libt2k.so+0x55081] >> Java_sun_font_T2KFontScaler_initNativeScaler+0x271 >>> j sun.font.T2KFontScaler.initNativeScaler(Lsun/font/Font2D;IIZI[I)J+0 >>> j sun.font.T2KFontScaler.<init>(Lsun/font/Font2D;IZI)V+51 >>> j >>> >> sun.reflect.GeneratedConstructorAccessor51.newInstance([Ljava/lang/Object;)Ljava/lang/Object;+223 >>> >>> Java frames: (J=compiled Java code, j=interpreted, Vv=VM code) >>> j sun.font.T2KFontScaler.initNativeScaler(Lsun/font/Font2D;IIZI[I)J+0 >>> j sun.font.T2KFontScaler.<init>(Lsun/font/Font2D;IZI)V+51 >>> j >>> >> sun.reflect.GeneratedConstructorAccessor51.newInstance([Ljava/lang/Object;)Ljava/lang/Object;+223 >>> J >>> >> java.lang.reflect.Constructor.newInstance([Ljava/lang/Object;)Ljava/lang/Object; >>> j >>> >> sun.font.FontScaler.getScaler(Lsun/font/Font2D;IZI)Lsun/font/FontScaler;+39 >>> J sun.font.Type1Font.getMapper()Lsun/font/CharToGlyphMapper; >>> J >>> >> sun.font.StandardGlyphVector.<init>(Ljava/awt/Font;Ljava/lang/String;Ljava/awt/font/FontRenderContext;)V >>> J >>> >> org.apache.pdfbox.pdmodel.font.PDSimpleFont.drawString(Ljava/lang/String;[ILjava/awt/Graphics;FLjava/awt/geom/AffineTransform;FF)V >>> J >>> >> org.apache.pdfbox.pdfviewer.PageDrawer.processTextPosition(Lorg/apache/pdfbox/util/TextPosition;)V >>> J org.apache.pdfbox.util.PDFStreamEngine.processEncodedText([B)V >>> J >>> >> org.apache.pdfbox.util.operator.ShowTextGlyph.process(Lorg/apache/pdfbox/util/PDFOperator;Ljava/util/List;)V >>> J >>> >> org.apache.pdfbox.util.PDFStreamEngine.processSubStream(Lorg/apache/pdfbox/cos/COSStream;)V >>> j >>> >> org.apache.pdfbox.util.PDFStreamEngine.processSubStream(Lorg/apache/pdfbox/pdmodel/PDPage;Lorg/apache/pdfbox/pdmodel/PDResources;Lorg/apache/pdfbox/cos/COSStream;)V+20 >>> j >>> >> org.apache.pdfbox.util.PDFStreamEngine.processStream(Lorg/apache/pdfbox/pdmodel/PDPage;Lorg/apache/pdfbox/pdmodel/PDResources;Lorg/apache/pdfbox/cos/COSStream;)V+43 >>> j >>> >> org.apache.pdfbox.pdfviewer.PageDrawer.drawPage(Ljava/awt/Graphics;Lorg/apache/pdfbox/pdmodel/PDPage;Ljava/awt/Dimension;)V+80 >>> j >>> >> org.apache.pdfbox.pdmodel.PDPage.convertToImage(II)Ljava/awt/image/BufferedImage;+310 >>> j >>> >> org.apache.pdfbox.util.PDFImageWriter.writeImage(Lorg/apache/pdfbox/pdmodel/PDDocument;Ljava/lang/String;Ljava/lang/String;IILjava/lang/String;II)Z+57 >>> j >>> >> org.apache.pdfbox.util.PDFImageWriter.writeImage(Lorg/apache/pdfbox/pdmodel/PDDocument;Ljava/lang/String;Ljava/lang/String;IILjava/lang/String;)Z+31 >> >>
