Skip to content

Instantly share code, notes, and snippets.

@timrisi
Created September 23, 2017 06:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save timrisi/a3fe07381820890efeb74f6116836c6f to your computer and use it in GitHub Desktop.
Save timrisi/a3fe07381820890efeb74f6116836c6f to your computer and use it in GitHub Desktop.
This application is modifying the autolayout engine from a background thread after the engine was accessed from the main thread. This can lead to engine corruption and weird crashes.
Stack:(
0 Foundation 0x0000000186ac766c <redacted> + 96
1 Foundation 0x0000000186ac7350 <redacted> + 76
2 Foundation 0x00000001868f7da0 <redacted> + 132
3 Foundation 0x0000000186ac5458 <redacted> + 112
4 UIKit 0x000000018f3d04c4 <redacted> + 280
5 UIKit 0x000000018f3d0000 <redacted> + 1256
6 QuartzCore 0x0000000189fa10b4 <redacted> + 184
7 QuartzCore 0x0000000189fa5194 <redacted> + 332
8 QuartzCore 0x0000000189f13f24 <redacted> + 336
9 QuartzCore 0x0000000189f3a340 <redacted> + 540
10 SquadBuilder 0x0000000105d6ad98 SquadBuilder + 16166296
11 SquadBuilder 0x0000000105d291d8 SquadBuilder + 15897048
12 SquadBuilder 0x0000000105bf324c SquadBuilder + 14627404
13 SquadBuilder 0x000000010520f76c SquadBuilder + 4257644
14 SquadBuilder 0x000000010520d514 SquadBuilder + 4248852
15 SquadBuilder 0x000000010520d36c SquadBuilder + 4248428
16 SquadBuilder 0x000000010520d2ec SquadBuilder + 4248300
17 SquadBuilder 0x000000010520f8d4 SquadBuilder + 4258004
18 SquadBuilder 0x0000000105331504 SquadBuilder + 5444868
19 SquadBuilder 0x0000000106bc4f04 mono_pmip + 24104
20 SquadBuilder 0x0000000106c3e0f0 mono_pmip + 520212
21 SquadBuilder 0x0000000106c6b46c mono_pmip + 705424
22 libsystem_pthread.dylib 0x0000000185bf032c <redacted> + 308
23 libsystem_pthread.dylib 0x0000000185bf01f8 <redacted> + 0
24 libsystem_pthread.dylib 0x0000000185beec38 thread_start + 4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment