[MonoDevelop] Crashing opening projects

Jon Cosby jon at jcosby.com
Sun Aug 12 12:52:49 EDT 2007


Jon Cosby wrote:
> Need help here. I have an unhandled exception trying to open MonoDevelop
> projects in v. 0.15. MD just crashes starting a new project or opening
> an existing one. The output for a new GTK# app is
>
> ------------------------------------------------------------------------------------------------------------------------------------------------
> (MonoDevelop:16407): Gtk-CRITICAL **: gtk_style_detach: assertion
> `style->attach_count > 0' failed
>
> (MonoDevelop:16407): Gtk-CRITICAL **: gtk_style_detach: assertion
> `style->attach_count > 0' failed
>
> (MonoDevelop:16407): Gtk-CRITICAL **: gtk_style_detach: assertion
> `style->attach_count > 0' failed
>
> (MonoDevelop:16407): Gtk-WARNING **: gtkwidget.c:4385: widget not within
> a GtkWindow
> Exception in Gtk# callback delegate
>   Note: Applications can use GLib.ExceptionManager.UnhandledException to
> handle the exception.
> GLib.GException: Unrecognized image file format
>   at Gdk.PixbufLoader.Write (System.Byte[] buf, UInt64 count) [0x00000]
>   at Gdk.PixbufLoader.Write (System.Byte[] bytes, UInt32 count) [0x00000]
>   at Gdk.PixbufLoader.LoadFromStream (System.IO.Stream input) [0x00000]
>   at Gdk.PixbufLoader.InitFromStream (System.IO.Stream stream) [0x00000]
>   at Gdk.PixbufLoader..ctor (System.IO.Stream stream) [0x00000]
>   at Gdk.Pixbuf..ctor (System.IO.Stream stream) [0x00000]
>   at MonoDevelop.Core.Gui.ResourceService.InternalGetStockIdFromResource
> (Mono.Addins.RuntimeAddin addin, System.String id) [0x00000]
>   at MonoDevelop.Core.Gui.ResourceService.InternalGetStockId
> (Mono.Addins.RuntimeAddin addin, System.String filename) [0x00000]
>   at MonoDevelop.Core.Gui.ResourceService.GetStockId
> (Mono.Addins.RuntimeAddin addin, System.String filename) [0x00000]
>   at MonoDevelop.Projects.Gui.IconService.InitializeIcons (System.String
> path) [0x00000]
>   at MonoDevelop.Projects.Gui.IconService.InitializeService () [0x00000]
>   at MonoDevelop.Core.ServiceManager.FetchService (System.Type
> serviceType) [0x00000]
>   at MonoDevelop.Core.ServiceManager.GetService (System.Type
> serviceType) [0x00000]
>   at MonoDevelop.Ide.Services.get_Icons () [0x00000]
>   at MonoDevelop.Ide.Gui.Pads.ProjectPad.ProjectNodeBuilder.BuildNode
> (ITreeBuilder treeBuilder, System.Object dataObject, System.String&
> label, Gdk.Pixbuf& icon, Gdk.Pixbuf& closedIcon) [0x00000]
>   at MonoDevelop.Ide.Gui.Pads.TreeViewPad+TreeBuilder.UpdateNode
> (MonoDevelop.Ide.Gui.Pads.NodeBuilder[] chain, NodeAttributes ats,
> System.Object dataObject) [0x00000]
>   at MonoDevelop.Ide.Gui.Pads.TreeViewPad+TreeBuilder.BuildNode
> (TreeIter it, MonoDevelop.Ide.Gui.Pads.NodeBuilder[] chain,
> NodeAttributes ats, System.Object dataObject) [0x00000]
>   at MonoDevelop.Ide.Gui.Pads.TreeViewPad+TreeBuilder.AddChild
> (System.Object dataObject, Boolean moveToChild) [0x00000]
>   at MonoDevelop.Ide.Gui.Pads.TreeViewPad+TreeBuilder.AddChild
> (System.Object dataObject) [0x00000]
>   at
> MonoDevelop.Ide.Gui.Pads.ProjectPad.CombineNodeBuilder.BuildChildNodes
> (ITreeBuilder ctx, System.Object dataObject) [0x00000]
>   at MonoDevelop.Ide.Gui.Pads.TreeViewPad+TreeBuilder.CreateChildren
> (MonoDevelop.Ide.Gui.Pads.NodeBuilder[] chain, System.Object dataObject)
> [0x00000]
>   at MonoDevelop.Ide.Gui.Pads.TreeViewPad+TreeBuilder.FillNode () [0x00000]
>   at MonoDevelop.Ide.Gui.Pads.TreeViewPad.OnTestExpandRow (System.Object
> sender, Gtk.TestExpandRowArgs args) [0x00000]
>   at (wrapper delegate-invoke)
> System.MulticastDelegate:invoke_void_object_TestExpandRowArgs
> (object,Gtk.TestExpandRowArgs)
>   at Gtk.TreeView.TestExpandRowSignalCallback (IntPtr arg0, IntPtr arg1,
> IntPtr arg2, IntPtr gch) [0x00000]
>
>    at GLib.ExceptionManager.RaiseUnhandledException ()
>    at Gtk.TreeView.TestExpandRowSignalCallback ()
>    at Gtk.TreeView.TestExpandRowSignalCallback ()
>    at Gtk.TreeView.gtk_tree_view_expand_row ()
>    at Gtk.TreeView.gtk_tree_view_expand_row ()
>    at Gtk.TreeView.ExpandRow ()
>    at MonoDevelop.Ide.Gui.Pads.TreeViewPad+TreeNodeNavigator.set_Expanded ()
>    at MonoDevelop.Ide.Gui.Pads.TreeViewPad.LoadTree ()
>    at MonoDevelop.Ide.Gui.Pads.SolutionPad.OnOpenCombine ()
>    at System.MulticastDelegate.invoke_void_object_CombineEventArgs ()
>    at __CombineEventHandler_DelegateFactory.Dispatch ()
>    at System.MulticastDelegate.invoke_void_object ()
>    at MonoDevelop.Core.Gui.GuiSyncContext.AsyncDispatch ()
>    at __CombineEventHandler_DelegateFactory.ProxyCall ()
>    at System.MulticastDelegate.invoke_void_object_CombineEventArgs ()
>    at System.MulticastDelegate.invoke_void_object_CombineEventArgs ()
>    at System.MulticastDelegate.invoke_void_object_CombineEventArgs ()
>    at System.MulticastDelegate.invoke_void_object_CombineEventArgs ()
>    at MonoDevelop.Ide.Gui.ProjectOperations.OnCombineOpened ()
>    at
> MonoDevelop.Ide.Gui.ProjectOperations+<>c__CompilerGenerated55.<>c__AnonymousMethod56
> ()
>    at System.MulticastDelegate.invoke_void_object_EventArgs ()
>    at Gtk.Application+InvokeCB.Invoke ()
>    at System.MulticastDelegate.invoke_bool ()
>    at GLib.Timeout+TimeoutProxy.Handler ()
>    at GLib.Timeout+TimeoutProxy.Handler ()
>    at Gtk.Application.gtk_main_iteration ()
>    at Gtk.Application.gtk_main_iteration ()
>    at Gtk.Application.RunIteration ()
>    at MonoDevelop.Core.Gui.DispatchService.RunPendingEvents ()
>    at
> MonoDevelop.Core.Gui.ProgressMonitoring.BaseProgressMonitor.MonoDevelop.Core.IAsyncOperation.WaitForCompleted
> ()
>    at System.Runtime.Remoting.RemotingServices.InternalExecute ()
>    at System.Runtime.Remoting.RemotingServices.InternalExecute ()
>    at System.Runtime.Remoting.RemotingServices.InternalExecuteMessage ()
>    at
> System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage ()
>    at
> System.Runtime.Remoting.Messaging.ServerObjectTerminatorSink.SyncProcessMessage
> ()
>    at System.Runtime.Remoting.Lifetime.LeaseSink.SyncProcessMessage ()
>    at MonoDevelop.Core.Gui.SyncContextDispatchSink.SyncProcessMessage ()
>    at
> System.Runtime.Remoting.ClientActivatedIdentity.SyncObjectProcessMessage ()
>    at
> System.Runtime.Remoting.Messaging.ServerContextTerminatorSink.SyncProcessMessage
> ()
>    at
> System.Runtime.Remoting.Contexts.CrossContextChannel.SyncProcessMessage ()
>    at
> System.Runtime.Remoting.Messaging.ClientContextTerminatorSink.SyncProcessMessage
> ()
>    at
> System.Runtime.Remoting.Messaging.EnvoyTerminatorSink.SyncProcessMessage ()
>    at System.Runtime.Remoting.Proxies.RemotingProxy.Invoke ()
>    at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke ()
>    at System.Object.__icall_wrapper_mono_remoting_wrapper ()
>    at System.Object.__icall_wrapper_mono_remoting_wrapper ()
>    at MonoDevelop.Ide.Templates.ProjectTemplate.OpenCreatedCombine ()
>    at MonoDevelop.Ide.Gui.Dialogs.NewProjectDialog.OpenEvent ()
>    at System.MulticastDelegate.invoke_void_object_EventArgs ()
>    at GLib.Signal.voidObjectCallback ()
>    at GLib.Signal.voidObjectCallback ()
>    at Gtk.Dialog.gtk_dialog_run ()
>    at Gtk.Dialog.gtk_dialog_run ()
>    at Gtk.Dialog.Run ()
>    at MonoDevelop.Ide.Gui.ProjectOperations.NewProject ()
>    at MonoDevelop.Ide.Commands.NewProjectHandler.Run ()
>    at MonoDevelop.Components.Commands.CommandHandler.Run ()
>    at MonoDevelop.Components.Commands.ActionCommand.DispatchCommand ()
>    at MonoDevelop.Components.Commands.CommandManager.DispatchCommand ()
>    at MonoDevelop.Components.Commands.CommandManager.DispatchCommand ()
>    at MonoDevelop.WelcomePage.WelcomePageView.CatchUri ()
>    at System.MulticastDelegate.invoke_void_object_OpenUriArgs ()
>    at Gecko.WebControl.OpenUriSignalCallback ()
>    at Gecko.WebControl.OpenUriSignalCallback ()
>    at Gtk.Application.gtk_main ()
>    at Gtk.Application.gtk_main ()
>    at Gtk.Application.Run ()
>    at MonoDevelop.Ide.Gui.IdeApp.Run ()
>    at MonoDevelop.Ide.Gui.IdeStartup.Run ()
>    at MonoDevelop.Core.ApplicationService.StartApplication ()
>    at MonoDevelop.Startup.SharpDevelopMain.Main ()
> ------------------------------------------------------------------------------------------------------------------------------------------------
>
> Crashes in winforms as well. This started as soon as I upgraded from
> 0.13 to 0.15.
>
>
> Jon Cosby
>
>
>
> _______________________________________________
> Monodevelop-list mailing list
> Monodevelop-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/monodevelop-list
>
>
>   
Didn't mention MD is from the openSUSE repo.

Jon Cosby



More information about the Monodevelop-list mailing list