[Mono-bugs] [Bug 78553][Wis] New - XSP fails due to SIGSEGV in
native code
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Wed May 31 18:25:04 EDT 2006
Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.
Changed by mcgee at umd.edu.
http://bugzilla.ximian.com/show_bug.cgi?id=78553
--- shadow/78553 2006-05-31 18:25:04.000000000 -0400
+++ shadow/78553.tmp.17646 2006-05-31 18:25:04.000000000 -0400
@@ -0,0 +1,224 @@
+Bug#: 78553
+Product: Mono: Tools
+Version: 1.1
+OS: GNU/Linux [Other]
+OS Details: 2.4.9-e.68
+Status: NEW
+Resolution:
+Severity:
+Priority: Wishlist
+Component: XSP
+AssignedTo: gonzalo at ximian.com
+ReportedBy: mcgee at umd.edu
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: XSP fails due to SIGSEGV in native code
+
+Description of Problem:
+xsp does not function. Instead of serving applications, it appears to fail
+the compilation of the xsp script. The server continues to run, but all
+attempts to generate documents result in a server internal error (500).
+
+Steps to reproduce the problem:
+1. Download, compile and install mono 1.1.15
+ - The line 'GC_stackbottom = (char*)sstart + size;' was commented in
+mono/mini/mini.c in order to complete the build
+ - mono was installed into /usr/local/mono
+2. Download, compile and install stock xsp 1.1.15
+ - xsp was installed into /usr/local/mono
+3. cd into lib/xsp/test and run xsp (mod_mono behaves the same)
+
+Actual Results:
+Receive a 500 page in browser with more details into the appropriate log.
+
+Expected Results:
+Whatever the test application for xsp should yield.
+
+How often does this happen?
+Every time
+
+Additional Information:
+gcc is version 2.96 (provided by system)
+binutils are stock version 2.16 (hand built to fix issues with ldscripts)
+glib is stock version 2.8.6 (hand built)
+No X, cairo, libgdiplus or other UI/graphical libraries installed
+Mono was built and run on virtual hosting system from westhost.com
+
+Results equivalent using mod_mono in stock apache 2.2.2 (hand built)
+
+Unable to determine version of OS (believed to be Red Hat enterprise) as I
+do not have access to the real FS root.
+--- Result in browser ---
+Server error in '/' application
+Description: Error processing request.
+
+Error Message: HTTP 500.
+
+Stack Trace:
+
+System.IO.FileNotFoundException:
+/tmp/etherealwake-temp-aspnet-0/14f56774/64487.dll :
+/tmp/etherealwake-temp-aspnet-0/14f56774/64487.dll
+in <0x00000> <unknown method>
+in (wrapper managed-to-native) System.Reflection.Assembly:LoadFrom
+(string,bool)
+in <0x0000c> System.Reflection.Assembly:LoadFrom (System.String assemblyFile)
+in <0x003c1> Mono.CSharp.CSharpCodeCompiler:CompileFromFileBatch
+(System.CodeDom.Compiler.CompilerParameters options, System.String[] fileNames)
+in <0x00022> Mono.CSharp.CSharpCodeCompiler:CompileAssemblyFromFileBatch
+(System.CodeDom.Compiler.CompilerParameters options, System.String[] fileNames)
+in <0x0031d> Mono.CSharp.CSharpCodeCompiler:CompileFromDomBatch
+(System.CodeDom.Compiler.CompilerParameters options,
+System.CodeDom.CodeCompileUnit[] ea)
+in <0x00022> Mono.CSharp.CSharpCodeCompiler:CompileAssemblyFromDomBatch
+(System.CodeDom.Compiler.CompilerParameters options,
+System.CodeDom.CodeCompileUnit[] ea)
+in <0x0003c> Mono.CSharp.CSharpCodeCompiler:CompileAssemblyFromDom
+(System.CodeDom.Compiler.CompilerParameters options,
+System.CodeDom.CodeCompileUnit e)
+in <0x0013d> System.Web.Compilation.CachingCompiler:Compile
+(System.Web.Compilation.BaseCompiler compiler)
+in <0x00259> System.Web.Compilation.BaseCompiler:GetCompiledType ()
+in <0x000ba> System.Web.Compilation.AspGenerator:GetCompiledType ()
+in <0x0005e> System.Web.UI.ApplicationFileParser:GetCompiledApplicationType
+(System.String inputFile, System.Web.HttpContext context)
+in <0x000ae> System.Web.HttpApplicationFactory:InitType
+(System.Web.HttpContext context)
+in <0x00050> System.Web.HttpApplicationFactory:GetApplication
+(System.Web.HttpContext context)
+in <0x00083> System.Web.HttpRuntime:RealProcessRequest (System.Object o)
+--- Result on xsp console ---
+xsp
+Listening on port: 8080 (non-secure)
+Listening on address: 0.0.0.0
+Root directory: /usr/local/mono/lib/xsp/test
+Hit Return to stop the server.
+
+=================================================================
+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)
+System.Diagnostics.Process:CreateProcess_internal
+(System.Diagnostics.ProcessStartInfo,intptr,intptr,intptr,System.Diagnostics.Process/ProcInfo&)
+<0x4>
+in (wrapper managed-to-native)
+System.Diagnostics.Process:CreateProcess_internal
+(System.Diagnostics.ProcessStartInfo,intptr,intptr,intptr,System.Diagnostics.Process/ProcInfo&)
+<0xfffffaee>
+in System.Diagnostics.Process:Start_noshell
+(System.Diagnostics.ProcessStartInfo,System.Diagnostics.Process) <0x32e>
+in System.Diagnostics.Process:Start_common
+(System.Diagnostics.ProcessStartInfo,System.Diagnostics.Process) <0x7c>
+in System.Diagnostics.Process:Start () <0x13>
+in (wrapper remoting-invoke-with-check) System.Diagnostics.Process:Start ()
+<0xffffea05>
+in Mono.CSharp.CSharpCodeCompiler:CompileFromFileBatch
+(System.CodeDom.Compiler.CompilerParameters,string[]) <0x195>
+in Mono.CSharp.CSharpCodeCompiler:CompileAssemblyFromFileBatch
+(System.CodeDom.Compiler.CompilerParameters,string[]) <0x22>
+in Mono.CSharp.CSharpCodeCompiler:CompileFromDomBatch
+(System.CodeDom.Compiler.CompilerParameters,System.CodeDom.CodeCompileUnit[])
+<0x31d>
+in Mono.CSharp.CSharpCodeCompiler:CompileAssemblyFromDomBatch
+(System.CodeDom.Compiler.CompilerParameters,System.CodeDom.CodeCompileUnit[])
+<0x22>
+in Mono.CSharp.CSharpCodeCompiler:CompileAssemblyFromDom
+(System.CodeDom.Compiler.CompilerParameters,System.CodeDom.CodeCompileUnit)
+<0x3c>
+in System.Web.Compilation.CachingCompiler:Compile
+(System.Web.Compilation.BaseCompiler) <0x13d>
+in System.Web.Compilation.BaseCompiler:GetCompiledType () <0x259>
+in System.Web.Compilation.AspGenerator:GetCompiledType () <0xba>
+in System.Web.UI.ApplicationFileParser:GetCompiledApplicationType
+(string,System.Web.HttpContext) <0x5e>
+in System.Web.HttpApplicationFactory:InitType (System.Web.HttpContext) <0xae>
+in System.Web.HttpApplicationFactory:GetApplication
+(System.Web.HttpContext) <0x50>
+in System.Web.HttpRuntime:RealProcessRequest (object) <0x83>
+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.XSPApplicationHost:ProcessRequest
+(int,long,int,long,int,string,string,string,string,byte[],string,intptr,Mono.WebServer.SslInformations)
+<0x37f>
+in (wrapper remoting-invoke-with-check)
+Mono.WebServer.XSPApplicationHost:ProcessRequest
+(int,long,int,long,int,string,string,string,string,byte[],string,intptr,Mono.WebServer.SslInformations)
+<0xfffffab2>
+in (wrapper xdomain-dispatch)
+Mono.WebServer.XSPApplicationHost:ProcessRequest
+(object,byte[]&,byte[]&,int,long,int,long,int,string,string,string,string,byte[],string)
+<0xfffef746>
+in (wrapper xdomain-invoke)
+Mono.WebServer.XSPApplicationHost:ProcessRequest
+(int,long,int,long,int,string,string,string,string,byte[],string,intptr,Mono.WebServer.SslInformations)
+<0xffffff3d>
+in (wrapper remoting-invoke-with-check)
+Mono.WebServer.XSPApplicationHost:ProcessRequest
+(int,long,int,long,int,string,string,string,string,byte[],string,intptr,Mono.WebServer.SslInformations)
+<0xffca1043>
+in Mono.WebServer.XSPWorker:InnerRun (object) <0x563>
+in Mono.WebServer.XSPWorker:Run (object) <0x22>
+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) <0xc743165b>
+
+Native stacktrace:
+
+ /usr/local/mono/bin/mono(mono_handle_native_sigsegv+0x88) [0x81617f0]
+ /usr/local/mono/bin/mono [0x8145ab8]
+ /lib/i686/libpthread.so.0 [0x400ebc33]
+ /lib/i686/libc.so.6 [0x40177980]
+ /lib/libsphera.so.1(fork+0xd) [0x4002c28d]
+ /usr/local/mono/bin/mono [0x8103bf9]
+ /usr/local/mono/bin/mono [0x80db703]
+ [0x414120a0]
+ [0x41411b5f]
+ [0x4141177d]
+ [0x414116d4]
+ [0x41411681]
+ [0x4141004e]
+ [0x4140fe1b]
+ [0x412e9be6]
+ [0x412e977b]
+ [0x412e9745]
+ [0x412e9476]
+ [0x412e4d72]
+ [0x412deedb]
+ [0x411ab9ef]
+ [0x411a9f47]
+ [0x411a9c99]
+ [0x411a9274]
+ [0x411a8ecd]
+ [0x411a8e8b]
+ [0x411a876c]
+ [0x41085c48]
+ [0x41085069]
+ [0x410849b3]
+ [0x41073def]
+ [0x41073c06]
+ [0x40d14b4c]
+ [0x40d14423]
+ [0x40d143dc]
+ [0x40d14336]
+ /usr/local/mono/bin/mono [0x8145964]
+ /usr/local/mono/bin/mono(mono_runtime_invoke+0x18) [0x80a5c18]
+ /usr/local/mono/bin/mono(mono_runtime_invoke_array+0x325) [0x80a6d45]
+ /usr/local/mono/bin/mono(mono_message_invoke+0xed) [0x80a825d]
+ /usr/local/mono/bin/mono [0x80ce1ea]
+ /usr/local/mono/bin/mono [0x80ce791]
+ /usr/local/mono/bin/mono [0x80cabfb]
+ /usr/local/mono/bin/mono [0x8108ba3]
+ /usr/local/mono/bin/mono [0x8122a6f]
+ /lib/libsphera.so.1 [0x4002dc7a]
+ /lib/i686/libpthread.so.0 [0x400e8c6f]
+ /lib/i686/libc.so.6(__clone+0x3a) [0x40236d0a]
More information about the mono-bugs
mailing list