http://elgis.argeo.org/
this repo has java bindings if that helps --Nikos Hatzopoulos On Mon, Jan 23, 2012 at 9:12 AM, Daniele Romagnoli < [email protected]> wrote: > Hi list, > Does anyone have any experience about the reported topic? > > I have downloaded GDAL 1.7.3 on my Centos 5.7 (64) machine and built it > (with only base drivers and with threads support). > Utilities are working fine (gdalinfo, gdal_translate, ...) > > Then, I have installed SWIG 1.3.36 (I know, it's quite old but testing > 1.3.4X or 2.x in the past, I got several JVM crashes or other types of > issues) and I have created java bindings for it. > Once I have configured LD_LIBRARY_PATH to use all SOs it needs, I have > started running some ImageIO-Ext tests with maven and JVM is crashing. > > In case someone don't know it, ImageIO-Ext mainly allows to bridge Java's > ImageIO (ImageReaders/writers/SPI) to GDAL format drivers. > On several Ubuntu (8, 9, 10, 11) I never had similar problems. We > regularly use ImageIO-Ext 1.1.2 built on top of GDAL 1.7.3 on projects like > GeoTools, GeoServer, Udig, ... Therefore I guess it's not a problem on the > ImageIO-Ext caller side. I think it could be related to the SWIG-JNI > counterpart which isn't working properly or something odd with the memory > usage. > > Does anyone have any feedback on this? (supported/never tested/won't > work/need some CXX flags/... anything) > I'm pasting the hs_err_pid Log in case you find anything interesting. > [1]: http://pastebin.com/WQkfnutJ > > Thanks in advance and best regards, > Daniele > > ERROR: native gdal on centos 64 bit > > ------------------------------------------------------- > T E S T S > ------------------------------------------------------- > Running it.geosolutions.imageio.plugins.arcgrid.ArcGridReadTest > Jan 23, 2012 11:42:45 AM it.geosolutions.imageio.gdalframework.GDALUtilities > loadGDAL > INFO: GDAL Native Library loaded (version: 1.7.3) > # > # A fatal error has been detected by the Java Runtime Environment: > # > # SIGSEGV (0xb) at pc=0x00002b15a3ba7037, pid=9169, tid=1106860352 > # > # JRE version: 6.0_29-b11 > # Java VM: Java HotSpot(TM) 64-Bit Server VM (20.4-b02 mixed mode > linux-amd64 compressed oops) > # Problematic frame: > # V [libjvm.so+0x4e1037] java_lang_String::utf8_length(oopDesc*)+0x67 > # > # An error report file with more information is saved as: > # /root/tests/imageio1.1.2/plugin/gdal/gdalarcgrid/hs_err_pid9169.log > # > # If you would like to submit a bug report, please visit: > # http://java.sun.com/webapps/bugreport/crash.jsp > # > /bin/sh: line 1: 9169 Aborted > /usr/lib/jvm/jdk1.6.0_29/jre/bin/java -Xmx512M -enableassertions > -Dtest.extensive=false -Dtest.interactive=false -jar /tmp/ > surefirebooter8850919397384240961.jar /tmp/surefire7943635768826345743tmp > /tmp/surefire4074398420042204599tmp > > > -- > ------------------------------------------------------- > Ing. Daniele Romagnoli > GeoSolutions S.A.S. > Software Engineer > > Via Poggio alle Viti 1187 > 55054 Massarosa (LU) > Italy > > phone: +39 0584 962313 > fax: +39 0584 962313 > > http://www.geo-solutions.it > http://geo-solutions.blogspot.com/ > http://www.youtube.com/user/GeoSolutionsIT > http://it.linkedin.com/in/danieleromagnoli > > > ------------------------------------------------------- > > _______________________________________________ > gdal-dev mailing list > [email protected] > http://lists.osgeo.org/mailman/listinfo/gdal-dev >
_______________________________________________ gdal-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/gdal-dev
