Umberto,<br><br>Here are the information that I can give.<br><br>Linux porto 2.4.29 #25 Thu Jan 20 17:21:56 PST 2005 i686 unknown unknown GNU/Linux<br><br>gcc (GCC) 3.3.4<br><br>MapServer version 4.8.4 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP OUTPUT=SVG SUPPORTS=PROJ SUPPORTS=FREETYPE SUPPORTS=WMS_SERVER SUPPORTS=THREADS INPUT=EPPL7 INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE
<br><br>java version "1.5.0_06"<br>Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_06-b05)<br>Java HotSpot(TM) Client VM (build 1.5.0_06-b05, mixed mode, sharing)<br><br>SWIG Version 1.3.29<br>Compiled with g++ [i686-pc-linux-gnu]
<br><br>gdal 1.3.2<br><br>proj 4.4.9<br><br>tomcat 5.5.9<br><br>I configure --with-threads --with-ogr --with-gdal --with-proj<br><br>The code is simple like open, setExtent, draw<br><br>Best Regards,<br><br>Fred<br><br><div>
<span class="gmail_quote">On 9/21/06, <b class="gmail_sendername">Umberto Nicoletti</b> <<a href="mailto:umberto.nicoletti@gmail.com">umberto.nicoletti@gmail.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On 9/21/06, Frederico Lucca <<a href="mailto:fredlucca@gmail.com">fredlucca@gmail.com</a>> wrote:<br>> Hello list,<br>><br>> I'm having trouble with mapserver and java mapscript, my tomcat broke with<br>> this error after some requests.
<br>> Could someone help me?<br><br>I would, but I need more details. There is a java mapscript doc on<br>mapserver web site that has a section exactly about what you need to<br>tell us to help us help you ;-).<br><br>
Umberto<br><br>><br>> Best Regards,<br>><br>> Fred<br>><br>> #<br>> # An unexpected error has been detected by HotSpot Virtual Machine:<br>><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>><br>> --------------- T H R E A D ---------------
<br>><br>> Current thread (0x08204c28): JavaThread "http-8080-Processor15" daemon<br>> [_thread_in_native, id=17480]<br>><br>> Stack: [0xbca01000,0xbcc00000), sp=0xbcbfe21c, free space=2036k<br>>
<br>> Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native<br>> 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>><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<br>> ] 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]<br>> Java_edu_umn_gis_mapscript_mapscriptJNI_mapObj_1draw+0x35<br>><br>> j edu.umn.gis.mapscript.mapscriptJNI.mapObj_draw(J)J+0<br>> j<br>> edu.umn.gis.mapscript.mapObj.draw
()Ledu/umn/gis/mapscript/imageObj;+4<br>> j<br>> br.com.multispectral.mapapp.MapServerApp.export(Ljava/lang/String;)V+4<br>> j TileServer.exportExact<br>> (Lbr/com/multispectral/mapapp/MapServerApp;DDDLjava/lang/String;II)V+61
<br>> j<br>> TileServer.processRequest(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V+248<br>> j<br>> TileServer.doPost(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V+3
<br>><br>> j<br>> javax.servlet.http.HttpServlet.service(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V+139<br>> j<br>> javax.servlet.http.HttpServlet.service(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V+30
<br>><br>> j<br>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V+354<br>> j<br>> org.apache.catalina.core.ApplicationFilterChain.doFilter
(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V+101<br>><br>> j<br>> org.apache.catalina.core.StandardWrapperValve.invoke(Lorg/apache/catalina/connector/Request;Lorg/apache/catalina/connector/Response;)V+670
<br>> j<br>> org.apache.catalina.core.StandardContextValve.invoke(Lorg/apache/catalina/connector/Request;Lorg/apache/catalina/connector/Response;)V+285<br>><br>> j<br>> org.apache.catalina.core.StandardHostValve.invoke
(Lorg/apache/catalina/connector/Request;Lorg/apache/catalina/connector/Response;)V+64<br>> j<br>> org.apache.catalina.valves.ErrorReportValve.invoke(Lorg/apache/catalina/connector/Request;Lorg/apache/catalina/connector/Response;)V+6
<br>><br>> j<br>> org.apache.catalina.core.StandardEngineValve.invoke(Lorg/apache/catalina/connector/Request;Lorg/apache/catalina/connector/Response;)V+42<br>> j<br>> org.apache.catalina.connector.CoyoteAdapter.service
(Lorg/apache/coyote/Request;Lorg/apache/coyote/Response;)V+141<br>><br>> j<br>> org.apache.coyote.http11.Http11Processor.process(Ljava/io/InputStream;Ljava/io/OutputStream;)V+521<br>> j<br>> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection
(Lorg/apache/tomcat/util/net/TcpConnection;[Ljava/lang/Object;)V+113<br>><br>> j<br>> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(Ljava/net/Socket;Lorg/apache/tomcat/util/net/TcpConnection;[Ljava/lang/Object;)V+45
<br>> j<br>> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt([Ljava/lang/Object;)V+102<br>><br>> j<br>> 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>><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]<br>><br>> Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)<br>><br>> j edu.umn.gis.mapscript.mapscriptJNI.mapObj_draw(J)J+0<br>
> j<br>> edu.umn.gis.mapscript.mapObj.draw()Ledu/umn/gis/mapscript/imageObj;+4<br>> j<br>> br.com.multispectral.mapapp.MapServerApp.export(Ljava/lang/String;)V+4<br>> j TileServer.exportExact<br>> (Lbr/com/multispectral/mapapp/MapServerApp;DDDLjava/lang/String;II)V+61
<br>> j<br>> TileServer.processRequest(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V+248<br>> j<br>> TileServer.doPost(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V+3
<br>><br>> j<br>> javax.servlet.http.HttpServlet.service(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V+139<br>> j<br>> javax.servlet.http.HttpServlet.service(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V+30
<br>><br>> j<br>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V+354<br>> j<br>> org.apache.catalina.core.ApplicationFilterChain.doFilter
(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V+101<br>><br>> j<br>> org.apache.catalina.core.StandardWrapperValve.invoke(Lorg/apache/catalina/connector/Request;Lorg/apache/catalina/connector/Response;)V+670
<br>> j<br>> org.apache.catalina.core.StandardContextValve.invoke(Lorg/apache/catalina/connector/Request;Lorg/apache/catalina/connector/Response;)V+285<br>><br>> j<br>> org.apache.catalina.core.StandardHostValve.invoke
(Lorg/apache/catalina/connector/Request;Lorg/apache/catalina/connector/Response;)V+64<br>> j<br>> org.apache.catalina.valves.ErrorReportValve.invoke(Lorg/apache/catalina/connector/Request;Lorg/apache/catalina/connector/Response;)V+6
<br>><br>> j<br>> org.apache.catalina.core.StandardEngineValve.invoke(Lorg/apache/catalina/connector/Request;Lorg/apache/catalina/connector/Response;)V+42<br>> j<br>> org.apache.catalina.connector.CoyoteAdapter.service
(Lorg/apache/coyote/Request;Lorg/apache/coyote/Response;)V+141<br>><br>> j<br>> org.apache.coyote.http11.Http11Processor.process(Ljava/io/InputStream;Ljava/io/OutputStream;)V+521<br>> j<br>> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection
(Lorg/apache/tomcat/util/net/TcpConnection;[Ljava/lang/Object;)V+113<br>><br>> j<br>> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(Ljava/net/Socket;Lorg/apache/tomcat/util/net/TcpConnection;[Ljava/lang/Object;)V+45
<br>> j<br>> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt([Ljava/lang/Object;)V+102<br>><br>> j<br>> 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-<br>> <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<br>> /usr/lib/jdk1.5.0_06/jre/lib/i386/native_threads/libhpi.so
<br>><br>> 4001f000-40020000 rw-p 00006000 08:01 144145<br>> /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>><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<br>> /usr/lib/jdk1.5.0_06/jre/lib/ext/dnsns.jar
<br>> 4002b000-4002c000 rw-p 00000000 00:00 0<br>><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>><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>><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-<br>> <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>><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>><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>><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>><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>><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>><br>> 46af8000-46afa000 rw-p 00000000 00:00 0<br>
> 46afa000-46b5b000 r-xp 00000000 08:02 1035<br>> /usr/local/lib/libfreetype.so.6.3.10<br>> 46b5b000-46b5e000 rw-p 00061000 08:02 1035<br>> /usr/local/lib/libfreetype.so.6.3.10<br>><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>><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<br>> /usr/local/lib/libgdal.so.1.10.0<br>> 46edd000-46f32000 rw-p 00316000 08:02 4586<br>> /usr/local/lib/libgdal.so.1.10.0<br>><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>><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>><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<br>> /usr/X11R6/lib/libfontconfig.so.1.0.4<br>> 470fa000-470fd000 rw-p 00022000 08:01 69699
<br>> /usr/X11R6/lib/libfontconfig.so.1.0.4<br>><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<br>> /usr/local/lib/libNCSEcw.so.0.0.0<br>><br>> 4724f000-47258000 rw-p 00120000 08:02 4327<br>> /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<br>> /usr/local/lib/libNCSCnet.so.0.0.0<br>><br>> 47279000-4727a000 rw-p 00014000 08:02 4339<br>> /usr/local/lib/libNCSCnet.so.0.0.0<br>> 4727a000-47299000 r-xp 00000000 08:02 4334
<br>> /usr/local/lib/libNCSUtil.so.0.0.0<br>> 47299000-4729b000 rw-p 0001e000 08:02 4334<br>> /usr/local/lib/libNCSUtil.so.0.0.0<br>><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>><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<br>>  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<br>> Nov 10 2005 12:08:33 by java_re with gcc
<br>> 3.2.1-7a (J2SE release)<br>><br>><br>><br>> --<br>> "Everything under the sun is in tune<br>> But the sun is eclipsed by the moon"<br></blockquote></div><br><br clear="all"><br>-- <br>
"Everything under the sun is in tune<br>But the sun is eclipsed by the moon"