MacVim 捕捉到致命信号

发布于 2024-11-16 15:06:56 字数 130 浏览 5 评论 0原文

当我在终端中启动 MacVim 时,我收到一条令人讨厌的错误消息,说它捕获了致命的信号 SEGV。我真的不知道发生了什么事。同样,当我通过在文档上双击应用程序来启动应用程序时,应用程序会打开,但我无法执行任何操作。 有什么办法可以解决这个问题吗?

When I start MacVim within terminal I get a nasty error message saying it has caught a deadly singal SEGV. I really don't know what's going on. Like wise when I start the application by double clicking it on my Doc the app opens but I can't do anything.
Is there any way to fix this?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

笨死的猪 2024-11-23 15:06:56

我遇到了同样的问题,并将其追溯到包含本机扩展的 Command-T 插件,该插件是针对与我的环境 (1.9) 不同版本的 Ruby (1.8) 编译的。

我建议禁用所有插件,然后一一重新启用它们。

通过在 gdb 中运行 MacVim 的 vim 进程(需要 Xcode),您可能会得到更多关于问题所在的提示:

paul@paulbookpro ~ ⸩ gdb /Applications/MacVim.app/Contents/MacOS/Vim                                                                                                                         [11:20:55]
GNU gdb 6.3.50-20050815 (Apple version gdb-1705) (Fri Jul  1 10:50:06 UTC 2011)
...
This GDB was configured as "x86_64-apple-darwin"...Reading symbols for shared libraries ................ done

(gdb) run
Starting program: /usr/local/Cellar/macvim/7.3-61/MacVim.app/Contents/MacOS/Vim 

希望 gdb 能够报告一些有关段错误的有用信息,并且您可以使用 backtrace 等命令来获取更多数据。

祝你好运。

I have had the same problem, and traced it to the Command-T plugin containing native extensions that were compiled against a different version of Ruby (1.8) to the one in my environment (1.9).

I recommend disabling all of your plugins/addons, and re-enabling them one by one.

You might get more of a hint what's going wrong by running MacVim's vim process inside gdb (Xcode required):

paul@paulbookpro ~ ⸩ gdb /Applications/MacVim.app/Contents/MacOS/Vim                                                                                                                         [11:20:55]
GNU gdb 6.3.50-20050815 (Apple version gdb-1705) (Fri Jul  1 10:50:06 UTC 2011)
...
This GDB was configured as "x86_64-apple-darwin"...Reading symbols for shared libraries ................ done

(gdb) run
Starting program: /usr/local/Cellar/macvim/7.3-61/MacVim.app/Contents/MacOS/Vim 

Hopefully gdb will report some useful information about the segfault, and you can use commands like backtrace to get more data.

Good luck.

意中人 2024-11-23 15:06:56

信号 SEGV 的意思是“分段违规”,通常表示应用程序中存在错误。您可以尝试重新安装,或者联系软件供应商。

Signal SEGV means "segmentation violation" and generally indicates a bug in the application. You can try reinstalling it, or contact the software vendor.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文