[MonoDevelop] MonoDevelop generating multiple errors and aborts on OS X 10.4.11

Susan Mackay susanmackay at optusnet.com.au
Mon Aug 27 06:50:00 EDT 2007


Is someone able to interpret the following for me (I'm using OS X with the
latest versions of all software from the Mono and MonoDevelop web sites -
much of the dependencies installed via MacPorts):

Titania:~ susan$ env
TERM_PROGRAM=Apple_Terminal
TERM=xterm-color
SHELL=/bin/bash
TERM_PROGRAM_VERSION=133
MOZILLA_FIVE_HOME=/Applications/Firefox.app/Contents/MacOS
USER=susan
LD_LIBRARY_PATH=/opt/local/lib
__CF_USER_TEXT_ENCODING=0x1F5:0:0
PATH=/opt/local/bin:/opt/local/sbin:/Library/Frameworks/Python.framework/Ver
sions/Current/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin
PWD=/Users/susan
SHLVL=1
HOME=/Users/susan
LOGNAME=susan
SECURITYSESSIONID=b2a860
_=/usr/bin/env
Titania:~ susan$ export DISPLAY=:0.0
Titania:~ susan$ monodevelop

Unhandled Exception: System.NotImplementedException: The requested feature
is not implemented.
  at 
System.Reflection.ParameterInfo.System.Runtime.InteropServices._ParameterInf
o.GetIDsOfNames (System.Guid& riid, IntPtr rgszNames, UInt32 cNames, UInt32
lcid, IntPtr rgDispId) [0x00000]
  at System.Exception.get_StackTrace () [0x00000]
  at System.Exception.ToString () [0x00000]

^C
Titania:~ susan$ monodevelop
Stacktrace:

Abort trap
Titania:~ susan$ monodevelop

Unhandled Exception: System.ArrayTypeMismatchException: (Types:
source=System.Char;  target=System.Byte)
  at System.Array.Copy (System.Array sourceArray, Int32 sourceIndex,
System.Array destinationArray, Int32 destinationIndex, Int32 length)
[0x00000] 
  at System.IO.StreamReader.Read (System.Char[] dest_buffer, Int32 index,
Int32 count) [0x00000]
  at System.IO.StreamReader.ReadToEnd () [0x00000]
  at MonoDevelop.Core.SystemAssemblyService.GetVariableFromPkgConfig
(System.String var, System.String pcfile) [0x00000]
  at MonoDevelop.Core.SystemAssemblyService.ProcessPiece (System.String
piece, System.String pcfile) [0x00000]
  at MonoDevelop.Core.SystemAssemblyService.GetAssembliesWithoutLibInfo
(System.String line, System.String file) [0x00000]
  at MonoDevelop.Core.SystemAssemblyService.ParsePCFile (System.String
pcfile) [0x00000] 
  at MonoDevelop.Core.SystemAssemblyService.RunInitialization () [0x00000]
  at MonoDevelop.Core.SystemAssemblyService.BackgroundInitialize ()
[0x00000] 
  at (wrapper delegate-invoke) System.MulticastDelegate:invoke_void ()

Unhandled Exception: System.NullReferenceException: Object reference not set
to an instance of an object
  at MonoDevelop.Core.SystemAssemblyService.ParsePCFile (System.String
pcfile) [0x00000] 
  at MonoDevelop.Core.SystemAssemblyService.RunInitialization () [0x00000]
  at MonoDevelop.Core.SystemAssemblyService.BackgroundInitialize ()
[0x00000] 
  at (wrapper delegate-invoke) System.MulticastDelegate:invoke_void ()
2007-08-27 20:29:55,891 [-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]

Unhandled Exception: System.IO.IOException: Sharing violation on path
/Users/susan/.config/MonoDevelop/addins-setup.config
  at System.IO.FileStream..ctor (System.String name, FileMode mode,
FileAccess access, FileShare share, Int32 bufferSize, Boolean anonymous,
FileOptions options) [0x00000]
  at System.IO.FileStream..ctor (System.String name, FileMode mode,
FileAccess access, FileShare share) [0x00000]
  at (wrapper remoting-invoke-with-check) System.IO.FileStream:.ctor
(string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare)
  at System.IO.StreamWriter..ctor (System.String path, Boolean append,
System.Text.Encoding encoding, Int32 bufferSize) [0x00000]
  at System.IO.StreamWriter..ctor (System.String path) [0x00000]
  at (wrapper remoting-invoke-with-check) System.IO.StreamWriter:.ctor
