Java binary, can't redirect stderr on VM crash

Igor Nekrestyanov Igor.Nekrestyanov at Sun.COM
Fri Nov 28 11:35:13 UTC 2008


Mark,

Could you send me copy of the font file?

-igor

Mark Wielaard wrote:
> Hi Patrick,
>
> On Thu, 2008-11-27 at 23:26 +0100, Patrick Wright wrote:
>   
>>> If you could post the RenderFontTest.java file then I could try to
>>> replicate locally if you want.
>>>       
>> Thanks! Posted in the reply to Tim. It would be interesting to see if
>> this is a distro (font?) specific issue or more general. I couldn't
>> reproduce on OS X in a quick test and don't have other machines easily
>> available.
>>     
>
> I can replicate the crash on a Fedora 9 i686 install, but not on a
> Fedora 10 x86_64 one, they have fairly different font setups though.
>
> gdb says:
>
> (gdb) bt
> #0  0x00110416 in ?? ()
> #1  0x0082a660 in raise (sig=<value optimized out>)
>     at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
> #2  0x0082c028 in abort () at abort.c:88
> #3  0x0086764d in __libc_message (do_abort=<value optimized out>, 
>     fmt=<value optimized out>) at ../sysdeps/unix/sysv/linux/libc_fatal.c:170
> #4  0x0086d874 in malloc_printerr (action=<value optimized out>, 
>     str=<value optimized out>, ptr=<value optimized out>) at malloc.c:5949
> #5  0x0086f8d6 in __libc_free (mem=<value optimized out>) at malloc.c:3625
> #6  0x05485943 in LEGlyphStorage::reset (this=0x93a822d0)
>     at ../../../src/share/native/sun/font/layout/LEGlyphStorage.cpp:75
> #7  0x0548b790 in LayoutEngine::reset (this=0x93140b98)
>     at ../../../src/share/native/sun/font/layout/LayoutEngine.cpp:533
> #8  0x0548dcfd in OpenTypeLayoutEngine::reset (this=0x93140b98)
>     at ../../../src/share/native/sun/font/layout/OpenTypeLayoutEngine.cpp:127
> #9  0x0548de00 in ~OpenTypeLayoutEngine (this=0x93140b98)
>     at ../../../src/share/native/sun/font/layout/OpenTypeLayoutEngine.cpp:141
> #10 0x0548b0bd in ~IndicOpenTypeLayoutEngine (this=0x93140b98)
>     at ../../../src/share/native/sun/font/layout/IndicLayoutEngine.cpp:70
> #11 0x0548d1d8 in Java_sun_font_SunLayoutEngine_nativeLayout (env=0x9c5ecf4, 
>     cls=0x164acc, font2d=0x164b1c, strike=0x164b18, matrix=0x164b14, gmask=0, 
>     baseIndex=0, text=0x164b08, start=0, limit=1, min=<value optimized out>, 
>     max=1, script=33, lang=-1, typo_flags=0, pt=0x164ae8, gvdata=0x164ae4, 
>     upem=<value optimized out>, layoutTables=<value optimized out>)
>     at ../../../src/share/native/sun/font/layout/SunLayoutEngine.cpp:217
>
> This was with "AR PL UKai CN".
>
> Cheers,
>
> Mark
>
>   




More information about the discuss mailing list