[Mono-bugs] [Bug 74952][Nor] Changed - Rapid RSA construct->
NullReferenceException from internal_from_name
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Wed May 18 16:48:15 EDT 2005
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 sebastien at ximian.com.
http://bugzilla.ximian.com/show_bug.cgi?id=74952
--- shadow/74952 2005-05-18 15:50:19.000000000 -0400
+++ shadow/74952.tmp.30109 2005-05-18 16:48:15.000000000 -0400
@@ -1,23 +1,23 @@
Bug#: 74952
-Product: Mono: Class Libraries
+Product: Mono: Runtime
Version: unspecified
OS: unknown
OS Details: AMD64 - Gentoo
-Status: NEEDINFO
+Status: REOPENED
Resolution:
Severity: Unknown
Priority: Normal
-Component: CORLIB
+Component: misc
AssignedTo: mono-bugs at ximian.com
ReportedBy: harningt at gmail.com
QAContact: mono-bugs at ximian.com
TargetMilestone: ---
URL:
Cc:
-Summary: Rapid RSA construct-> random number generator -> NullReference
+Summary: Rapid RSA construct-> NullReferenceException from internal_from_name
Description of Problem:
When rapidly constructing multiple RSA instances, the random number
generator throws a NullReferenceException for some of the requests.
Note: This appears to only occur when multi-threading. When running the
tests sequentially, the exception does not occur.
@@ -240,6 +240,21 @@
System.Security.Cryptography.RSACryptoServiceProvider:ExportParameters
(Boolean includePrivateParameters)
in [0x0000f] (at /home/harningt/rsaCrash.cs:17) M:ThreadLoad ()
Strange... seems the typeloader is what's going bad here, nothing
particularly due to CryptoConfig as we thought.
+
+------- Additional Comments From sebastien at ximian.com 2005-05-18 16:48 -------
+Yes, it doesn't look like a problem in CryptoConfig (at least not the
+last part ;-) as the Type.GetType should have thrown an
+ArgumentNullException of the typeName was a null string.
+
+public static Type GetType(string typeName)
+{
+ if (typeName == null)
+ throw new ArgumentNullException ("typeName");
+
+ return internal_from_name (typeName, false, false);
+}
+
+Thanks for the informations!
More information about the mono-bugs
mailing list