How to detect where NaN is passing to CoreGraphics API on Mac OS X 10.9

前端 未结 5 578
一个人的身影
一个人的身影 2021-01-31 08:04

I have very large graphic Mac app and now I receive a lot of the following messages in Console on 10.9 GM.

: Error: this application, or a library i         


        
5条回答
  •  走了就别回头了
    2021-01-31 08:51

    I found the problem. It's dividing by zero at some point that leads to NSAffineTransform with NaN elements in the matrix. For some reasons compiler and OS passed this situation before 10.9.

提交回复
热议问题