Mapscript ,Mono, Apache and Linux : a great story

Tamas Szekeres szekerest at GMAIL.COM
Wed Jun 14 14:00:35 PDT 2006


Hi,

 

It would be helpful if you could you file a bug describing the steps to
reproduce this problem (including code sample and map file if necessary).

I guess you have called a getFeature on a postgis layer which is generally
not uncommon and have been tested many times.

However i am not sure about the application environment and the threading
issues in this case.

 

 

Thanks,

 

Tamas Szekeres

 

   _____  

From: UMN MapServer Users List [mailto:MAPSERVER-USERS at LISTS.UMN.EDU] On
Behalf Of Xavier Mauclaire
Sent: Tuesday, June 13, 2006 9:44 AM
To: MAPSERVER-USERS at LISTS.UMN.EDU
Subject: [UMN_MAPSERVER-USERS] Mapscript ,Mono, Apache and Linux : a great
story

 

HI

 

I'm developping a web site using Mono (1.1.13) Apache (2.0.54) MApscript
(4.8.3). I'm using Vs2003 to develop and linux as deployement platform.

All works well with windows but on linux i get the folowing error in th
error_log apache file and the web server shutdowns.

 

 

Any help well be appreciated. I don't know what to do 

 

regards

 


=================================================================
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:layerObj_getFeature
(System.Runtime.InteropServices.HandleRef,int,int) <0x4>
in (wrapper managed-to-native) mapscriptPINVOKE:layerObj_getFeature
(System.Runtime.InteropServices.HandleRef,int,int) <0xffffff87>
in layerObj:getFeature (int,int) <0x27>
in siteflash.GetParcelleReglement:localiser_parcelle (double,double,string&)
<0x1ca>
in siteflash.GetParcelleReglement:ProcessRequest (System.Web.HttpContext)
<0x56c>
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[]) <0xffeecda6>
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[]) <0xffca7c74>
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) <0xc74b289f>

 

Native stacktrace:

 

 /usr/lib/pkgconfig/../../bin/mono(mono_handle_native_sigsegv+0xbb)
[0x814ee2b]
 /usr/lib/pkgconfig/../../bin/mono [0x813b2cf]
 [0xffffe440]
 /lib/tls/libc.so.6(malloc+0x86) [0x40187ea6]
 /usr/local/lib/libmapscript.so(strstrIgnoreCase+0x47) [0x417f8fd7]
 /usr/local/lib/libmapscript.so [0x417f90e4]
 /usr/local/lib/libmapscript.so(msPOSTGISLayerGetShape+0x7d) [0x417f973d]
 /usr/local/lib/libmapscript.so(msPOSTGISLayerGetShapeVT+0x23) [0x417f9e93]
 /usr/local/lib/libmapscript.so(msLayerGetShape+0x2e) [0x417a8d6e]
 /usr/local/lib/libmapscript.so(CSharp_layerObj_getFeature+0x46)
[0x41764766]
 [0x41721a9a]
 [0x417219b8]
 [0x41720b93]
 [0x4172023d]
 [0x415b64f9]
 [0x415b5380]
 [0x415b1768]
 [0x415b1649]
 [0x411111f4]
 [0x41110d25]
 [0x41110ce3]
 [0x4111029c]
 [0x410f54e5]
 [0x410f4c4c]
 [0x410f4a2b]
 [0x40fe14bf]
 [0x40fe12fb]
 [0x40c88e9d]
 [0x40c889f0]
 [0x40c889b4]
 [0x40c8890e]
 /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 13 17:45:12 2006] [notice] caught SIGTERM, shutting down
[Tue Jun 13 17:45:21 2006] [warn] module mono_module is already loaded,
skipping
[Tue Jun 13 17:45:22 2006] [notice] Apache/2.0.54 (Linux/SUSE) 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.
[Tue Jun 13 17:53:44 2006] [notice] caught SIGTERM, shutting down

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

Xavier Mauclaire

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


 

 


--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.394 / Virus Database: 268.8.4/363 - Release Date: 2006.06.13.



-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.394 / Virus Database: 268.8.4/364 - Release Date: 2006.06.14.
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20060614/5f82e8a3/attachment.htm>


More information about the MapServer-users mailing list