List Info

Thread: Opening project crashes MonoDevelop




Opening project crashes MonoDevelop
user name
2007-06-08 09:54:47
Hi,

I've have very recently come to MonoDevelop in a search for a good, "smart" IDE for Gnome, and this looks like easily the best choice!

Unfortunately, it is giving me trouble :(
I have compiled MD 0.13.1 on Ubuntu Feisty (7.04). Everything has worked, except now all of a sudden the project I was working on will not open! Trying to open it crashes MonoDevelop.

I can get an error report if I launch Monodevelop with the project file (instead of opening the file from Monodevelop, with which it simply disappears into thin air).


MonoDevelop failed to start. The following error has been reported: Argument is out of range.
Parameter name: Attempt to set the position to a negative value.

Details:
System.ArgumentOutOfRangeException : Argument is out of range.
Parameter name: Attempt to set the position to a negative value
at System.IO.FileStream.set_Position (long) <0x000f2>
at MonoDevelop.Projects.Parser.CodeCompletionDatabase.ReadClass (MonoDevelop.Projects.Parser.ClassEntry) <0x0009d>
at MonoDevelop.Projects.Parser.CodeCompletionDatabase.UpdateClassInformation (MonoDevelop.Projects.Parser.ClassCollection,string) <0x003ac>
at MonoDevelop.Projects.Parser.ProjectCodeCompletionDatabase.UpdateFromParseInfo (MonoDevelop.Projects.Parser.IParseInformation,string) <0x000f2>
at MonoDevelop.Projects.Parser.ProjectCodeCompletionDatabase.ParseFile (string,MonoDevelop.Core.IProgressMonitor) <0x00086>
at MonoDevelop.Projects.Parser.CodeCompletionDatabase.UpdateDatabase () <0x0007d>
at MonoDevelop.Projects.Parser.ParserContext.UpdateDatabase () <0x00010>
at MonoDevelop.GtkCore.GuiBuilder.GuiBuilderProject.GetParserContext () <0x00060>
at MonoDevelop.GtkCore.GuiBuilder.GuiBuilderProject.FindClass (string) <0x00062>
at MonoDevelop.GtkCore.GuiBuilder.GuiBuilderProject.GetClass (Stetic.Component) <0x00019>
at MonoDevelop.GtkCore.GuiBuilder.GuiBuilderProject.GetSourceCodeFile (Stetic.Component) <0x00033>
at MonoDevelop.GtkCore.GuiBuilder.GuiBuilderWindow.get_SourceCodeFile () <0x00016>
at MonoDevelop.GtkCore.GuiBuilder.GuiBuilderProject.GetWindowForFile (string) <0x00075>
at MonoDevelop.GtkCore.GuiBuilder.GuiBuilderDisplayBinding.GetWindow (string) <0x001f2>
at MonoDevelop.GtkCore.GuiBuilder.GuiBuilderDisplayBinding.CanCreateContentForFile (string) <0x00024>
at MonoDevelop.Ide.Gui.DisplayBindingService.GetCodonPerFileName (string) <0x00116>
at MonoDevelop.Ide.Gui.DisplayBindingService.GetBindingPerFileName (string) <0x00015>
at MonoDevelop.Ide.Gui.Workbench.RealOpenFile (object) <0x006fe>
at MonoDevelop.Ide.Gui.Workbench.OpenDocument (string,int,int,bool,string, MonoDevelop.Ide.Codons.IDisplayBinding) <0x0058a>
at MonoDevelop.Ide.Gui.Workbench.OpenDocument (string,int,int,bool) <0x0001c>
at MonoDevelop.Ide.Gui.Workbench.OpenDocument (string,bool) <0x00019>
at MonoDevelop.Ide.Gui.ProjectOperations.RestoreCombinePreferences (object) <0x002fe>
at <>c__CompilerGenerated20.&lt;>c__AnonymousMethod21 (object,System.EventArgs) <0x00072>
at (wrapper delegate-invoke) System.MulticastDelegate.invoke_void_object_EventArgs (object,System.EventArgs) <0x0003e>
at InvokeCB.Invoke () <0x0001a>
at (wrapper delegate-invoke) System.MulticastDelegate.invoke_bool () <0x0002c>
at TimeoutProxy.Handler () <0x0002a>
at (wrapper native-to-managed) TimeoutProxy.Handler () <0x00036>
in (unmanaged) 0xb7f043c5
at (wrapper managed-to-native) Gtk.Application.gtk_main_iteration_do (bool) <0x00004>
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) <0x00449>
at MonoDevelop.Ide.Gui.IdeStartup.Run (string[]) <0x00b81>


Opening other project files, and starting new projects, works fine. Just this one in particular kills it. This seems to be completely out of the blue, too! It worked fine for a few days before.

Have you encountered this? Can you think what is wrong? How can I get more information about this problem?
Any help is appreciated!


Thanks in advance,
-Dylan McCall
Re: Opening project crashes MonoDevelop
user name
2007-06-08 14:16:16
On 6/8/07, Dylan McCall <dylanmccallgmail.com> wrote:
> Have you encountered this? Can you think what is wrong?
How can I get more
> information about this problem?
> Any help is appreciated!

This certainly needs handling, and I'm not familiar with
that part of
the code... but as a workaround you could try deleting the
pidb file
for that project, which holds the cached code completion
database.

-- 
Michael Hutchinson
http://mjhutchinson.com
_______________________________________________
Monodevelop-list mailing list
Monodevelop-listlists.ximian.com
http://lists.ximian.com/mailman/listinfo/monodevelop-li
st

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )