<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML xmlns:o = "urn:schemas-microsoft-com:office:office"><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.2912" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=404103215-26062006><FONT face=Arial 
size=2>HI</FONT></SPAN></DIV>
<DIV><SPAN class=404103215-26062006><FONT face=Arial 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=404103215-26062006><FONT face=Arial size=2>New problem with the 
mapscript c# library.</FONT></SPAN></DIV>
<DIV><SPAN class=404103215-26062006><FONT face=Arial size=2>I'm doing a web site 
using, among others, querybyshape function. If there are several requests using 
this function i scratches the server</FONT></SPAN></DIV>
<DIV><SPAN class=404103215-26062006><FONT face=Arial 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=404103215-26062006><FONT face=Arial 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=404103215-26062006><FONT face=Arial size=2>My configuration is 
the following</FONT></SPAN></DIV>
<DIV><SPAN class=404103215-26062006><FONT face=Arial 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=404103215-26062006><FONT size=2>
<P>Mono (1.1.13)<BR>gtk 2.8<BR>Apache (2.2.?) with de mod_mono compiled for it 
mod_mono 1.1.14 MApscript (4.8.3). <BR>Postgres 8.1.3 and Postgis 1.1.1<BR>GDAL 
1.3.1<BR>Ming 0.30<BR>Proj4 (4.4.9)<BR>Libiconv 1.9.1<BR>gd-2.0.33</P>
<P>All these programs has been compiler on the computer</P>
<P>Mapserver has been compiled with the configure : </P>
<P>./configure --with-gdal=/usr/local/bin/gdal-config 
--with-ogr=/usr/local/bin/gdal-config 
--with-postgis=/usr/local/pgsql/bin/pg_config --with-ming --with-png --with-jpeg 
--with-zlib --with-tiff --with-gif --with-proj --with-gd=/usr/local 
--with-httpd=/usr/sbin/httpd2</P></FONT></SPAN></DIV>
<DIV><SPAN class=404103215-26062006><FONT face=Arial 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=404103215-26062006><FONT face=Arial size=2>The apache error_log 
file can contain the following errors</FONT></SPAN></DIV>
<DIV><SPAN class=404103215-26062006><FONT face=Arial 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=404103215-26062006><FONT face=Arial 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=404103215-26062006><FONT face=Arial 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=404103215-26062006><FONT face=Arial 
size=2>=================================================================<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>=================================================================</FONT></SPAN></DIV>
<DIV>&nbsp;</DIV>
<DIV><SPAN class=404103215-26062006><FONT face=Arial 
size=2>Stacktrace:</FONT></SPAN></DIV>
<DIV>&nbsp;</DIV>
<DIV><SPAN class=404103215-26062006><FONT face=Arial size=2>in (wrapper 
managed-to-native) mapscriptPINVOKE:mapObj_draw 
(System.Runtime.InteropServices.HandleRef) &lt;0x4&gt;<BR>in (wrapper 
managed-to-native) mapscriptPINVOKE:mapObj_draw 
(System.Runtime.InteropServices.HandleRef) &lt;0xffffff81&gt;<BR>in mapObj:draw 
() &lt;0x21&gt;<BR>in siteflash.GetParcelleReglement:ProcessRequest 
(System.Web.HttpContext) &lt;0x906&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;0xfffee24e&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;0xffca8c24&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;</FONT></SPAN></DIV>
<DIV>&nbsp;</DIV>
<DIV><SPAN class=404103215-26062006><FONT face=Arial size=2>Native 
stacktrace:</FONT></SPAN></DIV>
<DIV>&nbsp;</DIV>
<DIV><SPAN class=404103215-26062006><FONT face=Arial 
size=2>&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(msPOSTGISLayerGetShapeRandom+0x8e) 
[0x41931e5e]<BR>&nbsp;/usr/local/lib/libmapscript.so(msPOSTGISLayerNextShape+0x33) 
[0x419320a3]<BR>&nbsp;/usr/local/lib/libmapscript.so(msLayerNextShape+0x28) 
[0x418eadb8]<BR>&nbsp;/usr/local/lib/libmapscript.so(msDrawVectorLayer+0x258) 
[0x418f2d48]<BR>&nbsp;/usr/local/lib/libmapscript.so(msDrawLayer+0x90) 
[0x418f3150]<BR>&nbsp;/usr/local/lib/libmapscript.so(msDrawMap+0x2fd) 
[0x418f3e1d]<BR>&nbsp;/usr/local/lib/libmapscript.so(CSharp_mapObj_draw+0x1d) 
[0x418a9e3d]<BR>&nbsp;[0x41860844]<BR>&nbsp;[0x41860762]<BR>&nbsp;[0x41865a27]<BR>&nbsp;[0x416f63d9]<BR>&nbsp;[0x416f5260]<BR>&nbsp;[0x416f1668]<BR>&nbsp;[0x416f1549]<BR>&nbsp;[0x41150854]<BR>&nbsp;[0x41150385]<BR>&nbsp;[0x41150343]<BR>&nbsp;[0x4114f544]<BR>&nbsp;[0x41133dcd]<BR>&nbsp;[0x41133534]<BR>&nbsp;[0x41133313]<BR>&nbsp;[0x4112124f]<BR>&nbsp;[0x4112108b]<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]<BR>[Tue Jun 
27 17:33:45 2006] [notice] caught SIGTERM, shutting down<BR>[Tue Jun 27 17:34:29 
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.<BR></FONT></SPAN></DIV>
<DIV><SPAN class=404103215-26062006><FONT face=Arial size=2>or the 
message</FONT></SPAN></DIV>
<DIV><SPAN class=404103215-26062006><FONT face=Arial 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=404103215-26062006><FONT face=Arial 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=404103215-26062006><FONT face=Arial 
size=2><BR>Stacktrace:</FONT></SPAN></DIV>
<DIV>&nbsp;</DIV>
<DIV><SPAN class=404103215-26062006><FONT face=Arial size=2>in (wrapper 
managed-to-native) mapscriptPINVOKE:layerObj_queryByPoint 
(System.Runtime.InteropServices.HandleRef,System.Runtime.InteropServices.HandleRef,System.Runtime.InteropServices.HandleRef,int,double) 
&lt;0x4&gt;<BR>in (wrapper managed-to-native) 
mapscriptPINVOKE:layerObj_queryByPoint 
(System.Runtime.InteropServices.HandleRef,System.Runtime.InteropServices.HandleRef,System.Runtime.InteropServices.HandleRef,int,double) 
&lt;0xffffff47&gt;<BR>in layerObj:queryByPoint (mapObj,pointObj,int,double) 
&lt;0x77&gt;<BR>in siteflash.GetParcelleReglement:localiser_parcelle 
(double,double,string&amp;) &lt;0xc5&gt;<BR>in 
siteflash.GetParcelleReglement:ProcessRequest (System.Web.HttpContext) 
&lt;0x59e&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;0xffeed426&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;0xffca89c4&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;</FONT></SPAN></DIV>
<DIV>&nbsp;</DIV>
<DIV><SPAN class=404103215-26062006><FONT face=Arial size=2>Native 
stacktrace:</FONT></SPAN></DIV>
<DIV>&nbsp;</DIV>
<DIV><SPAN class=404103215-26062006><FONT face=Arial 
size=2>&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(msLayerWhichShapes+0x39) 
[0x41aece19]<BR>&nbsp;/usr/local/lib/libmapscript.so(msQueryByPoint+0x351) 
[0x41ade7d1]<BR>&nbsp;/usr/local/lib/libmapscript.so(CSharp_layerObj_queryByPoint+0x4d) 
[0x41aa8f4d]<BR>&nbsp;[0x41a68626]<BR>&nbsp;[0x41a68478]<BR>&nbsp;[0x41a67fee]<BR>&nbsp;[0x41a676bf]<BR>&nbsp;[0x416f63d9]<BR>&nbsp;[0x416f5260]<BR>&nbsp;[0x416f1668]<BR>&nbsp;[0x416f1549]<BR>&nbsp;[0x41251fa4]<BR>&nbsp;[0x41251ad5]<BR>&nbsp;[0x41251a93]<BR>&nbsp;[0x41250544]<BR>&nbsp;[0x41234e55]<BR>&nbsp;[0x412345bc]<BR>&nbsp;[0x4123439b]<BR>&nbsp;[0x411214af]<BR>&nbsp;[0x411212eb]<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]<BR></DIV></FONT></SPAN>
<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">Service 
informatique<BR></SPAN><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><STRONG>GEOTER SAS<BR></STRONG>3, 
rue Jean Monnet<BR>34830 Clapiers France<BR><B>Tél.:</B> +33 
(0)4.67.59.18.11<BR><B>Fax: </B>+33 (0)4.67.59.18.24 <o:p></o:p></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt"><B><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Email: </SPAN></B><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><A title=mailto:Emaildestinataire 
href="mailto:xavier.mauclaire@geoter.fr">xavier.mauclaire@geoter.fr</A><o:p></o:p></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt; WORD-SPACING: 0px"><B><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Web site:</SPAN></B><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"> <SPAN 
style="COLOR: blue">http://www.geoter.fr</SPAN><o:p></o:p></SPAN></P>
<P class=MsoNormal><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">-------------------------------------------------------</SPAN></P>
<P class=MsoNormal><BR>&nbsp;</P></DIV>
<DIV>&nbsp;</DIV></BODY></HTML>