Skip to content

adoptopenjdk/openjdk11:alpine-jre fontconfig Segfault #520

@mjp91

Description

@mjp91

Seems to have been introduced in a recent update to base Alpine image (3.13).

Are there any older tags available so we can revert back to 3.12 or do I need to build my own image?

FROM adoptopenjdk/openjdk11:alpine-jre

# omitted for brevity

RUN apk add --no-cache fontconfig ttf-dejavu

# omitted for brevity
 #
 # A fatal error has been detected by the Java Runtime Environment:
 #
 #  SIGSEGV (0xb) at pc=0x00007f44de379980, pid=1, tid=109
 #
 # JRE version: OpenJDK Runtime Environment AdoptOpenJDK (11.0.10+9) (build 11.0.10+9)
 # Java VM: OpenJDK 64-Bit Server VM AdoptOpenJDK (11.0.10+9, mixed mode, tiered, compressed oops, g1 gc, linux-amd64)
 # Problematic frame:
 # C  [libc.so.6+0x81980]  _IO_link_in+0x1f0
 #
 # Core dump will be written. Default location: Core dumps may be processed with "/usr/share/apport/apport %p %s %c %d %P %E" (or dumping to /application/core.1)
 #
 # If you would like to submit a bug report, please visit:
 #   https://github.com/AdoptOpenJDK/openjdk-support/issues
 # The crash happened outside the Java Virtual Machine in native code.
 # See problematic frame for where to report the bug.
 #

 ---------------  S U M M A R Y ------------

 Command Line: -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=*:8000 -javaagent:BOOT-INF/lib/aspectjweaver-1.9.6.jar -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/usr/p4/dumps org.           springframework.boot.loader.JarLauncher

 Host:
 [error occurred during error reporting (printing summary machine and OS info), id 0xb, SIGSEGV (0xb) at pc=0x00007f44de379980]

 Time: Fri Feb 26 13:14:05 2021 Europe elapsed time: 248.683114 seconds (0d 0h 4m 8s)

 ---------------  T H R E A D  ---------------

 Current thread (0x00007f44340de000):  JavaThread "workExecutor-1" [_thread_in_native, id=109, stack(0x00007f443cea8000,0x00007f443cfa9000)]

 Stack: [0x00007f443cea8000,0x00007f443cfa9000],  sp=0x00007f443cfa1ea0,  free space=999k
 Native frames: (J=compiled Java code, A=aot compiled Java code, j=interpreted, Vv=VM code, C=native code)
 C  [libc.so.6+0x81980]  _IO_link_in+0x1f0

 Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
 j  sun.font.FontConfigManager.getFontConfig(Ljava/lang/String;Lsun/font/FontConfigManager$FontConfigInfo;[Lsun/font/FontConfigManager$FcCompFont;Z)V+0 [email protected]
 j  sun.font.FontConfigManager.initFontConfigFonts(Z)V+178 [email protected]
 j  sun.font.FontConfigManager.loadFontConfig()[Lsun/font/FontConfigManager$FcCompFont;+2 [email protected]
 j  sun.font.FcFontConfiguration.init()Z+39 [email protected]
 j  sun.font.FcFontConfiguration.<init>(Lsun/font/SunFontManager;)V+16 [email protected]
 j  sun.awt.X11FontManager.createFontConfiguration()Lsun/awt/FontConfiguration;+40 [email protected]
 j  sun.font.SunFontManager$2.run()Ljava/lang/Object;+175 [email protected]
 v  ~StubRoutines::call_stub
 J 2146  java.security.AccessController.doPrivileged(Ljava/security/PrivilegedAction;)Ljava/lang/Object; [email protected] (0 bytes) @ 0x00007f44caee788f [0x00007f44caee7840+0x000000000000004f]
 j  sun.font.SunFontManager.<init>()V+223 [email protected]
 j  sun.awt.FcFontManager.<init>()V+1 [email protected]
 j  sun.awt.X11FontManager.<init>()V+1 [email protected]
v  ~StubRoutines::call_stub
 J 2770  jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Ljava/lang/reflect/Constructor;[Ljava/lang/Object;)Ljava/lang/Object; [email protected] (0 bytes) @ 0x00007f44caf552a3                   [0x00007f44caf55240+0x0000000000000063]
 J 23295 c2 jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance([Ljava/lang/Object;)Ljava/lang/Object; [email protected] (89 bytes) @ 0x00007f44cc06db84 [0x00007f44cc06db20+0x0000000000000064]
 J 14152 c2 java.lang.reflect.Constructor.newInstance([Ljava/lang/Object;)Ljava/lang/Object; [email protected] (76 bytes) @ 0x00007f44cb7df690 [0x00007f44cb7df560+0x0000000000000130]
 j  sun.font.FontManagerFactory$1.run()Ljava/lang/Object;+32 [email protected]
 v  ~StubRoutines::call_stub
 J 2146  java.security.AccessController.doPrivileged(Ljava/security/PrivilegedAction;)Ljava/lang/Object; [email protected] (0 bytes) @ 0x00007f44caee788f [0x00007f44caee7840+0x000000000000004f]
 j  sun.font.FontManagerFactory.getInstance()Lsun/font/FontManager;+17 [email protected]
 j  sun.java2d.SunGraphicsEnvironment.getFontManagerForSGE()Lsun/font/FontManagerForSGE;+0 [email protected]
 j  sun.java2d.SunGraphicsEnvironment.getAvailableFontFamilyNames(Ljava/util/Locale;)[Ljava/lang/String;+0 [email protected]
 j  sun.java2d.SunGraphicsEnvironment.getAvailableFontFamilyNames()[Ljava/lang/String;+4 [email protected]
 j  sun.java2d.HeadlessGraphicsEnvironment.getAvailableFontFamilyNames()[Ljava/lang/String;+4 [email protected]
 j  net.sf.jasperreports.engine.util.JRGraphEnvInitializer.initializeGraphEnv()V+22
 j  net.sf.jasperreports.engine.fill.BaseReportFiller.<init>(Lnet/sf/jasperreports/engine/JasperReportsContext;Lnet/sf/jasperreports/engine/fill/JasperReportSource;Lnet/sf/jasperreports/engine/fill/            FillerParent;)V+9
 j  net.sf.jasperreports.engine.fill.JRBaseFiller.<init>(Lnet/sf/jasperreports/engine/JasperReportsContext;Lnet/sf/jasperreports/engine/fill/JasperReportSource;Lnet/sf/jasperreports/engine/fill/                BandReportFillerParent;)V+4
 j  net.sf.jasperreports.engine.fill.JRVerticalFiller.<init>(Lnet/sf/jasperreports/engine/JasperReportsContext;Lnet/sf/jasperreports/engine/fill/JasperReportSource;Lnet/sf/jasperreports/engine/fill/            BandReportFillerParent;)V+4
 j  net.sf.jasperreports.engine.fill.JRFiller.createBandReportFiller(Lnet/sf/jasperreports/engine/JasperReportsContext;Lnet/sf/jasperreports/engine/fill/JasperReportSource;)Lnet/sf/jasperreports/engine/fill/   JRBaseFiller;+65
 j  net.sf.jasperreports.engine.fill.JRFiller.createReportFiller(Lnet/sf/jasperreports/engine/JasperReportsContext;Lnet/sf/jasperreports/engine/fill/JasperReportSource;)Lnet/sf/jasperreports/engine/fill/       ReportFiller;+58
 j  net.sf.jasperreports.engine.fill.JRFiller.fill(Lnet/sf/jasperreports/engine/JasperReportsContext;Lnet/sf/jasperreports/engine/fill/JasperReportSource;Ljava/util/Map;Lnet/sf/jasperreports/engine/            JRDataSource;)Lnet/sf/jasperreports/engine/JasperPrint;+2
 j  net.sf.jasperreports.engine.fill.JRFiller.fill(Lnet/sf/jasperreports/engine/JasperReportsContext;Lnet/sf/jasperreports/engine/JasperReport;Ljava/util/Map;Lnet/sf/jasperreports/engine/JRDataSource;)Lnet/sf/ jasperreports/engine/JasperPrint;+7
 j  net.sf.jasperreports.engine.JasperFillManager.fill(Lnet/sf/jasperreports/engine/JasperReport;Ljava/util/Map;Lnet/sf/jasperreports/engine/JRDataSource;)Lnet/sf/jasperreports/engine/JasperPrint;+7
 j  net.sf.jasperreports.engine.JasperFillManager.fillReport(Lnet/sf/jasperreports/engine/JasperReport;Ljava/util/Map;Lnet/sf/jasperreports/engine/JRDataSource;)Lnet/sf/jasperreports/engine/JasperPrint;+6

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions