[MonoDevelop] MD Crash

Ben Leggett algosystem at gmail.com
Tue Oct 2 11:55:25 EDT 2007


Hey all,

I upgraded to MD 1.0 Beta1 yesterday. It looks quite nice.
However, I found that if I create a gtk# window and add a menubar and
some items to the bar, MD crashes with the attached error when I try to
load the project again after restarting Monodevelop. It only seems to
happen when menubars and their children are added to the form.

Is this a bug, or just a quirk with my setup? I'd like to see before I
file a bug.

BTW, I'm running mono 1.2.5.1, GTK#-2.10.0 on a Gentoo box

Thanks,

Ben Leggett
-------------- next part --------------
(MonoDevelop:11052): Gtk-CRITICAL **: gtk_action_new: assertion `name != NULL' failed

(MonoDevelop:11052): GLib-GObject-CRITICAL **: g_object_set_property: assertion `G_IS_OBJECT (object)' failed

(MonoDevelop:11052): GLib-GObject-CRITICAL **: g_object_set_property: assertion `G_IS_OBJECT (object)' failed

(MonoDevelop:11052): Gtk-CRITICAL **: gtk_action_new: assertion `name != NULL' failed

(MonoDevelop:11052): GLib-GObject-CRITICAL **: g_object_set_property: assertion `G_IS_OBJECT (object)' failed

(MonoDevelop:11052): GLib-GObject-CRITICAL **: g_object_set_property: assertion `G_IS_OBJECT (object)' failed
Stacktrace:

  at (wrapper managed-to-native) GLib.Value.gtksharp_value_create_from_property (GLib.Value&,intptr,intptr) <0x00004>
  at (wrapper managed-to-native) GLib.Value.gtksharp_value_create_from_property (GLib.Value&,intptr,intptr) <0xffffffff>
  at GLib.Value..ctor (GLib.Object,string) <0x00090>
  at GLib.Object.GetProperty (string) <0x00029>
  at Gtk.Action.get_HideIfEmpty () <0x00029>
  at (wrapper runtime-invoke) Gtk.Window.runtime_invoke_bool (object,intptr,intptr,intptr) <0xffffffff>
  at (wrapper managed-to-native) System.Reflection.MonoMethod.InternalInvoke (object,object[]) <0x00004>
  at (wrapper managed-to-native) System.Reflection.MonoMethod.InternalInvoke (object,object[]) <0xffffffff>
  at System.Reflection.MonoMethod.Invoke (object,System.Reflection.BindingFlags,System.Reflection.Binder,object[],System.Globalization.CultureInfo) <0x0009a>
  at System.Reflection.MonoProperty.GetValue (object,System.Reflection.BindingFlags,System.Reflection.Binder,object[],System.Globalization.CultureInfo) <0x00060>
  at System.Reflection.PropertyInfo.GetValue (object,object[]) <0x0001a>
  at Stetic.TypedPropertyDescriptor.GetValue (object) <0x00066>
  at Stetic.WidgetUtils.GetProps (Stetic.ObjectWrapper,System.Xml.XmlElement) <0x00170>
  at Stetic.Wrapper.Action.Write (Stetic.ObjectWriter) <0x0005c>
  at Stetic.ObjectWriter.WriteObject (Stetic.ObjectWrapper) <0x0000e>
  at Stetic.UndoWriter.WriteObject (Stetic.ObjectWrapper) <0x0012d>
  at Stetic.Wrapper.ActionGroup.Write (Stetic.ObjectWriter) <0x00167>
  at Stetic.Wrapper.Widget.WriteActionGroups (Stetic.ObjectWriter,System.Xml.XmlElement) <0x000fb>
  at Stetic.Wrapper.Container.Write (Stetic.ObjectWriter) <0x00039>
  at Stetic.ObjectWriter.WriteObject (Stetic.ObjectWrapper) <0x0000e>
  at Stetic.UndoWriter.WriteObject (Stetic.ObjectWrapper) <0x0012d>
  at Stetic.UndoManager.SetRoot (Stetic.ObjectWrapper) <0x00070>
  at Stetic.UndoRedoManager.set_RootObject (Stetic.ObjectWrapper) <0x0001f>
  at Stetic.WidgetEditSession..ctor (Stetic.ProjectBackend,Stetic.WidgetDesignerFrontend,string,Stetic.ProjectBackend,bool) <0x0041d>
  at (wrapper remoting-invoke-with-check) Stetic.WidgetEditSession..ctor (Stetic.ProjectBackend,Stetic.WidgetDesignerFrontend,string,Stetic.ProjectBackend,bool) <0xffffffff>
  at Stetic.ProjectBackend.CreateWidgetDesignerSession (Stetic.WidgetDesignerFrontend,string,Stetic.ProjectBackend,bool) <0x00029>
  at (wrapper remoting-invoke-with-check) Stetic.ProjectBackend.CreateWidgetDesignerSession (Stetic.WidgetDesignerFrontend,string,Stetic.ProjectBackend,bool) <0xffffffff>
  at Stetic.WidgetDesigner.CreateSession () <0x00061>
  at Stetic.WidgetDesigner..ctor (Stetic.Project,string,bool) <0x00298>
  at Stetic.Project.CreateWidgetDesigner (Stetic.WidgetInfo,bool) <0x0003a>
  at (wrapper remoting-invoke-with-check) Stetic.Project.CreateWidgetDesigner (Stetic.WidgetInfo,bool) <0xffffffff>
  at MonoDevelop.GtkCore.GuiBuilder.GuiBuilderView.LoadDesigner () <0x000c4>
  at MonoDevelop.GtkCore.GuiBuilder.GuiBuilderView..ctor (MonoDevelop.Ide.Gui.IViewContent,MonoDevelop.GtkCore.GuiBuilder.GuiBuilderWindow) <0x00175>
  at MonoDevelop.GtkCore.GuiBuilder.GuiBuilderDisplayBinding.CreateContentForFile (string) <0x0007e>
  at MonoDevelop.Ide.Gui.LoadFileWrapper.Invoke (string) <0x0002d>
  at MonoDevelop.Ide.Gui.Workbench.RealOpenFile (object) <0x00772>
  at MonoDevelop.Ide.Gui.Workbench.OpenDocument (string,int,int,bool,string,MonoDevelop.Ide.Codons.IDisplayBinding) <0x00526>
  at MonoDevelop.Ide.Gui.Workbench.OpenDocument (string,int,int,bool) <0x0001c>
  at <>c__CompilerGenerated63.<RestoreCombinePreferences>c__65 () <0x00122>
  at <>c__CompilerGenerated3.<ReadList>c__7 (MonoDevelop.Core.XmlReadHelper/ReadCallbackData) <0x0000f>
  at MonoDevelop.Core.XmlReadHelper.ReadList (System.Xml.XmlReader,System.Collections.Generic.ICollection`1,MonoDevelop.Core.XmlReadHelper/ReaderCallbackWithData) <0x00132>
  at MonoDevelop.Core.XmlReadHelper.ReadList (System.Xml.XmlReader,System.Collections.Generic.ICollection`1,MonoDevelop.Core.XmlReadHelper/ReaderCallback) <0x00065>
  at MonoDevelop.Core.XmlReadHelper.ReadList (System.Xml.XmlReader,string,MonoDevelop.Core.XmlReadHelper/ReaderCallback) <0x00038>
  at <>c__CompilerGenerated63.<RestoreCombinePreferences>c__69 () <0x000e2>
  at <>c__CompilerGenerated3.<ReadList>c__7 (MonoDevelop.Core.XmlReadHelper/ReadCallbackData) <0x0000f>
  at MonoDevelop.Core.XmlReadHelper.ReadList (System.Xml.XmlReader,System.Collections.Generic.ICollection`1,MonoDevelop.Core.XmlReadHelper/ReaderCallbackWithData) <0x00132>
  at MonoDevelop.Core.XmlReadHelper.ReadList (System.Xml.XmlReader,System.Collections.Generic.ICollection`1,MonoDevelop.Core.XmlReadHelper/ReaderCallback) <0x00065>
  at MonoDevelop.Core.XmlReadHelper.ReadList (System.Xml.XmlReader,string,MonoDevelop.Core.XmlReadHelper/ReaderCallback) <0x00038>
  at MonoDevelop.Ide.Gui.ProjectOperations.RestoreCombinePreferences (object) <0x0012c>
  at <>c__CompilerGenerated61.<backgroundLoadCombine>c__62 (object,System.EventArgs) <0x00072>
  at InvokeCB.Invoke () <0x00018>
  at TimeoutProxy.Handler () <0x00028>
  at (wrapper native-to-managed) TimeoutProxy.Handler () <0xffffffff>
  at (wrapper managed-to-native) Gtk.Application.gtk_main_iteration_do (bool) <0x00004>
  at (wrapper managed-to-native) Gtk.Application.gtk_main_iteration_do (bool) <0xffffffff>
  at Gtk.Application.RunIteration (bool) <0x0000c>
  at MonoDevelop.Ide.Gui.Dialogs.SplashScreenForm.RunMainLoop () <0x0000e>
  at MonoDevelop.Ide.Gui.Dialogs.SplashScreenForm.SetProgress (double) <0x00025>
  at MonoDevelop.Ide.Gui.Dialogs.SplashScreenForm.MonoDevelop.Core.IProgressMonitor.Step (int) <0x00039>
  at MonoDevelop.Ide.Gui.IdeApp.Initialize (MonoDevelop.Core.IProgressMonitor) <0x004d7>
  at MonoDevelop.Ide.Gui.IdeStartup.Run (string[]) <0x00b1f>
  at MonoDevelop.Startup.SharpDevelopMain.Main (string[]) <0x00053>
  at (wrapper runtime-invoke) MonoDevelop.Startup.SharpDevelopMain.runtime_invoke_int_string[] (object,intptr,intptr,intptr) <0xffffffff>

