我正在研究iBeacon技术,SIGTRAP发生在“[CoreLocationHandler locationManager:didRangeBeacons:inRegion:]”委托方法。 在此委托方法中,我正在通过 DISPATCH_QUEUE_SERIAL运行任务,并使用@autoreleasepool block 在本地保存数据。 此队列由singleton类的静态方法返回,因此我不会在任何地方释放此队列,因为各种类正在使用它。但我仍然接收SIGTRAP崩溃。以下是有关崩溃报告的重要信息。
<svg width="400" height="200" xmlns="http://www.w3.org/2000/svg">
<defs>
<marker id="Triangle" viewBox="0 0 10 10" refX="0" refY="5" orient="auto">
<path d="M 0 0 L 10 5 L 0 10 z" style="fill: black; stroke: none;"/>
</marker>
</defs>
<rect x="1" y="1" width="398" height="198" style="fill: none; stroke: blue; stroke-width: 1;" />
<path d="M 100 75 L 200 75 L 250 125" style="fill: none; stroke: black; stroke-width: 10; marker-end: url(#Triangle);" />
</svg>