NetBSD-Java archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
openjdk-7 with NetBSD5
Hi,
I've just installed the new OpenJDK7 binaries from pkgsrc on my freshly
configured NetBSD5.0/i386 system, but I cannot get it to work.
Unfortunately there is no RPATH set in the Java libraries, so I
tried it with "export LD_LIBRARY_PATH=/usr/X11R7/lib". But then I
get a core dump with my small application:
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x08053b60, pid=3009, tid=3131047936
#
# JRE version: 7.0
# Java VM: OpenJDK Server VM (14.0-b10 mixed mode bsd-x86 )
# Problematic frame:
# C [java+0xbb60] inflate_fast+0x18
[...]
The stack frame from the crash log:
---8<---
Stack: [0xbaa02000,0xbac00000], sp=0xbabfdc1c, free space=2031k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C [java+0xbb60] inflate_fast+0x18
C [libz.so.1+0x5d9b] inflate+0x194f
C [libfreetype.so.6+0x35d46] FT_Stream_OpenLZW+0x5a2
C [libfreetype.so.6+0x35e99] FT_Stream_OpenLZW+0x6f5
C [libfreetype.so.6+0x4c579] FT_Stream_EnterFrame+0x5d
C [libfreetype.so.6+0x4d6cd] FT_Stream_ReadFields+0x95
C [libfreetype.so.6+0x33a96] ps_hints_apply+0x8e8e
C [libfreetype.so.6+0x34fa3] ps_hints_apply+0xa39b
C [libfreetype.so.6+0x4e7d4] FT_New_Size+0x214
C [libfreetype.so.6+0x500d1] FT_Open_Face+0xc5
C [libfreetype.so.6+0x50e4a] FT_New_Face+0x36
C [libfontconfig.so.1+0x1202a] FcFreeTypeQuery+0x46
C [libfontconfig.so.1+0x12667] FcFileIsDir+0xbf
C [libfontconfig.so.1+0x12a18] FcFileIsDir+0x470
C [libfontconfig.so.1+0x12a9c] FcDirCacheRead+0x20
C [libfontconfig.so.1+0x169cf] FcConfigGetConfigDirs+0x1bf
C [libfontconfig.so.1+0x16c0d] FcConfigBuildFonts+0x3d
C [libfontconfig.so.1+0xf098] FcInitLoadConfigAndFonts+0x20
C [libfontconfig.so.1+0xf169] FcInit+0x2d
C [libfontconfig.so.1+0x15f90] FcConfigGetCurrent+0x2c
C [libfontconfig.so.1+0x167e2] FcConfigGetCacheDirs+0x22
C [libmawt.so+0x22991] Java_sun_font_FontManager_getFontConfig+0x4b9
j
sun.font.FontManager.getFontConfig(Ljava/lang/String;Lsun/font/FontManager$FontConfigInfo;[Lsun/font/FontManager$FcCompFont;Z)V+0
j sun.font.FontManager.initFontConfigFonts(Z)V+165
j sun.font.FontManager.loadFontConfig()[Lsun/font/FontManager$FcCompFont;+1
j sun.font.FcFontConfiguration.init()Z+21
j sun.font.FcFontConfiguration.<init>(Lsun/java2d/SunGraphicsEnvironment;)V+16
j
sun.awt.X11GraphicsEnvironment.createFontConfiguration()Lsun/awt/FontConfiguration;+53
j sun.java2d.SunGraphicsEnvironment$2.run()Ljava/lang/Object;+496
v ~StubRoutines::call_stub
V [libjvm.so+0x38548c]
V [libjvm.so+0x5237d9]
V [libjvm.so+0x38441f]
V [libjvm.so+0x3ecd05]
C [libjava.so+0xb1cd]
Java_java_security_AccessController_doPrivileged__Ljava_security_PrivilegedAction_2+0x25
j
java.security.AccessController.doPrivileged(Ljava/security/PrivilegedAction;)Ljava/lang/Object;+0
j sun.java2d.SunGraphicsEnvironment.<init>()V+44
j sun.awt.X11GraphicsEnvironment.<init>()V+1
v ~StubRoutines::call_stub
V [libjvm.so+0x38548c]
V [libjvm.so+0x5237d9]
V [libjvm.so+0x38441f]
V [libjvm.so+0x581176]
V [libjvm.so+0x581a33]
V [libjvm.so+0x3ef581]
C [libjava.so+0x13689]
Java_sun_reflect_NativeConstructorAccessorImpl_newInstance0+0x21
j
sun.reflect.NativeConstructorAccessorImpl.newInstance0(Ljava/lang/reflect/Constructor;[Ljava/lang/Object;)Ljava/lang/Object;+0
j
sun.reflect.NativeConstructorAccessorImpl.newInstance([Ljava/lang/Object;)Ljava/lang/Object;+72
j
sun.reflect.DelegatingConstructorAccessorImpl.newInstance([Ljava/lang/Object;)Ljava/lang/Object;+5
j
java.lang.reflect.Constructor.newInstance([Ljava/lang/Object;)Ljava/lang/Object;+92
j java.lang.Class.newInstance0()Ljava/lang/Object;+118
j java.lang.Class.newInstance()Ljava/lang/Object;+15
j
java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment()Ljava/awt/GraphicsEnvironment;+27
j sun.awt.X11.XToolkit.<clinit>()V+107
v ~StubRoutines::call_stub
V [libjvm.so+0x38548c]
V [libjvm.so+0x5237d9]
V [libjvm.so+0x38441f]
V [libjvm.so+0x363e3e]
V [libjvm.so+0x364369]
V [libjvm.so+0x3dbf18]
V [libjvm.so+0x3dc5bf]
V [libjvm.so+0x3e13c5]
C [libjava.so+0xb812] Java_java_lang_Class_forName0+0xd6
j
java.lang.Class.forName0(Ljava/lang/String;ZLjava/lang/ClassLoader;)Ljava/lang/Class;+0
j java.lang.Class.forName(Ljava/lang/String;)Ljava/lang/Class;+5
j java.awt.Toolkit$2.run()Ljava/lang/Object;+13
v ~StubRoutines::call_stub
V [libjvm.so+0x38548c]
V [libjvm.so+0x5237d9]
V [libjvm.so+0x38441f]
V [libjvm.so+0x3ecd05]
C [libjava.so+0xb1cd]
Java_java_security_AccessController_doPrivileged__Ljava_security_PrivilegedAction_2+0x25
j
java.security.AccessController.doPrivileged(Ljava/security/PrivilegedAction;)Ljava/lang/Object;+0
j java.awt.Toolkit.getDefaultToolkit()Ljava/awt/Toolkit;+16
j javax.swing.UIManager.getSystemLookAndFeelClassName()Ljava/lang/String;+58
j JavaGraphicApp.main([Ljava/lang/String;)V+0
v ~StubRoutines::call_stub
V [libjvm.so+0x38548c]
V [libjvm.so+0x5237d9]
V [libjvm.so+0x38441f]
V [libjvm.so+0x38e1d5]
V [libjvm.so+0x3a6480]
C [java+0x3c83] JavaMain+0xa87
C [libpthread.so.0+0x99df] pthread_create+0x5bb
---8<---
Anything I can do about it?
I'm not a Java programmer, but I need it for an application.
--
Frank Wille
Home |
Main Index |
Thread Index |
Old Index