<pre>Hello list,<br><br>I'm having trouble with mapserver and java mapscript, my tomcat broke with this error after some requests.<br>Could someone help me?<br><br>Best Regards,<br><br>Fred<br><br>#<br># An unexpected error has been detected by HotSpot Virtual Machine:
<br>#<br>#  SIGSEGV (0xb) at pc=0x400eb3fd, pid=17455, tid=376856<br>#<br># Java VM: Java HotSpot(TM) Client VM (1.5.0_06-b05 mixed mode, sharing)<br># Problematic frame:<br># C  [libc.so.6+0x683fd]  mempcpy+0x2d<br>#<br>
<br>---------------  T H R E A D  ---------------<br><br>Current thread (0x08204c28):  JavaThread "http-8080-Processor15" daemon [_thread_in_native, id=17480]<br><br>Stack: [0xbca01000,0xbcc00000),  sp=0xbcbfe21c,  free space=2036k
<br>Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)<br>C  [libc.so.6+0x683fd]  mempcpy+0x2d<br>C  [libc.so.6+0x5dba3]<br>C  [libc.so.6+0x5ee48]  _IO_sgetn+0x28<br>C  [libc.so.6+0x539f4]  _IO_fread+0x74
<br>C  [libmapscript.so+0x545d5]  msSHPOpen+0x425<br>C  [libmapscript.so+0x562a9]  msSHPOpenFile+0x59<br>C  [libmapscript.so+0x57de1]  msShapeFileLayerOpen+0x91<br>C  [libmapscript.so+0x80d11]  msLayerOpen+0x71<br>C  [libmapscript.so+0x8c3f6
]  msDrawVectorLayer+0xe6<br>C  [libmapscript.so+0x8c155]  msDrawLayer+0x95<br>C  [libmapscript.so+0x8b9de]  msDrawMap+0x42e<br>C  [libmapscript.so+0x2c59c]<br>C  [libmapscript.so+0x3e825]  Java_edu_umn_gis_mapscript_mapscriptJNI_mapObj_1draw+0x35
<br>j  edu.umn.gis.mapscript.mapscriptJNI.mapObj_draw(J)J+0<br>j  edu.umn.gis.mapscript.mapObj.draw()Ledu/umn/gis/mapscript/imageObj;+4<br>j  br.com.multispectral.mapapp.MapServerApp.export(Ljava/lang/String;)V+4<br>j  TileServer.exportExact
(Lbr/com/multispectral/mapapp/MapServerApp;DDDLjava/lang/String;II)V+61<br>j  TileServer.processRequest(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V+248<br>j  TileServer.doPost(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V+3
<br>j  javax.servlet.http.HttpServlet.service(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V+139<br>j  javax.servlet.http.HttpServlet.service(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V+30
<br>j  org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V+354<br>j  org.apache.catalina.core.ApplicationFilterChain.doFilter(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V+101
<br>j  org.apache.catalina.core.StandardWrapperValve.invoke(Lorg/apache/catalina/connector/Request;Lorg/apache/catalina/connector/Response;)V+670<br>j  org.apache.catalina.core.StandardContextValve.invoke(Lorg/apache/catalina/connector/Request;Lorg/apache/catalina/connector/Response;)V+285
<br>j  org.apache.catalina.core.StandardHostValve.invoke(Lorg/apache/catalina/connector/Request;Lorg/apache/catalina/connector/Response;)V+64<br>j  org.apache.catalina.valves.ErrorReportValve.invoke(Lorg/apache/catalina/connector/Request;Lorg/apache/catalina/connector/Response;)V+6
<br>j  org.apache.catalina.core.StandardEngineValve.invoke(Lorg/apache/catalina/connector/Request;Lorg/apache/catalina/connector/Response;)V+42<br>j  org.apache.catalina.connector.CoyoteAdapter.service(Lorg/apache/coyote/Request;Lorg/apache/coyote/Response;)V+141
<br>j  org.apache.coyote.http11.Http11Processor.process(Ljava/io/InputStream;Ljava/io/OutputStream;)V+521<br>j  org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Lorg/apache/tomcat/util/net/TcpConnection;[Ljava/lang/Object;)V+113
<br>j  org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(Ljava/net/Socket;Lorg/apache/tomcat/util/net/TcpConnection;[Ljava/lang/Object;)V+45<br>j  org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt([Ljava/lang/Object;)V+102
<br>j  org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run()V+167<br>j  java.lang.Thread.run()V+11<br>v  ~StubRoutines::call_stub<br>V  [libjvm.so+0x174fec]<br>V  [libjvm.so+0x2821f8]<br>V  [libjvm.so+0x174845]<br>
V  [libjvm.so+0x1748de]<br>V  [libjvm.so+0x1ebee5]<br>V  [libjvm.so+0x2ea563]<br>V  [libjvm.so+0x282d08]<br>C  [libpthread.so.0+0x654e]</pre><br clear="all"><pre>Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
<br>j  edu.umn.gis.mapscript.mapscriptJNI.mapObj_draw(J)J+0<br>j  edu.umn.gis.mapscript.mapObj.draw()Ledu/umn/gis/mapscript/imageObj;+4<br>j  br.com.multispectral.mapapp.MapServerApp.export(Ljava/lang/String;)V+4<br>j  TileServer.exportExact
(Lbr/com/multispectral/mapapp/MapServerApp;DDDLjava/lang/String;II)V+61<br>j  TileServer.processRequest(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V+248<br>j  TileServer.doPost(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V+3
<br>j  javax.servlet.http.HttpServlet.service(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V+139<br>j  javax.servlet.http.HttpServlet.service(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V+30
<br>j  org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V+354<br>j  org.apache.catalina.core.ApplicationFilterChain.doFilter(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V+101
<br>j  org.apache.catalina.core.StandardWrapperValve.invoke(Lorg/apache/catalina/connector/Request;Lorg/apache/catalina/connector/Response;)V+670<br>j  org.apache.catalina.core.StandardContextValve.invoke(Lorg/apache/catalina/connector/Request;Lorg/apache/catalina/connector/Response;)V+285
<br>j  org.apache.catalina.core.StandardHostValve.invoke(Lorg/apache/catalina/connector/Request;Lorg/apache/catalina/connector/Response;)V+64<br>j  org.apache.catalina.valves.ErrorReportValve.invoke(Lorg/apache/catalina/connector/Request;Lorg/apache/catalina/connector/Response;)V+6
<br>j  org.apache.catalina.core.StandardEngineValve.invoke(Lorg/apache/catalina/connector/Request;Lorg/apache/catalina/connector/Response;)V+42<br>j  org.apache.catalina.connector.CoyoteAdapter.service(Lorg/apache/coyote/Request;Lorg/apache/coyote/Response;)V+141
<br>j  org.apache.coyote.http11.Http11Processor.process(Ljava/io/InputStream;Ljava/io/OutputStream;)V+521<br>j  org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Lorg/apache/tomcat/util/net/TcpConnection;[Ljava/lang/Object;)V+113
<br>j  org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(Ljava/net/Socket;Lorg/apache/tomcat/util/net/TcpConnection;[Ljava/lang/Object;)V+45<br>j  org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt([Ljava/lang/Object;)V+102
<br>j  org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run()V+167<br>j  java.lang.Thread.run()V+11<br>v  ~StubRoutines::call_stub<br><br>40000000-40015000 r-xp 00000000 08:01 12210      /lib/ld-<a href="http://2.3.4.so">
2.3.4.so</a><br>40015000-40017000 rw-p 00014000 08:01 12210      /lib/ld-<a href="http://2.3.4.so">2.3.4.so</a><br>40017000-40018000 r--p 00000000 00:00 0 <br>40018000-40019000 rwxp 00001000 00:00 0 <br>40019000-4001f000 r-xp 00000000 08:01 144145     /usr/lib/jdk1.5.0_06/jre/lib/i386/native_threads/libhpi.so
<br>4001f000-40020000 rw-p 00006000 08:01 144145     /usr/lib/jdk1.5.0_06/jre/lib/i386/native_threads/libhpi.so<br>40020000-40027000 r-xp 00000000 08:01 12445      /lib/libnss_compat-<a href="http://2.3.4.so">2.3.4.so</a>
<br>40027000-40029000 rw-p 00006000 08:01 12445      /lib/libnss_compat-<a href="http://2.3.4.so">2.3.4.so</a><br>40029000-4002b000 r--s 00000000 08:01 149512     /usr/lib/jdk1.5.0_06/jre/lib/ext/dnsns.jar<br>4002b000-4002c000 rw-p 00000000 00:00 0 
<br>4002c000-4003a000 r-xp 00000000 08:01 12452      /lib/libpthread-<a href="http://0.10.so">0.10.so</a><br>4003a000-4003c000 rw-p 0000d000 08:01 12452      /lib/libpthread-<a href="http://0.10.so">0.10.so</a><br>4003c000-4007e000 rw-p 00000000 00:00 0 
<br>4007e000-40080000 r-xp 00000000 08:01 12441      /lib/libdl-<a href="http://2.3.4.so">2.3.4.so</a><br>40080000-40082000 rw-p 00001000 08:01 12441      /lib/libdl-<a href="http://2.3.4.so">2.3.4.so</a><br>40082000-40083000 rw-p 00000000 00:00 0 
<br>40083000-40199000 r-xp 00000000 08:01 12438      /lib/libc-<a href="http://2.3.4.so">2.3.4.so</a><br>40199000-4019a000 ---p 00116000 08:01 12438      /lib/libc-<a href="http://2.3.4.so">2.3.4.so</a><br>4019a000-4019b000 r--p 00116000 08:01 12438      /lib/libc-
<a href="http://2.3.4.so">2.3.4.so</a><br>4019b000-4019e000 rw-p 00117000 08:01 12438      /lib/libc-<a href="http://2.3.4.so">2.3.4.so</a><br>46862000-46863000 r-xp 00000000 08:01 12419      /usr/lib/gconv/ISO8859-1.so<br>
46863000-46864000 ---p 00001000 08:01 12419      /usr/lib/gconv/ISO8859-1.so<br>46864000-46866000 rw-p 00001000 08:01 12419      /usr/lib/gconv/ISO8859-1.so<br>46874000-4688f000 r-xp 00000000 08:02 521        /usr/local/lib/libgd.so.2.0.0
<br>4688f000-468af000 rw-p 0001a000 08:02 521        /usr/local/lib/libgd.so.2.0.0<br>468af000-468c3000 rw-p 00000000 00:00 0 <br>468c3000-468df000 r-xp 00000000 08:01 201        /usr/lib/libjpeg.so.62.0.0<br>468df000-468e0000 rw-p 0001b000 08:01 201        /usr/lib/libjpeg.so.62.0.0
<br>468e0000-468f0000 r-xp 00000000 08:01 59294      /usr/lib/libz.so.1.2.2<br>468f0000-468f1000 rw-p 0000f000 08:01 59294      /usr/lib/libz.so.1.2.2<br>468f1000-468f8000 r-xp 00000000 08:01 194        /usr/lib/libgcc_s.so.1
<br>468f8000-468f9000 rw-p 00007000 08:01 194        /usr/lib/libgcc_s.so.1<br>468f9000-468ff000 r-xp 00000000 08:01 52949      /usr/lib/libungif.so.4.1.2<br>468ff000-46900000 rw-p 00006000 08:01 52949      /usr/lib/libungif.so.4.1.2
<br>46900000-469fb000 rw-p 000c4000 00:00 0 <br>469fb000-46a00000 ---p 000e5000 00:00 0 <br>46a00000-46af4000 r-xp 00000000 08:02 1019       /usr/local/lib/libmapscript.so<br>46af4000-46af8000 rw-p 000f3000 08:02 1019       /usr/local/lib/libmapscript.so
<br>46af8000-46afa000 rw-p 00000000 00:00 0 <br>46afa000-46b5b000 r-xp 00000000 08:02 1035       /usr/local/lib/libfreetype.so.6.3.10<br>46b5b000-46b5e000 rw-p 00061000 08:02 1035       /usr/local/lib/libfreetype.so.6.3.10
<br>46b5e000-46b8e000 r-xp 00000000 08:01 210        /usr/lib/libpng.so.3.1.2.8<br>46b8e000-46b8f000 rw-p 0002f000 08:01 210        /usr/lib/libpng.so.3.1.2.8<br>46b8f000-46bc4000 r-xp 00000000 08:02 383        /usr/local/lib/libproj.so.0.5.0
<br>46bc4000-46bc6000 rw-p 00035000 08:02 383        /usr/local/lib/libproj.so.0.5.0<br>46bc6000-46edd000 r-xp 00000000 08:02 4586       /usr/local/lib/libgdal.so.1.10.0<br>46edd000-46f32000 rw-p 00316000 08:02 4586       /usr/local/lib/libgdal.so.1.10.0
<br>46f32000-46f47000 rw-p 00000000 00:00 0 <br>46f47000-46fe2000 r-xp 00000000 08:01 141965     /usr/lib/libstdc++.so.5.0.6<br>46fe2000-46ff9000 rw-p 0009b000 08:01 141965     /usr/lib/libstdc++.so.5.0.6<br>46ff9000-46ffe000 rw-p 00000000 00:00 0 
<br>46ffe000-4700c000 r-xp 00000000 08:01 69690      /usr/X11R6/lib/libXpm.so.4.11<br>4700c000-4700d000 rw-p 0000e000 08:01 69690      /usr/X11R6/lib/libXpm.so.4.11<br>4700d000-470d3000 r-xp 00000000 08:01 69832      /usr/X11R6/lib/libX11.so.6.2
<br>470d3000-470d7000 rw-p 000c6000 08:01 69832      /usr/X11R6/lib/libX11.so.6.2<br>470d7000-470fa000 r-xp 00000000 08:01 69699      /usr/X11R6/lib/libfontconfig.so.1.0.4<br>470fa000-470fd000 rw-p 00022000 08:01 69699      /usr/X11R6/lib/libfontconfig.so.1.0.4
<br>470fd000-470fe000 rw-p 00000000 00:00 0 <br>470fe000-4712e000 r-xp 00000000 08:01 184        /usr/lib/libpng12.so.0.1.2.8<br>4712e000-4712f000 rw-p 0002f000 08:01 184        /usr/lib/libpng12.so.0.1.2.8<br>4712f000-4724f000 r-xp 00000000 08:02 4327       /usr/local/lib/libNCSEcw.so.0.0.0
<br>4724f000-47258000 rw-p 00120000 08:02 4327       /usr/local/lib/libNCSEcw.so.0.0.0<br>47258000-47265000 rw-p 00000000 00:00 0 <br>47265000-47279000 r-xp 00000000 08:02 4339       /usr/local/lib/libNCSCnet.so.0.0.0<br>
47279000-4727a000 rw-p 00014000 08:02 4339       /usr/local/lib/libNCSCnet.so.0.0.0<br>4727a000-47299000 r-xp 00000000 08:02 4334       /usr/local/lib/libNCSUtil.so.0.0.0<br>47299000-4729b000 rw-p 0001e000 08:02 4334       /usr/local/lib/libNCSUtil.so.0.0.0
<br>4729b000-4729c000 rw-p 00000000 00:00 0 <br>4729c000-472e7000 r-xp 00000000 08:01 52823      /usr/lib/libtiff.so.3.7.1<br>472e7000-472e9000 rw-p 0004a000 08:01 52823      /usr/lib/libtiff.so.3.7.1<br><br>---------------  S Y S T E M  ---------------
<br><br>OS:Linux<br>uname:Linux 2.4.29 #25 Thu Jan 20 17:21:56 PST 2005 i686<br>libc:glibc 2.3.4 linuxthreads-0.10 (fixed stack)<br>rlimit: STACK 2044k, CORE 0k, NPROC 7168, NOFILE 1024, AS infinity<br>load average:3.44 2.84
 1.27<br><br>CPU:total 1 family 15, cmov, cx8, fxsr, mmx, sse, sse2, ht<br><br>Memory: 4k page, physical 904220k(52168k free), swap 2097136k(1994124k free)<br><br>vm_info: Java HotSpot(TM) Client VM (1.5.0_06-b05) for linux-x86, built on Nov 10 2005 12:08:33 by java_re with gcc 
3.2.1-7a (J2SE release)<br></pre><br><br>-- <br>"Everything under the sun is in tune<br>But the sun is eclipsed by the moon"