[Mono-bugs] [Bug 54262][Blo] New - Key generation cause 100% CPU use
bugzilla-daemon@bugzilla.ximian.com
bugzilla-daemon@bugzilla.ximian.com
Thu, 12 Feb 2004 07:04:26 -0500 (EST)
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.lambla@cubiks.com.
http://bugzilla.ximian.com/show_bug.cgi?id=54262
--- shadow/54262 2004-02-12 07:04:26.000000000 -0500
+++ shadow/54262.tmp.1524 2004-02-12 07:04:26.000000000 -0500
@@ -0,0 +1,44 @@
+Bug#: 54262
+Product: Mono/Class Libraries
+Version: unspecified
+OS:
+OS Details: Windows XP Professional SP1
+Status: NEW
+Resolution:
+Severity:
+Priority: Blocker
+Component: CORLIB
+AssignedTo: mono-bugs@ximian.com
+ReportedBy: sebastien.lambla@cubiks.com
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: Key generation cause 100% CPU use
+
+Please fill in this template when reporting a bug, unless you know what you
+are doing.
+Description of Problem:
+On latest CVS, generating a 1544bits key using the Mono.Security.RSAManaged
+class cause the processor usage to reach 100% for several minutes.
+
+
+Steps to reproduce the problem:
+1. Compile the Mono.Security classes in a separate dll using the MS framework.
+2. Write this code:
+RSAManaged provider = new RSAManaged(1544);
+RSAParameters publicKey = provider.ExportParameters(false);
+
+Actual Results:
+100% CPU usage and the code stays for long minutes in the GenerateNewPrime
+method (in the primality test).
+
+Expected Results:
+An RSA Public key
+
+How often does this happen?
+All the time
+
+Additional Information:
+Not tested in a mono only environment, or using the mono
+RSACryptoServiceProvider.