[Mono-bugs] [Bug 328019] New: MDIParent crash

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Mon Sep 24 18:38:19 EDT 2007


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

           Summary: MDIParent crash
           Product: Mono: Class Libraries
           Version: 1.2
          Platform: Other
        OS/Version: Windows XP
            Status: NEW
          Severity: Major
          Priority: P5 - None
         Component: Windows.Forms
        AssignedTo: mono-bugs at ximian.com
        ReportedBy: thunderbird2k at gmx.net
         QAContact: mono-bugs at ximian.com
          Found By: ---


Description of Problem:
The VB.NET test app which I have attached to this report shows the problem. In
short the program consists of a parent MDI form and a child form. If the child
form is assigned its parent during the loading of the child that results in a
crash. If the MDIParent is set before showing the form in the code of the
parent it works. Note that in the attached sample the parent form is global.

Actual Results:
On Microsoft .NET this behavior (although it isn't the nicest way of doing
things) is allowed. For me it crashes on Mono 1.2.5 for windows. The same app
appears to work on Mono 1.2.5 for Linux (this Mono 1.2.5 mono package shipping
with Debian Etch for AMD64). So I think that the problem is somewhere in the
win32 renderer.

Additional Information:
As I said before I have attached a test app written using VB.NET 2005 Express
which shows the problem. It originated from stripping my own program. The main
module has some 'crash_mono' variable which can be used to switch between
'working' behavior (setting the parent before showing it) and the broken
behavior.

Regards,
Roderick Colenbrander


-- 
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