[Mono-bugs] [Bug 648147] New: repeatedly running UIAlertView causes crash

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Oct 20 17:21:11 EDT 2010


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

https://bugzilla.novell.com/show_bug.cgi?id=648147#c0


           Summary: repeatedly running UIAlertView causes crash
    Classification: Mono
           Product: MonoTouch
           Version: unspecified
          Platform: Macintosh
        OS/Version: Mac OS X 10.6
            Status: NEW
          Keywords: Random
          Severity: Major
          Priority: P5 - None
         Component: Class Libraries
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: katherine_ye at hotmail.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: Customer
           Blocker: ---


Created an attachment (id=396102)
 --> (http://bugzilla.novell.com/attachment.cgi?id=396102)
the project has the test code

Description of Problem:


Steps to reproduce the problem:
here is the code:

void HandleTestBttnTouchDown (object sender, EventArgs e)
        {
            UIAlertView alertView;

            for (int i = 0; i < 5; i++)
            {
               alertView = new UIAlertView("Incoming Chat", "test", null,
"Dismiss", "Chat");

               alertView.Clicked += delegate(object se, UIButtonEventArgs earg)
{
                    if (earg.ButtonIndex == 1)
                    {
                       Console.WriteLine( " in the chat ");
                    }
                };
               alertView.Show();
            }

        }

Actual Results:
 it always causes crash

Expected Results:


How often does this happen? 

everytime
Additional Information:
Following is the Application output:wait_fences: failed to receive reply:
10004003
 in the chat 
wait_fences: failed to receive reply: 10004003
 in the chat 
wait_fences: failed to receive reply: 10004003
 in the chat 
wait_fences: failed to receive reply: 10004003
 in the chat 
2010-10-20 16:07:01.225 UIAlertViewTest[74915:f07] ***
-[MonoTouch.UIKit.UIAlertView+_UIAlertViewDelegate respondsToSelector:]:
message sent to deallocated instance 0x875c5c0

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


More information about the mono-bugs mailing list