[Mono-bugs] [Bug 81378][Nor] Changed - [OSX] WebRequest static constructor fails when invoked asynchronously

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Fri Apr 20 08:46:30 EDT 2007


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 vip at pesymista.info.

http://bugzilla.ximian.com/show_bug.cgi?id=81378

--- shadow/81378	2007-04-14 15:06:35.000000000 -0400
+++ shadow/81378.tmp.15460	2007-04-20 08:46:30.000000000 -0400
@@ -1,14 +1,14 @@
 Bug#: 81378
 Product: Mono: Class Libraries
 Version: 1.0
-OS: 
+OS: unknown
 OS Details: 
 Status: NEW   
 Resolution: 
-Severity: 
+Severity: Unknown
 Priority: Normal
 Component: System
 AssignedTo: mono-bugs at ximian.com                            
 ReportedBy: atsushi at ximian.com               
 QAContact: mono-bugs at ximian.com
 TargetMilestone: ---
@@ -106,6 +106,25 @@
 The exception above does not happen when the commented code is enabled
 (i.e. when no async call to WebRequest.cctor() happens).
 
 It seems to happen only on mac.
 
 Filed under class lib (System.dll), but is also likely the runtime issue.
+
+------- Additional Comments From vip at pesymista.info  2007-04-20 08:46 -------
+Got same on i686, mono-1.2.3.1-1.i686:
+...
+System.Threading.Timer tmrThreadingTimer = new
+System.Threading.Timer(new	                       
+TimerCallback(update_status),
+ null, 0, 5000);
+...
+
+...
+update_status(object status)
+{
+WebClient client = new WebClient ();
+}
+
+Ex: An exception was thrown by the type initializer for 
+System.Net.WebRequest
+


More information about the mono-bugs mailing list