<!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> </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> </DIV>
<DIV><SPAN class=404103215-26062006><FONT face=Arial
size=2></FONT></SPAN> </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> </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> </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> </DIV>
<DIV><SPAN class=404103215-26062006><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=404103215-26062006><FONT face=Arial
size=2></FONT></SPAN> </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> </DIV>
<DIV><SPAN class=404103215-26062006><FONT face=Arial
size=2>Stacktrace:</FONT></SPAN></DIV>
<DIV> </DIV>
<DIV><SPAN class=404103215-26062006><FONT face=Arial size=2>in (wrapper
managed-to-native) mapscriptPINVOKE:mapObj_draw
(System.Runtime.InteropServices.HandleRef) <0x4><BR>in (wrapper
managed-to-native) mapscriptPINVOKE:mapObj_draw
(System.Runtime.InteropServices.HandleRef) <0xffffff81><BR>in mapObj:draw
() <0x21><BR>in siteflash.GetParcelleReglement:ProcessRequest
(System.Web.HttpContext) <0x906><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[])
<0xfffee24e><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[])
<0xffca8c24><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></FONT></SPAN></DIV>
<DIV> </DIV>
<DIV><SPAN class=404103215-26062006><FONT face=Arial size=2>Native
stacktrace:</FONT></SPAN></DIV>
<DIV> </DIV>
<DIV><SPAN class=404103215-26062006><FONT face=Arial
size=2> /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(msPOSTGISLayerGetShapeRandom+0x8e)
[0x41931e5e]<BR> /usr/local/lib/libmapscript.so(msPOSTGISLayerNextShape+0x33)
[0x419320a3]<BR> /usr/local/lib/libmapscript.so(msLayerNextShape+0x28)
[0x418eadb8]<BR> /usr/local/lib/libmapscript.so(msDrawVectorLayer+0x258)
[0x418f2d48]<BR> /usr/local/lib/libmapscript.so(msDrawLayer+0x90)
[0x418f3150]<BR> /usr/local/lib/libmapscript.so(msDrawMap+0x2fd)
[0x418f3e1d]<BR> /usr/local/lib/libmapscript.so(CSharp_mapObj_draw+0x1d)
[0x418a9e3d]<BR> [0x41860844]<BR> [0x41860762]<BR> [0x41865a27]<BR> [0x416f63d9]<BR> [0x416f5260]<BR> [0x416f1668]<BR> [0x416f1549]<BR> [0x41150854]<BR> [0x41150385]<BR> [0x41150343]<BR> [0x4114f544]<BR> [0x41133dcd]<BR> [0x41133534]<BR> [0x41133313]<BR> [0x4112124f]<BR> [0x4112108b]<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]<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> </DIV>
<DIV><SPAN class=404103215-26062006><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=404103215-26062006><FONT face=Arial
size=2><BR>Stacktrace:</FONT></SPAN></DIV>
<DIV> </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)
<0x4><BR>in (wrapper managed-to-native)
mapscriptPINVOKE:layerObj_queryByPoint
(System.Runtime.InteropServices.HandleRef,System.Runtime.InteropServices.HandleRef,System.Runtime.InteropServices.HandleRef,int,double)
<0xffffff47><BR>in layerObj:queryByPoint (mapObj,pointObj,int,double)
<0x77><BR>in siteflash.GetParcelleReglement:localiser_parcelle
(double,double,string&) <0xc5><BR>in
siteflash.GetParcelleReglement:ProcessRequest (System.Web.HttpContext)
<0x59e><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[])
<0xffeed426><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[])
<0xffca89c4><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></FONT></SPAN></DIV>
<DIV> </DIV>
<DIV><SPAN class=404103215-26062006><FONT face=Arial size=2>Native
stacktrace:</FONT></SPAN></DIV>
<DIV> </DIV>
<DIV><SPAN class=404103215-26062006><FONT face=Arial
size=2> /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(msLayerWhichShapes+0x39)
[0x41aece19]<BR> /usr/local/lib/libmapscript.so(msQueryByPoint+0x351)
[0x41ade7d1]<BR> /usr/local/lib/libmapscript.so(CSharp_layerObj_queryByPoint+0x4d)
[0x41aa8f4d]<BR> [0x41a68626]<BR> [0x41a68478]<BR> [0x41a67fee]<BR> [0x41a676bf]<BR> [0x416f63d9]<BR> [0x416f5260]<BR> [0x416f1668]<BR> [0x416f1549]<BR> [0x41251fa4]<BR> [0x41251ad5]<BR> [0x41251a93]<BR> [0x41250544]<BR> [0x41234e55]<BR> [0x412345bc]<BR> [0x4123439b]<BR> [0x411214af]<BR> [0x411212eb]<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]<BR></DIV></FONT></SPAN>
<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">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> </P></DIV>
<DIV> </DIV></BODY></HTML>