http://bugzilla.novell.com/show_bug.cgi?id=579802
http://bugzilla.novell.com/show_bug.cgi?id=579802#c0 Summary: iPhone app crashes after taking several pictures Classification: Mono Product: MonoTouch Version: unspecified Platform: Macintosh OS/Version: Mac OS X 10.6 Status: NEW Severity: Critical Priority: P5 - None Component: Runtime AssignedTo: gnor...@novell.com ReportedBy: mike.bluest...@gmail.com QAContact: mono-bugs@lists.ximian.com Found By: --- Blocker: --- Created an attachment (id=342353) --> (http://bugzilla.novell.com/attachment.cgi?id=342353) test case User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_2; en-us) AppleWebKit/531.21.8 (KHTML, like Gecko) Version/4.0.4 Safari/531.21.10 Taking several pictures with the camera on an iPhone 3G running sdk 3.1.2 causes the application to leak memory (based upon watching the process in instruments) and crash after 5 pictures have been taken if you set the Delegate on the UIImagePickerController. I tried with both creating and disposing a new UIImagePickerController each time, as well as using the same one. The test case uses the latter approach. Crash doesn't happen if I do an image.Dispose in the Delegate method. There was an apple bug with this controller leaking in 2.2, which required using the same instance as a work-around, but it has allegedly been fixed by apple as of 3.0. Here's a related link from stackoverflow: http://stackoverflow.com/questions/565886/uiimagepickercontrollersourcetypecamera-hogging-up-memory Reproducible: Always Steps to Reproduce: 1. Take several pictures using attached test case 2. App crashes on picture #6 when using iPhone 3g with 3.1.2 Actual Results: memory leaks and app crashes Expected Results: no memory leaking or crashing -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug. _______________________________________________ mono-bugs maillist - mono-bugs@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-bugs