I build a shared library (mapserver) which functions i can use in java. 
Using this library within a normal jdk1.4 works without problems.

Calling functions using Tomcat 3.3a works well too. No problems occur.

Using Tomcat 4.0.1/4.0.3 the server crashes with error messages attached 
  to this mail. It does not crash the first time i call the servlet. The 
servlet works several times. Then tomcat crashes.

Normally I would think the error is in the native code, but Tomcat 3.3a 
is working well.

Do you have any suggestions what i could do? My System is Linux SuSE 
7.3. and above testet tomcat-versions.

Harald



An unexpected exception has been detected in native code outside the VM.
Unexpected Signal : 11 occurred at PC=0x4CCDB969
Function=gdImageInterlace+0x9
Library=/usr/lib/libgd.so.4

Current Java thread:
        at de.mobiharz.mapserver.model.mapscript.msSaveImage(Native Method)
        at de.mobiharz.mapserver.main.MapserverServlet.doPost(Unknown Source)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
        at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
        at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243)
        at 
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
        at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
        at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
        at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:201)
        at 
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
        at 
org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246)
        at 
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
        at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
        at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
        at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2344)
        at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164)
        at 
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
        at 
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
        at 
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
        at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)
        at 
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
        at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:462)
        at 
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
        at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
        at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
        at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:163)
        at 
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
        at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
        at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
        at 
org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:1011)
        at 
org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1106)
        at java.lang.Thread.run(Thread.java:536)

