Mapscript c# problems and apache2 scratches

Xavier Mauclaire xavier.mauclaire at GEOTER.FR
Mon Jun 26 11:39:45 EDT 2006


HI
 
New problem with the mapscript c# library.
I'm doing a web site using, among others, querybyshape function. If there
are several requests using this function i scratches the server
 
 
My configuration is the following
 
Mono (1.1.13)
gtk 2.8
Apache (2.2.?) with de mod_mono compiled for it mod_mono 1.1.14 MApscript
(4.8.3). 
Postgres 8.1.3 and Postgis 1.1.1
GDAL 1.3.1
Ming 0.30
Proj4 (4.4.9)
Libiconv 1.9.1
gd-2.0.33

All these programs has been compiler on the computer

Mapserver has been compiled with the configure : 

./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

 
The apache error_log file can contain the following errors
 
 
 
=================================================================
Got a SIGSEGV while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries 
used by your application.
=================================================================
 
Stacktrace:
 
in (wrapper managed-to-native) mapscriptPINVOKE:mapObj_draw
(System.Runtime.InteropServices.HandleRef) <0x4>
in (wrapper managed-to-native) mapscriptPINVOKE:mapObj_draw
(System.Runtime.InteropServices.HandleRef) <0xffffff81>
in mapObj:draw () <0x21>
in siteflash.GetParcelleReglement:ProcessRequest (System.Web.HttpContext)
<0x906>
in <Pipeline>__1:MoveNext () <0x10a0>
in System.Web.HttpApplication:Tick () <0x1f>
in System.Web.HttpApplication:Start (object) <0x37>
in
System.Web.HttpApplication:System.Web.IHttpAsyncHandler.BeginProcessRequest
(System.Web.HttpContext,System.AsyncCallback,object) <0x68>
in System.Web.HttpRuntime:RealProcessRequest (object) <0x1ab>
in System.Web.HttpRuntime:ProcessRequest (System.Web.HttpWorkerRequest)
<0x2c>
in Mono.WebServer.MonoWorkerRequest:ProcessRequest () <0xa>
in Mono.WebServer.BaseApplicationHost:ProcessRequest
(Mono.WebServer.MonoWorkerRequest) <0x43>
in Mono.WebServer.ModMonoApplicationHost:ProcessRequest
(int,string,string,string,string,string,int,string,int,string,string[],strin
g[]) <0xdc>
in (wrapper remoting-invoke-with-check)
Mono.WebServer.ModMonoApplicationHost:ProcessRequest
(int,string,string,string,string,string,int,string,int,string,string[],strin
g[]) <0xffffff0a>
in (wrapper xdomain-dispatch)
Mono.WebServer.ModMonoApplicationHost:ProcessRequest
(object,byte[]&,byte[]&,int,string,string,string,string,string,int,string,in
t,string,string[],string[]) <0xfffee24e>
in (wrapper xdomain-invoke)
Mono.WebServer.ModMonoApplicationHost:ProcessRequest
(int,string,string,string,string,string,int,string,int,string,string[],strin
g[]) <0xffffff6a>
in (wrapper remoting-invoke-with-check)
Mono.WebServer.ModMonoApplicationHost:ProcessRequest
(int,string,string,string,string,string,int,string,int,string,string[],strin
g[]) <0xffca8c24>
in Mono.WebServer.ModMonoWorker:InnerRun (object) <0x404>
in Mono.WebServer.ModMonoWorker:Run (object) <0x17>
in (wrapper delegate-invoke) System.MulticastDelegate:invoke_void_object
(object) <0xffffff95>
in (wrapper runtime-invoke) System.Object:runtime_invoke_void_object
(object,intptr,intptr,intptr) <0xc7371b5f>
 
Native stacktrace:
 
 /usr/lib/pkgconfig/../../bin/mono(mono_handle_native_sigsegv+0xbb)
[0x814ee2b]
 /usr/lib/pkgconfig/../../bin/mono [0x813b2cf]
 [0xffffe440]
 /usr/local/lib/libmapscript.so(msPOSTGISLayerGetShapeRandom+0x8e)
