Ubuntu12.04下的monodevelop最近老是崩溃,可能是因为前一阶段垂涎14.04上的mono4.0导致自己一直在本本上折腾,卸载mono,卸载monodevelop 导致系统出现了一大堆莫名其妙的问题,后来虽然又把软件源里面提供的mono,monodvelop装回来了,可是系统仍然没有恢复原样。
就比如现在使用monodevelop老是在装载工程的时候卡退了,郁闷中。在命令行里面启动monodvelop输出这么一大堆
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就能正常打开了。
删除这三个目录: (在家目录下) 不会对你的工程造成影响
.local/share/MonoDevelop-2.8/ .config/MonoDevelop-2.8/ .cache/MonoDevelop-2.8/
一个问题:monodevelop 2.8 总是卡退,布布扣,bubuko.com
原文地址:http://my.oschina.net/000quanwei/blog/293810