[Mono-bugs] [Bug 342572] Using the developer preview installer 1.2.6 mono X11 apps don' t start anymore

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Sun Nov 18 14:37:34 EST 2007


https://bugzilla.novell.com/show_bug.cgi?id=342572#c2





--- Comment #2 from Frank Bergmann <fbergman at u.washington.edu>  2007-11-18 12:37:34 MST ---
I'm not sure what more information i could provide ... i mean ... even a simple
example like: 

using System;
using System.Windows.Forms;

class WinformsTest
{
public static int Main(string[] args)
{
        Form oForm = new Form();
        Application.Run(oForm);
        return 0;
}
}

compiled with: 

$ gmcs test.cs -r:System.Windows.Forms

when run results in: 

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

  at (wrapper managed-to-native) System.Drawing.GDIPlus.GdipMeasureString
(intptr,string,int,intptr,System.Drawing.RectangleF&,intptr,System.Drawing.RectangleF&,int*,int*)
<0x00004>
  at (wrapper managed-to-native) System.Drawing.GDIPlus.GdipMeasureString
(intptr,string,int,intptr,System.Drawing.RectangleF&,intptr,System.Drawing.RectangleF&,int*,int*)
<0xffffffff>
  at System.Drawing.Graphics.GdipMeasureString
(intptr,string,System.Drawing.Font,System.Drawing.RectangleF&,intptr) <0x00081>
  at System.Drawing.Graphics.MeasureString
(string,System.Drawing.Font,System.Drawing.SizeF) <0x000c8>
  at System.Drawing.Graphics.MeasureString (string,System.Drawing.Font)
<0x00060>
  at (wrapper remoting-invoke-with-check) System.Drawing.Graphics.MeasureString
(string,System.Drawing.Font) <0xffffffff>
  at System.Windows.Forms.Form.GetAutoScaleSize
(System.Drawing.Graphics,System.Drawing.Font) <0x00042>
  at System.Windows.Forms.Form..ctor () <0x0006c>
  at (wrapper remoting-invoke-with-check) System.Windows.Forms.Form..ctor ()
<0xffffffff>
  at WinformsTest.Main (string[]) <0x00023>
  at (wrapper runtime-invoke) WinformsTest.runtime_invoke_int_string[]
(object,intptr,intptr,intptr) <0xffffffff>
Abort trap


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