[0x41931e5e]
 /usr/local/lib/libmapscript.so(msPOSTGISLayerNextShape+0x33) [0x419320a3]
 /usr/local/lib/libmapscript.so(msLayerNextShape+0x28) [0x418eadb8]
 /usr/local/lib/libmapscript.so(msDrawVectorLayer+0x258) [0x418f2d48]
 /usr/local/lib/libmapscript.so(msDrawLayer+0x90) [0x418f3150]
 /usr/local/lib/libmapscript.so(msDrawMap+0x2fd) [0x418f3e1d]
 /usr/local/lib/libmapscript.so(CSharp_mapObj_draw+0x1d) [0x418a9e3d]
 [0x41860844]
 [0x41860762]
 [0x41865a27]
 [0x416f63d9]
 [0x416f5260]
 [0x416f1668]
 [0x416f1549]
 [0x41150854]
 [0x41150385]
 [0x41150343]
 [0x4114f544]
 [0x41133dcd]
 [0x41133534]
 [0x41133313]
 [0x4112124f]
 [0x4112108b]
 [0x40dc9bdd]
 [0x40dc9730]
 [0x40dc96f4]
 [0x40dc964e]
 /usr/lib/pkgconfig/../../bin/mono [0x813b180]
 /usr/lib/pkgconfig/../../bin/mono(mono_runtime_invoke+0x27) [0x80d63f7]
 /usr/lib/pkgconfig/../../bin/mono(mono_runtime_invoke_array+0x270)
[0x80d78c0]
 /usr/lib/pkgconfig/../../bin/mono(mono_message_invoke+0xc5) [0x80d93d5]
 /usr/lib/pkgconfig/../../bin/mono [0x80a509f]
 /usr/lib/pkgconfig/../../bin/mono [0x80a58c9]
 /usr/lib/pkgconfig/../../bin/mono [0x8099fb2]
 /usr/lib/pkgconfig/../../bin/mono [0x80f5067]
 /usr/lib/pkgconfig/../../bin/mono [0x8113175]
 /lib/tls/libpthread.so.0 [0x400e5297]
 /lib/tls/libc.so.6(__clone+0x5e) [0x401e037e]
[Tue Jun 27 17:33:45 2006] [notice] caught SIGTERM, shutting down
[Tue Jun 27 17:34:29 2006] [notice] Apache/2.2.0 (Unix) mod_mono/1.1.14
configured -- resuming normal operations
Another mod-mono-server with the same arguments is already running.
Another mod-mono-server with the same arguments is already running.
Another mod-mono-server with the same arguments is already running.
Another mod-mono-server with the same arguments is already running.

or the message
 
 

Stacktrace:
 
in (wrapper managed-to-native) mapscriptPINVOKE:layerObj_queryByPoint
(System.Runtime.InteropServices.HandleRef,System.Runtime.InteropServices.Han
dleRef,System.Runtime.InteropServices.HandleRef,int,double) <0x4>
in (wrapper managed-to-native) mapscriptPINVOKE:layerObj_queryByPoint
(System.Runtime.InteropServices.HandleRef,System.Runtime.InteropServices.Han
dleRef,System.Runtime.InteropServices.HandleRef,int,double) <0xffffff47>
in layerObj:queryByPoint (mapObj,pointObj,int,double) <0x77>
in siteflash.GetParcelleReglement:localiser_parcelle (double,double,string&)
<0xc5>
in siteflash.GetParcelleReglement:ProcessRequest (System.Web.HttpContext)
<0x59e>
in <Pipeline>__1:MoveNext () <0x10a0>
in System.Web.HttpApplication:Tick () <0x1f>
in System.Web.HttpApplication:Start (object) <0x37>
in
System.Web.HttpApplication:System.Web.IHttpAsyncHandler.BeginProcessRequest
(System.Web.HttpContext,System.AsyncCallback,object) <0x68>
in System.Web.HttpRuntime:RealProcessRequest (object) <0x1ab>
in System.Web.HttpRuntime:ProcessRequest (System.Web.HttpWorkerRequest)
<0x2c>
in Mono.WebServer.MonoWorkerRequest:ProcessRequest () <0xa>
in Mono.WebServer.BaseApplicationHost:ProcessRequest
(Mono.WebServer.MonoWorkerRequest) <0x43>
in Mono.WebServer.ModMonoApplicationHost:ProcessRequest
(int,string,string,string,string,string,int,string,int,string,string[],strin
g[]) <0xdc>
in (wrapper remoting-invoke-with-check)
Mono.WebServer.ModMonoApplicationHost:ProcessRequest
(int,string,string,string,string,string,int,string,int,string,string[],strin
g[]) <0xffffff0a>
in (wrapper xdomain-dispatch)
Mono.WebServer.ModMonoApplicationHost:ProcessRequest
(object,byte[]&,byte[]&,int,string,string,string,string,string,int,string,in
t,string,string[],string[]) <0xffeed426>
in (wrapper xdomain-invoke)
Mono.WebServer.ModMonoApplicationHost:ProcessRequest
(int,string,string,string,string,string,int,string,int,string,string[],strin
g[]) <0xffffff6a>
in (wrapper remoting-invoke-with-check)
Mono.WebServer.ModMonoApplicationHost:ProcessRequest
(int,string,string,string,string,string,int,string,int,string,string[],strin
g[]) <0xffca89c4>
in Mono.WebServer.ModMonoWorker:InnerRun (object) <0x404>
in Mono.WebServer.ModMonoWorker:Run (object) <0x17>
in (wrapper delegate-invoke) System.MulticastDelegate:invoke_void_object
(object) <0xffffff95>
in (wrapper runtime-invoke) System.Object:runtime_invoke_void_object
(object,intptr,intptr,intptr) <0xc7371b5f>
 
