[Mono-bugs] [Bug 353942] New: MoMA crashes using Mono 1.2.6; runs fine with Microsoft. NET

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Tue Jan 15 12:56:30 EST 2008


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


           Summary: MoMA crashes using Mono 1.2.6; runs fine with
                    Microsoft.NET
           Product: Mono: Runtime
           Version: 1.2.6
          Platform: Macintosh
        OS/Version: Mac OS X 10.5
            Status: NEW
          Severity: Critical
          Priority: P5 - None
         Component: packaging
        AssignedTo: wberrier at novell.com
        ReportedBy: bsd at cs.ubc.ca
         QAContact: mono-bugs at lists.ximian.com
          Found By: Customer


Mono 1.2.6 as provided in the .dmg from the Mono Downloads page.
This is running on a MacBook Pro running OS X 10.5
MoMA 1.2.6 as provided from the MoMA downloads page.

I tried running MoMA on itself but it crashes. The GUI appears, and I select
its .exe and .dlls:

MoMA/ICSharpCode.SharpZipLib.dll
MoMA/MoMA.Analyzer.dll
MoMA/MoMA.exe
MoMA/Mono.Cecil.dll

But it crashes (a side issue is: why isn't it pulling in Cocoa# instead of the
X11 support?) apparently trying to save the files to a recently-used-files
list.  Unfortunately I'm a Mono and .NET newbie and haven't been able to figure
out where this is.

$ mono MoMA.exe
Gtk not found (missing LD_LIBRARY_PATH to libgtk-x11-2.0.so.0?), using built-in
colorscheme

Unhandled Exception: System.IndexOutOfRangeException: Array index is out of
range.
  at System.Windows.Forms.Mime.CheckForBinaryOrText () [0x00000] 
  at System.Windows.Forms.Mime.GoByFileName () [0x00000] 
  at System.Windows.Forms.Mime.StartByFileName (System.String filename)
[0x00000] 
  at System.Windows.Forms.Mime.GetMimeTypeForFile (System.String filename)
[0x00000] 
  at System.Windows.Forms.UnixFileSystem.WriteRecentlyUsedFiles (System.String
fileToAdd) [0x00000] 
  at System.Windows.Forms.MWFVFS.WriteRecentlyUsedFiles (System.String
filename) [0x00000] 
  at System.Windows.Forms.MWFFileView.WriteRecentlyUsed (System.String
fullfilename) [0x00000] 
  at (wrapper remoting-invoke-with-check)
System.Windows.Forms.MWFFileView:WriteRecentlyUsed (string)
  at System.Windows.Forms.FileDialog.OnClickOpenSaveButton (System.Object
sender, System.EventArgs e) [0x00000] 
  at System.Windows.Forms.Control.OnClick (System.EventArgs e) [0x00000] 
  at System.Windows.Forms.Button.OnClick (System.EventArgs e) [0x00000] 
  at System.Windows.Forms.ButtonBase.OnMouseUp
(System.Windows.Forms.MouseEventArgs mevent) [0x00000] 
  at System.Windows.Forms.Button.OnMouseUp (System.Windows.Forms.MouseEventArgs
e) [0x00000] 
  at System.Windows.Forms.Control.WmLButtonUp (System.Windows.Forms.Message& m)
[0x00000] 
  at System.Windows.Forms.Control.WndProc (System.Windows.Forms.Message& m)
[0x00000] 
  at System.Windows.Forms.ButtonBase.WndProc (System.Windows.Forms.Message& m)
[0x00000] 
  at System.Windows.Forms.Button.WndProc (System.Windows.Forms.Message& m)
[0x00000] 
  at System.Windows.Forms.Control+ControlWindowTarget.OnMessage
(System.Windows.Forms.Message& m) [0x00000] 
  at System.Windows.Forms.Control+ControlNativeWindow.WndProc
(System.Windows.Forms.Message& m) [0x00000] 
  at System.Windows.Forms.NativeWindow.WndProc (IntPtr hWnd, Msg msg, IntPtr
wParam, IntPtr lParam) [0x00000] 
  at System.Windows.Forms.XplatUIX11.DispatchMessage (System.Windows.Forms.MSG&
msg) [0x00000] 
  at System.Windows.Forms.XplatUI.DispatchMessage (System.Windows.Forms.MSG&
msg) [0x00000] 
  at System.Windows.Forms.Application.RunLoop (Boolean Modal,
System.Windows.Forms.ApplicationContext context) [0x00000] 
  at System.Windows.Forms.Form.ShowDialog (IWin32Window ownerWin32) [0x00000] 
  at (wrapper remoting-invoke-with-check) System.Windows.Forms.Form:ShowDialog
(System.Windows.Forms.IWin32Window)
  at System.Windows.Forms.CommonDialog.ShowDialog (IWin32Window ownerWin32)
[0x00000] 
  at System.Windows.Forms.CommonDialog.ShowDialog () [0x00000] 
  at (wrapper remoting-invoke-with-check)
System.Windows.Forms.CommonDialog:ShowDialog ()
  at MoMA.MainForm.AssemblyAddButton_Click (System.Object sender,
System.EventArgs e) [0x00000] 
  at System.Windows.Forms.Control.OnClick (System.EventArgs e) [0x00000] 
  at System.Windows.Forms.Button.OnClick (System.EventArgs e) [0x00000] 
  at System.Windows.Forms.ButtonBase.OnMouseUp
(System.Windows.Forms.MouseEventArgs mevent) [0x00000] 
  at System.Windows.Forms.Button.OnMouseUp (System.Windows.Forms.MouseEventArgs
e) [0x00000] 
  at System.Windows.Forms.Control.WmLButtonUp (System.Windows.Forms.Message& m)
[0x00000] 
  at System.Windows.Forms.Control.WndProc (System.Windows.Forms.Message& m)
[0x00000] 
  at System.Windows.Forms.ButtonBase.WndProc (System.Windows.Forms.Message& m)
[0x00000] 
  at System.Windows.Forms.Button.WndProc (System.Windows.Forms.Message& m)
[0x00000] 
  at System.Windows.Forms.Control+ControlWindowTarget.OnMessage
(System.Windows.Forms.Message& m) [0x00000] 
  at System.Windows.Forms.Control+ControlNativeWindow.WndProc
(System.Windows.Forms.Message& m) [0x00000] 
  at System.Windows.Forms.NativeWindow.WndProc (IntPtr hWnd, Msg msg, IntPtr
wParam, IntPtr lParam) [0x00000] 
  at System.Windows.Forms.XplatUIX11.DispatchMessage (System.Windows.Forms.MSG&
msg) [0x00000] 
  at System.Windows.Forms.XplatUI.DispatchMessage (System.Windows.Forms.MSG&
msg) [0x00000] 
  at System.Windows.Forms.Application.RunLoop (Boolean Modal,
System.Windows.Forms.ApplicationContext context) [0x00000] 
  at System.Windows.Forms.Application.Run
(System.Windows.Forms.ApplicationContext context) [0x00000] 
  at System.Windows.Forms.Application.Run (System.Windows.Forms.Form mainForm)
[0x00000] 
  at MoMA.Program.Main () [0x00000]


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


More information about the mono-bugs mailing list