Hi list,<br><div class="gmail_quote"><div>Does anyone have any experience about the reported topic?</div><div><br></div><div>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).</div>
<div>Utilities are working fine (gdalinfo, gdal_translate, ...)</div><div><br></div><div>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.</div>
<div>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.</div><div><br></div><div>In case someone don't know it, ImageIO-Ext mainly allows to bridge Java's ImageIO (ImageReaders/writers/SPI) to GDAL format drivers.</div>
<div>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.</div>
<div><br></div><div>Does anyone have any feedback on this? (supported/never tested/won't work/need some CXX flags/... anything)</div><div>I'm pasting the hs_err_pid Log in case you find anything interesting. </div>
<div>[1]: <a href="http://pastebin.com/WQkfnutJ">http://pastebin.com/WQkfnutJ</a></div>
<div><br></div><div>Thanks in advance and best regards,</div><div>Daniele</div><div><br></div><div><span>ERROR: native gdal on centos 64 bit</span><br><br><span> -----------------------------</span><span>--------------------------</span><br>
<span> T E S T S</span><br><span>------------------------------</span><span>-------------------------</span><br><span>Running it.geosolutions.imageio.</span><span>plugins.arcgrid.</span><span>ArcGridReadTest</span><br>
<span>Jan 23, 2012 11:42:45 AM it.geosolutions.imageio.</span><span>gdalframework.GDALUtilities loadGDAL</span><br><span>INFO: GDAL Native Library loaded (version: 1.7.3)</span><br>
<span>#</span><br><span># A fatal error has been detected by the Java Runtime Environment:</span><br><span>#</span><br>
<span># SIGSEGV (0xb) at pc=0x00002b15a3ba7037, pid=9169, tid=1106860352</span><br><span>#</span><br><span># JRE version: 6.0_29-b11</span><br>
<span># Java VM: Java HotSpot(TM) 64-Bit Server VM (20.4-b02 mixed mode linux-amd64 compressed oops)</span><br><span># Problematic frame:</span><br>
<span># V [libjvm.so+0x4e1037] java_lang_String::utf8_length(</span><span>oopDesc*)+0x67</span><br><span>#</span><br>
<span># An error report file with more information is saved as:</span><br><span># /root/tests/imageio1.1.2/</span><span>plugin/gdal/gdalarcgrid/hs_</span><span>err_pid9169.log</span><br>
<span>#</span><br><span># If you would like to submit a bug report, please visit:</span><br><span># </span><a href="http://java.sun.com/webapps/bugreport/crash.jsp" target="_blank">http://java.sun.com/webapps/bugreport/crash.jsp</a><br>
<span>#</span><br><span>/bin/sh: line 1: 9169 Aborted /usr/lib/jvm/jdk1.6.0_29/jre/</span><span>bin/java -Xmx512M -enableassertions -Dtest.extensive=false -Dtest.interactive=false -jar /tmp/</span><span>surefirebooter8850919397384240</span><span>961.jar /tmp/</span><span>surefire7943635768826345743tmp /tmp/</span><span>surefire4074398420042204599tmp</span><br>
</div><div><span><br></span></div><div><br></div><div>-- <br>
-------------------------------------------------------<br>Ing. Daniele Romagnoli <br>
GeoSolutions S.A.S.<br>
Software Engineer<br>
<br>
Via Poggio alle Viti 1187<br>
55054 Massarosa (LU)<br>
Italy<br>
<br>
phone: <a href="tel:%2B39%200584%20962313" value="+390584962313" target="_blank">+39 0584 962313</a><br>
fax: <a href="tel:%2B39%200584%20962313" value="+390584962313" target="_blank">+39 0584 962313</a><br><br><a href="http://www.geo-solutions.it/" target="_blank">http://www.geo-solutions.it</a><br>
<a href="http://geo-solutions.blogspot.com/" target="_blank">http://geo-solutions.blogspot.com/</a><br>
<a href="http://www.youtube.com/user/GeoSolutionsIT" target="_blank">http://www.youtube.com/user/GeoSolutionsIT</a><br><a href="http://it.linkedin.com/in/danieleromagnoli" target="_blank">http://it.linkedin.com/in/danieleromagnoli</a><br>
<br><br><span></span>-------------------------------------------------------<br></div></div>