[MonoDevelop] Help needed to diagnose MonoDevelop startup problems

Susan Mackay susanmackay at optusnet.com.au
Mon Sep 17 07:33:51 EDT 2007


I have just managed to install MonoDevelop on my OS X (10.4.10 - fully
patched) computer (MonoDevelop and all dependencies compiled and installed
OK after several attempts).

When I start MonoDevelop, I get the following messages on the terminal, the
splash screen displays, the main windows displays and then disappears after
a few moments. I tried this twice and got the following on the terminal...

Can someone please let me know if:
1) it is normal to have so many error messages displayed while the program
starts up
2) why the program crashes (what have I done/not done...)

Thanks

Susan



Titania:~ susan$ export DISPLAY=:0.0
Titania:~ susan$ monodevelop
Bonobo accessibility support initialized
GTK Accessibility Module initialized

** (MonoDevelop:26096): WARNING **: AT_SPI_REGISTRY was not started at
session startup.

** (MonoDevelop:26096): WARNING **: IOR not set.

** (MonoDevelop:26096): WARNING **: Could not locate registry

Unhandled Exception: System.IndexOutOfRangeException: Array index is out of
range.
  at (wrapper stelemref) System.Object:stelemref (object,intptr,object)
  at System.Collections.Generic.List`1[System.String].Add (System.String )
[0x00000] 
  at MonoDevelop.Core.SystemAssemblyService.RegisterSystemAssemblies
(System.String prefix, System.String version, ClrVersion ver) [0x00000]
  at MonoDevelop.Core.SystemAssemblyService.RunInitialization () [0x00000]
  at MonoDevelop.Core.SystemAssemblyService.BackgroundInitialize ()
[0x00000] 
  at (wrapper delegate-invoke) System.MulticastDelegate:invoke_void ()
2007-09-17 21:24:40,992 [29953024] ERROR MonoDevelop.Core.ILoggingService
[(null)] - System.Runtime.Remoting.RemotingException: Unix transport error.

Server stack trace:
  at Mono.Remoting.Channels.Unix.UnixMessageIO.ReceiveMessageStatus
(System.IO.Stream networkStream, System.Byte[] buffer) [0x00000]
  at Mono.Remoting.Channels.Unix.UnixClientTransportSink.ProcessMessage
(IMessage msg, ITransportHeaders requestHeaders, System.IO.Stream
requestStream, ITransportHeaders& responseHeaders, System.IO.Stream&
responseStream) [0x00000]
  at 
Mono.Remoting.Channels.Unix.UnixBinaryClientFormatterSink.SyncProcessMessage
(IMessage msg) [0x00000]

Exception rethrown at [0]:
 ---> System.IO.IOException: Read failure --->
System.Net.Sockets.SocketException: The descriptor is not a socket
  at System.Net.Sockets.Socket.Receive (System.Byte[] buf, Int32 offset,
Int32 size, SocketFlags flags) [0x00000]
  at System.Net.Sockets.NetworkStream.Read (System.Byte[] buffer, Int32
offset, Int32 size) [0x00000] --- End of inner exception stack trace ---

  at System.Net.Sockets.NetworkStream.Read (System.Byte[] buffer, Int32
offset, Int32 size) [0x00000]
  at System.IO.BufferedStream.Read (System.Byte[] array, Int32 offset, Int32
count) [0x00000] 
  at Mono.Remoting.Channels.Unix.UnixMessageIO.StreamRead (System.IO.Stream
networkStream, System.Byte[] buffer, Int32 count) [0x00000]
  at Mono.Remoting.Channels.Unix.UnixMessageIO.ReceiveMessageStatus
(System.IO.Stream networkStream, System.Byte[] buffer) [0x00000] --- End of
inner exception stack trace ---

  at Mono.Remoting.Channels.Unix.UnixMessageIO.ReceiveMessageStatus
(System.IO.Stream networkStream, System.Byte[] buffer) [0x00000]
  at Mono.Remoting.Channels.Unix.UnixClientTransportSink.ProcessMessage
(IMessage msg, ITransportHeaders requestHeaders, System.IO.Stream
requestStream, ITransportHeaders& responseHeaders, System.IO.Stream&
responseStream) [0x00000]
  at 
Mono.Remoting.Channels.Unix.UnixBinaryClientFormatterSink.SyncProcessMessage
(IMessage msg) [0x00000]
2007-09-17 21:24:41,093 [-1610559488] ERROR MonoDevelop.Core.ILoggingService
[(null)] - System.Reflection.TargetInvocationException: Exception has been
thrown by the target of an invocation. --->
System.TypeInitializationException: An exception was thrown by the type
initializer for MonoDevelop.Components.HtmlControl.MozillaControl --->
System.TypeInitializationException: An exception was thrown by the type
initializer for Gecko.WebControl ---> System.DllNotFoundException:
libgtkembedmoz.dylib
  at (wrapper managed-to-native) Gecko.WebControl:gtk_moz_embed_get_type ()
  at Gecko.WebControl.get_GType () [0x00000]
  at GtkSharp.GeckoSharp.ObjectManager.Initialize () [0x00000]
  at Gecko.WebControl..cctor () [0x00000] --- End of inner exception stack
trace ---

  at <0x00000> <unknown method>
  at MonoDevelop.Components.HtmlControl.MozillaControl..cctor () [0x00000]
--- End of inner exception stack trace ---

  at <0x00000> <unknown method>
  at MonoDevelop.WelcomePage.WelcomePageView..ctor () [0x00000]
  at MonoDevelop.WelcomePage.ShowWelcomePageOnStartUpHandler.Run ()
[0x00000] 
  at <0x00000> <unknown method>
  at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke
(object,object[])
  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 MonoDevelop.Ide.Gui.IdeApp.OnExtensionChanged (System.Object s,
Mono.Addins.ExtensionNodeEventArgs args) [0x00000]
2007-09-17 21:24:41,156 [29953024] ERROR MonoDevelop.Core.ILoggingService
[(null)] - System.Runtime.Remoting.RemotingException: Unix transport error.

Server stack trace:
  at Mono.Remoting.Channels.Unix.UnixMessageIO.ReceiveMessageStatus
(System.IO.Stream networkStream, System.Byte[] buffer) [0x00000]
  at Mono.Remoting.Channels.Unix.UnixClientTransportSink.ProcessMessage
(IMessage msg, ITransportHeaders requestHeaders, System.IO.Stream
requestStream, ITransportHeaders& responseHeaders, System.IO.Stream&
responseStream) [0x00000]
  at 
Mono.Remoting.Channels.Unix.UnixBinaryClientFormatterSink.SyncProcessMessage
(IMessage msg) [0x00000]

Exception rethrown at [0]:
 ---> System.IO.IOException: Read failure --->
System.Net.Sockets.SocketException: The descriptor is not a socket
  at System.Net.Sockets.Socket.Receive (System.Byte[] buf, Int32 offset,
Int32 size, SocketFlags flags) [0x00000]
  at System.Net.Sockets.NetworkStream.Read (System.Byte[] buffer, Int32
offset, Int32 size) [0x00000] --- End of inner exception stack trace ---

  at System.Net.Sockets.NetworkStream.Read (System.Byte[] buffer, Int32
offset, Int32 size) [0x00000]
  at System.IO.BufferedStream.Read (System.Byte[] array, Int32 offset, Int32
count) [0x00000] 
  at Mono.Remoting.Channels.Unix.UnixMessageIO.StreamRead (System.IO.Stream
networkStream, System.Byte[] buffer, Int32 count) [0x00000]
  at Mono.Remoting.Channels.Unix.UnixMessageIO.ReceiveMessageStatus
(System.IO.Stream networkStream, System.Byte[] buffer) [0x00000] --- End of
inner exception stack trace ---

  at Mono.Remoting.Channels.Unix.UnixMessageIO.ReceiveMessageStatus
(System.IO.Stream networkStream, System.Byte[] buffer) [0x00000]
  at Mono.Remoting.Channels.Unix.UnixClientTransportSink.ProcessMessage
(IMessage msg, ITransportHeaders requestHeaders, System.IO.Stream
requestStream, ITransportHeaders& responseHeaders, System.IO.Stream&
responseStream) [0x00000]
  at 
Mono.Remoting.Channels.Unix.UnixBinaryClientFormatterSink.SyncProcessMessage
(IMessage msg) [0x00000]

** ERROR **: file object.c: line 2444 (mono_get_delegate_invoke): assertion
failed: (im)
aborting...
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 () <0x0000a>
  at MonoDevelop.Ide.Gui.IdeApp.Run () <0x0000a>
  at MonoDevelop.Ide.Gui.IdeStartup.Run (string[]) <0x00fe7>
  at MonoDevelop.Core.ApplicationService.StartApplication (string,string[])
<0x00103>
  at MonoDevelop.Startup.SharpDevelopMain.Main (string[]) <0x00046>
  at (wrapper runtime-invoke)
MonoDevelop.Startup.SharpDevelopMain.runtime_invoke_int_string[]
(object,intptr,intptr,intptr) <0xffffffff>
Abort trap
Titania:~ susan$ monodevelop
Bonobo accessibility support initialized
GTK Accessibility Module initialized

** (MonoDevelop:26103): WARNING **: AT_SPI_REGISTRY was not started at
session startup.

** (MonoDevelop:26103): WARNING **: IOR not set.

** (MonoDevelop:26103): WARNING **: Could not locate registry

Unhandled Exception: System.NullReferenceException: Object reference not set
to an instance of an object
  at System.Collections.Generic.List`1[System.String].Add (System.String )
