http://bugzilla.novell.com/show_bug.cgi?id=512910
User [email protected] added comment http://bugzilla.novell.com/show_bug.cgi?id=512910#c2 no fb <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P4 - Low Status|RESOLVED |REOPENED Platform|Other |PC Found By|Product Management |Community User Version|unspecified |2.4.x Resolution|FIXED | OS/Version|Other |Windows Vista --- Comment #2 from no fb <[email protected]> 2009-07-05 12:19:11 MDT --- Mono 2.4.2 on Windows (32-bit Vista), fresh install from mono-2.4.2-gtksharp-2.12.9-win32-4.exe. 1) Linux bug fix causes a problem in Windows In <Mono>\lib\gsharp\, the "gsharp.exe.config" file defines the Dll mapping as follows: <configuration> <dllmap dll="libgdk-win32-2.0-0.dll" target="libgdk-x11-2.0.so.0"/> </configuration> Unfortunately while this solves the problem mentioned above for Linux, this now leads to the equivalent problem in Windows. For example, if <Mono>/bin is in the path, mono gsharp.exe --debug opens the C# interactive shell, then typing the following command: Plot(x=>x); crashes with the following message: Application terminating: System.DllNotFoundException: libgdk-x11-2.0.so.0 at (wrapper managed-to-native) Mono.CSharp.Gui.GraphicsHelper:gdk_x11_drawable_get_xdisplay (intptr) at Mono.CSharp.Gui.GraphicsHelper.FromDrawable (Gdk.Drawable drawable) [0x00000] at Mono.CSharp.Gui.BitmapWidget.OnExposeEvent (Gdk.EventExpose args) [0x00000] at Gtk.Widget.exposeevent_cb (IntPtr widget, IntPtr evnt) [0x00000] Modifying gsharp.exe.config like this "solves" the new problem - partly: <configuration> <dllmap os="linux" dll="libgdk-win32-2.0-0.dll" target="libgdk-x11-2.0.so.0"/> </configuration> 2) Entry still not found in Windows (with modified gsharp.exe.config, see above) Opening the C# interactive console again and typing the same command: Plot(x=>x); now crashes with the following message: Application terminating: System.EntryPointNotFoundException: gdk_x11_drawable_get_xdisplay at (wrapper managed-to-native) Mono.CSharp.Gui.GraphicsHelper:gdk_x11_drawable_get_xdisplay (intptr) at Mono.CSharp.Gui.GraphicsHelper.FromDrawable (Gdk.Drawable drawable) [0x00000] at Mono.CSharp.Gui.BitmapWidget.OnExposeEvent (Gdk.EventExpose args) [0x00000] at Gtk.Widget.exposeevent_cb (IntPtr widget, IntPtr evnt) [0x00000] So it seems the call to "gdk_x11_drawable_get_xdisplay" should be remapped in Windows, or this entry is missing in the libgdk-win32-2.0-0.dll library. -- 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. _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
