[Mono-bugs] [Bug 58558][Blo] Changed - static constructors don't get called
bugzilla-daemon@bugzilla.ximian.com
bugzilla-daemon@bugzilla.ximian.com
Mon, 17 May 2004 10:17:45 -0400 (EDT)
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 jaak@zd.com.pl.
http://bugzilla.ximian.com/show_bug.cgi?id=58558
--- shadow/58558 2004-05-15 16:15:49.000000000 -0400
+++ shadow/58558.tmp.8077 2004-05-17 10:17:45.000000000 -0400
@@ -1,23 +1,23 @@
Bug#: 58558
-Product: Mono: Class Libraries
+Product: Mono: Runtime
Version: unspecified
OS: GNU/Linux [Other]
OS Details:
Status: NEW
Resolution:
-Severity:
+Severity: Unknown
Priority: Blocker
-Component: Sys.Web
+Component: misc
AssignedTo: mono-bugs@ximian.com
ReportedBy: jaak@zd.com.pl
QAContact: mono-bugs@ximian.com
-TargetMilestone: ---
+TargetMilestone: V1
URL:
Cc:
-Summary: mod-mono-server is no longer able to serve any page
+Summary: static constructors don't get called
I recently updated mono,mcs,mod_mono and xsp from CVS and I'm no longer
able to run any ASP.NET page. I get this error when attempting to get any
trivial page:
(...)
@@ -50,6 +50,33 @@
garbage collector instead of "included" one.
------- Additional Comments From jaak@zd.com.pl 2004-05-15 16:15 -------
Created an attachment (id=7722)
log file
+
+------- Additional Comments From jaak@zd.com.pl 2004-05-17 10:17 -------
+I did some more research:
+
+1. The problem seems to be related to NOT calling class constructor
+for DefaultConfig in child appdomains. I've put some debugging
+information in DefaultConfig.cctor and it got printed only once in
+main appdomain. This way "DefaultConfig.instance" is null which causes
+the bug.
+
+2. Under mint this works fine (but slow), which suggests some JITter
+problems.
+
+3. mono --version outputs:
+
+Mono JIT compiler version 0.91.99, (C) 2002-2004 Novell, Inc and
+Contributors. www.go-mono.com
+ TLS: NPTL
+ GC: System Boehm (with typed GC)
+ SIGSEGV : altstack
+ Globalization: ICU
+
+4. All of the above is based on 1-hour-old CVS "make bootstrap && make
+install".
+
+5. I suspect that this may be related to Boehm GC, but since there's
+no "libgc" under "mono" in any more I cannot try --with-gc=included.