JavaMapscript SIGSEGV

Rodriguez, Heraldo hrodriguez at SISCAT.COM.AR
Mon Jun 12 15:20:43 EDT 2006


Hi guys,
         I have started  developing  with java mapscript and I have the same
problems with the shapeObj class.
     Every time I want to create a new shape I get the message
> #
> # An unexpected error has been detected by HotSpot Virtual Machine:
> #
> #  SIGSEGV (0xb) at pc=0x00002aaaaae43d5b, pid=23120, tid=46912501734144
> #
> # Java VM: Java HotSpot(TM) Client VM (1.4.2_11-b06 mixed mode)
> # Problematic frame:
...

I am using mapserver  4.8.1  with java 1.4.2_11 version under Debian 3.1.

Mapserver Compiling options
./configure --with-freetype=/usr/local/bin/freetype-config
--with-zlib=/usr/lib --with-png=/usr/local/lib --with-jpeg=/usr/lib
--with-libiconv=/usr/local/lib --with-gd=/usr/local/bin/gdlib-config
--with-pdf=/usr/local/lib --with-proj=/usr/local/lib --with-threads
--with-geos=/usr/local/bin/geos-config --with-ogr=/usr/local/bin/gdal-config
--with-gdal=/usr/local/bin/gdal-config
--with-postgis=/usr/local/pgsql/bin/pg_config --with-wfs --with-wcs
--with-wmsclient --with-curl-config=/usr/local/bin/curl-config

Steps to compile java mapscript 
   	 Run make
       Make interface (swig version 1.3.29)
       Make all 
       
I looked for  a solution in google and mapserver documentation without
success.   Could you please give me  a clue to solve this? Thanks in
advance.
  Best regards.



Heraldo G. Rodriguez
  hrodriguez at siscat.com.ar
   TE 4326-4002 int 255
  Dpto. Desarrollo
  Sistemas Catastrales S.A



-----Mensaje original-----
De: Andre Sachs [mailto:asachs at CLUE.CO.ZA] 
Enviado el: miércoles, 31 de mayo de 2006 5:16
Para: MAPSERVER-USERS at LISTS.UMN.EDU
Asunto: Re: [UMN_MAPSERVER-USERS] JavaMapscript SIGSEGV

On 31 May 2006, at 8:37 AM, Umberto Nicoletti wrote:

> Andre, could you report whether the patch attached to gentoo bugzilla
> works or not?

Hi Umberto,

Sorry for not replying earlier.

The patch works in a 32 intel environment, thanks !

Due to time constraints on my current project I ditched my AMD 64,  
Java 1.5 64 bit environment in favour of Intel 32 bit and this has  
resolved my problem.

The problems I experienced are somewhere in the application stack,  
either in :
- Sun's 64 bit 1.5 jdk
- Gentoo's glibc 2.3.5-r2
- Linux kernel 2.6.16

Once my current project is over (+- 3 weeks) I will be have some  
spare time to hunt down the culprit.

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



More information about the mapserver-users mailing list