JavaMapscript SIGSEGV

Andre Sachs asachs at CLUE.CO.ZA
Sun May 28 12:44:22 EDT 2006


Hi Everyone,

I have problem with the java Mapscript library. I have a servlet that  
displays a map without problems. When I go after any kind of shapeObj  
the trouble starts. The following short java program causes a SIGSEGV  
error :

import  edu.umn.gis.mapscript.*;
public class Test {
         public static void main(String[] args) {
                 shapeObj s = new shapeObj(mapscript.MS_SHAPE_LINE);
         }
}

The error that is produced :
#
# An unexpected error has been detected by HotSpot Virtual Machine:
#
#  SIGSEGV (0xb) at pc=0x00002aaaaae43d5b, pid=23120, tid=46912501734144
#
# Java VM: Java HotSpot(TM) 64-Bit Server VM (1.5.0_06-b05 mixed mode)
# Problematic frame:
# C  [libc.so.6+0x67d5b]
#
# An error report file with more information is saved as  
hs_err_pid23120.log
#
# If you would like to submit a bug report, please visit:
#   http://java.sun.com/webapps/bugreport/crash.jsp
#
Aborted

And the environment that the error is occuring in is :

Linux icarus 2.6.15-gentoo-r7 #1 Sat May 6 19:49:25 SAST 2006 x86_64  
AMD Athlon(tm) 64 Processor 3800+ GNU/Linux

java version "1.5.0_06"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_06-b05)
Java HotSpot(TM) 64-Bit Server VM (build 1.5.0_06-b05, mixed mode)


Has anyone else deployed on a 64 bit platform ? Is there some magic I  
am missing ?

Kind regards,
   Andre Sachs


--
Andre Sachs
IT Architect, Clue Technologies PTY (LTD)
email: andre at clue.co.za



More information about the mapserver-users mailing list