Hello. When working with MonoDevelop, I have used the
toolbar button
"Save all files" and an exception has raised to
me:
Ocurrió una excepción: Sharing violation on path
/srv/www/htdocs/prodler3/src/Prodler/Ctl/General/Redirect.cs
System.IO.IOException: Sharing violation on path
/srv/www/htdocs/prodler3/src/Prodler/Ctl/General/Redirect.cs
in <0x00338> System.IO.FileStream:.ctor (System.String
name, FileMode
mode, FileAccess access, FileShare share, Int32 bufferSize,
Boolean
isAsync, Boolean anonymous)
in <0x0001f> System.IO.FileStream:.ctor (System.String
name, FileMode
mode, FileAccess access, FileShare share)
in (wrapper remoting-invoke-with-check)
System.IO.FileStream:.ctor
(string,System.IO.FileMode,System.IO.FileAccess,System.IO.Fi
leShare)
in <0x000ea> System.IO.StreamWriter:.ctor
(System.String path, Boolean
append, System.Text.Encoding encoding, Int32 bufferSize)
in <0x0002c> System.IO.StreamWriter:.ctor
(System.String path, Boolean
append)
in (wrapper remoting-invoke-with-check)
System.IO.StreamWriter:.ctor
(string,bool)
in <0x00022>
MonoDevelop.SourceEditor.Gui.SourceEditorBuffer:Save
(System.String fileName)
in <0x000f0>
MonoDevelop.SourceEditor.Gui.SourceEditorDisplayBindingWrapp
er:Save
(System.String fileName)
in [0x000da] (at
/home/knocte/Documents/iDocuments/Proyectos/MonoDevelop/arbo
lSVN/Core/src/MonoDevelop.Ide/MonoDevelop.Ide.Gui/Document.c
s:117)
MonoDevelop.Ide.Gui.Document:Save ()
in [0x0001e] (at
/home/knocte/Documents/iDocuments/Proyectos/MonoDevelop/arbo
lSVN/Core/src/MonoDevelop.Ide/MonoDevelop.Ide.Gui/Workbench.
cs:199)
MonoDevelop.Ide.Gui.Workbench:SaveAll ()
in [0x00005] (at
/home/knocte/Documents/iDocuments/Proyectos/MonoDevelop/arbo
lSVN/Core/src/MonoDevelop.Ide/MonoDevelop.Ide.Commands/FileC
ommands.cs:79)
MonoDevelop.Ide.Commands.SaveAllHandler:Run ()
in [0x00001] (at
/home/knocte/Documents/iDocuments/Proyectos/MonoDevelop/arbo
lSVN/Core/src/MonoDevelop.Components/MonoDevelop.Components.
Commands/CommandHandler.cs:42)
MonoDevelop.Components.Commands.CommandHandler:Run
(System.Object dataItem)
in [0x00037] (at
/home/knocte/Documents/iDocuments/Proyectos/MonoDevelop/arbo
lSVN/Core/src/MonoDevelop.Components/MonoDevelop.Components.
Commands/ActionCommand.cs:86)
MonoDevelop.Components.Commands.ActionCommand ispatchC
ommand
(System.Object dataItem)
in [0x00145] (at
/home/knocte/Documents/iDocuments/Proyectos/MonoDevelop/arbo
lSVN/Core/src/MonoDevelop.Components/MonoDevelop.Components.
Commands/CommandManager.cs:263)
MonoDevelop.Components.Commands.CommandManager ispatchC
ommand
(System.Object commandId, System.Object dataItem)
So my questions are:
a) Does this means some other process was trying to access
this file? I
am pretty sure I wasn't accessing other way different from
this instance
of MD. If yes, this sharing violation is because of a write
or read access?
b) Is this the behaviour expected? Should I file a bug about
this?
Regards,
Andrés [ knocte ]
P.S.: Using SVN version.
--
_______________________________________________
Monodevelop-list mailing list
Monodevelop-list lists.ximian.com
http://lists.ximian.com/mailman/listinfo/monodevelop-li
st
|