On Sat, Nov 12, 2011 at 10:19 PM, Francesco Izzi
<[email protected]>wrote:

> Hi Andrea,
>
> i try to test the ogr datastore on macosx lion.
>
> i run: mvn clean install -Djava.library.path=/usr/local/bin/
> -DGDAL_LIBRARY_NAME=gdal
>
> but i have this:
>
> -------------------------------------------------------
>  T E S T S
> -------------------------------------------------------
> Running org.geotools.data.ogr.GeometryMapperTest
> Registered library as gdal
> Invalid memory access of location 0x13d36cb74 rip=0x103165210
> /bin/sh: line 1: 55016 Segmentation fault: 11
>  /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/bin/java
> -Xmx512M -Dorg.geotools.test.extensive=false
> -Dorg.geotools.test.interactive=false
> -Dorg.geotools.image.test.enabled=true
> -Dorg.geotools.image.test.interactive=false
> '-Djava.awt.headless=${java.awt.headless}'
> -Djava.io.tmpdir=/var/folders/cs/551x1_nd5xl142_qrs22h5980000gn/T/ -jar
> /Users/fizzi/sviluppo/codice/geosdi/gt-trunk/modules/unsupported/ogr/target/surefire/surefirebooter301142255284689358.jar
> /Users/fizzi/sviluppo/codice/geosdi/gt-trunk/modules/unsupported/ogr/target/surefire/surefire3539506481835657568tmp
> /Users/fizzi/sviluppo/codice/geosdi/gt-trunk/modules/unsupported/ogr/target/surefire/surefire8826194368430222431tmp
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
>
>
Gah, a segfault, something went wrong when calling a native method.
The only way to fix these suckers for me has been to debug step by step and
see what line
of code generates the segfault, under which conditions, read the ogr docs
trying to figure out
what went wrong (and the fix it).
It often requires quite a bit of hair pulling (and access to the machine
that shows the segfault) :-(

Cheers
Andrea

-- 
-------------------------------------------------------
Ing. Andrea Aime
GeoSolutions S.A.S.
Tech lead

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://www.linkedin.com/in/andreaaime
http://twitter.com/geowolf

-------------------------------------------------------
------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to