[Mono-bugs] [Bug 326799] New: Mono.WebServer
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Thu Sep 20 08:47:47 EDT 2007
https://bugzilla.novell.com/show_bug.cgi?id=326799
Summary: Mono.WebServer
Product: Mono: Runtime
Version: 1.2
Platform: i686
OS/Version: RHEL 4
Status: NEW
Severity: Blocker
Priority: P5 - None
Component: misc
AssignedTo: mono-bugs at ximian.com
ReportedBy: mirko-novell at nextware.it
QAContact: mono-bugs at ximian.com
Found By: ---
--------------------------------------------------------------------------------
- Source of WebServer.cs
-------------------------------------------------------
--------------------------------------------------------------------------------
using System;
using System.Net;
using System.Net.Sockets;
using System.Threading;
using System.Web;
using Mono.WebServer;
using NW.CS.Utilita;
namespace NW.CS.WebServer {
class TWebServer {
static void Main(string[] Parametri) {
int C=1;
while (true) {
try {
IPEndPoint IP=new
IPEndPoint(IPAddress.Parse(Parametri[0]),Int32.Parse(Parametri[1]));
XSPWebSource websource = new
XSPWebSource(IP.Address, IP.Port);
ApplicationServer WebAppServer = new
ApplicationServer(websource);
WebAppServer.Verbose=true;
WebAppServer.AddApplicationsFromCommandLine(Parametri[2]);
WebAppServer.Start(true);
Console.WriteLine("Avvio
MonoWebServer...");
TNWFunzioni.ScriviLog("Avvio
MonoWebServer...","MonoWebServer",true);
while (true) {
Thread.Sleep(1*60*1000);
}
// WebAppServer.Stop();
}
catch (Exception E) {
TNWFunzioni.ScriviLog(E.Message,"MonoWebServer",true);
}
C++;
TNWFunzioni.ScriviLog("Nuovo ciclo:
"+C.ToString(),"MonoWebServer",true);
}
}
}
}
--------------------------------------------------------------------------------
- Command line
-----------------------------------------------------------------
--------------------------------------------------------------------------------
mono /home/nextware/MyProgs/C#/WebServer/WebServer.exe 212.39.9.167 80
ad.plugadplay.com:80:/:/var/www/virtualhosts/ad.plugadplay.com
--------------------------------------------------------------------------------
- Error after 3 minutes
-----------------------------------------------------------------
--------------------------------------------------------------------------------
** ERROR **: file assembly.c: line 1480 (mono_assembly_load_from_full):
assertion failed: (image->assembly == NULL)
aborting...
Stacktrace:
at (wrapper managed-to-native) System.AppDomain.LoadAssembly
(string,System.Security.Policy.Evidence,bool) <0x00004>
at (wrapper managed-to-native) System.AppDomain.LoadAssembly
(string,System.Security.Policy.Evidence,bool) <0xffffffff>
at System.AppDomain.Load (string) <0x00018>
at (wrapper remoting-invoke-with-check) System.AppDomain.Load (string)
<0xffffffff>
at System.Reflection.Assembly.Load (string) <0x0001b>
at System.Web.UI.TemplateParser.AddAssemblyByName (string) <0x000fd>
at System.Web.UI.TemplateParser..ctor () <0x00184>
at System.Web.UI.BaseTemplateParser..ctor () <0x0000a>
at System.Web.UI.TemplateControlParser..ctor () <0x00024>
at System.Web.UI.PageParser..ctor (string,string,System.Web.HttpContext)
<0x00052>
at System.Web.UI.PageParser.GetCompiledPageInstance
(string,string,System.Web.HttpContext) <0x00029>
at System.Web.UI.PageHandlerFactory.GetHandler
(System.Web.HttpContext,string,string,string) <0x00010>
at System.Web.HttpApplication.GetHandler (System.Web.HttpContext) <0x001cc>
at <>c__CompilerGenerated2.MoveNext () <0x00dc9>
at System.Web.HttpApplication.Tick () <0x0002c>
at System.Web.HttpApplication.Start (object) <0x000fb>
at
System.Web.HttpApplication.System.Web.IHttpAsyncHandler.BeginProcessRequest
(System.Web.HttpContext,System.AsyncCallback,object) <0x00073>
at System.Web.HttpRuntime.RealProcessRequest (object) <0x00229>
at System.Web.HttpRuntime.ProcessRequest (System.Web.HttpWorkerRequest)
<0x0002a>
at Mono.WebServer.MonoWorkerRequest.ProcessRequest () <0x0007e>
at Mono.WebServer.BaseApplicationHost.ProcessRequest
(Mono.WebServer.MonoWorkerRequest) <0x0006d>
at Mono.WebServer.XSPApplicationHost.ProcessRequest
(int,long,int,long,int,string,string,string,string,byte[],string,intptr,Mono.WebServer.SslInformations)
<0x0039e>
at (wrapper remoting-invoke-with-check)
Mono.WebServer.XSPApplicationHost.ProcessRequest
(int,long,int,long,int,string,string,string,string,byte[],string,intptr,Mono.WebServer.SslInformations)
<0xffffffff>
at (wrapper xdomain-dispatch)
Mono.WebServer.XSPApplicationHost.ProcessRequest
(object,byte[]&,byte[]&,int,long,int,long,int,string,string,string,string,byte[],string)
<0xffffffff>
at (wrapper xdomain-invoke) Mono.WebServer.XSPApplicationHost.ProcessRequest
(int,long,int,long,int,string,string,string,string,byte[],string,intptr,Mono.WebServer.SslInformations)
<0xffffffff>
at (wrapper remoting-invoke-with-check)
Mono.WebServer.XSPApplicationHost.ProcessRequest
(int,long,int,long,int,string,string,string,string,byte[],string,intptr,Mono.WebServer.SslInformations)
<0xffffffff>
at Mono.WebServer.XSPWorker.RunInternal (object) <0x00603>
at (wrapper delegate-invoke) System.MulticastDelegate.invoke_void_object
(object) <0xffffffff>
at (wrapper runtime-invoke)
System.Threading.WaitCallback.runtime_invoke_void_object
(object,intptr,intptr,intptr) <0xffffffff>
Native stacktrace:
mono [0x81681c0]
/lib/tls/libpthread.so.0 [0xb509c0]
/lib/tls/libc.so.6(abort+0xe9) [0xa03209]
/usr/lib/libglib-2.0.so.0(g_log+0) [0xd98cae]
/usr/lib/libglib-2.0.so.0(g_log+0x32) [0xd98ce0]
mono(mono_assembly_load_from_full+0x4ba) [0x80e5c1a]
mono(mono_assembly_open_full+0x16c) [0x80e60ac]
mono(mono_assembly_load_full+0x9a1) [0x80e6d71]
mono [0x80d6962]
[0x1705e2]
[0xec3c39]
[0xec3bde]
[0xec3b7c]
[0x1c5a56]
[0x1c1b0d]
[0x1c1903]
[0x1c189d]
[0x1c16bb]
[0x1c1572]
[0x1c1531]
[0x91cad5]
[0x1b3a8a]
[0x1b299d]
[0x195aa4]
[0x19580c]
[0xec2cda]
[0xec279b]
[0xec2457]
[0xec2006]
[0x177307]
[0x17650d]
[0x1757d7]
[0xcbfd33]
[0xcbf996]
[0x12c39c]
[0x12bd67]
[0x12bcce]
mono [0x8154f36]
mono(mono_runtime_invoke+0x27) [0x80927b7]
mono(mono_runtime_invoke_array+0x210) [0x80983c0]
mono [0x8098682]
mono [0x80cf99d]
mono [0x80cfe63]
mono [0x80cd990]
mono [0x811b280]
mono [0x81314c4]
/lib/tls/libpthread.so.0 [0xb4a3cc]
/lib/tls/libc.so.6(__clone+0x5e) [0xaa2c3e]
=================================================================
Got a SIGABRT while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries
used by your application.
=================================================================
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
More information about the mono-bugs
mailing list