Dynamic libraries:
08048000-0804d000 r-xp 00000000 03:47 1620976    /opt/java/j2sdk1.4.0/bin/java
0804d000-0804e000 rw-p 00004000 03:47 1620976    /opt/java/j2sdk1.4.0/bin/java
40000000-40014000 r-xp 00000000 03:46 2269242    /lib/ld-2.2.4.so
40014000-40015000 rw-p 00013000 03:46 2269242    /lib/ld-2.2.4.so
40016000-4001f000 r-xp 00000000 03:47 648506     
/opt/java/j2sdk1.4.0/jre/lib/i386/native_threads/libhpi.so
4001f000-40020000 rw-p 00008000 03:47 648506     
/opt/java/j2sdk1.4.0/jre/lib/i386/native_threads/libhpi.so
40020000-40021000 r--p 00000000 03:46 1815460    
/usr/lib/locale/de_DE/LC_IDENTIFICATION
40021000-40022000 r--p 00000000 03:46 97435      /usr/lib/locale/de_DE/LC_MEASUREMENT
40022000-40023000 r--p 00000000 03:46 1815463    /usr/lib/locale/de_DE/LC_TELEPHONE
40023000-40024000 r--p 00000000 03:46 1815459    /usr/lib/locale/de_DE/LC_ADDRESS
40024000-40025000 r--p 00000000 03:46 1815462    /usr/lib/locale/de_DE/LC_NAME
40025000-40026000 r--p 00000000 03:46 97436      /usr/lib/locale/de_DE/LC_PAPER
40026000-40034000 r-xp 00000000 03:46 2269264    /lib/libpthread.so.0
40034000-4003c000 rw-p 0000d000 03:46 2269264    /lib/libpthread.so.0
4003c000-4003e000 r-xp 00000000 03:46 2269252    /lib/libdl.so.2
4003e000-40040000 rw-p 00001000 03:46 2269252    /lib/libdl.so.2
40040000-4015b000 r-xp 00000000 03:46 2269248    /lib/libc.so.6
4015b000-40162000 rw-p 0011a000 03:46 2269248    /lib/libc.so.6
40166000-40429000 r-xp 00000000 03:47 648508     
/opt/java/j2sdk1.4.0/jre/lib/i386/client/libjvm.so
40429000-40571000 rw-p 002c2000 03:47 648508     
/opt/java/j2sdk1.4.0/jre/lib/i386/client/libjvm.so
40585000-40597000 r-xp 00000000 03:46 2269255    /lib/libnsl.so.1
40597000-40599000 rw-p 00011000 03:46 2269255    /lib/libnsl.so.1
4059b000-405d4000 r-xp 00000000 03:46 1296886    /usr/lib/libstdc++-libc6.1-1.so.2
405d4000-405e0000 rw-p 00038000 03:46 1296886    /usr/lib/libstdc++-libc6.1-1.so.2
405e3000-40604000 r-xp 00000000 03:46 2269253    /lib/libm.so.6
40604000-40605000 rw-p 00020000 03:46 2269253    /lib/libm.so.6
40605000-40616000 r-xp 00000000 03:47 2075154    
/opt/java/j2sdk1.4.0/jre/lib/i386/libverify.so
40616000-40618000 rw-p 00010000 03:47 2075154    
/opt/java/j2sdk1.4.0/jre/lib/i386/libverify.so
40618000-40639000 r-xp 00000000 03:47 2075163    
/opt/java/j2sdk1.4.0/jre/lib/i386/libjava.so
40639000-4063b000 rw-p 00020000 03:47 2075163    
/opt/java/j2sdk1.4.0/jre/lib/i386/libjava.so
4063c000-40650000 r-xp 00000000 03:47 2075158    
/opt/java/j2sdk1.4.0/jre/lib/i386/libzip.so
40650000-40653000 rw-p 00013000 03:47 2075158    
/opt/java/j2sdk1.4.0/jre/lib/i386/libzip.so
40653000-41ccb000 r--s 00000000 03:47 389432     /opt/java/j2sdk1.4.0/jre/lib/rt.jar
41d0d000-41d24000 r--s 00000000 03:47 389427     
/opt/java/j2sdk1.4.0/jre/lib/sunrsasign.jar
41d24000-41d92000 r--s 00000000 03:47 389424     /opt/java/j2sdk1.4.0/jre/lib/jsse.jar
41d92000-41da5000 r--s 00000000 03:47 389436     /opt/java/j2sdk1.4.0/jre/lib/jce.jar
41da5000-42026000 r--s 00000000 03:47 389429     
/opt/java/j2sdk1.4.0/jre/lib/charsets.jar
440ce000-440cf000 r--p 00000000 03:46 32588      
/usr/lib/locale/de_DE/LC_MESSAGES/SYS_LC_MESSAGES
440cf000-440d0000 r--p 00000000 03:46 1815461    /usr/lib/locale/de_DE/LC_MONETARY
4c150000-4c182000 r--p 00000000 03:46 1037473    /usr/lib/locale/de_DE@euro/LC_CTYPE
4c182000-4c188000 r--p 00000000 03:46 97430      /usr/lib/locale/de_DE/LC_COLLATE
4c188000-4c189000 r--p 00000000 03:46 1815464    /usr/lib/locale/de_DE/LC_TIME
4c189000-4c18a000 r--p 00000000 03:46 97431      /usr/lib/locale/de_DE/LC_NUMERIC
4c18a000-4c1bc000 r--p 00000000 03:46 1945126    /usr/lib/locale/de_DE/LC_CTYPE
4c1e7000-4c1e9000 r--s 00000000 03:47 2463824    
/opt/java/j2sdk1.4.0/jre/lib/ext/dnsns.jar
4c1e9000-4c206000 r--s 00000000 03:47 2463825    
/opt/java/j2sdk1.4.0/jre/lib/ext/sunjce_provider.jar
4c206000-4c214000 r--s 00000000 03:47 2463826    
/opt/java/j2sdk1.4.0/jre/lib/ext/ldapsec.jar
4c214000-4c2b7000 r--s 00000000 03:47 2463827    
/opt/java/j2sdk1.4.0/jre/lib/ext/localedata.jar
4c2b7000-4c2be000 r--s 00000000 03:48 1571376    
/home/hawe/programms/jakarta-tomcat-4.0.1/bin/bootstrap.jar
4c2be000-4c758000 r--s 00000000 03:47 2009986    /opt/java/j2sdk1.4.0/lib/tools.jar
4c758000-4c764000 r--s 00000000 03:48 2553449    
/home/hawe/programms/jakarta-tomcat-4.0.1/common/lib/activation.jar
4c764000-4c91e000 r--s 00000000 03:48 2553450    
/home/hawe/programms/jakarta-tomcat-4.0.1/common/lib/xerces.jar
4c91e000-4c968000 r--s 00000000 03:48 2553451    
/home/hawe/programms/jakarta-tomcat-4.0.1/common/lib/tyrex-0.9.7.0.jar
4c968000-4c97b000 r--s 00000000 03:48 2553454    
/home/hawe/programms/jakarta-tomcat-4.0.1/common/lib/servlet.jar
4c97b000-4c9c0000 r--s 00000000 03:48 2553455    
/home/hawe/programms/jakarta-tomcat-4.0.1/common/lib/mail.jar
4c9c0000-4c9c5000 r--s 00000000 03:48 2553456    
/home/hawe/programms/jakarta-tomcat-4.0.1/common/lib/jta.jar
4c9c5000-4c9ce000 r--s 00000000 03:48 2553457    
/home/hawe/programms/jakarta-tomcat-4.0.1/common/lib/naming-resources.jar
4c9ce000-4c9d5000 r--s 00000000 03:48 2553459    
/home/hawe/programms/jakarta-tomcat-4.0.1/common/lib/naming-common.jar
4c9d5000-4c9dc000 r--s 00000000 03:48 229164     
/home/hawe/programms/jakarta-tomcat-4.0.1/server/lib/warp.jar
4c9dc000-4c9e2000 r--s 00000000 03:48 229165     
/home/hawe/programms/jakarta-tomcat-4.0.1/server/lib/servlets-webdav.jar
4c9e2000-4ca72000 r--s 00000000 03:48 229166     
/home/hawe/programms/jakarta-tomcat-4.0.1/server/lib/catalina.jar
4ca72000-4ca89000 r--p 00000000 03:46 1815882    
/usr/share/locale/de/LC_MESSAGES/libc.mo
4ca89000-4ca8a000 r--s 00000000 03:48 229168     
/home/hawe/programms/jakarta-tomcat-4.0.1/server/lib/servlets-common.jar
4ca8a000-4ca92000 r--s 00000000 03:48 229169     
/home/hawe/programms/jakarta-tomcat-4.0.1/server/lib/jakarta-regexp-1.2.jar
4ca92000-4caa6000 r--s 00000000 03:48 229170     
/home/hawe/programms/jakarta-tomcat-4.0.1/server/lib/tomcat-util.jar
4caa6000-4caa8000 r--s 00000000 03:48 229171     
/home/hawe/programms/jakarta-tomcat-4.0.1/server/lib/servlets-invoker.jar
4caa8000-4cab6000 r--s 00000000 03:48 229172     
/home/hawe/programms/jakarta-tomcat-4.0.1/server/lib/tomcat-ajp.jar
4cab6000-4cab9000 r--s 00000000 03:48 229173     
/home/hawe/programms/jakarta-tomcat-4.0.1/server/lib/servlets-manager.jar
4cab9000-4cabe000 r--s 00000000 03:48 229174     
/home/hawe/programms/jakarta-tomcat-4.0.1/server/lib/servlets-default.jar
4cabe000-4cac0000 r--s 00000000 03:48 229175     
/home/hawe/programms/jakarta-tomcat-4.0.1/server/lib/servlets-snoop.jar
4cac0000-4cad2000 r-xp 00000000 03:47 2075150    
/opt/java/j2sdk1.4.0/jre/lib/i386/libnet.so
4cad2000-4cad3000 rw-p 00011000 03:47 2075150    
/opt/java/j2sdk1.4.0/jre/lib/i386/libnet.so
4cad3000-4cae4000 r--s 00000000 03:48 1113087    
/home/hawe/programms/jakarta-tomcat-4.0.1/lib/jasper-runtime.jar
4cae4000-4cae8000 r--s 00000000 03:48 1113088    
/home/hawe/programms/jakarta-tomcat-4.0.1/lib/naming-factory.jar
4cae8000-4cb1b000 r--s 00000000 03:48 1113089    
/home/hawe/programms/jakarta-tomcat-4.0.1/lib/jasper-compiler.jar
4cb1b000-4cb35000 r--s 00000000 03:48 1113090    
/home/hawe/programms/jakarta-tomcat-4.0.1/lib/bsf.jar
4cb35000-4cb51000 r--s 00000000 03:48 1113091    
/home/hawe/programms/jakarta-tomcat-4.0.1/lib/pop3.jar
4cb51000-4cb69000 r--s 00000000 03:48 1113092    
/home/hawe/programms/jakarta-tomcat-4.0.1/lib/smtp.jar
4cb69000-4cb9f000 r--s 00000000 03:48 1113093    
/home/hawe/programms/jakarta-tomcat-4.0.1/lib/soap.jar
4cb9f000-4cc21000 r--s 00000000 03:48 1113094    
/home/hawe/programms/jakarta-tomcat-4.0.1/lib/xmisoap.jar
4cc21000-4cc34000 r--s 00000000 03:48 1898851    
/home/hawe/mobiharz/java/mapserver_test/tomcat/WEB-INF/lib/servlet.jar
4cc34000-4cc47000 r--s 00000000 03:46 1719850    /tmp/jar_cache63308.tmp (deleted)
4cc47000-4ccc0000 r-xp 00000000 03:46 390612     /usr/local/lib/libmapscript.so
4ccc0000-4ccc4000 rw-p 00078000 03:46 390612     /usr/local/lib/libmapscript.so
4ccd5000-4cce4000 r-xp 00000000 03:46 1297380    /usr/lib/libgd.so.4.0.0
4cce4000-4cd03000 rw-p 0000e000 03:46 1297380    /usr/lib/libgd.so.4.0.0
4cd08000-4cd26000 r-xp 00000000 03:46 1297045    /usr/lib/libjpeg.so.62.0.0
4cd26000-4cd27000 rw-p 0001d000 03:46 1297045    /usr/lib/libjpeg.so.62.0.0
4cd27000-4cd57000 r-xp 00000000 03:46 1297015    /usr/lib/libfreetype.so.6.1.0
4cd57000-4cd5b000 rw-p 0002f000 03:46 1297015    /usr/lib/libfreetype.so.6.1.0
4cd5b000-4cd8c000 r-xp 00000000 03:46 1297073    /usr/lib/libpng.so.2.1.0.12
4cd8c000-4cd8d000 rw-p 00030000 03:46 1297073    /usr/lib/libpng.so.2.1.0.12
4cd8d000-4cd9a000 r-xp 00000000 03:46 2269285    /lib/libz.so.1.1.3
4cd9a000-4cd9c000 rw-p 0000c000 03:46 2269285    /lib/libz.so.1.1.3
4cd9c000-4cddd000 r-xp 00000000 03:46 1297076    /usr/lib/libtiff.so.3
4cddd000-4cddf000 rw-p 00040000 03:46 1297076    /usr/lib/libtiff.so.3
4cddf000-4ce62000 r-xp 00000000 03:46 389599     /usr/local/lib/libpdf.so.1.1.2
4ce62000-4ce71000 rw-p 00082000 03:46 389599     /usr/local/lib/libpdf.so.1.1.2
4ce71000-4cff9000 r-xp 00000000 03:46 390605     /usr/local/lib/libgdal.1.1.so
4cff9000-4d07b000 rw-p 00187000 03:46 390605     /usr/local/lib/libgdal.1.1.so
4d090000-4d16d000 r-xp 00000000 03:46 843920     /usr/X11R6/lib/libX11.so.6.2
4d16d000-4d173000 rw-p 000dc000 03:46 843920     /usr/X11R6/lib/libX11.so.6.2
4d173000-4d180000 r-xp 00000000 03:46 843942     /usr/X11R6/lib/libXpm.so.4.11
4d180000-4d182000 rw-p 0000c000 03:46 843942     /usr/X11R6/lib/libXpm.so.4.11
4d182000-4d191000 r-xp 00000000 03:46 1297184    /usr/lib/libpq.so.2.1
4d191000-4d193000 rw-p 0000e000 03:46 1297184    /usr/lib/libpq.so.2.1
4d193000-4d1e0000 r-xp 00000000 03:46 389047     /usr/local/lib/libgrass5.so.0.3.0
4d1e0000-4d1e2000 rw-p 0004c000 03:46 389047     /usr/local/lib/libgrass5.so.0.3.0
4d21c000-4d256000 r-xp 00000000 03:46 1296843    
/usr/lib/libstdc++-3-libc6.2-2-2.10.0.so
4d256000-4d267000 rw-p 00039000 03:46 1296843    
/usr/lib/libstdc++-3-libc6.2-2-2.10.0.so
4d269000-4d293000 r-xp 00000000 03:46 1297118    /usr/lib/libssl.so.0.9.6
4d293000-4d296000 rw-p 00029000 03:46 1297118    /usr/lib/libssl.so.0.9.6
4d296000-4d350000 r-xp 00000000 03:46 1297116    /usr/lib/libcrypto.so.0.9.6
4d350000-4d35c000 rw-p 000b9000 03:46 1297116    /usr/lib/libcrypto.so.0.9.6
4d35f000-4d364000 r-xp 00000000 03:46 2269249    /lib/libcrypt.so.1
4d364000-4d365000 rw-p 00004000 03:46 2269249    /lib/libcrypt.so.1
4d38c000-4d39a000 r-xp 00000000 03:46 2269265    /lib/libresolv.so.2
4d39a000-4d39b000 rw-p 0000d000 03:46 2269265    /lib/libresolv.so.2

Local Time = Mon Mar 18 14:28:44 2002
Elapsed Time = 45
#
# The exception above was detected in native code outside the VM
#
# Java VM: Java HotSpot(TM) Client VM (1.4.0-b92 mixed mode)
#

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to