问题描述
当一个Mac OS X应用程序突然退出时,Trace / BPT trap:5是什么意思?
What does "Trace/BPT trap: 5" mean, when a Mac OS X application suddenly exits?
搜索网络我发现很多应用程序退出像这样(ruby,postgres),但只找到应用程序特定的解决方案。但我想了解这是什么,以及它是如何造成的。
Searching the web I only found out that a lot of applications exit like this (ruby, postgres) but only find application specific solution. But I want to understand what that is and how it is caused.
我还发现它似乎是一个Mac OS X上的问题(没有找到任何提及这发生在linux或windows)。我相信它与线程有关,但我不确定这一点。
I also found that it seems to be an issue on Mac OS X only (did not find any mentions of this happening with linux or windows). I believe it has something to do with threading, but I'm not sure about that one.
推荐答案
无法找到/加载特定于OSX的 dylib
。
它找不到,是你已经发现是应用程序特定。
It has to do with not being able to find/load a dylib
, which is specific to OSX.Which one it can't find, is as you have found out is application specific.
这篇关于Mac OS X:什么是“跟踪/ BPT陷阱:5”的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!