[Mono-bugs] [Bug 76375][Cri] New - Using of Rsvg.Handle.SizeCallback causes permanent 99% cpu usage and memory exhaustion on WindowsXP

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Sat Oct 8 13:07:09 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 filip26 at gmail.com.

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

--- shadow/76375	2005-10-08 13:07:09.000000000 -0400
+++ shadow/76375.tmp.8430	2005-10-08 13:07:09.000000000 -0400
@@ -0,0 +1,56 @@
+Bug#: 76375
+Product: Mono: Class Libraries
+Version: 1.1
+OS: 
+OS Details: XP SP2
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Critical
+Component: CORLIB
+AssignedTo: mono-bugs at ximian.com                            
+ReportedBy: filip26 at gmail.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Using of Rsvg.Handle.SizeCallback causes permanent 99% cpu usage and memory exhaustion on WindowsXP
+
+I'm sorry, but there is no Rsvg compoment, so I choosed corlib, please
+correct it.
+
+Please fill in this template when reporting a bug, unless you know what you
+are doing.
+Description of Problem:
+
+If I use Rsvg.Handle.SizeCallback to set a custom size then mono uses 99%
+cpu time and memory allocation grows to exhaustion. 
+The bug seems to be valid only for windows os, because on FreeBSD it works
+well. Methods like FromFileAtSize works well on booth os.
+
+Steps to reproduce the problem:
+1. compile attached source rsvg-test.cs
+2. run it to see that test works ;)
+3. uncomment a marked line
+4. recompile
+5. run, try resize window and watch memory and cpu usage
+
+Actual Results:
+
+Mono permanently uses 99 to 100% of cpu and causes memory exhaustion, after
+some time.
+
+Expected Results:
+
+No memory exhaustion and permanent 99 to 100% cpu usage.
+
+
+How often does this happen? 
+
+often
+
+Additional Information:
+
+mono-1.1.9.[1/2]
+
+Athlon XP 1800+ (1.53GHz) 768 MB RAM


More information about the mono-bugs mailing list