From: Enis S. <eni...@gm...> - 2008-03-04 14:53:49
|
Hi, I am getting a SIGSEGV pretty frequently(one in every 10 or so) using default settings given in "5 minutes application integration tutorial". The issue has been brought up before in : http://sourceforge.net/mailarchive/message.php?msg_id=fde284ef0607141227h1146e8e1v7eb00e50f2e19ec%40mail.gmail.com but it still remains in 1.0-RC6. I do not know if this is a jcaptcha or a jvm or a libfontmanager bug, but i want to bring into attention. The error log i see is given below(with some parts omitted) : # # An unexpected error has been detected by HotSpot Virtual Machine: # # SIGSEGV (0xb) at pc=0xb0275b5d, pid=18227, tid=2973883280 # # Java VM: Java HotSpot(TM) Client VM (1.5.0_07-b03 mixed mode, sharing) # Problematic frame: # C [libfontmanager.so+0x33b5d] # --------------- T H R E A D --------------- Current thread (0x0851a518): JavaThread "btpool0-7" [_thread_in_native, id=18246] siginfo:si_signo=11, si_errno=0, si_code=1, si_addr=0x098e18ff Registers: EAX=0x00e20127, EBX=0xb02c35a8, ECX=0x5adff49e, EDX=0x08ac17d8 ESP=0xb141be24, EBP=0xb141be30, ESI=0x08abc688, EDI=0x08abc6bc EIP=0xb0275b5d, CR2=0x098e18ff, EFLAGS=0x00210206 Top of Stack: (sp=0xb141be24) 0xb141be24: 00000000 08abc7e4 08ac17d8 b141be50 0xb141be34: b0276cc6 b141be78 b266db4e 00000000 0xb141be44: 00000000 b02c7ac0 b141bf28 b141bfb0 0xb141be54: b027704e b141be78 08abdea0 08abdf12 0xb141be64: b79f9bcc b141c008 b141bfe8 b141be90 0xb141be74: b141be78 08ac037c 08ac037c 08ac037c 0xb141be84: 40000000 40000000 00004000 08b9a100 0xb141be94: 00000104 08abc7e8 08abc8ec 08abc7e8 Instructions: (pc=0xb0275b5d) 0xb0275b4d: 79 02 eb 1a 83 6d f8 04 8b 55 f8 8b 02 8b 55 fc 0xb0275b5d: 80 34 10 01 8b 45 f4 48 98 89 45 f4 eb dd 8b 45 Stack: [0xb139d000,0xb141e000), sp=0xb141be24, free space=507k Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code) C [libfontmanager.so+0x33b5d] C [libfontmanager.so+0x34cc6] C [libfontmanager.so+0x3504e] C [libfontmanager.so+0x371b2] C [libfontmanager.so+0x35892] C [libfontmanager.so+0x35d8d] C [libfontmanager.so+0x2248d] C [libfontmanager.so+0x2412f] C [libfontmanager.so+0x4b21e] Java_sun_font_FileFont_getGlyphMetrics+0x176 j sun.font.FileFont.getGlyphMetrics(JILjava/awt/geom/Point2D$Float;)V+0 j sun.font.FileFontStrike.getGlyphMetrics(I)Ljava/awt/geom/Point2D$Float;+218 j sun.font.StandardGlyphVector$GlyphStrike.addDefaultGlyphAdvance(ILjava/awt/geom/Point2D$Float;)V+5 j sun.font.StandardGlyphVector.initPositions()V+106 j sun.font.StandardGlyphVector.getLogicalBounds()Ljava/awt/geom/Rectangle2D;+5 j java.awt.Font.getStringBounds([CIILjava/awt/font/FontRenderContext;)Ljava/awt/geom/Rectangle2D;+168 j java.awt.Font.getStringBounds(Ljava/text/CharacterIterator;IILjava/awt/font/FontRenderContext;)Ljava/awt/geom/Rectangle2D;+175 j com.octo.captcha.component.image.textpaster.ChangeableAttributedString.<init>(Ljava/awt/Graphics2D;Ljava/text/AttributedString;I)V+167 j com.octo.captcha.component.image.textpaster.DecoratedRandomTextPaster.pasteText(Ljava/awt/image/BufferedImage;Ljava/text/AttributedString;)Ljava/awt/image/BufferedImage;+56 j com.octo.captcha.component.image.wordtoimage.ComposedWordToImage.pasteText(Ljava/awt/image/BufferedImage;Ljava/text/AttributedString;)Ljava/awt/image/BufferedImage;+6 j com.octo.captcha.component.image.wordtoimage.DeformedComposedWordToImage.getImage(Ljava/lang/String;)Ljava/awt/image/BufferedImage;+131 j com.octo.captcha.image.gimpy.GimpyFactory.getImageCaptcha(Ljava/util/Locale;)Lcom/octo/captcha/image/ImageCaptcha;+25 j com.octo.captcha.engine.image.ListImageCaptchaEngine.getNextImageCaptcha(Ljava/util/Locale;)Lcom/octo/captcha/image/ImageCaptcha;+5 j com.octo.captcha.engine.image.ImageCaptchaEngine.getNextCaptcha(Ljava/util/Locale;)Lcom/octo/captcha/Captcha;+2 j com.octo.captcha.service.AbstractCaptchaService.generateAndStoreCaptcha(Ljava/util/Locale;Ljava/lang/String;)Lcom/octo/captcha/Captcha;+5 j com.octo.captcha.service.AbstractManageableCaptchaService.generateCountTimeStampAndStoreCaptcha(Ljava/lang/String;Ljava/util/Locale;)Lcom/octo/captcha/Captcha;+34 j com.octo.captcha.service.AbstractManageableCaptchaService.generateAndStoreCaptcha(Ljava/util/Locale;Ljava/lang/String;)Lcom/octo/captcha/Captcha;+59 j com.octo.captcha.service.AbstractCaptchaService.getChallengeForID(Ljava/lang/String;Ljava/util/Locale;)Ljava/lang/Object;+63 j com.octo.captcha.service.image.AbstractManageableImageCaptchaService.getImageChallengeForID(Ljava/lang/String;Ljava/util/Locale;)Ljava/awt/image/BufferedImage;+3 j [deleted] --------------- S Y S T E M --------------- OS:lenny/sid uname:Linux 2.6.22-14-386 #1 Tue Feb 12 07:12:19 UTC 2008 i686 libc:glibc 2.6.1 NPTL 2.6.1 rlimit: STACK 8192k, CORE 0k, NPROC 10175, NOFILE 1024, AS infinity load average:4.44 3.51 3.07 CPU:total 1 family 15, cmov, cx8, fxsr, mmx, sse, sse2, ht Memory: 4k page, physical 1287836k(31344k free), swap 1951852k(893556k free) vm_info: Java HotSpot(TM) Client VM (1.5.0_07-b03) for linux-x86, built on May 3 2006 01:46:28 by java_re with gcc 3.2.1-7a (J2SE release) |