Toolsslug: nsattributedstring

NSAttributedString

Foundation rich-text class whose HTML import path carries an implicit main-thread requirement.

Curated Intelligence

1 items · Page 1/1
InfoQ 中文T2·Tools
58 pts
Hidden Apple Threading Constraint Triggers Elusive iOS App Crashes

A high-traffic iOS app suffered unreproducible SIGBUS crashes that persisted across nearly 10 builds. The root cause was a hidden main-thread requirement in NSAttributedString's HTML import path, which triggers low-level illegal memory access when called without main-thread guarantees. The author argues that when stack traces fail to locate a bug, systematic fault isolation experiments beat conventional debugging.