[Mono-devel-list] snapshot quick fixes & asp.net bug (ouch)

Liyu Liu liyul at hotmail.com
Thu Jan 15 12:40:04 EST 2004


I reported some bugs (my biggest concern was 52522) a while ago and wanted
to see whether they were fixed. Thus I built a fresh mono yesterday and
mcs/xsp today. To compile class libraries, I had to make two quick fixes:

System.Xml.Schema.XmlSchemaContent.cs:17
-  private object actualBaseSchemaType;
+  protected object actualBaseSchemaType;

In mcs\tools\al\al.cs:207 and following (changing res to resinfo because res
was previously defined for a different object.)

     ResourceInfo resinfo = new ResourceInfo ();
     resinfo.name = "Security.Evidence";
     resinfo.fileName = arg;
     resinfo.isEmbedded = true;
     resinfo.isPrivate = true;
     resources.Add (resinfo);

However, I cannot test my asp.net stuff due to following bug:

Server error in '/' application
----------------------------------------------------------------------------
----
Description: Error processing request.
Error Message: HTTP 500.

Stack Trace: System.NullReferenceException: A null value was found where an
object instance was required
in <0x000c8> System.Web.HttpRuntime:OnFirstRequestStart
(System.Web.HttpContext)
in <0x000e0> System.Web.HttpRuntime:InternalExecuteRequest
(System.Web.HttpWorkerRequest)


E:\>xsp --root E:\work\
Listening on port: 8080
Listening on address: 0.0.0.0
Root directory: E:\work\
Hit Return to stop the server.


Unhandled Exception: System.Net.Sockets.SocketException: Some sort of w32
erroroccurred: 0
in (unmanaged) (wrapper managed-to-native)
System.Net.Sockets.Socket:Accept_internal (intptr)
in <0x00004> (wrapper managed-to-native)
System.Net.Sockets.Socket:Accept_internal (intptr)
in <0x0001a> System.Net.Sockets.Socket:Accept ()
in <0x0002f> Mono.ASPNET.XSPApplicationServer:RunServer ()
in <0x00044> (wrapper delegate-invoke) System.MulticastDelegate:invoke_void
()

Could any one help looking into these? My platfrom is windows 2000. Thanks a
lot. :-)

Luke

BTW, I was using xsp without resort to mscoree.dll by putting assemblies
(both exe and dll) in lib, then some "alias" executables under bin to run
"real" assemblies with mono. So there's no Microsoft dependency. To build
mcs and xsp, Microsoft .net 1.1 csc was used.



More information about the Mono-devel-list mailing list