[Mono-bugs] [Bug 503935] New: Certain keystrokes sent to a MessageBox will crash the application

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu May 14 11:59:35 EDT 2009


http://bugzilla.novell.com/show_bug.cgi?id=503935


           Summary: Certain keystrokes sent to a MessageBox will crash the
                    application
    Classification: Mono
           Product: Mono: Class Libraries
           Version: 2.4.x
          Platform: x86
        OS/Version: openSUSE 11.1
            Status: NEW
          Severity: Critical
          Priority: P5 - None
         Component: Windows.Forms
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: bgmerrell at novell.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: Integration Test


Description of Problem:

After opening a default MessageBox, which only has an "OK" button, pressing
"i", "a", or "n" (or these same letters in caps) on the keyboard will crash the
application.

Steps to reproduce the problem:

1.  Run the attached test case IronPython application
2.  Click File -> Open
3.  Press "i", "a", or "n" on the keyboard

Actual Results:

The application crashes. (See attached stack trace.)

Expected Results:

The application should ignore the keystrokes

How often does this happen? 

Every time

Additional Information:

It looks like there is some logic in the ProcessDialogChar method in
mcs/class/Managed.Windows.Forms/System.Windows.Forms/MessageBox.cs that is
trying to handle the keystrokes, but it is resulting in a
NullReferenceException

-- 
Configure bugmail: http://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