Ruby 1.9 Ramaze 应用程序因“非法指令”而失败
我有一个应用程序,在擦除系统并安装 Snow Leopard 后,我正尝试使其再次运行。我从 Macports(现在是更高版本)安装了 Ruby 1.9,开发服务器启动得很好,但在第一个请求时就死掉了,只告诉我“非法指令”。我不知道是什么原因造成的,甚至不知道如何调试它。有人有什么想法吗?
I've got an app that I'm trying to get working again after wiping my system and installing Snow Leopard. I installed Ruby 1.9 from Macports (now a later version) and the dev server starts up just fine, but then dies on the first request, only telling me "Illegal instruction". I have no idea what's causing this or even how to go about debugging it. Does anyone have any ideas?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
“非法指令”通常是来自 CPU 的错误消息,意味着您尝试运行的某些二进制代码包含未在该特定 CPU 上实现的指令。
这可能有多种原因:
"Illegal instruction" is usually an error message from the CPU meaning some piece of binary code you tried to run contained an instruction that is not implemented on that particular CPU.
This can have multiple reasons:
知道了!确切地说,该错误是由堆栈溢出引起的。
Got it! Appropriately enough, the error was caused by a stack overflow.