JavaMapscript SIGSEGV
Umberto Nicoletti
umberto.nicoletti at GMAIL.COM
Sun May 28 23:30:23 PDT 2006
Hi Andre,
the sample program doesn't crash on my laptop (Linux friedrich
2.6.13-gentoo-r3 #5 SMP Fri Oct 14 22:38:56 CEST 2005 i686 AMD
Athlon(tm) XP Processor 2800+ AuthenticAMD GNU/Linux).
Did you build Java mapscript by yourself? Did you follow the
instructions in the README?
Umberto
On 5/28/06, Andre Sachs <asachs at clue.co.za> wrote:
> 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