Native stacktrace:
 
 /usr/lib/pkgconfig/../../bin/mono(mono_handle_native_sigsegv+0xbb)
[0x814ee2b]
 /usr/lib/pkgconfig/../../bin/mono [0x813b2cf]
 [0xffffe440]
 /usr/local/lib/libmapscript.so(msLayerWhichShapes+0x39) [0x41aece19]
 /usr/local/lib/libmapscript.so(msQueryByPoint+0x351) [0x41ade7d1]
 /usr/local/lib/libmapscript.so(CSharp_layerObj_queryByPoint+0x4d)
[0x41aa8f4d]
 [0x41a68626]
 [0x41a68478]
 [0x41a67fee]
 [0x41a676bf]
 [0x416f63d9]
 [0x416f5260]
 [0x416f1668]
 [0x416f1549]
 [0x41251fa4]
 [0x41251ad5]
 [0x41251a93]
 [0x41250544]
 [0x41234e55]
 [0x412345bc]
 [0x4123439b]
 [0x411214af]
 [0x411212eb]
 [0x40dc9bdd]
 [0x40dc9730]
 [0x40dc96f4]
 [0x40dc964e]
 /usr/lib/pkgconfig/../../bin/mono [0x813b180]
 /usr/lib/pkgconfig/../../bin/mono(mono_runtime_invoke+0x27) [0x80d63f7]
 /usr/lib/pkgconfig/../../bin/mono(mono_runtime_invoke_array+0x270)
[0x80d78c0]
 /usr/lib/pkgconfig/../../bin/mono(mono_message_invoke+0xc5) [0x80d93d5]
 /usr/lib/pkgconfig/../../bin/mono [0x80a509f]
 /usr/lib/pkgconfig/../../bin/mono [0x80a58c9]
 /usr/lib/pkgconfig/../../bin/mono [0x8099fb2]
 /usr/lib/pkgconfig/../../bin/mono [0x80f5067]
 /usr/lib/pkgconfig/../../bin/mono [0x8113175]
 /lib/tls/libpthread.so.0 [0x400e5297]
 /lib/tls/libc.so.6(__clone+0x5e) [0x401e037e]

 

-----------------------------------------

Xavier Mauclaire

Service informatique
GEOTER SAS
3, rue Jean Monnet
34830 Clapiers France
Tél.: +33 (0)4.67.59.18.11
Fax: +33 (0)4.67.59.18.24 

Email: xavier.mauclaire at geoter.fr

Web site: http://www.geoter.fr

-------------------------------------------------------


 

 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20060626/4b339fc1/attachment.html


More information about the mapserver-users mailing list