Native stacktrace:

        /usr/bin/mono [0x815d13b]
        /usr/bin/mono [0x8128758]
        [0xb7fb7440]
        [0xb51e33e1]
        [0xb51e3331]
        [0xb51e3232]
        [0xb03f8c22]
        [0xb03f797a]
        /usr/bin/mono(mono_runtime_invoke_array+0x1b2) [0x80dd1a2]
        /usr/bin/mono [0x81695d1]
        [0xb6cd6ba5]
        [0xb6cd679b]
        [0xb6ac9a61]
        [0xb6ac99f3]
        [0xb0416377]
        [0xb0415ca9]
        [0xb03f8add]
        [0xb04151ff]
        [0xb0415156]
        [0xb03f8978]
        [0xb03f86fc]
        [0xb0415242]
        [0xb04151ff]
        [0xb0415156]
        [0xb0414f31]
        [0xb0414e98]
        [0xb0424f1e]
        [0xb0424aa1]
        [0xb0424a2a]
        [0xb04249a4]
        [0xb0424762]
        [0xb0423bd1]
        [0xb0423903]
        [0xb042388c]
        [0xb0422e15]
        [0xb051e876]
        [0xb051e6cf]
        [0xb06e9b76]
        [0xb070da3b]
        [0xb070cfd7]
        [0xb070ca95]
        [0xb070ca53]
        [0xb573b8b8]
        [0xb573b66b]
        [0xb573b4ce]
        [0xb070c6b9]
        [0xb070c7ab]
        [0xb573b8b8]
        [0xb573b66b]
        [0xb573b4ce]
        [0xb070c6b9]
        [0xb070c535]
        [0xb0703feb]
        [0xb0703f69]
        [0xb5722371]
        [0xb56f884b]
        /usr/lib/libglib-2.0.so.0 [0xb7f15e99]

