[Mono-bugs] [Bug 588708] New: Notepad crashes when run by as root

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Tue Mar 16 12:08:19 EDT 2010


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

http://bugzilla.novell.com/show_bug.cgi?id=588708#c0


           Summary: Notepad crashes when run by as root
    Classification: Mono
           Product: Mono: Class Libraries
           Version: 2.6.x
          Platform: i586
        OS/Version: SLES 11
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Windows.Forms
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: mlegendre at novell.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: Component Test
           Blocker: ---


Description of Problem:

SLES 11 i586
mono-winforms 2.6.3-30
mono-core-2.6.3-30



Steps to reproduce the problem:
1. su to root
2. Run NotePad


Actual Results:
I get the following stack trace

c5173:~ # Notepad 

Unhandled Exception: System.NullReferenceException: Object reference not set to
an instance of an object
  at System.Windows.Forms.PageSetupDialog.get_UseYardPound () [0x00000] in
/usr/src/packages/BUILD/mono-2.6.3/mcs/class/Managed.Windows.Forms/System.Windows.Forms/PageSetupDialog.cs:457 
  at System.Windows.Forms.PageSetupDialog.LocalizedLengthUnit () [0x00000] in
/usr/src/packages/BUILD/mono-2.6.3/mcs/class/Managed.Windows.Forms/System.Windows.Forms/PageSetupDialog.cs:486 
  at System.Windows.Forms.PageSetupDialog.InitializeComponent () [0x0057f] in
/usr/src/packages/BUILD/mono-2.6.3/mcs/class/Managed.Windows.Forms/System.Windows.Forms/PageSetupDialog.cs:329 
  at System.Windows.Forms.PageSetupDialog..ctor () [0x00012] in
/usr/src/packages/BUILD/mono-2.6.3/mcs/class/Managed.Windows.Forms/System.Windows.Forms/PageSetupDialog.cs:84 
  at (wrapper remoting-invoke-with-check)
System.Windows.Forms.PageSetupDialog:.ctor ()
  at NotepadApp.Form1.InitializeComponent () [0x0011e] in
/usr/src/packages/BUILD/wf-apps-0.5.1388/MyNotepad/MyNotepad-Port/Form1.cs:109 
  at NotepadApp.Form1..ctor () [0x00011] in
/usr/src/packages/BUILD/wf-apps-0.5.1388/MyNotepad/MyNotepad-Port/Form1.cs:54 
  at (wrapper remoting-invoke-with-check) NotepadApp.Form1:.ctor ()
  at NotepadApp.Form1.Main () [0x00000] in
/usr/src/packages/BUILD/wf-apps-0.5.1388/MyNotepad/MyNotepad-Port/Form1.cs:304 


Expected Results:

Should start up normally

How often does this happen? 

Every time

Additional Information:

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