(string)
  at Mono.Addins.Setup.AddinStore.WriteObject (System.String file,
System.Object obj) [0x00000]
  at Mono.Addins.Setup.SetupService.SaveConfiguration () [0x00000]
  at Mono.Addins.Setup.RepositoryRegistry.RegisterRepository (System.String
url, Boolean isReference) [0x00000]
  at Mono.Addins.Setup.RepositoryRegistry.UpdateRepository (IProgressMonitor
monitor, System.Uri baseUri, Mono.Addins.Setup.RepositoryRecord rr)
[0x00000] 
  at Mono.Addins.Setup.RepositoryRegistry.UpdateRepository (IProgressStatus
statusMonitor, System.String url) [0x00000]
  at Mono.Addins.Setup.RepositoryRegistry.UpdateAllRepositories
(IProgressStatus monitor) [0x00000]
  at MonoDevelop.Ide.Gui.AddinUpdateHandler.UpdateAddins () [0x00000]
  at (wrapper delegate-invoke) System.MulticastDelegate:invoke_void ()

(MonoDevelop:1217): Gtk-WARNING **: gtkwidget.c:4385: widget not within a
GtkWindow



As you can see I did the following:
1) set the environment variables necessary to get MonoDevelop to run
2) ran MonoDevelop and it hung after displaying the first message
3) ran monoDevelop and got the Abort trap
4) ram MonoDevelop and received some error message but I also got the
startup screen and the main Monodevelop display
5) I tried to create a console project ( as per the "Creating a Simple
Solution" tutorial), clicked the 'forward' button and then the 'OK" button
when I got the last message (about the sharing violation) - MonoDevelop hung
with the "New Solution"/"project Features" screen displayed.

I had to abort both of the 'mono' processes that were running and I get back
to the terminal prompt. I then get:

Titania:~ susan$ monodevelop
Stacktrace:

Abort trap
Titania:~ susan$ monodevelop

Unhandled Exception: System.NullReferenceException: Object reference not set
to an instance of an object
  at (wrapper stelemref) System.Object:stelemref (object,intptr,object)
  at System.Collections.ArrayList.Add (System.Object value) [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-08-27 20:45:42,424 [-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]

(MonoDevelop:1251): Gtk-CRITICAL **: gtk_style_detach: assertion
`style->attach_count > 0' failed

(MonoDevelop:1251): Gtk-CRITICAL **: gtk_style_detach: assertion
`style->attach_count > 0' failed

(MonoDevelop:1251): Gtk-CRITICAL **: gtk_style_detach: assertion
`style->attach_count > 0' failed

(MonoDevelop:1251): Gtk-CRITICAL **: gtk_style_detach: assertion
`style->attach_count > 0' failed

(MonoDevelop:1251): Gtk-CRITICAL **: gtk_style_detach: assertion
`style->attach_count > 0' failed

(MonoDevelop:1251): Gtk-CRITICAL **: gtk_style_detach: assertion
`style->attach_count > 0' failed

(MonoDevelop:1251): Gtk-CRITICAL **: gtk_style_detach: assertion
`style->attach_count > 0' failed

(MonoDevelop:1251): Gtk-CRITICAL **: gtk_style_detach: assertion
`style->attach_count > 0' failed

(MonoDevelop:1251): Gtk-CRITICAL **: gtk_style_detach: assertion
`style->attach_count > 0' failed

(MonoDevelop:1251): Gtk-CRITICAL **: gtk_style_detach: assertion
`style->attach_count > 0' failed

(MonoDevelop:1251): Gtk-CRITICAL **: gtk_style_detach: assertion
`style->attach_count > 0' failed

(MonoDevelop:1251): Gtk-CRITICAL **: gtk_style_detach: assertion
`style->attach_count > 0' failed

(MonoDevelop:1251): Gtk-CRITICAL **: gtk_style_detach: assertion
`style->attach_count > 0' failed

** ERROR **: file threads.c: line 221 (thread_cleanup): assertion failed:
(thread != NULL)
aborting...
Abort trap
Titania:~ susan$ 

When I tried to run MonoDevelop again. In the second case I got the splash
screen and the main display. I then selected "File -> Quit" and got the
"Gtk-CRITICAL" errors and finally the abort trap.

As MonoDevelop would never get out the door with these errors occurring
normally, can someone point me in the direction of what could be wrong on my
setup?

Thanks

Susan




More information about the Monodevelop-list mailing list