[0x00000] 
  at MonoDevelop.Core.SystemAssemblyService.RegisterSystemAssemblies
(System.String prefix, System.String version, ClrVersion ver) [0x00000]
  at MonoDevelop.Core.SystemAssemblyService.RunInitialization () [0x00000]
  at MonoDevelop.Core.SystemAssemblyService.BackgroundInitialize ()
[0x00000] 
  at (wrapper delegate-invoke) System.MulticastDelegate:invoke_void ()
2007-09-17 21:25:01,445 [-1610559488] ERROR MonoDevelop.Core.ILoggingService
[(null)] - System.Reflection.TargetInvocationException: Exception has been
thrown by the target of an invocation. --->
System.TypeInitializationException: An exception was thrown by the type
initializer for MonoDevelop.Components.HtmlControl.MozillaControl --->
System.TypeInitializationException: An exception was thrown by the type
initializer for Gecko.WebControl ---> System.DllNotFoundException:
libgtkembedmoz.dylib
  at (wrapper managed-to-native) Gecko.WebControl:gtk_moz_embed_get_type ()
  at Gecko.WebControl.get_GType () [0x00000]
  at GtkSharp.GeckoSharp.ObjectManager.Initialize () [0x00000]
  at Gecko.WebControl..cctor () [0x00000] --- End of inner exception stack
trace ---

  at <0x00000> <unknown method>
  at MonoDevelop.Components.HtmlControl.MozillaControl..cctor () [0x00000]
--- End of inner exception stack trace ---

  at <0x00000> <unknown method>
  at MonoDevelop.WelcomePage.WelcomePageView..ctor () [0x00000]
  at MonoDevelop.WelcomePage.ShowWelcomePageOnStartUpHandler.Run ()
[0x00000] 
  at <0x00000> <unknown method>
  at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke
(object,object[])
  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 MonoDevelop.Ide.Gui.IdeApp.OnExtensionChanged (System.Object s,
Mono.Addins.ExtensionNodeEventArgs args) [0x00000]

** ERROR **: file object.c: line 2444 (mono_get_delegate_invoke): assertion
failed: (im)
aborting...
Abort trap
Titania:~ susan$ 




More information about the Monodevelop-list mailing list