Bug 1293 - MonoDevelop 2.8 crashes when trying to do anything
Summary: MonoDevelop 2.8 crashes when trying to do anything
Status: CLOSED DUPLICATE of bug 121
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: General ()
Version: 2.8
Hardware: PC Windows
: High blocker
Target Milestone: ---
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2011-10-06 02:09 UTC by Dan
Modified: 2012-01-04 12:19 UTC (History)
3 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
CLOSED DUPLICATE of bug 121

Description Dan 2011-10-06 02:09:09 UTC
Just updated to 2.8, and tried to open my project from 2.6.

I then get an exception about memory corruption when opening the GUI designer,

System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
   at Gtk.Widget.gtk_widget_size_allocate(IntPtr raw, IntPtr allocation)
   at Gtk.Widget.SizeAllocate(Rectangle allocation)
   at Gtk.Widget.set_Allocation(Rectangle value)
   at Stetic.Windows.Preview.OnRealized()
   at Gtk.Widget.realized_cb(IntPtr widget)

 then thinking I just need to rebuild I get the following when I try

System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
   at Gtk.Frame.gtk_frame_set_label_widget(IntPtr raw, IntPtr label_widget)
   at Gtk.Frame.set_LabelWidget(Widget value)
   at Stetic.Wrapper.Frame.ReadChild(ObjectReader reader, XmlElement child_elem)
   at Stetic.Wrapper.Container.ReadChildren(ObjectReader reader, XmlElement elem)
   at Stetic.Wrapper.Container.Read(ObjectReader reader, XmlElement elem)
   at Stetic.ObjectWrapper.ReadObject(ObjectReader reader, XmlElement elem, ObjectWrapper wrapper)
   at Stetic.ObjectWrapper.ReadObject(ObjectReader reader, XmlElement elem)
   at Stetic.ObjectReader.ReadObject(XmlElement elem)
   at Stetic.Wrapper.Container.ReadChild(ObjectReader reader, XmlElement child_elem)
   at Stetic.Wrapper.Container.ReadChildren(ObjectReader reader, XmlElement elem)
   at Stetic.Wrapper.Container.Read(ObjectReader reader, XmlElement elem)
   at Stetic.ObjectWrapper.ReadObject(ObjectReader reader, XmlElement elem, ObjectWrapper wrapper)
   at Stetic.ObjectWrapper.ReadObject(ObjectReader reader, XmlElement elem)
   at Stetic.ObjectReader.ReadObject(XmlElement elem)
   at Stetic.Wrapper.Container.ReadChild(ObjectReader reader, XmlElement child_elem)
   at Stetic.Wrapper.Notebook.ReadChild(ObjectReader reader, XmlElement child_elem)
   at Stetic.Wrapper.Container.ReadChildren(ObjectReader reader, XmlElement elem)
   at Stetic.Wrapper.Container.Read(ObjectReader reader, XmlElement elem)
   at Stetic.Wrapper.Notebook.Read(ObjectReader reader, XmlElement element)
   at Stetic.ObjectWrapper.ReadObject(ObjectReader reader, XmlElement elem, ObjectWrapper wrapper)
   at Stetic.ObjectWrapper.ReadObject(ObjectReader reader, XmlElement elem)
   at Stetic.ObjectReader.ReadObject(XmlElement elem)
   at Stetic.Wrapper.Container.ReadChild(ObjectReader reader, XmlElement child_elem)
   at Stetic.Wrapper.Container.ReadChildren(ObjectReader reader, XmlElement elem)
   at Stetic.Wrapper.Container.Read(ObjectReader reader, XmlElement elem)
   at Stetic.ObjectWrapper.ReadObject(ObjectReader reader, XmlElement elem, ObjectWrapper wrapper)
   at Stetic.ObjectWrapper.ReadObject(ObjectReader reader, XmlElement elem)
   at Stetic.ObjectReader.ReadObject(XmlElement elem)
   at Stetic.Wrapper.Container.ReadChild(ObjectReader reader, XmlElement child_elem)
   at Stetic.Wrapper.Container.ReadChildren(ObjectReader reader, XmlElement elem)
   at Stetic.Wrapper.Container.Read(ObjectReader reader, XmlElement elem)
   at Stetic.ObjectWrapper.ReadObject(ObjectReader reader, XmlElement elem, ObjectWrapper wrapper)
   at Stetic.ObjectWrapper.ReadObject(ObjectReader reader, XmlElement elem)
   at Stetic.ProjectBackend.GetWidget(WidgetData data)
   at Stetic.ProjectBackend.get_Toplevels()
   at Stetic.CodeGeneratorPartialClass.GenerateProjectGuiCode(SteticCompilationUnit globalUnit, CodeNamespace globalNs, CodeTypeDeclaration globalType, GenerationOptions options, List`1 units, ProjectBackend[] projects, ArrayList warnings)
   at Stetic.CodeGenerator.GenerateProjectCode(GenerationOptions options, ProjectBackend[] projects)
   at Stetic.ApplicationBackend.GenerateProjectCode(GenerationOptions options, ProjectBackend[] projects)
   at Stetic.Application.GenerateProjectCode(GenerationOptions options, Project[] projects)
   at MonoDevelop.GtkCore.GuiBuilder.GuiBuilderService.GenerateSteticCode(IProgressMonitor monitor, DotNetProject project, ConfigurationSelector configuration)
   at MonoDevelop.GtkCore.GuiBuilder.Generator.Run(IProgressMonitor monitor, DotNetProject project, ConfigurationSelector configuration)
   at MonoDevelop.GtkCore.GuiBuilder.GtkProjectServiceExtension.<>c__DisplayClass3.<Build>b__1(Object , EventArgs )
   at Gtk.Application.InvokeCB.Invoke()
   at GLib.Timeout.TimeoutProxy.Handler()
Comment 1 Mikayla Hutchinson [MSFT] 2011-10-06 06:34:49 UTC

*** This bug has been marked as a duplicate of bug 121 ***
Comment 2 lindsey.driscoll 2012-01-04 12:19:37 UTC
Closing duplicates