<!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> </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 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 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> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=624241507-16062006>How can i get CVS code ?</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=624241507-16062006></SPAN></FONT> </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> </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> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=324064107-16062006>regards</SPAN></FONT></DIV></DIV>
<DIV> </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> </P></DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT> </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 :</B> Tamas Szekeres
[mailto:szekerest@gmail.com] <BR><B>Envoyé :</B> vendredi 16 juin 2006
01:07<BR><B>À :</B> 'Xavier Mauclaire';
MAPSERVER-USERS@LISTS.UMN.EDU<BR><B>Objet :</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> </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> </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> </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> </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> </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> </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> </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> </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"> <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"> <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 segmentation fault appears a lot of time
in 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"> <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"> 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"> 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"> 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"> <o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN
style="FONT-SIZE: 12pt"> <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">
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"> 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">
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">
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">
postgresql 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">
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"> 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"> 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">
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">
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"> <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"> <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
--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 <o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN
style="FONT-SIZE: 12pt"> <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 :-)
</SPAN></FONT><o:p></o:p></P>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN
style="FONT-SIZE: 12pt"> <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"> <o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN
style="FONT-SIZE: 12pt"> <o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN
style="FONT-SIZE: 12pt"> <o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN
style="FONT-SIZE: 12pt"> <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"> <o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN
style="FONT-SIZE: 12pt"> <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"> <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"> try
{<BR> // recupération de la layer des
parcelle<BR> // celle dont le nom est
CONST_LAYERNAME_PARCELLE<BR> layerObj pLayerParcelle =
pMapQuery.getLayerByName(cConstantes.CONST_LAYERNAME_PARCELLE);<BR> <BR> if(pLayerParcelle
!= null){<BR> // creation du poitn de
localisation<BR> 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"> <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"> //
on recherche la parcelle au point
cliqué<BR> pLayerParcelle.queryByPoint(pMapQuery,pPoint,mapscript.MS_SINGLE,0);<BR> resultCacheObj
pRes =
pLayerParcelle.getResults();<BR> <BR> try{<BR> 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"> <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"> if(pRes.numresults
> 0) {<BR> //on zoom sur la
selection
courante<BR> pMapQuery.setExtent(pRes.bounds.minx,pRes.bounds.miny,pRes.bounds.maxx,pRes.bounds.maxy); <BR> <BR> pLayerParcelle.open();<BR> try{<BR> //
récupération de la première
parcelle<BR> pResMember =
pRes.getResult(0);<BR> pShape =
pLayerParcelle.getFeature(pResMember.shapeindex,
pResMember.tileindex);<BR> if(pShape
!= null) {<BR> // récupération de
l'identifiant de la
parcellle<BR> Int32 liRang
= -1;<BR> // recherche rang
champs<BR> liRang =
cRegInfos.SetLayerFieldRang(pLayerParcelle,
cRegInfo.CONST_IDPARCELLE);<BR> zParcelleIdent
= pShape.getValue(liRang);<BR> }
//end if
<BR> }finally{<BR> pLayerParcelle.close();<BR> }
//e nd finally<BR> } //e nd
if<BR> } finally
{<BR> pRes.Dispose();<BR> pRes
= null;<BR> } //e nd
finally <BR> }
else<BR> throw new Exception("Couche des parcelles
introuvable"); <BR> }
finally{<BR> } //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"> <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"> <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"> <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 645000 1778700<BR>SYMBOLSET
"symbols/symbols.sym"<BR>IMAGECOLOR 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"> <o:p></o:p></SPAN></FONT></P></DIV>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN
style="FONT-SIZE: 12pt"> <o:p></o:p></SPAN></FONT></P>
<DIV>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN
style="FONT-SIZE: 12pt"> <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> IMAGEPATH
""<BR> 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"> <o:p></o:p></SPAN></FONT></P></DIV>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN
style="FONT-SIZE: 12pt"> <o:p></o:p></SPAN></FONT></P>
<DIV>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN
style="FONT-SIZE: 12pt"> <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>
NAME png<BR> DRIVER "GD/PNG"<BR> MIMETYPE "image/png"<BR>
EXTENSION "png"<BR> IMAGEMODE RGB<BR> 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"> <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"> SCALEBAR<BR>
IMAGECOLOR -1 -1 -1<BR> OUTLINECOLOR 0 0
0<BR> BACKGROUNDCOLOR 0 0 0<BR>
LABEL<BR> COLOR 0 0 0<BR>
END<BR> SIZE 150 5<BR> COLOR 255 255
255<BR> UNITS METERS<BR> INTERVALS
4<BR> TRANSPARENT on <BR> STATUS EMBED
<BR> STYLE 0<BR> POSITION LR<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"> <o:p></o:p></SPAN></FONT></P></DIV>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN
style="FONT-SIZE: 12pt"> <o:p></o:p></SPAN></FONT></P>
<DIV>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN
style="FONT-SIZE: 12pt"> <o:p></o:p></SPAN></FONT></P></DIV>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN
style="FONT-SIZE: 12pt"> <o:p></o:p></SPAN></FONT></P>
<DIV>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN
style="FONT-SIZE: 12pt"> <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> NAME
limites_communales<BR> TYPE POLYGON <BR> 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> CLASS<BR> NAME
"commune"<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"> <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"> <o:p></o:p></SPAN></FONT></P></DIV>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN
style="FONT-SIZE: 12pt"> <o:p></o:p></SPAN></FONT></P>
<DIV>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN
style="FONT-SIZE: 12pt"> <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> NAME
zonage_reglementaire<BR> TYPE POLYGON <BR> 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"> <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> 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"> <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">
CLASS<BR> NAME "0"<BR>
EXPRESSION "0" <BR> COLOR
255 255 255<BR> OUTLINECOLOR -1 -1
-1 <BR>
END<BR> CLASS<BR> NAME
"1"<BR> EXPRESSION "1"<BR> COLOR
160 224 255<BR> OUTLINECOLOR -1 -1 -1
<BR> END<BR> CLASS<BR>
NAME "2"<BR> EXPRESSION "2"<BR>
COLOR 64 192 255<BR> OUTLINECOLOR -1 -1 -1
<BR> END<BR>
CLASS<BR> NAME "3"<BR>
EXPRESSION "3"<BR> COLOR 0 0
255<BR> OUTLINECOLOR -1 -1 -1 <BR>
END<BR> CLASS<BR> NAME
"4"<BR> EXPRESSION "4"<BR> COLOR
255 128 128<BR> OUTLINECOLOR -1 -1 -1
<BR> END<BR>
CLASS<BR> NAME "5"<BR>
EXPRESSION "5"<BR> STYLE<BR>
SYMBOL "hatch45"<BR> COLOR 255 0
0<BR> SIZE 6<BR>
WIDTH 1<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"> <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<BR> CLASS<BR> NAME
"6"<BR> EXPRESSION "6"<BR> COLOR
255 0 0<BR> OUTLINECOLOR -1 -1 -1 <BR>
END<BR> CLASS<BR> NAME
"7"<BR> EXPRESSION "7"<BR> COLOR
96 160 0<BR> OUTLINECOLOR -1 -1 -1
<BR> END<BR> CLASS<BR>
NAME "8"<BR> EXPRESSION "8"<BR>
COLOR 160 224 255<BR> OUTLINECOLOR 0 255 255
<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"> <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"> <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> NAME
parcelles<BR> TYPE POLYGON <BR> STATUS DEFAULT <BR>
<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>
CLASS<BR> NAME "parcelle"<BR> COLOR -1 -1
-1<BR> OUTLINECOLOR 0 0 0 <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"> <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"> </SPAN></FONT><FONT face="Times New Roman"
size=3><SPAN style="FONT-SIZE: 12pt"> <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"> <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"> <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"> <o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN
style="FONT-SIZE: 12pt"> <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"> <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"> <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"> <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) <0x4><BR>in (wrapper
managed-to-native) mapscriptPINVOKE:delete_layerObj
(System.Runtime.InteropServices.HandleRef) <0xfe880ea1><BR>in
layerObj:Dispose () <0x41><BR>in layerObj:Finalize () <0xe><BR>in
(wrapper runtime-invoke) System.Object:runtime_invoke_void
(object,intptr,intptr,intptr) <0xc68dba2f></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></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"> <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"> /usr/lib/pkgconfig/../../bin/mono(mono_handle_native_sigsegv+0xbb)
[0x814ee2b]<BR> /usr/lib/pkgconfig/../../bin/mono
[0x813b2cf]<BR> [0xffffe440]<BR> /usr/local/lib/libmapscript.so(msFree+0x21)
[0x41a4c951]<BR> /usr/local/lib/libmapscript.so(freeLayer+0x35)
[0x41a50655]<BR> /usr/local/lib/libmapscript.so(CSharp_delete_layerObj+0x7f)
[0x41a28fef]<BR> [0x42fdeb6c]<BR> [0x4185f9aa]<BR> [0x4185f947]<BR> [0x4185f779]<BR> /usr/lib/pkgconfig/../../bin/mono
[0x813b180]<BR> /usr/lib/pkgconfig/../../bin/mono(mono_runtime_invoke+0x27)
[0x80d63f7]<BR> /usr/lib/pkgconfig/../../bin/mono
[0x80d2dc5]<BR> /usr/lib/pkgconfig/../../bin/mono
[0x8114cc7]<BR> /usr/lib/pkgconfig/../../bin/mono
[0x80d3b7c]<BR> /usr/lib/pkgconfig/../../bin/mono
[0x8099fb2]<BR> /usr/lib/pkgconfig/../../bin/mono
[0x80f5067]<BR> /usr/lib/pkgconfig/../../bin/mono
[0x8113175]<BR> /lib/tls/libpthread.so.0
[0x400e5297]<BR> /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"> <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"> <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"> <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) <0x4><BR>in (wrapper
managed-to-native) mapscriptPINVOKE:layerObj_getFeature
(System.Runtime.InteropServices.HandleRef,int,int) <0xffffff87><BR>in
layerObj:getFeature (int,int) <0x27><BR>in
siteflash.GetParcelleReglement:localiser_parcelle (double,double,string&)
<0x1df><BR>in siteflash.GetParcelleReglement:ProcessRequest
(System.Web.HttpContext) <0x56c><BR>in <Pipeline>__1:MoveNext ()
<0x10a0><BR>in System.Web.HttpApplication:Tick () <0x1f><BR>in
System.Web.HttpApplication:Start (object) <0x37><BR>in
System.Web.HttpApplication:System.Web.IHttpAsyncHandler.BeginProcessRequest
(System.Web.HttpContext,System.AsyncCallback,object) <0x68><BR>in
System.Web.HttpRuntime:RealProcessRequest (object) <0x1ab><BR>in
System.Web.HttpRuntime:ProcessRequest (System.Web.HttpWorkerRequest)
<0x2c><BR>in Mono.WebServer.MonoWorkerRequest:ProcessRequest ()
<0xa><BR>in Mono.WebServer.BaseApplicationHost:ProcessRequest
(Mono.WebServer.MonoWorkerRequest) <0x43><BR>in
Mono.WebServer.ModMonoApplicationHost:ProcessRequest
(int,string,string,string,string,string,int,string,int,string,string[],string[])
<0xdc><BR>in (wrapper remoting-invoke-with-check)
Mono.WebServer.ModMonoApplicationHost:ProcessRequest
(int,string,string,string,string,string,int,string,int,string,string[],string[])
<0xffffff0a><BR>in (wrapper xdomain-dispatch)
Mono.WebServer.ModMonoApplicationHost:ProcessRequest
(object,byte[]&,byte[]&,int,string,string,string,string,string,int,string,int,string,string[],string[])
<0xfffee09e><BR>in (wrapper xdomain-invoke)
Mono.WebServer.ModMonoApplicationHost:ProcessRequest
(int,string,string,string,string,string,int,string,int,string,string[],string[])
<0xffffff6a><BR>in (wrapper remoting-invoke-with-check)
Mono.WebServer.ModMonoApplicationHost:ProcessRequest
(int,string,string,string,string,string,int,string,int,string,string[],string[])
<0xffba766c><BR>in Mono.WebServer.ModMonoWorker:InnerRun (object)
<0x404><BR>in Mono.WebServer.ModMonoWorker:Run (object) <0x17><BR>in
(wrapper delegate-invoke) System.MulticastDelegate:invoke_void_object (object)
<0xffffff95><BR>in (wrapper runtime-invoke)
System.Object:runtime_invoke_void_object (object,intptr,intptr,intptr)
<0xc7371b5f></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></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"> <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"> /usr/lib/pkgconfig/../../bin/mono(mono_handle_native_sigsegv+0xbb)
[0x814ee2b]<BR> /usr/lib/pkgconfig/../../bin/mono
[0x813b2cf]<BR> [0xffffe440]<BR> /lib/tls/libc.so.6(malloc+0x86)
[0x40187ea6]<BR> /usr/local/pgsql/lib/libpq.so.4(pqResultAlloc+0xd5)
[0x42025f25]<BR> /usr/local/pgsql/lib/libpq.so.4(pqParseInput3+0x2b7)
[0x4202e677]<BR> /usr/local/pgsql/lib/libpq.so.4
[0x42026b04]<BR> /usr/local/pgsql/lib/libpq.so.4(PQgetResult+0x9d)
[0x4202810d]<BR> /usr/local/pgsql/lib/libpq.so.4
[0x420282be]<BR> /usr/local/lib/libmapscript.so(msPOSTGISLayerRetrievePGVersion+0x43)
[0x41ab70e3]<BR> /usr/local/lib/libmapscript.so(msPOSTGISLayerRetrievePK+0x31)
[0x41ab7331]<BR> /usr/local/lib/libmapscript.so
[0x41ab7aa4]<BR> /usr/local/lib/libmapscript.so(msPOSTGISLayerGetShape+0x7d)
[0x41ab7e5d]<BR> /usr/local/lib/libmapscript.so(msPOSTGISLayerGetShapeVT+0x23)
[0x41ab85b3]<BR> /usr/local/lib/libmapscript.so(msLayerGetShape+0x2e)
[0x41a6db3e]<BR> /usr/local/lib/libmapscript.so(CSharp_layerObj_getFeature+0x46)
[0x41a29636]<BR> [0x41861db2]<BR> [0x41861cd0]<BR> [0x41860ea8]<BR> [0x4186048d]<BR> [0x416f6421]<BR> [0x416f52a8]<BR> [0x416f1668]<BR> [0x416f1549]<BR> [0x41251854]<BR> [0x41251385]<BR> [0x41251343]<BR> [0x41250544]<BR> [0x41235535]<BR> [0x41234c9c]<BR> [0x41234a7b]<BR> [0x41222807]<BR> [0x41222643]<BR> [0x40dc9bdd]<BR> [0x40dc9730]<BR> [0x40dc96f4]<BR> [0x40dc964e]<BR> /usr/lib/pkgconfig/../../bin/mono
[0x813b180]<BR> /usr/lib/pkgconfig/../../bin/mono(mono_runtime_invoke+0x27)
[0x80d63f7]<BR> /usr/lib/pkgconfig/../../bin/mono(mono_runtime_invoke_array+0x270)
[0x80d78c0]<BR> /usr/lib/pkgconfig/../../bin/mono(mono_message_invoke+0xc5)
[0x80d93d5]<BR> /usr/lib/pkgconfig/../../bin/mono
[0x80a509f]<BR> /usr/lib/pkgconfig/../../bin/mono
[0x80a58c9]<BR> /usr/lib/pkgconfig/../../bin/mono
[0x8099fb2]<BR> /usr/lib/pkgconfig/../../bin/mono
[0x80f5067]<BR> /usr/lib/pkgconfig/../../bin/mono
[0x8113175]<BR> /lib/tls/libpthread.so.0
[0x400e5297]<BR> /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"> <o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN
style="FONT-SIZE: 12pt"> <o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN
style="FONT-SIZE: 12pt"> <o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN
style="FONT-SIZE: 12pt"> <o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN
style="FONT-SIZE: 12pt"> <o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN
style="FONT-SIZE: 12pt"> <o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN
style="FONT-SIZE: 12pt"> <o:p></o:p></SPAN></FONT></P>
<DIV>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN
style="FONT-SIZE: 12pt"> <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> <o:p></o:p></SPAN></FONT></P>
<DIV>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN
style="FONT-SIZE: 12pt"> </SPAN></FONT></P></DIV></DIV></BODY></HTML>