什么是“跟踪/BPT陷阱:5"? [英] What is "Trace/BPT trap: 5"?
问题描述
当Mac OS X应用程序突然退出时, Trace/BPT陷阱:5 是什么意思?
What does Trace/BPT trap: 5 mean, when a Mac OS X application suddenly exits?
在网上搜索时,我仅发现有许多这样的应用程序退出(红宝石,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.
这篇关于什么是“跟踪/BPT陷阱:5"?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!