[Mono-bugs] [Bug 684316] WebRequest consistently dies with memory leak (iPhone3G) or Mprotect crash (iPhone4)

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu Apr 21 16:30:02 EDT 2011


https://bugzilla.novell.com/show_bug.cgi?id=684316

https://bugzilla.novell.com/show_bug.cgi?id=684316#c2


Geoff Norton <gnorton at novell.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |WORKSFORME

--- Comment #2 from Geoff Norton <gnorton at novell.com> 2011-04-21 20:30:01 UTC ---
I ran your sample (debug build but not running in the debugger) on a iPhone 4
running iOS 4.3.1 with the forthcoming MonoTouch 4.0.1 release.  Here is the
information I got after 1 iterations:

  PID COMMAND      %CPU   TIME   #TH #PRTS #MREGS  RPRVT  RSHRD  RSIZE  VSIZE
 1258 CrashTest   20.5%  0:32.88   9   124    307 53592K  8076K    59M   182M 

RSIZE did not change after the initial allocation, RPRVT fluctuated minorly as
the app collected, but nothing significant.  RSHRD remained constant after the
initial allocation.

After about 10 iterations:

 1258 CrashTest   18.7%  1:10.67   9   124    332 46132K  8104K    54M   177M 

We have freed up about 7 megs of memory, but this could be iOS native buffers
hard to tell.

I let the app run 20 full iterations and I ended it with:

 1258 CrashTest   20.3%  1:50.63   9   124    334 54508K  8052K    60M   183M 

The app did not crash and printed:

Apr 21 16:21:55 iPhone UIKitApplication:crashtest[0x9ec1][1258] <Notice>:
Starting post 20
Apr 21 16:22:33 iPhone UIKitApplication:crashtest[0x9ec1][1258] <Notice>:
Finished!

Please reopen this bug if you are still seeing this behaviour on 4.0.1, but as
it stands we cannot replicate this.

-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the mono-bugs mailing list