Re: [sdljava-users] VM Crash while rendering text via TTF
Status: Beta
Brought to you by:
ivan_ganza
From: Ivan Z. G. <iva...@ya...> - 2005-11-10 02:58:59
|
Hi Patric, Sorry for the delay. Looking into this the the following can be said: The call in SDL java to render the font is directly transted to a call to TTF_RenderXXXX methods in C. I don't see much that could go wrong. What version of SDL_TTF are you using? Patric Rufflar wrote: > Hello List, > > I am currently having some problems with the rendering of text. The > Program renders some text every second. At the beginning the program > works well, but after approx. 3-5 minutes the program terminates and > outputs a thread dump. > > It seems to be a sdljava bug. Maybe somebody knows the reason and can > help me. > > Best Regards, > Patric > > # > # An unexpected error has been detected by HotSpot Virtual Machine: > # > # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x778ccaad, pid=1864, > tid=2044 > # > # Java VM: Java HotSpot(TM) Client VM (1.4.2_09-b05 mixed mode) > # Problematic frame: > # C [ntdll.dll+0x4caad] > # > > Stack: [0x24450000,0x24490000), sp=0x2448f780, free space=253k > Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, > C=native code) > C [ntdll.dll+0x4caad] > C [MSVCRT.dll+0x1532] > C [MSVCRT.dll+0x14cf] > C [SDLJava_ttf.dll+0x1a9d] > J > sdljava.x.swig.SWIG_SDLTTFJNI.TTF_RenderText_Solid_FAST(JLjava/lang/String;SSS)J > > J > sdljava.x.swig.SWIG_SDLTTF.TTF_RenderText_Solid_FAST(Lsdljava/x/swig/SWIGTYPE_p__TTF_Font;Ljava/lang/String;SSS)Lsdljava/x/swig/SDL_Surface; > > > Java frames: (J=compiled Java code, j=interpreted, Vv=VM code) > J > sdljava.x.swig.SWIG_SDLTTFJNI.TTF_RenderText_Solid_FAST(JLjava/lang/String;SSS)J > > J > sdljava.x.swig.SWIG_SDLTTF.TTF_RenderText_Solid_FAST(Lsdljava/x/swig/SWIGTYPE_p__TTF_Font;Ljava/lang/String;SSS)Lsdljava/x/swig/SDL_Surface; > > > > ------------------------------------------------------- > SF.Net email is sponsored by: > Tame your development challenges with Apache's Geronimo App Server. > Download > it for free - -and be entered to win a 42" plasma tv or your very own > Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php > _______________________________________________ > sdljava-users mailing list > sdl...@li... > https://lists.sourceforge.net/lists/listinfo/sdljava-users |