JavaMapscript SIGSEGV

Oliver Lichte lichte at ICBM.DE
Sun May 28 12:22:58 PDT 2006


Hi Andre,

is it possible that your native JavaMapserver binaries are not  linked against 
64-Bit libraries?

Best regards,
Oliver

Am Sonntag, 28. Mai 2006 18:44 schrieb Andre Sachs:
> 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

-- 
Oliver Lichte
Nachwuchsforschergruppe IMPULSE
Institut für Chemie und Biologie des Meeres (ICBM) 
Carl-von-Ossietzky-Straße 9-11
Postfach 2503
D-26129 Oldenburg

www.icbm.de/impulse
www.icbm.de/anemos

Tel.: +49-441-798-3622
Fax : +49-441-798-3404

mailto:lichte at icbm.de

IMPULSE is also involved in the European project POWER
Pushing Offshore Wind Energy Regions

See the POWER Website: www.offshore-power.net



More information about the MapServer-users mailing list