Ubuntu12.04下的monodevelop最近總是崩潰,多是由於前一階段垂涎14.04上的mono4.0致使本身一直在本本上折騰,卸載mono,卸載monodevelop 致使系統出現了一大堆莫名其妙的問題,後來雖然又把軟件源裏面提供的mono,monodvelop裝回來了,但是系統仍然沒有恢復原樣。 node
就好比如今使用monodevelop總是在裝載工程的時候卡退了,鬱悶中。在命令行裏面啓動monodvelop輸出這麼一大堆 linux
loveWenQing ~$ monodevelop ERROR [2014-07-22 16:20:19Z]: Error while reading welcome page contents. System.ArgumentNullException: Argument cannot be null. Parameter name: stream at System.IO.StreamReader.Initialize (System.IO.Stream stream, System.Text.Encoding encoding, Boolean detectEncodingFromByteOrderMarks, Int32 bufferSize) [0x00000] in <filename unknown>:0 at System.IO.StreamReader..ctor (System.IO.Stream stream, System.Text.Encoding encoding, Boolean detectEncodingFromByteOrderMarks, Int32 bufferSize) [0x00000] in <filename unknown>:0 at System.IO.StreamReader..ctor (System.IO.Stream stream) [0x00000] in <filename unknown>:0 at (wrapper remoting-invoke-with-check) System.IO.StreamReader:.ctor (System.IO.Stream) at System.Xml.Linq.XDocument.Load (System.IO.Stream stream) [0x00000] in <filename unknown>:0 at MonoDevelop.Ide.WelcomePage.WelcomePageBranding..cctor () [0x00000] in <filename unknown>:0 Basedir=/usr/lib/monodoc Native stacktrace: monodevelop() [0x80e16fc] monodevelop() [0x80609b4] [0xb772d40c] monodevelop() [0x82217c6] monodevelop() [0x8221d10] monodevelop() [0x8221ed8] monodevelop() [0x82220ad] monodevelop() [0x8226462] /lib/i386-linux-gnu/libpthread.so.0(+0x6d4c) [0xb76c0d4c] /lib/i386-linux-gnu/libc.so.6(clone+0x5e) [0xb75ffbae] Debug info from gdb: Could not attach to process. If your uid matches the uid of the target process, check the setting of /proc/sys/kernel/yama/ptrace_scope, or try again as the root user. For more details, see /etc/sysctl.d/10-ptrace.conf ptrace: 不容許的操做. No threads. ================================================================= 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. =================================================================配置什麼的一點都沒有該,而後就出現這種莫名其妙的錯誤了,說是讀取welcome page的時候出錯。
解決辦法也有,就是將本身家目錄下的monodevelop的配置文件所有刪掉再重啓一下monodevelop就能正常打開了。 shell
刪除這三個目錄: (在家目錄下) 不會對你的工程形成影響 app
.local/share/MonoDevelop-2.8/ .config/MonoDevelop-2.8/ .cache/MonoDevelop-2.8/刪掉以後下次就能正常裝載工程了,可是仍是不能根本解決。只能湊合着用。