Frequent SIGBUS/SIGSEGV in jniIdSupport::to_method_oop of client 5u22 on Solaris 10 after a few seconds (143, 186,..), when Java_sun_font_FontManager_getFont2D calls jni_CallObjectMethod
There are two applications (fm_alv, fm_asm) with similar crashes
From customer, hs_err_pid11944.log
...
# SIGBUS (0xa) at pc=0xfecf8110, pid=11944, tid=19
...
Stack: [0xeb400000,0xeb480000), sp=0xeb47d298, free space=500k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V [libjvm.so+0xf8110]
C [libfontmanager.so+0x439c4] Java_sun_font_FontManager_getFont2D+0x44
J sun.font.FontManager.getFont2D(Ljava/awt/Font;)Lsun/font/Font2D;
J sun.java2d.SunGraphics2D.checkFontInfo(Lsun/java2d/loops/FontInfo;Ljava/awt/Font;)Lsun/java2d/loops/FontInfo;
J sun.java2d.pipe.GlyphListPipe.drawString(Lsun/java2d/SunGraphics2D;Ljava/lang/String;DD)V
From customer a core
From local server hs_err_pid6132.log
...
# SIGSEGV (0xb) at pc=0xfecf8138, pid=6132, tid=18
....
Stack: [0xeb500000,0xeb580000), sp=0xeb57ca28, free space=498k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V [libjvm.so+0xf8138]
C [libfontmanager.so+0x439c4] Java_sun_font_FontManager_getFont2D+0x44
J sun.font.FontManager.getFont2D(Ljava/awt/Font;)Lsun/font/Font2D;
J sun.java2d.SunGraphics2D.checkFontInfo(Lsun/java2d/loops/FontInfo;Ljava/awt/Font;)Lsun/java2d/loops/FontInfo;
J sun.java2d.SunGraphics2D.getFontInfo()Lsun/java2d/loops/FontInfo;
j sun.java2d.pipe.GlyphListPipe.drawString(Lsun/java2d/SunGraphics2D;Ljava/lang/String;DD)V+1
and core
---- called from signal handler with signal 10 (SIGBUS) ------
[8] libjvm.so:jniIdSupport::to_method_oop(0x50c062, 0x6, 0x83f0, 0x96bc, 0x9400, 0x50c060), at 0xfe9bc084
[9] libjvm.so:jni_CallObjectMethod(0x75d9dc, 0xea47e354, 0x50c062, 0xff03cccc, 0xff030364, 0x75d920), at 0xfeae9294
[10] libfontmanager.so:Java_sun_font_FontManager_getFont2D(0xeac8afe4, 0x790, 0x400, 0x30bac, 0xf9005764, 0xeac74538), at 0xeac439bc
There are two applications (fm_alv, fm_asm) with similar crashes
From customer, hs_err_pid11944.log
...
# SIGBUS (0xa) at pc=0xfecf8110, pid=11944, tid=19
...
Stack: [0xeb400000,0xeb480000), sp=0xeb47d298, free space=500k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V [libjvm.so+0xf8110]
C [libfontmanager.so+0x439c4] Java_sun_font_FontManager_getFont2D+0x44
J sun.font.FontManager.getFont2D(Ljava/awt/Font;)Lsun/font/Font2D;
J sun.java2d.SunGraphics2D.checkFontInfo(Lsun/java2d/loops/FontInfo;Ljava/awt/Font;)Lsun/java2d/loops/FontInfo;
J sun.java2d.pipe.GlyphListPipe.drawString(Lsun/java2d/SunGraphics2D;Ljava/lang/String;DD)V
From customer a core
From local server hs_err_pid6132.log
...
# SIGSEGV (0xb) at pc=0xfecf8138, pid=6132, tid=18
....
Stack: [0xeb500000,0xeb580000), sp=0xeb57ca28, free space=498k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V [libjvm.so+0xf8138]
C [libfontmanager.so+0x439c4] Java_sun_font_FontManager_getFont2D+0x44
J sun.font.FontManager.getFont2D(Ljava/awt/Font;)Lsun/font/Font2D;
J sun.java2d.SunGraphics2D.checkFontInfo(Lsun/java2d/loops/FontInfo;Ljava/awt/Font;)Lsun/java2d/loops/FontInfo;
J sun.java2d.SunGraphics2D.getFontInfo()Lsun/java2d/loops/FontInfo;
j sun.java2d.pipe.GlyphListPipe.drawString(Lsun/java2d/SunGraphics2D;Ljava/lang/String;DD)V+1
and core
---- called from signal handler with signal 10 (SIGBUS) ------
[8] libjvm.so:jniIdSupport::to_method_oop(0x50c062, 0x6, 0x83f0, 0x96bc, 0x9400, 0x50c060), at 0xfe9bc084
[9] libjvm.so:jni_CallObjectMethod(0x75d9dc, 0xea47e354, 0x50c062, 0xff03cccc, 0xff030364, 0x75d920), at 0xfeae9294
[10] libfontmanager.so:Java_sun_font_FontManager_getFont2D(0xeac8afe4, 0x790, 0x400, 0x30bac, 0xf9005764, 0xeac74538), at 0xeac439bc