Starting redhat-idm-console segfault's in frame "# C [libfontconfig.so.1+0xaaa1] FcConfigUptoDate+0x191"
Issue
-
We try to start redhat-idm-console in MobaXterm (X) session on our Linux server. But we get the below output
$ redhat-idm-console Exception in thread "main" java.lang.NullPointerException at sun.font.FontManager.getDefaultPlatformFont(FontManager.java:3409) at sun.java2d.SunGraphicsEnvironment$2.run(SunGraphicsEnvironment.java:263) at java.security.AccessController.doPrivileged(Native Method) at sun.java2d.SunGraphicsEnvironment.<init>(SunGraphicsEnvironment.java:164) at sun.awt.X11GraphicsEnvironment.<init>(X11GraphicsEnvironment.java:254) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:534) at java.lang.Class.newInstance(Class.java:379) at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:82) at java.awt.Window.init(Window.java:495) at java.awt.Window.<init>(Window.java:548) at java.awt.Frame.<init>(Frame.java:419) at java.awt.Frame.<init>(Frame.java:384) at javax.swing.JFrame.<init>(JFrame.java:174) at com.netscape.management.client.console.Console.<init>(Unknown Source) at com.netscape.management.client.console.Console.main(Unknown Source) -
After this output we try solve the problem to install package yum install liberation-sans-fonts
$ redhat-idm-console # # A fatal error has been detected by the Java Runtime Environment: # # SIGSEGV (0xb) at pc=0x00007f5f8879caa1, pid=25920, tid=140048814528256 # # JRE version: 6.0_39-b39 # Java VM: OpenJDK 64-Bit Server VM (23.25-b01 mixed mode linux-amd64 compressed oops) # Derivative: IcedTea6 1.13.11 # Distribution: Red Hat Enterprise Linux Server release 6.8 (Santiago), package rhel-1.13.11.1.el6_8-x86_64 # Problematic frame: # C [libfontconfig.so.1+0xaaa1] FcConfigUptoDate+0x191 # # Core dump written. Default location: /home/user/core or core.25920 (max size 500000 kB). To ensure a full core dump, try "ulimit -c unlimited" before starting Java again # # An error report file with more information is saved as: # /home/user/hs_err_pid25920.log # # If you would like to submit a bug report, please include # instructions how to reproduce the bug and visit: # http://icedtea.classpath.org/bugzilla # The crash happened outside the Java Virtual Machine in native code. # See problematic frame for where to report the bug. # Aborted (core dumped)
Environment
- Red Hat Directory Server (RHDS) 9
- redhat-idm-console
- java-1.6.0-openjdk-1.6.0.39-1.13.11.1.el6_8.x86_64
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
