make test still fails with a SIGSEV in:<div><br></div><div><div>C  [libmapscript.so+0xd3bfa]  msFree+0x23</div><div>C  [libmapscript.so+0xbdb88]  msFreeHashItems+0x9e</div><div>C  [libmapscript.so+0xfa2f6]  msFreeFontSet+0x3f</div>
<div>C  [libmapscript.so+0x143711]  msFreeMap+0x102</div><div><br></div><div>but I can&#39;t understand what&#39;s going on (have tried memory debuggers without luck so far).</div><div><br></div><div>Has anyone suggestions on what I should be looking into?</div>
<div><br></div><div>Umberto</div><br><div class="gmail_quote">On Sat, Mar 19, 2011 at 11:37 AM, Umberto Nicoletti <span dir="ltr">&lt;<a href="mailto:umberto.nicoletti@gmail.com">umberto.nicoletti@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">I&#39;m still working on it as it seems there is a memory problem (the tests crash consistently), but unless you create map, layers and other object programmatically you should be fine.<div>
<br></div><div>@daniel: where should I commit the changes?<br>
<br></div><div>Cheers,</div><div>Umberto</div><div><div></div><div class="h5"><div><br><div class="gmail_quote">On Sat, Mar 19, 2011 at 11:19 AM, Peter Hopfgartner <span dir="ltr">&lt;<a href="mailto:peter.hopfgartner@r3-gis.com" target="_blank">peter.hopfgartner@r3-gis.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Seems good.<br>
<br>
Thanks,<br>
<div><br>
Peter<br>
<br>
R3 GIS Srl - GmbH<br>
<a href="http://www.r3-gis.com" target="_blank">http://www.r3-gis.com</a><br>
<br>
<br>
</div>--------Umberto Nicoletti &lt;<a href="mailto:umberto.nicoletti@gmail.com" target="_blank">umberto.nicoletti@gmail.com</a>&gt; wrote--------<br>
Subject: Re: [mapserver-users] MapServer 6.0.0-beta2 release: problems building Java MapScript<br>
Date: 19.03.2011 09:59<br>
<div><div></div><div><br>
&gt;Try the attached patch and if it works I will commit the changes.<br>
&gt;The Makefile.in for java mapscript is probaly missing other defines from<br>
&gt;the<br>
&gt;main Makefile, I&#39;m looking into it right now.<br>
&gt;<br>
&gt;Regards,<br>
&gt;Umberto<br>
&gt;<br>
&gt;On Sat, Mar 19, 2011 at 9:19 AM, Peter Hopfgartner &lt;<br>
&gt;<a href="mailto:peter.hopfgartner@r3-gis.com" target="_blank">peter.hopfgartner@r3-gis.com</a>&gt; wrote:<br>
&gt;<br>
&gt;&gt; On CentOS 5.5:<br>
&gt;&gt;<br>
&gt;&gt; After running<br>
&gt;&gt;<br>
&gt;&gt; ./configure --with-gd --with-zlib --with-tiff --with-freetype<br>
&gt;--with-gdal<br>
&gt;&gt; --with-ogr --with-geos --with-proj --with-sos --with-wfs --with-wcs<br>
&gt;&gt; --with-wmsclient --with-wfsclient --with-xpm --with-agg --with-cairo<br>
&gt;&gt; --with-postgis --with-curl-config --with-xml2-config --with-threads<br>
&gt;&gt; --enable-debug<br>
&gt;&gt;<br>
&gt;&gt; in mapscript/java/Makefile I&#39;ve found the following, which causes some<br>
&gt;&gt; troubles afterwards:<br>
&gt;&gt;<br>
&gt;&gt; AGG=     @AGG_ENABLED@<br>
&gt;&gt; AGG_INC=  -Irenderers/agg/include<br>
&gt;&gt;<br>
&gt;&gt; (...)<br>
&gt;&gt; PDF_INC=  @PDF_INC@<br>
&gt;&gt; PDF_LIB=  @PDF_LIB@<br>
&gt;&gt; PDF=      @PDF_ENABLED@<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; I have the same situation with Ubuntu 10.04 on current SVN, as of now.<br>
&gt;&gt;<br>
&gt;&gt; Unfortunatly my autoconf skills are very low, so I not really know how<br>
&gt;to<br>
&gt;&gt; provide a fix or better diagnosis.<br>
&gt;&gt;<br>
&gt;&gt; Peter<br>
&gt;&gt;<br>
&gt;&gt; R3 GIS Srl - GmbH<br>
&gt;&gt; <a href="http://www.r3-gis.com" target="_blank">http://www.r3-gis.com</a><br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; --------Daniel Morissette &lt;<a href="mailto:dmorissette@mapgears.com" target="_blank">dmorissette@mapgears.com</a>&gt; wrote--------<br>
&gt;&gt; Subject: [mapserver-users] MapServer 6.0.0-beta2 release<br>
&gt;&gt; Date: 18.03.2011 20:48<br>
&gt;&gt;<br>
&gt;&gt; &gt;Thanks to the hard work from everyone during the Montreal Code Sprint<br>
&gt;&gt; &gt;this week (<a href="http://wiki.osgeo.org/wiki/Montreal_Code_Sprint_2011" target="_blank">http://wiki.osgeo.org/wiki/Montreal_Code_Sprint_2011</a>), the<br>
&gt;&gt; &gt;MapServer Team is pleased to announce the release of MapServer<br>
&gt;&gt; &gt;6.0.0-beta2. This is the latest beta on our way to a final 6.0<br>
&gt;release,<br>
&gt;&gt; &gt;and includes a large number of fixes made during the Montreal Code<br>
&gt;&gt; &gt;Sprint.<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;The 6.0 release introduces important changes in key components of the<br>
&gt;&gt; &gt;MapServer core (rendering, query and expressions), and for this reason<br>
&gt;&gt; &gt;we count on you, MapServer power users, to help test the release in<br>
&gt;your<br>
&gt;&gt; &gt;respective environments and provide feedback (through the users list<br>
&gt;or<br>
&gt;&gt; &gt;Trac tickets).<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;This is the second of four planned beta releases and if all goes well<br>
&gt;a<br>
&gt;&gt; &gt;final release should occur around the end of April. The full release<br>
&gt;&gt; &gt;plan which also includes the list of new features and changes in this<br>
&gt;&gt; &gt;release is available at:<br>
&gt;&gt; &gt;<br>
&gt;<a href="http://mapserver.org/trunk/development/release/release-plan-6.0.html" target="_blank">http://mapserver.org/trunk/development/release/release-plan-6.0.html</a><br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;The list of fixes since beta1 is attached at the end of this message.<br>
&gt;&gt; &gt;For a complete list see the HISTORY.TXT file at:<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt;<br>
&gt;<a href="http://trac.osgeo.org/mapserver/browser/tags/rel-6-0-0-beta2/mapserver/HISTORY.TXT" target="_blank">http://trac.osgeo.org/mapserver/browser/tags/rel-6-0-0-beta2/mapserver/HISTORY.TXT</a><br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;We have started working on a 5.6 -&gt; 6.0 migration guide. This document<br>
&gt;&gt; &gt;contains important notes on backwards incompatibilities or other<br>
&gt;changes<br>
&gt;&gt; &gt;required when upgrading to 6.0. It is not complete yet but we strongly<br>
&gt;&gt; &gt;recommend that you review the latest version online at:<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;     <a href="http://mapserver.org/trunk/MIGRATION_GUIDE.html" target="_blank">http://mapserver.org/trunk/MIGRATION_GUIDE.html</a><br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;The source for this release can be downloaded at:<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;     <a href="http://mapserver.org/download.html" target="_blank">http://mapserver.org/download.html</a><br>
&gt;&gt; &gt;or<br>
&gt;&gt; &gt;     <a href="http://download.osgeo.org/mapserver/mapserver-6.0.0-beta2.tar.gz" target="_blank">http://download.osgeo.org/mapserver/mapserver-6.0.0-beta2.tar.gz</a><br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;The binary distributions listed in the download page should be updated<br>
&gt;&gt; &gt;with binaries for the new beta release in the next day or so.<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;Once again we need your help to ensure a high quality product, so<br>
&gt;please<br>
&gt;&gt; &gt;help out by testing your applications with this new code base.<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;Thanks! - The MapServer Team<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;Version 6.0.0-beta2 (2011-03-18)<br>
&gt;&gt; &gt;--------------------------------<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;- correct scaling of symbol GAP and PATTERN (#3752)<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;- remove references to SWF/MING<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;- CGI runtime substitution requires a validation pattern (was optional<br>
&gt;&gt; &gt;   before) (#3522)<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;- add a default png8 outputformat that uses AGG/PNG with quantization<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;- change MS_INIT_COLOR to take alpha as a parameter<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;- stop using style-&gt;opacity in rendering code, use alpha from<br>
&gt;colorObjs.<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;- Fixed big Oracle memory leak when rendering in KML (#3719)<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;- avoid linking in postgres dependencies unnecessarily (#3708)<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;- don&#39;t initialize outputformats until they are selected<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;- use &quot;seamless&quot; creation of tiles for polygon fills with vector<br>
&gt;symbols<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;- Ability to escape single/double quotes inside a string (#3706)<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;- Globally replace msCaseFindSubstring with strcasestr (#3255)<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;- support GROUP layers in shp2img (#3746)<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;- Honour MAXSIZE for WCS 2.0 responses (#3204).<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;- fallback to ows_title for WCS ows:Title of CoverageDescription<br>
&gt;(#3528)<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;- Added msIO_stripStdoutBufferContentHeaders() to strip off all<br>
&gt;&gt; &gt;   Content-* headers from a buffer (#3673, #3665).<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;- Added raster classification support for STYLE level OPACITY.<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;- Allow attribute references, that is [itemname], within a TEXT string<br>
&gt;&gt; &gt;(#3736)<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;- Fixed segmentation fault when parsing invalid extent arguments in<br>
&gt;&gt; &gt;   shp2img (#3734)<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;- Make &quot;openlayers mode&quot; work even without OWS support (#3732)<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;- Add a static table to define the axis order for soem epsg codes<br>
&gt;(#3582)<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;- Add possibility to use KML_NAME_ITEM (#3728)<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;- Fixed mapfile parsing error when a label angle referenced an<br>
&gt;attribute<br>
&gt;&gt; &gt;   (e.g. ANGLE [angle]) #3727<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;- Removed executable flag on some source files (#3726)<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;- Fixed SQL Spatial to be able to use UniqueIdentifier field as unique<br>
&gt;&gt; &gt;   key (#3722)<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;- Fix PHP Windows build (#3714)<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;- Fixed --with-opengl build issue: Look for OpenGL libs under<br>
&gt;/usr/lib64<br>
&gt;&gt; &gt;as<br>
&gt;&gt; &gt;   well (#3724)<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;_______________________________________________<br>
&gt;&gt; &gt;mapserver-users mailing list<br>
&gt;&gt; &gt;<a href="mailto:mapserver-users@lists.osgeo.org" target="_blank">mapserver-users@lists.osgeo.org</a><br>
&gt;&gt; &gt;<a href="http://lists.osgeo.org/mailman/listinfo/mapserver-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a><br>
&gt;&gt; &gt;<br>
&gt;&gt;<br>
&gt;&gt; _______________________________________________<br>
&gt;&gt; mapserver-users mailing list<br>
&gt;&gt; <a href="mailto:mapserver-users@lists.osgeo.org" target="_blank">mapserver-users@lists.osgeo.org</a><br>
&gt;&gt; <a href="http://lists.osgeo.org/mailman/listinfo/mapserver-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a><br>
&gt;&gt;<br>
&gt;<br>
<br>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>