Tencent TDS Service
Tencent TDS Service
Jun 8, 2017 · Mobile Development

Why iOS CoreMotion Crashes on QQ: Debugging Misaligned Address Errors

An in‑depth investigation of a CoreMotion‑related crash in the latest QQ mobile app reveals misaligned address access caused by unsafe multithreaded use of UIAccelerometer and CMMotionManager, and demonstrates how to reproduce, trace, and fix the issue by moving accelerometer operations back to the main thread.

CMMotionManagerCoreMotionUIAccelerometer
0 likes · 11 min read
Why iOS CoreMotion Crashes on QQ: Debugging Misaligned Address Errors