Debug info from gdb:

(no debugging symbols found)
Using host libthread_db library "/lib/libthread_db.so.1".
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread -1210557744 (LWP 11052)]
[New Thread -1257378928 (LWP 11126)]
[New Thread -1244972144 (LWP 11117)]
[New Thread -1252000880 (LWP 11063)]
[New Thread -1220060272 (LWP 11056)]
[New Thread -1208333424 (LWP 11055)]
0xb7fb7410 in __kernel_vsyscall ()
  6 Thread -1208333424 (LWP 11055)  0xb7fb7410 in __kernel_vsyscall ()
  5 Thread -1220060272 (LWP 11056)  0xb7fb7410 in __kernel_vsyscall ()
  4 Thread -1252000880 (LWP 11063)  0xb7fb7410 in __kernel_vsyscall ()
  3 Thread -1244972144 (LWP 11117)  0xb7fb7410 in __kernel_vsyscall ()
  2 Thread -1257378928 (LWP 11126)  0xb7fb7410 in __kernel_vsyscall ()
  1 Thread -1210557744 (LWP 11052)  0xb7fb7410 in __kernel_vsyscall ()

Thread 6 (Thread -1208333424 (LWP 11055)):
#0  0xb7fb7410 in __kernel_vsyscall ()
#1  0xb7edfb46 in ?? () from /lib/libpthread.so.0
#2  0x080fe01e in ?? ()
#3  0xb7fa43a8 in ?? ()
#4  0x00000000 in ?? ()

