[mapserver-users] How to deal with the jvm crash after receiving the signal of SIGFPE, Thank you very much!

阿梨-Elise 55618081 at qq.com
Tue Mar 27 09:06:04 PDT 2012


My GIS server is Mapserver java mapscript, the client is openlayers.
       The map tile size was setted very small, and then zoom in to a small range.
we are frequently to request map tiles by calling the WMS getMap, jvm crash after receiving the signal of SIGFPE.
 This is the log of the crash of jvm







 

  #
 # A fatal error has been detected by the Java Runtime Environment:
 #
 #  SIGFPE (0x8) at pc=0x00007fd6e0bb55d5, pid=25308, tid=140556042532624
 #
 # JRE version: 6.0_26-b03
 # Java VM: Java HotSpot(TM) 64-Bit Server VM (20.1-b02 mixed mode linux-amd64 compressed oops)
 # Problematic frame:
 # C  [libmapscript.so+0x18a5d5]  unsigned long+0x65
 #
 # If you would like to submit a bug report, please visit:
 #   http://java.sun.com/webapps/bugreport/crash.jsp
 # The crash happened outside the Java Virtual Machine in native code.
 # See problematic frame for where to report the bug.
 #
 

 ---------------  T H R E A D  ---------------
 

 Current thread (0x00007fd6b94ed800):  JavaThread "mmsc-exec-1776" daemon [_thread_in_native, id=28152, stack(0x00007fd5c0dc7000,0x00007fd5c0fc8000)]
 

 siginfo:si_signo=SIGFPE: si_errno=0, si_code=1 (FPE_INTDIV), si_addr=0x00007fd6e0bb55d5
 

 Registers:
 RAX=0x0000000000000000, RBX=0x00007fd5c0fc32b0, RCX=0x0000000000000000, RDX=0x0000000000000000
 RSP=0x00007fd5c0fc3130, RBP=0x00007fd5c0fc3170, RSI=0x00007fd5845f26c8, RDI=0x00007fd584e3ebea
 R8 =0xffff000000000000, R9 =0xfefefefffaac1f83, R10=0xffffffffffffffff, R11=0x0000000000000000
 R12=0x0000000000000000, R13=0x00000007e2bc0eb8, R14=0x00007fd5c0fc5d00, R15=0x00007fd6b94ed800
 RIP=0x00007fd6e0bb55d5, EFLAGS=0x0000000000010202, CSGSFS=0x0000000000000033, ERR=0x0000000000000000
   TRAPNO=0x0000000000000000
 

 Top of Stack: (sp=0x00007fd5c0fc3130)
 0x00007fd5c0fc3130:   00007fd6e9671780 0000000000000001
 0x00007fd5c0fc3140:   00007fd6e9671780 0000000000000001
 0x00007fd5c0fc3150:   0000000000000000 00007fd5845f26c8
 0x00007fd5c0fc3160:   00007fd5c0fc3190 0000000041f3b0c0
 0x00007fd5c0fc3170:   00007fd5c0fc31a0 00007fd6e0bdb936
 0x00007fd5c0fc3180:   00007fd5c0fc32b0 00007fd5c0fc32b0
 0x00007fd5c0fc3190:   00007fd5c0fc3540 00007fd58473af38
 0x00007fd5c0fc31a0:   00007fd5c0fc3540 00007fd6e0312f8f
 0x00007fd5c0fc31b0:   00000007e2bc0e98 00000007e2bc0e98
 0x00007fd5c0fc31c0:   00007fd5c0fc3540 00007fd6e0bdbda2
 0x00007fd5c0fc31d0:   00007fd584fc6f50 00007fd5c0fc3580
 0x00007fd5c0fc31e0:   00007fd5c0fc35f0 00007fd58474c320
 0x00007fd5c0fc31f0:   00000000000000f5 00007fd5842bfde0
 0x00007fd5c0fc3200:   00007fd6e032c380 00007fd6e032c150
 0x00007fd5c0fc3210:   00007fd6e032c340 00007fd6e032c250
 0x00007fd5c0fc3220:   00007fd6e032c1a0 0000000000000000
 0x00007fd5c0fc3230:   3ff0000000000000 0000000000000000
 0x00007fd5c0fc3240:   0000000000000000 0000000000000000
 0x00007fd5c0fc3250:   0000000000000000 0000000000000000
 0x00007fd5c0fc3260:   3ff0000000000000 0000000000000000
 0x00007fd5c0fc3270:   0000000000000000 0000000000000000
 0x00007fd5c0fc3280:   0000000000000000 00007fd6e0545780
 0x00007fd5c0fc3290:   00007fd50000007e 0000000000000000
 0x00007fd5c0fc32a0:   0000000000000000 00007fd5840d7128
 0x00007fd5c0fc32b0:   00007fd5c0fc3200 00007fd584b7b540
 0x00007fd5c0fc32c0:   0000000000000000 00007fd584b7b020
 0x00007fd5c0fc32d0:   0000006500000000 00007fd58473af38
 0x00007fd5c0fc32e0:   0000011e0000011e 0000000200000003
 0x00007fd5c0fc32f0:   3ff0000000000000 0000000100000001
 0x00007fd5c0fc3300:   0000011e0000011e 0000000300000008
 0x00007fd5c0fc3310:   0000000000000003 00007fd58473af70
 0x00007fd5c0fc3320:   00007fd58473b330 00007fd58473b3b8 
 

 Instructions: (pc=0x00007fd6e0bb55d5)
 0x00007fd6e0bb55b5:   26 48 8b 45 e0 48 0f af 45 d8 89 c2 48 8b 75 e8
 0x00007fd6e0bb55c5:   48 8b 7d f8 e8 12 14 ed ff 48 98 ba 00 00 00 00
 0x00007fd6e0bb55d5:   48 f7 75 e0 89 45 cc 8b 45 cc c9 c3 55 48 89 e5
 0x00007fd6e0bb55e5:   48 83 ec 40 48 89 7d e8 48 89 75 e0 48 89 55 d8 
 

 Register to memory mapping:
 

 RAX=0x0000000000000000 is an unknown value
 RBX=0x00007fd5c0fc32b0 is pointing into the stack for thread: 0x00007fd6b94ed800
 RCX=0x0000000000000000 is an unknown value
 RDX=0x0000000000000000 is an unknown value
 RSP=0x00007fd5c0fc3130 is pointing into the stack for thread: 0x00007fd6b94ed800
 RBP=0x00007fd5c0fc3170 is pointing into the stack for thread: 0x00007fd6b94ed800
 RSI=0x00007fd5845f26c8 is an unknown value
 RDI=0x00007fd584e3ebea is an unknown value
 R8 =0xffff000000000000 is an unknown value
 R9 =0xfefefefffaac1f83 is an unknown value
 R10=0xffffffffffffffff is an unknown value
 R11=0x0000000000000000 is an unknown value
 R12=0x0000000000000000 is an unknown value
 R13=0x00000007e2bc0eb8 is an oop
 [C 
  - klass: {type array char}
  - length: 431
 R14=0x00007fd5c0fc5d00 is pointing into the stack for thread: 0x00007fd6b94ed800
 R15=0x00007fd6b94ed800 is a thread
 

 

 Stack: [0x00007fd5c0dc7000,0x00007fd5c0fc8000],  sp=0x00007fd5c0fc3130,  free space=2032k
 Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
 C  [libmapscript.so+0x18a5d5]  unsigned long+0x65
 C  [libmapscript.so+0x1b0936]  unsigned+0x45
 C  [libjpeg.so.8+0x4f8f]  unsigned+0xcf
 C  [libmapscript.so+0x1b2f7d]  unsigned long+0xc3
 C  [libmapscript.so+0xf37d6]  unsigned long+0x27a
 C  [libmapscript.so+0x1e4f6c]  unsigned long+0x607
 C  [libmapscript.so+0x1e8eaf]  unsigned long+0xc92
 C  [libmapscript.so+0x13eaa7]  unsigned long+0xcf
 C  [libmapscript.so+0x636e9]  unsigned long+0x22
 C  [libmapscript.so+0x93b89]  Java_edu_umn_gis_mapscript_mapscriptJNI_mapObj_1OWSDispatch+0x75
 J  edu.umn.gis.mapscript.mapscriptJNI.mapObj_OWSDispatch(JLedu/umn/gis/mapscript/mapObj;JLedu/umn/gis/mapscript/OWSRequest;)I
 

 Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
 J  edu.umn.gis.mapscript.mapscriptJNI.mapObj_OWSDispatch(JLedu/umn/gis/mapscript/mapObj;JLedu/umn/gis/mapscript/OWSRequest;)I
 J  com.huawei.mmsc.services.service.ServiceProcessor.dealService(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;Ledu/umn/gis/mapscript/mapObj;)V
 J  com.huawei.mmsc.services.service.ServiceProcessor.doService(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;Ljava/lang/String;Ledu/umn/gis/mapscript/mapObj;)V
 J  com.huawei.mmsc.services.facade.impl.ServicesFacadeImpl.disposeServices(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;Ljava/lang/String;Ljava/lang/String;)V
 J  sun.reflect.GeneratedMethodAccessor31.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
 J  org.springframework.web.bind.annotation.support.HandlerMethodInvoker.invokeHandlerMethod(Ljava/lang/reflect/Method;Ljava/lang/Object;Lorg/springframework/web/context/request/NativeWebRequest;Lorg/springframework/ui/ExtendedModelMap;)Ljava/lang/Object;
 J  org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.invokeHandlerMethod(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;Ljava/lang/Object;)Lorg/springframework/web/servlet/ModelAndView;
 J  org.springframework.web.servlet.DispatcherServlet.doDispatch(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V
 J  org.springframework.web.servlet.DispatcherServlet.doService(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V
 J  org.springframework.web.servlet.FrameworkServlet.processRequest(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V
 J  javax.servlet.http.HttpServlet.service(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V
 J  org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V
 J  org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V
 J  org.apache.catalina.core.StandardWrapperValve.invoke(Lorg/apache/catalina/connector/Request;Lorg/apache/catalina/connector/Response;)V
 J  org.apache.catalina.core.StandardContextValve.invoke(Lorg/apache/catalina/connector/Request;Lorg/apache/catalina/connector/Response;)V
 J  org.apache.catalina.core.StandardHostValve.invoke(Lorg/apache/catalina/connector/Request;Lorg/apache/catalina/connector/Response;)V
 J  org.apache.catalina.connector.CoyoteAdapter.service(Lorg/apache/coyote/Request;Lorg/apache/coyote/Response;)V
 J  org.apache.coyote.http11.Http11Processor.process(Ljava/net/Socket;)V
 J  org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run()V
 j  java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Ljava/lang/Runnable;)V+59
 J  java.util.concurrent.ThreadPoolExecutor$Worker.run()V
 j  java.lang.Thread.run()V+11
 v  ~StubRoutines::call_stub
 

 ---------------  P R O C E S S  ---------------
 

 Java Threads: ( => current thread )
   0x00007fd6b6164800 JavaThread "mmsc-exec-1857" daemon [_thread_in_native, id=29201, stack(0x00007fd6cd55a000,0x00007fd6cd75b000)]
  
 to be continue......
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20120328/f2ce57d3/attachment.htm>


More information about the MapServer-users mailing list