[MonoDevelop] Monodevelop 0.13.1 - Stetic crashes

Nil Gradisnik ghaefbgtk at gmail.com
Sat Mar 24 05:44:57 EDT 2007


Monodevelop chrashes when I use Stetic to build GUI, this is the scenario:

I use VPaned and I add some widget to the upper empty space and then I
put another widget in the lower empty space of vpaned. Then I select
the widget that is in the lower part of the vpaned and navigate to the
Widget Properties -> Pane Child Layout and try to click on
Resize/Shrink checkbox and bam ! Monodevelop crashes.

Here is the --debug output:


System.InvalidOperationException: Could not set value for property
Gtk.Paned+PanedChild.Shrink to object 'Gtk.Paned+PanedChild' --->
System.Reflection.TargetInvocationException: Exception has been thrown
by the target of an invocation. ---> System.NullReferenceException:
Object reference not set to an instance of an object
  at Stetic.Undo.XmlDiffAdaptor.GetPropertyByName (System.Object obj,
System.String name) [0x00000]
  at Stetic.Undo.DiffGenerator.GetPropertyDiff (IDiffAdaptor
currentAdaptor, System.Object currentObject, IDiffAdaptor newAdaptor,
System.Object newObject) [0x00000]
  at Stetic.Undo.DiffGenerator.GetDiff (System.Object oldStatus,
System.Object newStatus) [0x00000]
  at Stetic.Undo.DiffGenerator.GetChildDiff (System.Object oldChild,
System.Object newChild) [0x00000]
  at Stetic.Undo.DiffGenerator.GetDiff (System.Object oldStatus,
System.Object newStatus) [0x00000]
  at Stetic.Wrapper.Container.GetUndoDiff () [0x00000]
  at Stetic.ContainerUndoRedoManager.GetDiff (Stetic.ObjectWrapper w) [0x00000]
  at Stetic.UndoRedoManager.AddChange (Stetic.ObjectWrapper[] obs) [0x00000]
  at Stetic.UndoRedoManager.OnUndoCheckpoint (System.Object sender,
Stetic.UndoCheckpointEventArgs args) [0x00000]
  at (wrapper delegate-invoke)
System.MulticastDelegate:invoke_void_object_UndoCheckpointEventArgs
(object,Stetic.UndoCheckpointEventArgs)
  at Stetic.UndoManager.CanNotifyChanged (Stetic.ObjectWrapper
wrapper) [0x00000]
  at Stetic.ObjectWrapper.NotifyChanged () [0x00000]
  at (wrapper remoting-invoke-with-check) Stetic.ObjectWrapper:NotifyChanged ()
  at Stetic.Wrapper.Container+ContainerChild.EmitNotify (System.String
propertyName) [0x00000]
  at Stetic.Wrapper.Container+ContainerChild.ChildNotifyHandler
(System.Object obj, Gtk.ChildNotifiedArgs args) [0x00000]
  at (wrapper delegate-invoke)
System.MulticastDelegate:invoke_void_object_ChildNotifiedArgs
(object,Gtk.ChildNotifiedArgs)
  at Gtk.Widget.ChildNotifiedSignalCallback (IntPtr arg0, IntPtr arg1,
IntPtr gch) [0x00000]
  at (wrapper native-to-managed)
Gtk.Widget:ChildNotifiedSignalCallback (intptr,intptr,intptr)
  at <0x00000> <unknown method>
  at (wrapper managed-to-native)
Gtk.Container:gtk_container_child_set_property
(intptr,intptr,intptr,GLib.Value&)
  at Gtk.Container.ChildSetProperty (Gtk.Widget child, System.String
property_name, Value value) [0x00000]
  at Gtk.Paned+PanedChild.set_Shrink (Boolean value) [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)
[0x00056] in /builddir/build/BUILD/mono-1.2.3/mcs/class/corlib/System.Reflection/MonoMethod.cs:143
--- 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)
[0x0007b] in /builddir/build/BUILD/mono-1.2.3/mcs/class/corlib/System.Reflection/MonoMethod.cs:149
  at System.Reflection.MonoProperty.SetValue (System.Object obj,
System.Object value, BindingFlags invokeAttr, System.Reflection.Binder
binder, System.Object[] index, System.Globalization.CultureInfo
culture) [0x00066] in
/builddir/build/BUILD/mono-1.2.3/mcs/class/corlib/System.Reflection/MonoProperty.cs:246
  at System.Reflection.PropertyInfo.SetValue (System.Object obj,
System.Object value, System.Object[] index) [0x00000] in
/builddir/build/BUILD/mono-1.2.3/mcs/class/corlib/System.Reflection/PropertyInfo.cs:102
  at Stetic.TypedPropertyDescriptor.SetValue (System.Object obj,
System.Object value) [0x00000] --- End of inner exception stack trace
---

  at Stetic.TypedPropertyDescriptor.SetValue (System.Object obj,
System.Object value) [0x00000]
  at Stetic.EditSession.OnValueChanged (System.Object s,
System.EventArgs a) [0x00000]
  at (wrapper delegate-invoke)
