<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML xmlns="http://www.w3.org/TR/REC-html40" xmlns:v = 
"urn:schemas-microsoft-com:vml" xmlns:o = 
"urn:schemas-microsoft-com:office:office" xmlns:w = 
"urn:schemas-microsoft-com:office:word" xmlns:st1 = 
"urn:schemas-microsoft-com:office:smarttags"><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.2912" name=GENERATOR><!--[if !mso]>
<STYLE>v\:* {
        BEHAVIOR: url(#default#VML)
}
o\:* {
        BEHAVIOR: url(#default#VML)
}
w\:* {
        BEHAVIOR: url(#default#VML)
}
.shape {
        BEHAVIOR: url(#default#VML)
}
</STYLE>
<![endif]--><o:SmartTagType name="PersonName" 
namespaceuri="urn:schemas-microsoft-com:office:smarttags"></o:SmartTagType><!--[if !mso]>
<STYLE>st1\:* {
        BEHAVIOR: url(#default#ieooui)
}
</STYLE>
<![endif]-->
<STYLE>@font-face {
        font-family: Arial Unicode MS;
}
@font-face {
        font-family: Tahoma;
}
@font-face {
        font-family: @Arial Unicode MS;
}
@page Section1 {size: 595.3pt 841.9pt; margin: 70.85pt 70.85pt 70.85pt 70.85pt; }
P.MsoNormal {
        FONT-SIZE: 12pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"
}
LI.MsoNormal {
        FONT-SIZE: 12pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"
}
DIV.MsoNormal {
        FONT-SIZE: 12pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"
}
A:link {
        COLOR: blue; TEXT-DECORATION: underline
}
SPAN.MsoHyperlink {
        COLOR: blue; TEXT-DECORATION: underline
}
A:visited {
        COLOR: purple; TEXT-DECORATION: underline
}
SPAN.MsoHyperlinkFollowed {
        COLOR: purple; TEXT-DECORATION: underline
}
P {
        FONT-SIZE: 12pt; MARGIN-LEFT: 0cm; MARGIN-RIGHT: 0cm; FONT-FAMILY: "Times New Roman"; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto
}
SPAN.E-mailStlus17 {
        COLOR: navy; FONT-FAMILY: Arial; mso-style-type: personal
}
SPAN.E-mailStlus20 {
        COLOR: navy; FONT-FAMILY: Arial; mso-style-type: personal-reply
}
DIV.Section1 {
        page: Section1
}
</STYLE>
</HEAD>
<BODY lang=HU vLink=purple link=blue>
<DIV dir=ltr align=left>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN 
class=624241507-16062006>Tamas</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN 
class=624241507-16062006></SPAN></FONT>&nbsp;</DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN 
class=624241507-16062006>Thanks a lot for your answser.</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN 
class=624241507-16062006>All the layerObj object i use&nbsp; in my program are 
déclared in the mapfile so i don't need to create layerObj from scratch using 
the constructor.</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN 
class=624241507-16062006>When you say that if a layerObj reference with a 
previously released native memory segment, it may causing the error, what are 
the consequences for my code ? Using the Dispose method is there&nbsp;the 
solution to avoid this problem ?</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN 
class=624241507-16062006></SPAN></FONT>&nbsp;</DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN 
class=624241507-16062006>How can i get CVS&nbsp;code ?</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN 
class=624241507-16062006></SPAN></FONT>&nbsp;</DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN 
class=624241507-16062006><SPAN class=324064107-16062006>Concernig the number of 
result, i test the resultCacheObj.numresults value. it is not enough 
?</SPAN></SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial><FONT color=#0000ff size=2><SPAN 
class=624241507-16062006></SPAN></FONT></FONT>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=624241507-16062006><FONT face=Arial 
color=#0000ff size=2>Why this code works well under windows and scratches under 
linux ?</FONT></SPAN></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff 
size=2></FONT>&nbsp;</DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN 
class=324064107-16062006>regards</SPAN></FONT></DIV></DIV>
<DIV>&nbsp;</DIV>
<DIV class=Section1>
<P class=MsoNormal align=left><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">-----------------------------------------</SPAN></P>
<P class=MsoNormal><STRONG><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Xavier Mauclaire</SPAN></STRONG></P>
<P class=MsoNormal><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">-------------------------------------------------------</SPAN></P>
<P class=MsoNormal><FONT face=Arial color=#0000ff 
size=2></FONT><BR>&nbsp;</P></DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT>&nbsp;</DIV><FONT face=Arial 
color=#0000ff size=2></FONT><FONT face=Arial color=#0000ff size=2></FONT><BR>
<DIV class=OutlookMessageHeader lang=fr dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>De&nbsp;:</B> Tamas Szekeres 
[mailto:szekerest@gmail.com] <BR><B>Envoyé&nbsp;:</B> vendredi 16 juin 2006 
01:07<BR><B>À&nbsp;:</B> 'Xavier Mauclaire'; 
MAPSERVER-USERS@LISTS.UMN.EDU<BR><B>Objet&nbsp;:</B> RE: [UMN_MAPSERVER-USERS] 
Mapscript ,Mono, Apache and Linux : a great story<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV class=Section1>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN 
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">Xavier,<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN 
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p>&nbsp;</o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN 
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">All of the stack traces 
you reported represents me that you possibly have a layerObj reference with a 
previoulsy released native memory segment.<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN 
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">This may occur if 2 or 
more layerObj references exclusively own the same native memory and one of them 
is disposed or goes out of scope.<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN 
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">By this time i know one 
situation causing this problem is creating the layer using the „layerObj(mapObj 
map)” constructor with non null map parameter.<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN 
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">(classobj(layerobj) and 
styleObj(classObj) are also suffer from this issue). This problem was corrected 
in the current CVS HEAD.<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN 
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p>&nbsp;</o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN 
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">So it would be 
important to know if you have some special handling of theese objects in your 
application or all of theese object was created by parsing the map 
file.<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN 
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p>&nbsp;</o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN 
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">The given code fragment 
should theoretically work, however you should check the number of the results 
before calling getResult.<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN 
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p>&nbsp;</o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN 
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p>&nbsp;</o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN 
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">Tamas<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN 
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p>&nbsp;</o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN 
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p>&nbsp;</o:p></SPAN></FONT></P>
<DIV>
<DIV class=MsoNormal style="TEXT-ALIGN: center" align=center><FONT 
face="Times New Roman" size=3><SPAN style="FONT-SIZE: 12pt">
<HR tabIndex=-1 align=center width="100%" SIZE=2>
</SPAN></FONT></DIV>
<P class=MsoNormal><B><FONT face=Tahoma size=2><SPAN 
style="FONT-WEIGHT: bold; FONT-SIZE: 10pt; FONT-FAMILY: Tahoma">From:</SPAN></FONT></B><FONT 
face=Tahoma size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma"> 
<st1:PersonName w:st="on">Xavier Mauclaire</st1:PersonName> 
[mailto:xavier.mauclaire@geoter.fr] <BR><B><SPAN 
style="FONT-WEIGHT: bold">Sent:</SPAN></B> Thursday, June 15, 2006 10:55 
AM<BR><B><SPAN style="FONT-WEIGHT: bold">To:</SPAN></B> 'Tamas Szekeres'; 
MAPSERVER-USERS@LISTS.UMN.EDU<BR><B><SPAN 
style="FONT-WEIGHT: bold">Subject:</SPAN></B> RE: [UMN_MAPSERVER-USERS] 
Mapscript ,Mono, Apache and Linux : a great 
story</SPAN></FONT><o:p></o:p></P></DIV>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN 
style="FONT-SIZE: 12pt"><o:p>&nbsp;</o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=blue size=2><SPAN 
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Arial">Hi 
Tamas</SPAN></FONT><o:p></o:p></P>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN 
style="FONT-SIZE: 12pt">&nbsp;<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=blue size=2><SPAN 
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Arial">You will find next 
information which may help.</SPAN></FONT><o:p></o:p></P>
<P class=MsoNormal><FONT face=Arial color=blue size=2><SPAN 
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Arial">Thanks in advance for 
your help</SPAN></FONT><o:p></o:p></P>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN 
style="FONT-SIZE: 12pt">&nbsp;<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=blue size=2><SPAN 
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Arial">The problem is that the 
server scratches randomly occurs. However, i saw in the logs (if the variable 
MALLOC_CHECK_ equals 0) the&nbsp;segmentation fault appears a lot of time 
in&nbsp;GetFeature function. I saw in the mailing List emails concerning this 
problem with Java.</SPAN></FONT><o:p></o:p></P>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN 
style="FONT-SIZE: 12pt">&nbsp;<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=blue size=2><SPAN 
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Arial">You will find next : 
</SPAN></FONT><o:p></o:p></P>
<P class=MsoNormal><FONT face=Arial color=blue size=2><SPAN 
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Arial">&nbsp;&nbsp;&nbsp; 1) 
piece of code c#</SPAN></FONT><o:p></o:p></P>
<P class=MsoNormal><FONT face=Arial color=blue size=2><SPAN 
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Arial">&nbsp;&nbsp;&nbsp; 2) 
mapfile used</SPAN></FONT><o:p></o:p></P>
<P class=MsoNormal><FONT face=Arial color=blue size=2><SPAN 
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Arial">&nbsp;&nbsp;&nbsp; 3) 
apache2 error_log file</SPAN></FONT><o:p></o:p></P>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN 
style="FONT-SIZE: 12pt">&nbsp;<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN 
style="FONT-SIZE: 12pt">&nbsp;<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=blue size=2><SPAN 
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Arial">system informations : 
</SPAN></FONT><o:p></o:p></P>
<P class=MsoNormal><FONT face=Arial color=blue size=2><SPAN 
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Arial">&nbsp;&nbsp;&nbsp; 
apache 2.2 (ia upgrade apache yesterday 2.0.54 to 
2.2)</SPAN></FONT><o:p></o:p></P>
<P class=MsoNormal><FONT face=Arial color=blue size=2><SPAN 
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Arial">&nbsp;&nbsp;&nbsp; Mono 
1.1.13</SPAN></FONT><o:p></o:p></P>
<P class=MsoNormal><FONT face=Arial color=blue size=2><SPAN 
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Arial">&nbsp;&nbsp;&nbsp; 
mod_mono 1.1.14</SPAN></FONT><o:p></o:p></P>
<P class=MsoNormal><FONT face=Arial color=blue size=2><SPAN 
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Arial">&nbsp;&nbsp;&nbsp; 
mapserver 4.8.3 with mapscript csharp</SPAN></FONT><o:p></o:p></P>
<P class=MsoNormal><FONT face=Arial color=blue size=2><SPAN 
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Arial">&nbsp;&nbsp;&nbsp; 
postgresql&nbsp; 8.1.3</SPAN></FONT><o:p></o:p></P>
<P class=MsoNormal><FONT face=Arial color=blue size=2><SPAN 
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Arial">&nbsp;&nbsp;&nbsp; 
Postgis 1.1.1</SPAN></FONT><o:p></o:p></P>
<P class=MsoNormal><FONT face=Arial color=blue size=2><SPAN 
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Arial">&nbsp;&nbsp;&nbsp; gdal 
1.3.1</SPAN></FONT><o:p></o:p></P>
<P class=MsoNormal><FONT face=Arial color=blue size=2><SPAN 
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Arial">&nbsp;&nbsp;&nbsp; geos 
2.2.1</SPAN></FONT><o:p></o:p></P>
<P class=MsoNormal><FONT face=Arial color=blue size=2><SPAN 
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Arial">&nbsp;&nbsp;&nbsp; 
gd-2.0.33</SPAN></FONT><o:p></o:p></P>
<P class=MsoNormal><FONT face=Arial color=blue size=2><SPAN 
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Arial">&nbsp;&nbsp;&nbsp; 
libiconv 1.9.</SPAN></FONT><o:p></o:p></P>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN 
style="FONT-SIZE: 12pt">&nbsp;<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=blue size=2><SPAN 
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Arial">Compilation options of 
Mapserver</SPAN></FONT><o:p></o:p></P>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN 
style="FONT-SIZE: 12pt">&nbsp;<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=blue size=2><SPAN 
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Arial">./configure 
--with-gdal=/usr/local/bin/gdal-config --with-ogr=/usr/local/bin/gdal-config 
--with-postgis=/usr/local/pgsql/bin/pg_config --with-xpm=/usr/local/lib&nbsp; 
--with-ming --with-png --with-jpeg --with-zlib --with-libiconv--without-tiff 
--with-threads --with-geos=/usr/local/bin/geos-config --with-gif --with-proj 
--with-gd=/usr/local -without-wms&nbsp; <o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN 
style="FONT-SIZE: 12pt">&nbsp;<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=blue size=2><SPAN 
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Arial">I'm really need any 
help. I don't know what to do.</SPAN></FONT><o:p></o:p></P>
<P class=MsoNormal><FONT face=Arial color=blue size=2><SPAN 
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Arial">I'm sure that 
architecture choices i've done are good So it has to be working :-)&nbsp;&nbsp; 
</SPAN></FONT><o:p></o:p></P>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN 
style="FONT-SIZE: 12pt">&nbsp;<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=blue size=2><SPAN 
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Arial">regards</SPAN></FONT><o:p></o:p></P>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN 
style="FONT-SIZE: 12pt">&nbsp;<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN 
style="FONT-SIZE: 12pt">&nbsp;<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN 
style="FONT-SIZE: 12pt">&nbsp;<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN 
style="FONT-SIZE: 12pt">&nbsp;<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=blue size=2><SPAN 
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Arial">1) Piece of Code where 
</SPAN></FONT><o:p></o:p></P>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN 
style="FONT-SIZE: 12pt">&nbsp;<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN 
style="FONT-SIZE: 12pt">&nbsp;<o:p></o:p></SPAN></FONT></P>
<P><FONT face=Arial color=blue size=2><SPAN 
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Arial">private shapeObj 
localiser_parcelle(Double dX, Double dY, out String zParcelleIdent){<BR>shapeObj 
pShape = null;<BR>zParcelleIdent = "";<BR>int liRes ; </SPAN></FONT><FONT 
color=blue><SPAN style="COLOR: blue"><o:p></o:p></SPAN></FONT></P>
<DIV>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN 
style="FONT-SIZE: 12pt">&nbsp;<o:p></o:p></SPAN></FONT></P></DIV>
<DIV>
<P class=MsoNormal><FONT face=Arial color=blue size=2><SPAN 
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Arial">&nbsp;&nbsp;&nbsp;try 
{<BR>&nbsp;&nbsp;&nbsp;&nbsp;// recupération de la layer des 
parcelle<BR>&nbsp;&nbsp;&nbsp;&nbsp;// celle dont le nom est 
CONST_LAYERNAME_PARCELLE<BR>&nbsp;&nbsp;&nbsp;&nbsp;layerObj pLayerParcelle = 
pMapQuery.getLayerByName(cConstantes.CONST_LAYERNAME_PARCELLE);<BR>&nbsp;&nbsp;&nbsp;<BR>&nbsp;&nbsp;&nbsp;&nbsp;if(pLayerParcelle 
!= null){<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;// creation du poitn de 
localisation<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;pointObj pPoint = new pointObj(dX, 
dY,0.0,0.0 );</SPAN></FONT><o:p></o:p></P></DIV>
<DIV>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN 
style="FONT-SIZE: 12pt">&nbsp;<o:p></o:p></SPAN></FONT></P></DIV>
<DIV>
<P class=MsoNormal><FONT face=Arial color=blue size=2><SPAN 
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Arial">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;// 
on recherche la parcelle au point 
cliqué<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;pLayerParcelle.queryByPoint(pMapQuery,pPoint,mapscript.MS_SINGLE,0);<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;resultCacheObj 
pRes =&nbsp; 
pLayerParcelle.getResults();<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;try{<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;resultCacheMemberObj 
pResMember = null;</SPAN></FONT><o:p></o:p></P></DIV>
<DIV>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN 
style="FONT-SIZE: 12pt">&nbsp;<o:p></o:p></SPAN></FONT></P></DIV>
<DIV>
<P class=MsoNormal><FONT face=Arial color=blue size=2><SPAN 
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Arial">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if(pRes.numresults 
&gt; 0) {<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//on zoom sur la 
selection 
courante<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;pMapQuery.setExtent(pRes.bounds.minx,pRes.bounds.miny,pRes.bounds.maxx,pRes.bounds.maxy);&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>&nbsp;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;pLayerParcelle.open();<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;try{<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;// 
récupération de la première 
parcelle<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;pResMember = 
pRes.getResult(0);<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;pShape = 
pLayerParcelle.getFeature(pResMember.shapeindex, 
pResMember.tileindex);<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if(pShape 
!= null) {<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;// récupération de 
l'identifiant de la 
parcellle<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Int32 liRang 
= -1;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;// recherche rang 
champs<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;liRang = 
cRegInfos.SetLayerFieldRang(pLayerParcelle, 
cRegInfo.CONST_IDPARCELLE);<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;zParcelleIdent 
= pShape.getValue(liRang);<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;} 
//end if 
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}finally{<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;pLayerParcelle.close();<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;} 
//e nd finally<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;} //e nd 
if<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;} finally 
{<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;pRes.Dispose();<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;pRes 
= null;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;} //e nd 
finally&nbsp;&nbsp;<BR>&nbsp;&nbsp;&nbsp;&nbsp;} 
else<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;throw new Exception("Couche des parcelles 
introuvable"); &nbsp;&nbsp;&nbsp;&nbsp;<BR>&nbsp;&nbsp;&nbsp;} 
finally{<BR>&nbsp;&nbsp;&nbsp;} //end finally 
</SPAN></FONT><o:p></o:p></P></DIV>
<DIV>
<P class=MsoNormal><FONT face=Arial color=green size=2><SPAN 
style="FONT-SIZE: 10pt; COLOR: green; FONT-FAMILY: Arial"></SPAN></FONT><FONT 
color=blue><SPAN style="COLOR: blue"><BR></SPAN></FONT><FONT face=Arial 
color=blue size=2><SPAN 
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Arial">return 
pShape;</SPAN></FONT><FONT color=blue><SPAN 
style="COLOR: blue"><o:p></o:p></SPAN></FONT></P></DIV>
<P><FONT face=Arial color=blue size=2><SPAN 
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Arial">} </SPAN></FONT><FONT 
face=Arial color=green size=2><SPAN 
style="FONT-SIZE: 10pt; COLOR: green; FONT-FAMILY: Arial">// end 
function</SPAN></FONT><FONT color=green size=2><SPAN 
style="FONT-SIZE: 10pt; COLOR: green"><o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN 
style="FONT-SIZE: 12pt">&nbsp;<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=blue size=2><SPAN 
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Arial">2) Mapfile 
</SPAN></FONT><o:p></o:p></P>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN 
style="FONT-SIZE: 12pt">&nbsp;<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=blue size=2><SPAN 
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Arial">#<BR>#</SPAN></FONT><o:p></o:p></P>
<DIV>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN 
style="FONT-SIZE: 12pt">&nbsp;<o:p></o:p></SPAN></FONT></P></DIV>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN 
style="FONT-SIZE: 12pt"><BR></SPAN></FONT><FONT face=Arial color=blue 
size=2><SPAN 
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Arial">MAP<BR>NAME 
MAPFILE<BR>STATUS ON<BR>SHAPEPATH "/home/raster971/"<BR># Map image size. Change 
size as desired<BR>SIZE 750 750<BR>IMAGETYPE png <BR># Extent based on full 
extent of QGIS view<BR>EXTENT 635000 1768500&nbsp; 645000 1778700<BR>SYMBOLSET 
"symbols/symbols.sym"<BR>IMAGECOLOR&nbsp; 255 255 255<BR>FONTSET 
"fonts/fonts.list"</SPAN></FONT><o:p></o:p></P>
<DIV>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN 
style="FONT-SIZE: 12pt">&nbsp;<o:p></o:p></SPAN></FONT></P></DIV>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN 
style="FONT-SIZE: 12pt">&nbsp;<o:p></o:p></SPAN></FONT></P>
<DIV>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN 
style="FONT-SIZE: 12pt">&nbsp;<o:p></o:p></SPAN></FONT></P></DIV>
<P class=MsoNormal><FONT face=Arial color=blue size=2><SPAN 
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Arial">#<BR># Start of web 
interface definition. Only the TEMPLATE parameter<BR># must be specified to 
display a map. See Mapserver documentation<BR>#<BR>WEB<BR>&nbsp;IMAGEPATH 
""<BR>&nbsp;IMAGEURL "/tmp/"<BR>END</SPAN></FONT><o:p></o:p></P>
<DIV>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN 
style="FONT-SIZE: 12pt">&nbsp;<o:p></o:p></SPAN></FONT></P></DIV>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN 
style="FONT-SIZE: 12pt">&nbsp;<o:p></o:p></SPAN></FONT></P>
<DIV>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN 
style="FONT-SIZE: 12pt">&nbsp;<o:p></o:p></SPAN></FONT></P></DIV>
<P class=MsoNormal><FONT face=Arial color=blue size=2><SPAN 
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Arial">OUTPUTFORMAT<BR>&nbsp; 
NAME png<BR>&nbsp; DRIVER "GD/PNG"<BR>&nbsp; MIMETYPE "image/png"<BR>&nbsp; 
EXTENSION "png"<BR>&nbsp; IMAGEMODE RGB<BR>&nbsp; TRANSPARENT 
OFF<BR>END</SPAN></FONT><o:p></o:p></P>
<DIV>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN 
style="FONT-SIZE: 12pt">&nbsp;<o:p></o:p></SPAN></FONT></P></DIV>
<P class=MsoNormal><FONT face=Arial color=blue size=2><SPAN 
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Arial">&nbsp;SCALEBAR<BR>&nbsp;&nbsp;&nbsp; 
IMAGECOLOR -1 -1 -1<BR>&nbsp;&nbsp;&nbsp; OUTLINECOLOR 0 0 
0<BR>&nbsp;&nbsp;&nbsp; BACKGROUNDCOLOR 0 0 0<BR>&nbsp;&nbsp;&nbsp; 
LABEL<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; COLOR 0 0 0<BR>&nbsp;&nbsp;&nbsp; 
END<BR>&nbsp;&nbsp;&nbsp; SIZE 150 5<BR>&nbsp;&nbsp;&nbsp; COLOR 255 255 
255<BR>&nbsp;&nbsp;&nbsp; UNITS METERS<BR>&nbsp;&nbsp;&nbsp; INTERVALS 
4<BR>&nbsp;&nbsp;&nbsp; TRANSPARENT on&nbsp; <BR>&nbsp;&nbsp; STATUS EMBED 
<BR>&nbsp;&nbsp; STYLE 0<BR>&nbsp;&nbsp;&nbsp; POSITION LR<BR>&nbsp; 
END</SPAN></FONT><o:p></o:p></P>
<DIV>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN 
style="FONT-SIZE: 12pt">&nbsp;<o:p></o:p></SPAN></FONT></P></DIV>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN 
style="FONT-SIZE: 12pt">&nbsp;<o:p></o:p></SPAN></FONT></P>
<DIV>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN 
style="FONT-SIZE: 12pt">&nbsp;<o:p></o:p></SPAN></FONT></P></DIV>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN 
style="FONT-SIZE: 12pt">&nbsp;<o:p></o:p></SPAN></FONT></P>
<DIV>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN 
style="FONT-SIZE: 12pt">&nbsp;<o:p></o:p></SPAN></FONT></P></DIV>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN 
style="FONT-SIZE: 12pt"><BR></SPAN></FONT><FONT face=Arial color=blue 
size=2><SPAN 
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Arial">LAYER<BR>&nbsp; NAME 
limites_communales<BR>&nbsp; TYPE POLYGON <BR>&nbsp; STATUS DEFAULT 
<BR>CONNECTION "user=postgres password=trucmuche dbname=pprsaintclaude 
host=localhost port=5432"<BR>CONNECTIONTYPE postgis<BR>DATA "wkb_geometry from 
limites_communales"<BR>&nbsp;&nbsp;&nbsp; CLASS<BR>&nbsp;&nbsp;&nbsp;&nbsp; NAME 
"commune"<BR>&nbsp;&nbsp;&nbsp; END</SPAN></FONT><o:p></o:p></P>
<DIV>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN 
style="FONT-SIZE: 12pt">&nbsp;<o:p></o:p></SPAN></FONT></P></DIV>
<P class=MsoNormal><FONT face=Arial color=blue size=2><SPAN 
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Arial">END</SPAN></FONT><o:p></o:p></P>
<DIV>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN 
style="FONT-SIZE: 12pt">&nbsp;<o:p></o:p></SPAN></FONT></P></DIV>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN 
style="FONT-SIZE: 12pt">&nbsp;<o:p></o:p></SPAN></FONT></P>
<DIV>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN 
style="FONT-SIZE: 12pt">&nbsp;<o:p></o:p></SPAN></FONT></P></DIV>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN 
style="FONT-SIZE: 12pt"><BR></SPAN></FONT><FONT face=Arial color=blue 
size=2><SPAN 
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Arial">LAYER<BR>&nbsp; NAME 
zonage_reglementaire<BR>&nbsp; TYPE POLYGON <BR>&nbsp; STATUS DEFAULT 
<BR>CONNECTION "user=postgres password=trucmuche dbname=pprsaintclaude 
host=localhost port=5432"<BR>CONNECTIONTYPE postgis<BR>TEMPLATE 
"rien.htm"</SPAN></FONT><o:p></o:p></P>
<DIV>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN 
style="FONT-SIZE: 12pt">&nbsp;<o:p></o:p></SPAN></FONT></P></DIV>
<P class=MsoNormal><FONT face=Arial color=blue size=2><SPAN 
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Arial">DATA "wkb_geometry from 
zonage_reglementaire"<BR>&nbsp;&nbsp;&nbsp; CLASSITEM 
"code_reg"</SPAN></FONT><o:p></o:p></P>
<DIV>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN 
style="FONT-SIZE: 12pt">&nbsp;<o:p></o:p></SPAN></FONT></P></DIV>
<P class=MsoNormal><FONT face=Arial color=blue size=2><SPAN 
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Arial">&nbsp;&nbsp;&nbsp; 
CLASS<BR>&nbsp;&nbsp;&nbsp;&nbsp; NAME "0"<BR>&nbsp;&nbsp;&nbsp;&nbsp; 
EXPRESSION "0"&nbsp;&nbsp;&nbsp; <BR>&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;COLOR 
255 255 255<BR>&nbsp;&nbsp;&nbsp;&nbsp; OUTLINECOLOR -1 -1 
-1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <BR>&nbsp;&nbsp;&nbsp; 
END<BR>&nbsp;&nbsp;&nbsp; CLASS<BR>&nbsp;&nbsp;&nbsp;&nbsp; NAME 
"1"<BR>&nbsp;&nbsp;&nbsp;&nbsp; EXPRESSION "1"<BR>&nbsp;&nbsp;&nbsp;&nbsp; COLOR 
160 224 255<BR>&nbsp;&nbsp;&nbsp;&nbsp; OUTLINECOLOR -1 -1 -1 
<BR>&nbsp;&nbsp;&nbsp; END<BR>&nbsp;&nbsp; CLASS<BR>&nbsp;&nbsp;&nbsp;&nbsp; 
NAME "2"<BR>&nbsp;&nbsp;&nbsp;&nbsp; EXPRESSION "2"<BR>&nbsp;&nbsp;&nbsp;&nbsp; 
COLOR 64 192 255<BR>&nbsp;&nbsp;&nbsp;&nbsp; OUTLINECOLOR -1 -1 -1 
<BR>&nbsp;&nbsp;&nbsp; END<BR>&nbsp;&nbsp;&nbsp; 
CLASS<BR>&nbsp;&nbsp;&nbsp;&nbsp; NAME "3"<BR>&nbsp;&nbsp;&nbsp;&nbsp; 
EXPRESSION "3"<BR>&nbsp;&nbsp;&nbsp;&nbsp; COLOR 0 0 
255<BR>&nbsp;&nbsp;&nbsp;&nbsp; OUTLINECOLOR -1 -1 -1 <BR>&nbsp;&nbsp;&nbsp; 
END<BR>&nbsp;&nbsp;&nbsp; CLASS<BR>&nbsp;&nbsp;&nbsp;&nbsp; NAME 
"4"<BR>&nbsp;&nbsp;&nbsp;&nbsp; EXPRESSION "4"<BR>&nbsp;&nbsp;&nbsp;&nbsp; COLOR 
255 128 128<BR>&nbsp;&nbsp;&nbsp;&nbsp; OUTLINECOLOR -1 -1 -1 
<BR>&nbsp;&nbsp;&nbsp; END<BR>&nbsp;&nbsp;&nbsp;&nbsp; 
CLASS<BR>&nbsp;&nbsp;&nbsp;&nbsp; NAME "5"<BR>&nbsp;&nbsp;&nbsp;&nbsp; 
EXPRESSION "5"<BR>&nbsp;&nbsp;&nbsp;&nbsp; STYLE<BR>&nbsp;&nbsp;&nbsp;&nbsp; 
&nbsp;SYMBOL "hatch45"<BR>&nbsp;&nbsp; &nbsp;COLOR 255 0 
0<BR>&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;SIZE 6<BR>&nbsp;&nbsp;&nbsp;&nbsp; 
&nbsp;WIDTH 1<BR>&nbsp;&nbsp;&nbsp;&nbsp; END</SPAN></FONT><o:p></o:p></P>
<DIV>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN 
style="FONT-SIZE: 12pt">&nbsp;<o:p></o:p></SPAN></FONT></P></DIV>
<P class=MsoNormal><FONT face=Arial color=blue size=2><SPAN 
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Arial">&nbsp;&nbsp;&nbsp; 
END<BR>&nbsp;&nbsp;&nbsp; CLASS<BR>&nbsp;&nbsp;&nbsp;&nbsp; NAME 
"6"<BR>&nbsp;&nbsp;&nbsp;&nbsp; EXPRESSION "6"<BR>&nbsp;&nbsp;&nbsp;&nbsp; COLOR 
255 0 0<BR>&nbsp;&nbsp;&nbsp;&nbsp; OUTLINECOLOR -1 -1 -1 <BR>&nbsp;&nbsp;&nbsp; 
END<BR>&nbsp;&nbsp;&nbsp; CLASS<BR>&nbsp;&nbsp;&nbsp;&nbsp; NAME 
"7"<BR>&nbsp;&nbsp;&nbsp;&nbsp; EXPRESSION "7"<BR>&nbsp;&nbsp;&nbsp;&nbsp; COLOR 
96 160 0<BR>&nbsp;&nbsp;&nbsp;&nbsp; OUTLINECOLOR -1 -1 -1 
<BR>&nbsp;&nbsp;&nbsp; END<BR>&nbsp;&nbsp; CLASS<BR>&nbsp;&nbsp;&nbsp;&nbsp; 
NAME "8"<BR>&nbsp;&nbsp;&nbsp;&nbsp; EXPRESSION "8"<BR>&nbsp;&nbsp;&nbsp;&nbsp; 
COLOR 160 224 255<BR>&nbsp;&nbsp;&nbsp;&nbsp; OUTLINECOLOR 0 255 255 
<BR>&nbsp;&nbsp;&nbsp; END</SPAN></FONT><o:p></o:p></P>
<DIV>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN 
style="FONT-SIZE: 12pt">&nbsp;<o:p></o:p></SPAN></FONT></P></DIV>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN 
style="FONT-SIZE: 12pt"><BR></SPAN></FONT><FONT face=Arial color=blue 
size=2><SPAN 
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Arial">END</SPAN></FONT><o:p></o:p></P>
<DIV>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN 
style="FONT-SIZE: 12pt">&nbsp;<o:p></o:p></SPAN></FONT></P></DIV>
<P class=MsoNormal><FONT face=Arial color=blue size=2><SPAN 
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Arial">LAYER<BR>&nbsp; NAME 
parcelles<BR>&nbsp; TYPE POLYGON <BR>&nbsp; STATUS DEFAULT <BR>&nbsp; 
<BR>TEMPLATE "rien.htm"<BR>CONNECTION "user=postgres password=trucmuche 
dbname=pprsaintclaude host=localhost port=5432"<BR>CONNECTIONTYPE 
postgis<BR>DATA "wkb_geometry from parcelles"<BR>&nbsp; 
CLASS<BR>&nbsp;&nbsp;&nbsp; NAME "parcelle"<BR>&nbsp;&nbsp;&nbsp; COLOR -1 -1 
-1<BR>&nbsp;&nbsp;&nbsp; OUTLINECOLOR 0 0 0 <BR>&nbsp; 
END</SPAN></FONT><o:p></o:p></P>
<DIV>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN 
style="FONT-SIZE: 12pt">&nbsp;<o:p></o:p></SPAN></FONT></P></DIV>
<P class=MsoNormal><FONT face=Arial color=blue size=2><SPAN 
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Arial">END</SPAN></FONT><o:p></o:p></P>
<DIV>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN 
style="FONT-SIZE: 12pt">&nbsp;</SPAN></FONT><FONT face="Times New Roman" 
size=3><SPAN style="FONT-SIZE: 12pt">&nbsp;<o:p></o:p></SPAN></FONT></P></DIV>
<P class=MsoNormal><FONT face=Arial color=blue size=2><SPAN 
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Arial">END # Map 
File</SPAN></FONT><o:p></o:p></P>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN 
style="FONT-SIZE: 12pt">&nbsp;<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=blue size=2><SPAN 
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Arial">3) Logs in the apache 
error_log file</SPAN></FONT><o:p></o:p></P>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN 
style="FONT-SIZE: 12pt">&nbsp;<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=blue size=2><SPAN 
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Arial">The following logs show 
error information of two scratches (After each segmentation fault i have to 
restart apache). You can notice the the error does not appears et the same 
location (Garbage collector of mono ??) </SPAN></FONT><o:p></o:p></P>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN 
style="FONT-SIZE: 12pt">&nbsp;<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN 
style="FONT-SIZE: 12pt">&nbsp;<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=blue size=2><SPAN 
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Arial">[Fri Jun 16 10:41:41 
2006] [notice] Apache/2.2.0 (Unix) mod_mono/1.1.14 configured -- resuming normal 
operations<BR>Another mod-mono-server with the same arguments is already 
running.<BR>Another mod-mono-server with the same arguments is already 
running.<BR>Another mod-mono-server with the same arguments is already 
running.<BR>Another mod-mono-server with the same arguments is already 
running.</SPAN></FONT><o:p></o:p></P>
<DIV>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN 
style="FONT-SIZE: 12pt">&nbsp;<o:p></o:p></SPAN></FONT></P></DIV>
<P class=MsoNormal><FONT face=Arial color=blue size=2><SPAN 
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Arial">=================================================================<BR>Got 
a SIGSEGV while executing native code. This usually indicates<BR>a fatal error 
in the mono runtime or one of the native libraries <BR>used by your 
application.<BR>=================================================================</SPAN></FONT><o:p></o:p></P>
<DIV>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN 
style="FONT-SIZE: 12pt">&nbsp;<o:p></o:p></SPAN></FONT></P></DIV>
<P class=MsoNormal><FONT face=Arial color=blue size=2><SPAN 
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Arial">Stacktrace:</SPAN></FONT><o:p></o:p></P>
<DIV>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN 
style="FONT-SIZE: 12pt">&nbsp;<o:p></o:p></SPAN></FONT></P></DIV>
<P class=MsoNormal><FONT face=Arial color=blue size=2><SPAN 
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Arial">in (wrapper 
managed-to-native) mapscriptPINVOKE:delete_layerObj 
(System.Runtime.InteropServices.HandleRef) &lt;0x4&gt;<BR>in (wrapper 
managed-to-native) mapscriptPINVOKE:delete_layerObj 
(System.Runtime.InteropServices.HandleRef) &lt;0xfe880ea1&gt;<BR>in 
layerObj:Dispose () &lt;0x41&gt;<BR>in layerObj:Finalize () &lt;0xe&gt;<BR>in 
(wrapper runtime-invoke) System.Object:runtime_invoke_void 
(object,intptr,intptr,intptr) &lt;0xc68dba2f&gt;</SPAN></FONT><o:p></o:p></P>
<DIV>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN 
style="FONT-SIZE: 12pt">&nbsp;<o:p></o:p></SPAN></FONT></P></DIV>
<P class=MsoNormal><FONT face=Arial color=blue size=2><SPAN 
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Arial">Native 
stacktrace:</SPAN></FONT><o:p></o:p></P>
<DIV>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN 
style="FONT-SIZE: 12pt">&nbsp;<o:p></o:p></SPAN></FONT></P></DIV>
<P class=MsoNormal><FONT face=Arial color=blue size=2><SPAN 
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Arial">&nbsp;/usr/lib/pkgconfig/../../bin/mono(mono_handle_native_sigsegv+0xbb) 
[0x814ee2b]<BR>&nbsp;/usr/lib/pkgconfig/../../bin/mono 
[0x813b2cf]<BR>&nbsp;[0xffffe440]<BR>&nbsp;/usr/local/lib/libmapscript.so(msFree+0x21) 
[0x41a4c951]<BR>&nbsp;/usr/local/lib/libmapscript.so(freeLayer+0x35) 
[0x41a50655]<BR>&nbsp;/usr/local/lib/libmapscript.so(CSharp_delete_layerObj+0x7f) 
[0x41a28fef]<BR>&nbsp;[0x42fdeb6c]<BR>&nbsp;[0x4185f9aa]<BR>&nbsp;[0x4185f947]<BR>&nbsp;[0x4185f779]<BR>&nbsp;/usr/lib/pkgconfig/../../bin/mono 
[0x813b180]<BR>&nbsp;/usr/lib/pkgconfig/../../bin/mono(mono_runtime_invoke+0x27) 
[0x80d63f7]<BR>&nbsp;/usr/lib/pkgconfig/../../bin/mono 
[0x80d2dc5]<BR>&nbsp;/usr/lib/pkgconfig/../../bin/mono 
[0x8114cc7]<BR>&nbsp;/usr/lib/pkgconfig/../../bin/mono 
[0x80d3b7c]<BR>&nbsp;/usr/lib/pkgconfig/../../bin/mono 
[0x8099fb2]<BR>&nbsp;/usr/lib/pkgconfig/../../bin/mono 
[0x80f5067]<BR>&nbsp;/usr/lib/pkgconfig/../../bin/mono 
[0x8113175]<BR>&nbsp;/lib/tls/libpthread.so.0 
[0x400e5297]<BR>&nbsp;/lib/tls/libc.so.6(__clone+0x5e) [0x401e037e]<BR>[Fri Jun 
16 10:43:55 2006] [notice] caught SIGTERM, shutting down<BR>[Fri Jun 16 10:43:56 
2006] [notice] Apache/2.2.0 (Unix) mod_mono/1.1.14 configured -- resuming normal 
operations<BR>Another mod-mono-server with the same arguments is already 
running.<BR>Another mod-mono-server with the same arguments is already 
running.<BR>Another mod-mono-server with the same arguments is already 
running.<BR>Another mod-mono-server with the same arguments is already 
running.</SPAN></FONT><o:p></o:p></P>
<DIV>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN 
style="FONT-SIZE: 12pt">&nbsp;<o:p></o:p></SPAN></FONT></P></DIV>
<P class=MsoNormal><FONT face=Arial color=blue size=2><SPAN 
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Arial">=================================================================<BR>Got 
a SIGSEGV while executing native code. This usually indicates<BR>a fatal error 
in the mono runtime or one of the native libraries <BR>used by your 
application.<BR>=================================================================</SPAN></FONT><o:p></o:p></P>
<DIV>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN 
style="FONT-SIZE: 12pt">&nbsp;<o:p></o:p></SPAN></FONT></P></DIV>
<P class=MsoNormal><FONT face=Arial color=blue size=2><SPAN 
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Arial">Stacktrace:</SPAN></FONT><o:p></o:p></P>
<DIV>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN 
style="FONT-SIZE: 12pt">&nbsp;<o:p></o:p></SPAN></FONT></P></DIV>
<P class=MsoNormal><FONT face=Arial color=blue size=2><SPAN 
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Arial">in (wrapper 
managed-to-native) mapscriptPINVOKE:layerObj_getFeature 
(System.Runtime.InteropServices.HandleRef,int,int) &lt;0x4&gt;<BR>in (wrapper 
managed-to-native) mapscriptPINVOKE:layerObj_getFeature 
(System.Runtime.InteropServices.HandleRef,int,int) &lt;0xffffff87&gt;<BR>in 
layerObj:getFeature (int,int) &lt;0x27&gt;<BR>in 
siteflash.GetParcelleReglement:localiser_parcelle (double,double,string&amp;) 
&lt;0x1df&gt;<BR>in siteflash.GetParcelleReglement:ProcessRequest 
(System.Web.HttpContext) &lt;0x56c&gt;<BR>in &lt;Pipeline&gt;__1:MoveNext () 
&lt;0x10a0&gt;<BR>in System.Web.HttpApplication:Tick () &lt;0x1f&gt;<BR>in 
System.Web.HttpApplication:Start (object) &lt;0x37&gt;<BR>in 
System.Web.HttpApplication:System.Web.IHttpAsyncHandler.BeginProcessRequest 
(System.Web.HttpContext,System.AsyncCallback,object) &lt;0x68&gt;<BR>in 
System.Web.HttpRuntime:RealProcessRequest (object) &lt;0x1ab&gt;<BR>in 
System.Web.HttpRuntime:ProcessRequest (System.Web.HttpWorkerRequest) 
&lt;0x2c&gt;<BR>in Mono.WebServer.MonoWorkerRequest:ProcessRequest () 
&lt;0xa&gt;<BR>in Mono.WebServer.BaseApplicationHost:ProcessRequest 
(Mono.WebServer.MonoWorkerRequest) &lt;0x43&gt;<BR>in 
Mono.WebServer.ModMonoApplicationHost:ProcessRequest 
(int,string,string,string,string,string,int,string,int,string,string[],string[]) 
&lt;0xdc&gt;<BR>in (wrapper remoting-invoke-with-check) 
Mono.WebServer.ModMonoApplicationHost:ProcessRequest 
(int,string,string,string,string,string,int,string,int,string,string[],string[]) 
&lt;0xffffff0a&gt;<BR>in (wrapper xdomain-dispatch) 
Mono.WebServer.ModMonoApplicationHost:ProcessRequest 
(object,byte[]&amp;,byte[]&amp;,int,string,string,string,string,string,int,string,int,string,string[],string[]) 
&lt;0xfffee09e&gt;<BR>in (wrapper xdomain-invoke) 
Mono.WebServer.ModMonoApplicationHost:ProcessRequest 
(int,string,string,string,string,string,int,string,int,string,string[],string[]) 
&lt;0xffffff6a&gt;<BR>in (wrapper remoting-invoke-with-check) 
Mono.WebServer.ModMonoApplicationHost:ProcessRequest 
(int,string,string,string,string,string,int,string,int,string,string[],string[]) 
&lt;0xffba766c&gt;<BR>in Mono.WebServer.ModMonoWorker:InnerRun (object) 
&lt;0x404&gt;<BR>in Mono.WebServer.ModMonoWorker:Run (object) &lt;0x17&gt;<BR>in 
(wrapper delegate-invoke) System.MulticastDelegate:invoke_void_object (object) 
&lt;0xffffff95&gt;<BR>in (wrapper runtime-invoke) 
System.Object:runtime_invoke_void_object (object,intptr,intptr,intptr) 
&lt;0xc7371b5f&gt;</SPAN></FONT><o:p></o:p></P>
<DIV>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN 
style="FONT-SIZE: 12pt">&nbsp;<o:p></o:p></SPAN></FONT></P></DIV>
<P class=MsoNormal><FONT face=Arial color=blue size=2><SPAN 
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Arial">Native 
stacktrace:</SPAN></FONT><o:p></o:p></P>
<DIV>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN 
style="FONT-SIZE: 12pt">&nbsp;<o:p></o:p></SPAN></FONT></P></DIV>
<P class=MsoNormal><FONT face=Arial color=blue size=2><SPAN 
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Arial">&nbsp;/usr/lib/pkgconfig/../../bin/mono(mono_handle_native_sigsegv+0xbb) 
[0x814ee2b]<BR>&nbsp;/usr/lib/pkgconfig/../../bin/mono 
[0x813b2cf]<BR>&nbsp;[0xffffe440]<BR>&nbsp;/lib/tls/libc.so.6(malloc+0x86) 
[0x40187ea6]<BR>&nbsp;/usr/local/pgsql/lib/libpq.so.4(pqResultAlloc+0xd5) 
[0x42025f25]<BR>&nbsp;/usr/local/pgsql/lib/libpq.so.4(pqParseInput3+0x2b7) 
[0x4202e677]<BR>&nbsp;/usr/local/pgsql/lib/libpq.so.4 
[0x42026b04]<BR>&nbsp;/usr/local/pgsql/lib/libpq.so.4(PQgetResult+0x9d) 
[0x4202810d]<BR>&nbsp;/usr/local/pgsql/lib/libpq.so.4 
[0x420282be]<BR>&nbsp;/usr/local/lib/libmapscript.so(msPOSTGISLayerRetrievePGVersion+0x43) 
[0x41ab70e3]<BR>&nbsp;/usr/local/lib/libmapscript.so(msPOSTGISLayerRetrievePK+0x31) 
[0x41ab7331]<BR>&nbsp;/usr/local/lib/libmapscript.so 
[0x41ab7aa4]<BR>&nbsp;/usr/local/lib/libmapscript.so(msPOSTGISLayerGetShape+0x7d) 
[0x41ab7e5d]<BR>&nbsp;/usr/local/lib/libmapscript.so(msPOSTGISLayerGetShapeVT+0x23) 
[0x41ab85b3]<BR>&nbsp;/usr/local/lib/libmapscript.so(msLayerGetShape+0x2e) 
[0x41a6db3e]<BR>&nbsp;/usr/local/lib/libmapscript.so(CSharp_layerObj_getFeature+0x46) 
[0x41a29636]<BR>&nbsp;[0x41861db2]<BR>&nbsp;[0x41861cd0]<BR>&nbsp;[0x41860ea8]<BR>&nbsp;[0x4186048d]<BR>&nbsp;[0x416f6421]<BR>&nbsp;[0x416f52a8]<BR>&nbsp;[0x416f1668]<BR>&nbsp;[0x416f1549]<BR>&nbsp;[0x41251854]<BR>&nbsp;[0x41251385]<BR>&nbsp;[0x41251343]<BR>&nbsp;[0x41250544]<BR>&nbsp;[0x41235535]<BR>&nbsp;[0x41234c9c]<BR>&nbsp;[0x41234a7b]<BR>&nbsp;[0x41222807]<BR>&nbsp;[0x41222643]<BR>&nbsp;[0x40dc9bdd]<BR>&nbsp;[0x40dc9730]<BR>&nbsp;[0x40dc96f4]<BR>&nbsp;[0x40dc964e]<BR>&nbsp;/usr/lib/pkgconfig/../../bin/mono 
[0x813b180]<BR>&nbsp;/usr/lib/pkgconfig/../../bin/mono(mono_runtime_invoke+0x27) 
[0x80d63f7]<BR>&nbsp;/usr/lib/pkgconfig/../../bin/mono(mono_runtime_invoke_array+0x270) 
[0x80d78c0]<BR>&nbsp;/usr/lib/pkgconfig/../../bin/mono(mono_message_invoke+0xc5) 
[0x80d93d5]<BR>&nbsp;/usr/lib/pkgconfig/../../bin/mono 
[0x80a509f]<BR>&nbsp;/usr/lib/pkgconfig/../../bin/mono 
[0x80a58c9]<BR>&nbsp;/usr/lib/pkgconfig/../../bin/mono 
[0x8099fb2]<BR>&nbsp;/usr/lib/pkgconfig/../../bin/mono 
[0x80f5067]<BR>&nbsp;/usr/lib/pkgconfig/../../bin/mono 
[0x8113175]<BR>&nbsp;/lib/tls/libpthread.so.0 
[0x400e5297]<BR>&nbsp;/lib/tls/libc.so.6(__clone+0x5e) 
[0x401e037e]</SPAN></FONT><o:p></o:p></P>
<P class=MsoNormal><FONT face=Arial color=blue size=2><SPAN 
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Arial">&nbsp;<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN 
style="FONT-SIZE: 12pt">&nbsp;<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN 
style="FONT-SIZE: 12pt">&nbsp;<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN 
style="FONT-SIZE: 12pt">&nbsp;<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN 
style="FONT-SIZE: 12pt">&nbsp;<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN 
style="FONT-SIZE: 12pt">&nbsp;<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN 
style="FONT-SIZE: 12pt">&nbsp;<o:p></o:p></SPAN></FONT></P>
<DIV>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN 
style="FONT-SIZE: 12pt">&nbsp;<o:p></o:p></SPAN></FONT></P></DIV>
<P class=MsoNormal><FONT face=Arial size=2><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">-----------------------------------------</SPAN></FONT><o:p></o:p></P>
<P class=MsoNormal><st1:PersonName w:st="on"><STRONG><B><FONT face=Arial 
size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Xavier 
Mauclaire</SPAN></FONT></B></STRONG></st1:PersonName><o:p></o:p></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">-------------------------------------------------------</SPAN></FONT><o:p></o:p></P>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN 
style="FONT-SIZE: 12pt"><FONT face=Arial color=#0000ff 
size=2></FONT><BR>&nbsp;<o:p></o:p></SPAN></FONT></P>
<DIV>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN 
style="FONT-SIZE: 12pt">&nbsp;</SPAN></FONT></P></DIV></DIV></BODY></HTML>