ibireme / YYKit

A collection of iOS components.
MIT License
13.99k stars 3.69k forks source link

YYTextView CALayerInvalidGeometry sublayer with non-finite position [nan nan]---crash #536

Open GPF253904828 opened 5 years ago

GPF253904828 commented 5 years ago

错误信息如下

34206 CALayerInvalidGeometry

sublayer with non-finite position [nan nan] CoreFoundation ___exceptionPreprocess

242 2019-07-12 09:58:37.668 StarStar[10230]: [Bugly] Trapped uncaught exception 'CALayerInvalidGeometry', reason: 'sublayer with non-finite position [nan nan]'

243 ( 244 0 CoreFoundation 0x00000001821eedc8 + 148 245 1 libobjc.A.dylib 0x0000000181853f80 objc_exception_throw + 56 246 2 CoreFoundation 0x00000001821eecf8 + 0 247 3 QuartzCore 0x0000000184d27144 + 416 248 4 QuartzCore 0x0000000184d26114 + 788 249 5 QuartzCore 0x0000000184d27110 + 364 250 6 QuartzCore 0x0000000184d26114 + 788 251 7 QuartzCore 0x0000000184d27110 + 364 252 8 QuartzCore 0x0000000184d26114 + 788 253 9 QuartzCore 0x0000000184d27110 + 364 254 10 QuartzCore 0x0000000184d26114 + 788 255 11 QuartzCore 0x0000000184d27110 + 364 256 12 QuartzCore 0x0000000184d26114 + 788 257 13 QuartzCore 0x0000000184d27110 + 364 258 14 QuartzCore 0x0000000184d26114 + 788 259 15 QuartzCore 0x0000000184d27110 + 364 260 16 QuartzCore 0x0000000184d26114 + 788 261 17 QuartzCore 0x0000000184d27110 + 364 262 18 QuartzCore 0x0000000184d26114 + 788 263 19 QuartzCore 0x0000000184d27110 + 364 264 20 QuartzCore 0x0000000184d26114 + 788 265 21 QuartzCore 0x0000000184d27110 + 364 266 22 QuartzCore 0x0000000184d26114 + 788 267 23 QuartzCore 0x0000000184d27110 + 364 268 24 QuartzCore 0x0000000184d26114 + 788 269 25 QuartzCore 0x0000000184d27110 + 364 270 26 QuartzCore 0x0000000184d26114 + 788 271 27 QuartzCore 0x0000000184d27110 + 364 272 28 QuartzCore 0x0000000184d26114 + 788 273 29 QuartzCore 0x0000000184d27110 + 364 274 30 QuartzCore 0x0000000184d26114 + 788 275 31 YYText 0x00000001033881e0 -[YYTextEffectWindow _updateMagnifier:] + 1148 276 32 YYText 0x000000010338862c -[YYTextEffectWindow showMagnifier:] + 152 277 33 YYText 0x00000001033a95e8 -[YYTextView _showMagnifierCaret] + 304 278 34 Foundation 0x0000000182bc5038 __NSFireTimer + 88 279 35 CoreFoundation 0x00000001821a5794 + 28 280 36 CoreFoundation 0x00000001821a5438 + 884 281 37 CoreFoundation 0x00000001821a2b4c + 1520 282 38 CoreFoundation 0x00000001820ccc50 CFRunLoopRunSpecific + 384 283 39 GraphicsServices 0x00000001839b4088 GSEventRunModal + 180 284 40 UIKit 0x00000001873ba088 UIApplicationMain + 204 285 41 StarStar 0x00000001002ae51c StarStar + 2712860 286 42 libdyld.dylib 0x0000000181c6a8b8 + 4 287 )