System.MulticastDelegate:invoke_void_object_EventArgs
(object,System.EventArgs)
  at Stetic.Editor.BooleanEditor.OnToggled () [0x00000]
  at Gtk.ToggleButton.toggled_cb (IntPtr toggle_button) [0x00000]
  at (wrapper native-to-managed) Gtk.ToggleButton:toggled_cb (intptr)
  at <0x00000> <unknown method>
  at (wrapper managed-to-native) Gtk.Application:gtk_main ()
  at Gtk.Application.Run () [0x00000]
  at MonoDevelop.Ide.Gui.IdeApp.Run () [0x00000]
  at MonoDevelop.Ide.Gui.IdeStartup.Run (System.String[] args) [0x00000]
  at MonoDevelop.Core.AddIns.AddInService.StartApplication
(System.String addinId, System.String[] parameters) [0x00000]
Stacktrace:

  at (wrapper managed-to-native)
GtkSourceView.SourceLanguage.gtk_source_language_get_tags (intptr)
<0x00004>
  at (wrapper managed-to-native)
GtkSourceView.SourceLanguage.gtk_source_language_get_tags (intptr)
<0xffffffff>
  at GtkSourceView.SourceLanguage.get_Tags () <0x0003e>
  at MonoDevelop.SourceEditor.SourceViewService.UnloadService () <0x00228>
  at MonoDevelop.Core.ServiceManager.UnloadAllServices () <0x000cc>
  at MonoDevelop.Core.Runtime.Shutdown () <0x00007>
  at MonoDevelop.Startup.SharpDevelopMain.Main (string[]) <0x00054>
  at (wrapper runtime-invoke)
System.Object.runtime_invoke_int_string[]
(object,intptr,intptr,intptr) <0xffffffff>

Native stacktrace:

        /usr/bin/mono [0x815110a]
        /usr/bin/mono [0x811a2c8]
        [0xf30440]
        /lib/libgobject-2.0.so.0(g_signal_emit_valist+0x41d) [0x5dc24ad]
        /lib/libgobject-2.0.so.0(g_signal_emit+0x29) [0x5dc2b19]
        /lib/libgobject-2.0.so.0 [0x5db5171]
        /lib/libgobject-2.0.so.0 [0x5db1b5f]
        /lib/libgobject-2.0.so.0(g_object_newv+0x846) [0x5db6116]
        /lib/libgobject-2.0.so.0(g_object_new_valist+0x2c8) [0x5db67a8]
        /lib/libgobject-2.0.so.0(g_object_new+0x40) [0x5db68b0]
        /usr/lib/libgtksourceview-1.0.so.0(gtk_syntax_tag_new+0x69) [0x2444e49]
        /usr/lib/libgtksourceview-1.0.so.0 [0x244f9cb]
        [0x61bb756]
        [0x61bb64f]
        [0x61bada1]
        [0x61b847d]
        [0x61b83a8]
        [0x13113d]
        [0x131075]
        /usr/bin/mono(mono_runtime_exec_main+0x9f) [0x80a775f]
        /usr/bin/mono(mono_runtime_run_main+0x1b9) [0x80a7a09]
        /usr/bin/mono(mono_main+0xeab) [0x805883b]
        /usr/bin/mono [0x8057482]
        /lib/libc.so.6(__libc_start_main+0xdc) [0x798f2c]
        /usr/bin/mono [0x80573d1]

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)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread 1137744 (LWP 7006)]
[New Thread 86588304 (LWP 7434)]
[New Thread 33717136 (LWP 7138)]
[New Thread -1220547696 (LWP 7137)]
[New Thread -1210057840 (LWP 7136)]
[New Thread 161516432 (LWP 7129)]
[New Thread 40156048 (LWP 7106)]
[New Thread 37624720 (LWP 7058)]
[New Thread 4791184 (LWP 7015)]
[New Thread 2456464 (LWP 7014)]
(no debugging symbols found)
.
.
.
(no debugging symbols found)
0x00f30402 in __kernel_vsyscall ()
  10 Thread 2456464 (LWP 7014)  0x00f30402 in __kernel_vsyscall ()
  9 Thread 4791184 (LWP 7015)  0x00f30402 in __kernel_vsyscall ()
  8 Thread 37624720 (LWP 7058)  0x00f30402 in __kernel_vsyscall ()
  7 Thread 40156048 (LWP 7106)  0x00f30402 in __kernel_vsyscall ()
  6 Thread 161516432 (LWP 7129)  0x00f30402 in __kernel_vsyscall ()
  5 Thread -1210057840 (LWP 7136)  0x00f30402 in __kernel_vsyscall ()
  4 Thread -1220547696 (LWP 7137)  0x00f30402 in __kernel_vsyscall ()
  3 Thread 33717136 (LWP 7138)  0x00f30402 in __kernel_vsyscall ()
  2 Thread 86588304 (LWP 7434)  0x00f30402 in __kernel_vsyscall ()
  1 Thread 1137744 (LWP 7006)  0x00f30402 in __kernel_vsyscall ()

