Skip to content

bug: crash on ios9 when input focus #4402

Closed
@CandySunPlus

Description

@CandySunPlus

Type: bug

Platform: ios 9 webview

just crash in ios9

2015-09-22 00:39:08.256 missfresh[1696:920538] This application is modifying the autolayout engine from a background thread, which can lead to engine corruption and weird crashes.  This will cause an exception in a future release.
 Stack:(
    0   CoreFoundation                      0x0000000182fc0f74 <redacted> + 148
    1   libobjc.A.dylib                     0x0000000197bb3f80 objc_exception_throw + 56
    2   CoreFoundation                      0x0000000182fc0ea4 <redacted> + 0
    3   Foundation                          0x0000000183fda5d8 <redacted> + 88
    4   Foundation                          0x0000000183e5ca1c <redacted> + 36
    5   UIKit                               0x000000018861b958 <redacted> + 64
    6   UIKit                               0x000000018861c470 <redacted> + 244
    7   UIKit                               0x0000000188638f44 <redacted> + 108
    8   UIKit                               0x0000000188d42798 <redacted> + 268
    9   UIKit                               0x0000000188819fcc <redacted> + 176
    10  UIKit                               0x00000001888090b4 <redacted> + 52
    11  UIKit                               0x000000018851300c <redacted> + 644
    12  QuartzCore                          0x0000000187d19f14 <redacted> + 148
    13  QuartzCore                          0x0000000187d14b20 <redacted> + 292
    14  QuartzCore                          0x0000000187d149e0 <redacted> + 32
    15  QuartzCore                          0x0000000187d1407c <redacted> + 252
    16  QuartzCore                          0x0000000187d13dd0 <redacted> + 516
    17  QuartzCore                          0x0000000187d0d4bc <redacted> + 80
    18  CoreFoundation                      0x0000000182f77c30 <redacted> + 32
    19  CoreFoundation                      0x0000000182f759d4 <redacted> + 372
    20  CoreFoundation                      0x0000000182f75e04 <redacted> + 928
    21  CoreFoundation                      0x0000000182ea4dc0 CFRunLoopRunSpecific + 384
    22  WebCore                             0x0000000194b09aa0 <redacted> + 456
    23  libsystem_pthread.dylib             0x00000001985c3b3c <redacted> + 156
    24  libsystem_pthread.dylib             0x00000001985c3aa0 <redacted> + 0
    25  libsystem_pthread.dylib             0x00000001985c1030 thread_start + 4
)
2015-09-22 00:39:08.260 missfresh[1696:920538] This application is modifying the autolayout engine from a background thread, which can lead to engine corruption and weird crashes.  This will cause an exception in a future release.
 Stack:(
    0   CoreFoundation                      0x0000000182fc0f74 <redacted> + 148
    1   libobjc.A.dylib                     0x0000000197bb3f80 objc_exception_throw + 56
    2   CoreFoundation                      0x0000000182fc0ea4 <redacted> + 0
    3   Foundation                          0x0000000183fda5d8 <redacted> + 88
    4   Foundation                          0x0000000183e60f3c <redacted> + 56
    5   Foundation                          0x0000000183e5cafc <redacted> + 260
    6   UIKit                               0x000000018861b958 <redacted> + 64
    7   UIKit                               0x000000018861c470 <redacted> + 244
    8   UIKit                               0x0000000188638f44 <redacted> + 108
    9   UIKit                               0x0000000188d42798 <redacted> + 268
    10  UIKit                               0x0000000188819fcc <redacted> + 176
    11  UIKit                               0x00000001888090b4 <redacted> + 52
    12  UIKit                               0x000000018851300c <redacted> + 644
    13  QuartzCore                          0x0000000187d19f14 <redacted> + 148
    14  QuartzCore                          0x0000000187d14b20 <redacted> + 292
    15  QuartzCore                          0x0000000187d149e0 <redacted> + 32
    16  QuartzCore                          0x0000000187d1407c <redacted> + 252
    17  QuartzCore                          0x0000000187d13dd0 <redacted> + 516
    18  QuartzCore                          0x0000000187d0d4bc <redacted> + 80
    19  CoreFoundation                      0x0000000182f77c30 <redacted> + 32
    20  CoreFoundation                      0x0000000182f759d4 <redacted> + 372
    21  CoreFoundation                      0x0000000182f75e04 <redacted> + 928
    22  CoreFoundation                      0x0000000182ea4dc0 CFRunLoopRunSpecific + 384
    23  WebCore                             0x0000000194b09aa0 <redacted> + 456
    24  libsystem_pthread.dylib             0x00000001985c3b3c <redacted> + 156
    25  libsystem_pthread.dylib             0x00000001985c3aa0 <redacted> + 0
    26  libsystem_pthread.dylib             0x00000001985c1030 thread_start + 4
)
2015-09-22 00:39:08.262 missfresh[1696:920538] *** Assertion failure in -[UIApplication _cachedSystemAnimationFenceCreatingIfNecessary:], /BuildRoot/Library/Caches/com.apple.xbs/Sources/UIKit/UIKit-3505.16/UIApplication.m:1697
2015-09-22 00:39:08.305 missfresh[1696:920538] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'accessing _cachedSystemAnimationFence requires the main thread'
*** First throw call stack:
(0x182fc0f5c 0x197bb3f80 0x182fc0e2c 0x183eaff3c 0x1887b30e8 0x1887b31ac 0x1888053cc 0x188cb37a4 0x188cae158 0x188815fc8 0x1885736b4 0x18861ea40 0x18852e6b8 0x182eb7ab0 0x182eb79a8 0x18851d3e8 0x18861eb88 0x18881a210 0x18851300c 0x187d19f14 0x187d14b20 0x187d149e0 0x187d1407c 0x187d13dd0 0x187d0d4bc 0x182f77c30 0x182f759d4 0x182f75e04 0x182ea4dc0 0x194b09aa0 0x1985c3b3c 0x1985c3aa0 0x1985c1030)
libc++abi.dylib: terminating with uncaught exception of type NSException
libsystem_kernel.dylib`__pthread_kill:
    0x1984fb1d8 <+0>:  movz   x16, #0x148
    0x1984fb1dc <+4>:  svc    #0x80
->  0x1984fb1e0 <+8>:  b.lo   0x1984fb1f8               ; <+32>
    0x1984fb1e4 <+12>: stp    x29, x30, [sp, #-16]!
    0x1984fb1e8 <+16>: mov    x29, sp
    0x1984fb1ec <+20>: bl     0x1984e2330               ; cerror_nocancel
    0x1984fb1f0 <+24>: mov    sp, x29
    0x1984fb1f4 <+28>: ldp    x29, x30, [sp], #16
    0x1984fb1f8 <+32>: ret    
```</span>

<span is-issue-template></span>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions