[MonoDevelop] MD 1.9 alpha dies when trying to convert a VS2003 sln file

Paul paul at all-the-johnsons.co.uk
Fri Oct 3 07:22:26 EDT 2008


Hi,

I'm trying to figure out where the problem lies with MD continually
falling over when trying to convert a VS2003 to VS2005 or MD project.

It's really simple to reproduce

1. Run monodevelop --sync from the command line
2. Import the NAnt.sln from the 0.86 beta on the mono preview site
3. When prompted, click on VS2005 or MD

All I get at this end is either the following throwback (from VS2005
conversion)

Stacktrace:

  at (wrapper managed-to-native) Gtk.Application.gtk_main () <0x00004>
  at (wrapper managed-to-native) Gtk.Application.gtk_main ()
<0xffffffff>
  at Gtk.Application.Run () <0x00007>
  at MonoDevelop.Ide.Gui.IdeApp.Run () <0x00007>
  at MonoDevelop.Ide.Gui.IdeStartup.Run (string[]) <0x00d21>
  at MonoDevelop.Startup.SharpDevelopMain.Main (string[]) <0x0005e>
  at (wrapper runtime-invoke)
MonoDevelop.Startup.SharpDevelopMain.runtime_invoke_int_string[]
(object,intptr,intptr,intptr) <0xffffffff>

Native stacktrace:

	/usr/lib/libmono.so.0 [0x245372]
	/usr/lib/libmono.so.0 [0x265e43]
	[0x11040c]
	/usr/lib/libgtk-x11-2.0.so.0 [0x7044a24]
	/usr/lib/libgtk-x11-2.0.so.0(gtk_text_layout_get_line_display+0xc03)
[0x7045ee3]
	/usr/lib/libgtk-x11-2.0.so.0 [0x70498c2]
	/usr/lib/libgtk-x11-2.0.so.0(gtk_text_layout_wrap+0x1f) [0x7043d1f]
	/usr/lib/libgtk-x11-2.0.so.0 [0x7026aa5]
	/usr/lib/libgtk-x11-2.0.so.0 [0x7026e0b]
	/usr/lib/libgtk-x11-2.0.so.0(gtk_text_layout_validate+0x127)
[0x70482c7]
	/usr/lib/libgtk-x11-2.0.so.0 [0x7054fad]
	/usr/lib/libgdk-x11-2.0.so.0 [0x6b940cb]
	/lib/libglib-2.0.so.0 [0x49c2e1]
	/lib/libglib-2.0.so.0(g_main_context_dispatch+0x1e8) [0x49e218]
	/lib/libglib-2.0.so.0 [0x4a18c3]
	/lib/libglib-2.0.so.0(g_main_loop_run+0x1d2) [0x4a1de2]
	/usr/lib/libgtk-x11-2.0.so.0(gtk_main+0xb9) [0x6f97379]
	[0x5a780f9]
	[0x5a780c8]
	[0x5a780b0]
	[0x19eb2a]
	[0x1372bf]
	[0x1371bc]
	/usr/lib/libmono.so.0 [0x21c1c2]
	/usr/lib/libmono.so.0(mono_runtime_invoke+0x73) [0x29b8d3]
	/usr/lib/libmono.so.0(mono_runtime_exec_main+0x181) [0x29e231]
	/usr/lib/libmono.so.0(mono_runtime_run_main+0x18a) [0x29e99a]
	/usr/lib/libmono.so.0(mono_jit_exec+0x62) [0x230b52]
	/usr/lib/libmono.so.0(mono_main+0x19b6) [0x232576]
	monodevelop [0x8048572]
	/lib/libc.so.6(__libc_start_main+0xe5) [0x7886e5]
	monodevelop [0x80484b1]

or for conversion to a MD project, an unhandled exception

System.Reflection.TargetInvocationException: Exception has been thrown
by the target of an invocation. ---> System.InvalidOperationException:
This method can only be called in the GUI thread
  at MonoDevelop.Core.Gui.DispatchService.AssertGuiThread () [0x00000] 
  at MonoDevelop.Ide.MonoDevelopStatusBar.ShowMessage (System.String
message) [0x00000] 
  at MonoDevelop.WelcomePage.WelcomePageView.SetLinkStatus
(System.String link) [0x00000] 
  at MonoDevelop.WelcomePage.WelcomePageFallbackWidget.handleHoverLeave
(System.Object sender, System.EventArgs e) [0x00000] 
  at (wrapper managed-to-native)
System.Reflection.MonoMethod:InternalInvoke
(object,object[],System.Exception&)
  at System.Reflection.MonoMethod.Invoke (System.Object obj,
BindingFlags invokeAttr, System.Reflection.Binder binder,
System.Object[] parameters, System.Globalization.CultureInfo culture)
[0x00000] 
  --- End of inner exception stack trace ---
  at System.Reflection.MonoMethod.Invoke (System.Object obj,
BindingFlags invokeAttr, System.Reflection.Binder binder,
System.Object[] parameters, System.Globalization.CultureInfo culture)
[0x00000] 
  at System.Reflection.MethodBase.Invoke (System.Object obj,
System.Object[] parameters) [0x00000] 
  at System.Delegate.DynamicInvokeImpl (System.Object[] args) [0x00000] 
  at System.MulticastDelegate.DynamicInvokeImpl (System.Object[] args)
[0x00000] 
  at System.Delegate.DynamicInvoke (System.Object[] args) [0x00000] 
  at GLib.Signal.ClosureInvokedCB (System.Object o,
GLib.ClosureInvokedArgs args) [0x00000] 
  at GLib.SignalClosure.Invoke (GLib.ClosureInvokedArgs args) [0x00000] 
  at GLib.SignalClosure.MarshalCallback (IntPtr raw_closure, IntPtr
return_val, UInt32 n_param_vals, IntPtr param_values, IntPtr
invocation_hint, IntPtr marshal_data) [0x00000] 

Is there a fix in svn for either of these problems?

TTFN

Paul
-- 
Sie können mich aufreizen und wirklich heiß machen!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url : http://lists.ximian.com/pipermail/monodevelop-list/attachments/20081003/23be98e7/attachment.bin 


More information about the Monodevelop-list mailing list