Thread 10 (Thread 2456464 (LWP 7014)):
#0  0x00f30402 in __kernel_vsyscall ()
#1  0x00754566 in nanosleep () from /lib/libpthread.so.0
#2  0x080f9a24 in mono_once ()
#3  0x0074d3db in start_thread () from /lib/libpthread.so.0
#4  0x0085026e in clone () from /lib/libc.so.6

Thread 9 (Thread 4791184 (LWP 7015)):
#0  0x00f30402 in __kernel_vsyscall ()
#1  0x007511a6 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0x080f660f in mono_runtime_init ()
#3  0x080f8f8f in mono_runtime_init ()
#4  0x080f900c in mono_runtime_init ()
#5  0x08105834 in mono_pthread_key_for_tls ()
#6  0x080a1c1a in mono_gc_is_finalizer_thread ()
#7  0x080e15d4 in mono_thread_get_abort_signal ()
#8  0x080faf22 in mono_pthread_key_for_tls ()
#9  0x08115307 in GC_start_blocking ()
#10 0x0074d3db in start_thread () from /lib/libpthread.so.0
#11 0x0085026e in clone () from /lib/libc.so.6

Thread 8 (Thread 37624720 (LWP 7058)):
#0  0x00f30402 in __kernel_vsyscall ()
#1  0x00754566 in nanosleep () from /lib/libpthread.so.0
#2  0x080fa558 in mono_pthread_key_for_tls ()
#3  0x080e11f1 in mono_thread_get_abort_signal ()
#4  0x01ee9b26 in ?? ()
#5  0x000001f4 in ?? ()
#6  0x0a8db0c8 in ?? ()
#7  0x00c8f7e0 in ?? ()
#8  0x0427ace0 in ?? ()
#9  0x00000000 in ?? ()

Thread 7 (Thread 40156048 (LWP 7106)):
#0  0x00f30402 in __kernel_vsyscall ()
#1  0x0075142c in pthread_cond_timedwait@@GLIBC_2.3.2 ()
   from /lib/libpthread.so.0
#2  0x080f65ca in mono_runtime_init ()
#3  0x080f8f8f in mono_runtime_init ()
#4  0x08105636 in mono_pthread_key_for_tls ()
#5  0x080dee18 in mono_thread_get_pending_exception ()
#6  0x01ef696a in ?? ()
#7  0x006d0180 in ?? ()
#8  0x00000436 in ?? ()
#9  0x00001388 in ?? ()
#10 0x00000001 in ?? ()
#11 0x0aa1aca0 in ?? ()
#12 0x01ef686a in ?? ()
#13 0x0405d4d8 in ?? ()
#14 0x046581b8 in ?? ()
#15 0x04082a10 in ?? ()
#16 0x00000000 in ?? ()

Thread 6 (Thread 161516432 (LWP 7129)):
#0  0x00f30402 in __kernel_vsyscall ()
#1  0x008466d3 in poll () from /lib/libc.so.6
#2  0x024e8ee9 in PR_Poll () from /usr/lib/libnspr4.so
#3  0x034a845d in ?? () from /usr/lib/firefox-2.0.0.3/components/libnecko.so
#4  0x034a867d in ?? () from /usr/lib/firefox-2.0.0.3/components/libnecko.so
#5  0x02d69695 in nsIThread::SetMainThread ()
   from /usr/lib/firefox-2.0.0.3/libxpcom_core.so
#6  0x024ed16d in PR_JoinThread () from /usr/lib/libnspr4.so
#7  0x0074d3db in start_thread () from /lib/libpthread.so.0
#8  0x0085026e in clone () from /lib/libc.so.6

Thread 5 (Thread -1210057840 (LWP 7136)):
#0  0x00f30402 in __kernel_vsyscall ()
#1  0x0075142c in pthread_cond_timedwait@@GLIBC_2.3.2 ()
   from /lib/libpthread.so.0