Thread 5 (Thread -1220060272 (LWP 11056)):
#0  0xb7fb7410 in __kernel_vsyscall ()
#1  0xb7edc8e6 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0x08100d2f in ?? ()
#3  0xb794f1dc in ?? ()
#4  0xb794f1c4 in ?? ()
#5  0x00021ee0 in ?? ()
#6  0x00000001 in ?? ()
#7  0xb7dae461 in ?? () from /lib/libc.so.6
#8  0x081ff59c in ?? ()
#9  0xb794f1dc in ?? ()
#10 0xb74751d0 in ?? ()
#11 0xb74751a8 in ?? ()
#12 0xb7edbf10 in pthread_mutex_unlock () from /lib/libpthread.so.0
#13 0x081033e6 in ?? ()
#14 0x00000000 in ?? ()

Thread 4 (Thread -1252000880 (LWP 11063)):
#0  0xb7fb7410 in __kernel_vsyscall ()
#1  0xb7edfb46 in ?? () from /lib/libpthread.so.0
#2  0x081109e6 in ?? ()
#3  0xb55ff1d8 in ?? ()
#4  0xb55ff1d0 in ?? ()
#5  0x00000000 in ?? ()

Thread 3 (Thread -1244972144 (LWP 11117)):
#0  0xb7fb7410 in __kernel_vsyscall ()
#1  0xb7edcb6c in pthread_cond_timedwait@@GLIBC_2.3.2 ()
   from /lib/libpthread.so.0
#2  0x08100cdb in ?? ()
#3  0xb795154c in ?? ()
#4  0xb7951534 in ?? ()
#5  0xb5cb30e4 in ?? ()
#6  0xb5cb3128 in ?? ()
#7  0x081ff59c in ?? ()
#8  0xb5cb30e4 in ?? ()
#9  0xb795154c in ?? ()
#10 0x08100f1a in ?? ()
#11 0x08200d1c in ?? ()
#12 0x470262d6 in ?? ()
#13 0x0bdc7fc0 in ?? ()
#14 0x081ff59c in ?? ()
#15 0x00000000 in ?? ()

Thread 2 (Thread -1257378928 (LWP 11126)):
#0  0xb7fb7410 in __kernel_vsyscall ()
#1  0xb7e3510b in read () from /lib/libc.so.6
#2  0xb51e9a3d in ?? ()
#3  0x0000004e in ?? ()
#4  0x005e4010 in ?? ()
#5  0x00001000 in ?? ()
#6  0xb79e339a in ?? ()
#7  0x005e4010 in ?? ()
#8  0x08903e80 in ?? ()
#9  0x002e2dc8 in ?? ()
#10 0x005e4000 in ?? ()
#11 0xb50de20c in ?? ()
#12 0xffffffff in ?? ()
#13 0x002e2dc8 in ?? ()
#14 0x005e4000 in ?? ()
#15 0xb50de21c in ?? ()
#16 0xb51e9a04 in ?? ()
#17 0xb50de270 in ?? ()
#18 0xb51e995b in ?? ()
#19 0x0000004e in ?? ()
#20 0x005e4000 in ?? ()
#21 0x00001000 in ?? ()
#22 0x00000000 in ?? ()

Thread 1 (Thread -1210557744 (LWP 11052)):
#0  0xb7fb7410 in __kernel_vsyscall ()
#1  0xb7e3cde1 in select () from /lib/libc.so.6
#2  0xb7f39b25 in g_spawn_sync () from /usr/lib/libglib-2.0.so.0
#3  0x00000000 in ?? ()
#0  0xb7fb7410 in __kernel_vsyscall ()


=================================================================
Got a SIGSEGV while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries 
used by your application.
=================================================================

Aborted

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.ximian.com/pipermail/monodevelop-list/attachments/20071002/78f31c5c/attachment-0001.bin 


More information about the Monodevelop-list mailing list