#2  0x024e6396 in PRP_NakedNotify () from /usr/lib/libnspr4.so
#3  0x024e71d4 in PR_WaitCondVar () from /usr/lib/libnspr4.so
#4  0x02d6b6c4 in nsIThread::SetMainThread ()
   from /usr/lib/firefox-2.0.0.3/libxpcom_core.so
#5  0x02d69695 in nsIThread::SetMainThread ()
   from /usr/lib/firefox-2.0.0.3/libxpcom_core.so
#6  0x024ed16d in PR_JoinThread () from /usr/lib/libnspr4.so
#7  0x0074d3db in start_thread () from /lib/libpthread.so.0
#8  0x0085026e in clone () from /lib/libc.so.6

Thread 4 (Thread -1220547696 (LWP 7137)):
#0  0x00f30402 in __kernel_vsyscall ()
#1  0x0075142c in pthread_cond_timedwait@@GLIBC_2.3.2 ()
   from /lib/libpthread.so.0
#2  0x024e6396 in PRP_NakedNotify () from /usr/lib/libnspr4.so
#3  0x024e71d4 in PR_WaitCondVar () from /usr/lib/libnspr4.so
#4  0x034838e5 in ?? () from /usr/lib/firefox-2.0.0.3/components/libnecko.so
#5  0x024ed16d in PR_JoinThread () from /usr/lib/libnspr4.so
#6  0x0074d3db in start_thread () from /lib/libpthread.so.0
#7  0x0085026e in clone () from /lib/libc.so.6

Thread 3 (Thread 33717136 (LWP 7138)):
#0  0x00f30402 in __kernel_vsyscall ()
#1  0x008508e6 in epoll_wait () from /lib/libc.so.6
#2  0x080efa6c in mono_runtime_init ()
#3  0x080e15d4 in mono_thread_get_abort_signal ()
#4  0x080faf22 in mono_pthread_key_for_tls ()
#5  0x08115307 in GC_start_blocking ()
#6  0x0074d3db in start_thread () from /lib/libpthread.so.0
#7  0x0085026e in clone () from /lib/libc.so.6

Thread 2 (Thread 86588304 (LWP 7434)):
#0  0x00f30402 in __kernel_vsyscall ()
#1  0x00840fdb in read () from /lib/libc.so.6
#2  0x03a09e61 in ?? ()
#3  0x00000046 in ?? ()
#4  0xb6769010 in ?? ()
#5  0x00001000 in ?? ()
#6  0x002932a4 in ?? ()
#7  0xb6769010 in ?? ()
#8  0x0af70bb0 in ?? ()
#9  0x00001000 in ?? ()
#10 0x00000000 in ?? ()

Thread 1 (Thread 1137744 (LWP 7006)):
#0  0x00f30402 in __kernel_vsyscall ()
#1  0x008490d1 in select () from /lib/libc.so.6
#2  0x00dbcc3e in g_spawn_sync () from /lib/libglib-2.0.so.0
#3  0x00dbd00c in g_spawn_command_line_sync () from /lib/libglib-2.0.so.0
#4  0x081511bd in mono_print_thread_dump ()
#5  0x0811a2c8 in mono_jit_thread_attach ()
#6  <signal handler called>
#7  0x05dc24ad in g_signal_emit_valist () from /lib/libgobject-2.0.so.0
#8  0x05dc2b19 in g_signal_emit () from /lib/libgobject-2.0.so.0
#9  0x05db5171 in g_object_class_override_property ()
   from /lib/libgobject-2.0.so.0
#10 0x05db1b5f in g_enum_register_static () from /lib/libgobject-2.0.so.0
#11 0x05db6116 in g_object_newv () from /lib/libgobject-2.0.so.0
#12 0x05db67a8 in g_object_new_valist () from /lib/libgobject-2.0.so.0
#13 0x05db68b0 in g_object_new () from /lib/libgobject-2.0.so.0
#14 0x02444e49 in gtk_syntax_tag_new () from /usr/lib/libgtksourceview-1.0.so.0
#15 0x0244f9cb in gtk_source_language_get_id ()
   from /usr/lib/libgtksourceview-1.0.so.0
#16 0x061bb756 in ?? ()
#17 0x0c0d0970 in ?? ()
#18 0x00903a64 in ?? ()
#19 0x001f6e5f in ?? ()
#20 0x09af7890 in ?? ()
#21 0xb68398e8 in ?? ()
#22 0x00000004 in ?? ()
#23 0x00000000 in ?? ()
#0  0x00f30402 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


More information about the Monodevelop-list mailing list