Crash in UIKitCore [UIViewController viewDidMoveToWindow:shouldAppearOrDisappear:] iOS 12 onlyiOS app crashing with the following error:Cannot form weak reference to instance of class UICompatibilityInputViewControlleriOS Post Twitter Media crashStrange NSInternalInconsistencyException and PKService crash in iOS Today ExtensionNSUserDefaults setObject crashing in ThreadXcode 7 crashes every time when it’s openingTwitter Log In - Thread 1 Sigabrt Error in App Delegate and App CrashesCrash when presenting viewcontrolleriOS crash issue by EXC_SOFTWARE / UNCAUGHT_NS_EXCEPTIONFirebase random crashUIFeedbackGenerator _autoDeactivate crashes iOS 11.2.2Application crash on ios12.0.1 when view remove from super

Is there a working SACD iso player for Ubuntu?

GraphicsGrid with a Label for each Column and Row

Problem with TransformedDistribution

Lowest total scrabble score

Is it safe to use olive oil to clean the ear wax?

Is it possible to have a strip of cold climate in the middle of a planet?

Strong empirical falsification of quantum mechanics based on vacuum energy density

Offered money to buy a house, seller is asking for more to cover gap between their listing and mortgage owed

How should I respond when I lied about my education and the company finds out through background check?

Why Shazam when there is already Superman?

copy and scale one figure (wheel)

Should I stop contributing to retirement accounts?

Did Swami Prabhupada reject Advaita?

Aragorn's "guise" in the Orthanc Stone

Has any country ever had 2 former presidents in jail simultaneously?

It grows, but water kills it

Non-trope happy ending?

What should you do if you miss a job interview (deliberately)?

Existing of non-intersecting rays

Where does the bonus feat in the cleric starting package come from?

How much character growth crosses the line into breaking the character

Is the U.S. Code copyrighted by the Government?

Is it better practice to read straight from sheet music rather than memorize it?

If infinitesimal transformations commute why dont the generators of the Lorentz group commute?



Crash in UIKitCore [UIViewController viewDidMoveToWindow:shouldAppearOrDisappear:] iOS 12 only


iOS app crashing with the following error:Cannot form weak reference to instance of class UICompatibilityInputViewControlleriOS Post Twitter Media crashStrange NSInternalInconsistencyException and PKService crash in iOS Today ExtensionNSUserDefaults setObject crashing in ThreadXcode 7 crashes every time when it’s openingTwitter Log In - Thread 1 Sigabrt Error in App Delegate and App CrashesCrash when presenting viewcontrolleriOS crash issue by EXC_SOFTWARE / UNCAUGHT_NS_EXCEPTIONFirebase random crashUIFeedbackGenerator _autoDeactivate crashes iOS 11.2.2Application crash on ios12.0.1 when view remove from super













12















I am getting decent number of crashes that are reported to Crashlytics. This only happens on iOS 12 and I do not know how to reproduce this. Perhaps the user is on WKWebView and trying to enter a password from the hint in 31 SafariServices 0x21d216740 __107+[_SFAutomaticPasswordInputViewController inputViewControllerWithAutoFillContext:passwordRules:completion:]_block_invoke.29 + 104



If anyone has similar crash or ideas, it is greatly appreciated.



UPDATE:
This issue is being tracked here: https://github.com/firebase/firebase-ios-sdk/issues/2283 Thanks to Igor



Crashed: com.apple.main-thread
0 libsystem_kernel.dylib 0x207743df8 __abort_with_payload + 8
1 libsystem_kernel.dylib 0x20773d838 abort_with_payload_wrapper_internal + 100
2 libsystem_kernel.dylib 0x20773d7d4 abort_with_payload_wrapper_internal + 34
3 libobjc.A.dylib 0x206d7d4b4 _objc_fatalv(unsigned long long, unsigned long long, char const*, char*) + 112
4 libobjc.A.dylib 0x206d7d40c __objc_error + 42
5 libobjc.A.dylib 0x206d94af0 weak_entry_insert(weak_table_t*, weak_entry_t*) + 314
6 libobjc.A.dylib 0x206d95a60 objc_initWeak + 360
7 UIKitCore 0x23457508c -[UIViewController viewDidMoveToWindow:shouldAppearOrDisappear:] + 1628
8 UIKitCore 0x234fcaff8 -[UIView(Internal) _didMoveFromWindow:toWindow:] + 1240
9 UIKitCore 0x234fbdfac __45-[UIView(Hierarchy) _postMovedFromSuperview:]_block_invoke + 156
10 Foundation 0x20854d51c -[NSISEngine withBehaviors:performModifications:] + 108
11 UIKitCore 0x234fbde90 -[UIView(Hierarchy) _postMovedFromSuperview:] + 784
12 UIKitCore 0x234fcdbb8 -[UIView(Internal) _addSubview:positioned:relativeTo:] + 1740
13 UIKitCore 0x234843290 -[_UIKBCompatInputView addSubview:] + 48
14 UIKitCore 0x234845634 -[UICompatibilityInputViewController setInputMode:] + 980
15 CoreFoundation 0x207b1cd14 __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 20
16 CoreFoundation 0x207b1cce0 ___CFXRegistrationPost_block_invoke + 64
17 CoreFoundation 0x207b1c1d0 _CFXRegistrationPost + 392
18 CoreFoundation 0x207b1be7c ___CFXNotificationPost_block_invoke + 96
19 CoreFoundation 0x207a941c0 -[_CFXNotificationRegistrar find:object:observer:enumerator:] + 1404
20 CoreFoundation 0x207b1b908 _CFXNotificationPost + 696
21 Foundation 0x20852aeb0 -[NSNotificationCenter postNotificationName:object:userInfo:] + 68
22 UIKitCore 0x234956920 -[UIKeyboardImpl _setKeyboardInputMode:userInitiated:updateIndicator:force:executionContext:] + 1108
23 UIKitCore 0x2349564b0 -[UIKeyboardImpl setKeyboardInputMode:userInitiated:updateIndicator:executionContext:] + 112
24 UIKitCore 0x2349a4460 -[UIKeyboardTaskEntry execute:] + 200
25 UIKitCore 0x2349a2b70 -[UIKeyboardTaskQueue continueExecutionOnMainThread] + 384
26 UIKitCore 0x2349a3280 -[UIKeyboardTaskQueue addAndReturnTask:] + 132
27 UIKitCore 0x2349a37d0 -[UIKeyboardTaskQueue performSingleTask:] + 136
28 UIKitCore 0x234956098 -[UIKeyboardImpl setInputMode:userInitiated:] + 116
29 UIKitCore 0x234844e9c -[UICompatibilityInputViewController resetInputModeInMainThread] + 196
30 UIKitCore 0x234846450 __51-[UICompatibilityInputViewController setInputMode:]_block_invoke.624 + 544
31 SafariServices 0x21d216740 __107+[_SFAutomaticPasswordInputViewController inputViewControllerWithAutoFillContext:passwordRules:completion:]_block_invoke.29 + 104
32 libdispatch.dylib 0x2075e76c8 _dispatch_call_block_and_release + 24
33 libdispatch.dylib 0x2075e8484 _dispatch_client_callout + 16
34 libdispatch.dylib 0x2075949ec _dispatch_main_queue_callback_4CF$VARIANT$mp + 1068
35 CoreFoundation 0x207b3e1bc __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 12
36 CoreFoundation 0x207b39084 __CFRunLoopRun + 1964
37 CoreFoundation 0x207b385b8 CFRunLoopRunSpecific + 436
38 GraphicsServices 0x209dac584 GSEventRunModal + 100
39 UIKitCore 0x234b30bc8 UIApplicationMain + 212
40 MyApp 0x102f15770 main (main.m:29)
41 libdyld.dylib 0x2075f8b94 start + 4


UPDATE:



Firebase team reported that it is fixed in 5.19.0 https://firebase.google.com/support/release-notes/ios#5.19.0



Performance Monitoring

Fixed a crash related to password auto-fill screen









share|improve this question



















  • 1





    We also have the same crash. iOS12 only. After some research, I found a way to reproduce it. Our app have multiple textfield on the same view, and a custom inputAccessory view, not sure if that's relevant. After filling the textview with some text, change focus from one textview to the other with a long press to trigger the loop. The log shows: > objc[4531]: Cannot form weak reference to instance (0x11bf6a4c0) of class UICompatibilityInputViewController. It is possible that this object was over-released, or is in the process of deallocation. Hope this helps!

    – Loadex
    Oct 29 '18 at 23:39











  • @Loadex Can you please describe steps more detailed, or probably record video. Struggling with reproducing crash

    – Igor Palaguta
    Nov 2 '18 at 12:13











  • This stack trace appears when user clicks on UITextField with textContentType == .newPassword. e.g. on Registration Scren

    – Igor Palaguta
    Nov 2 '18 at 12:37







  • 2





    @IgorPalaguta Here are the steps: 1. Input data in name and email fields 2. Tap password field, select "Use strong password" from iOS keyboard 3. Tap repeat password field. iOS autofills it too 4. Tap one of the other fields (name or email) to get focus on them 5. Long tap password or password repeat (whichever doesn't have focus) until magnifier comes up 6. Repeat from 4

    – Loadex
    Nov 2 '18 at 17:47







  • 1





    filed radar openradar.me/radar?id=5022923525980160

    – Igor Palaguta
    Nov 15 '18 at 14:40















12















I am getting decent number of crashes that are reported to Crashlytics. This only happens on iOS 12 and I do not know how to reproduce this. Perhaps the user is on WKWebView and trying to enter a password from the hint in 31 SafariServices 0x21d216740 __107+[_SFAutomaticPasswordInputViewController inputViewControllerWithAutoFillContext:passwordRules:completion:]_block_invoke.29 + 104



If anyone has similar crash or ideas, it is greatly appreciated.



UPDATE:
This issue is being tracked here: https://github.com/firebase/firebase-ios-sdk/issues/2283 Thanks to Igor



Crashed: com.apple.main-thread
0 libsystem_kernel.dylib 0x207743df8 __abort_with_payload + 8
1 libsystem_kernel.dylib 0x20773d838 abort_with_payload_wrapper_internal + 100
2 libsystem_kernel.dylib 0x20773d7d4 abort_with_payload_wrapper_internal + 34
3 libobjc.A.dylib 0x206d7d4b4 _objc_fatalv(unsigned long long, unsigned long long, char const*, char*) + 112
4 libobjc.A.dylib 0x206d7d40c __objc_error + 42
5 libobjc.A.dylib 0x206d94af0 weak_entry_insert(weak_table_t*, weak_entry_t*) + 314
6 libobjc.A.dylib 0x206d95a60 objc_initWeak + 360
7 UIKitCore 0x23457508c -[UIViewController viewDidMoveToWindow:shouldAppearOrDisappear:] + 1628
8 UIKitCore 0x234fcaff8 -[UIView(Internal) _didMoveFromWindow:toWindow:] + 1240
9 UIKitCore 0x234fbdfac __45-[UIView(Hierarchy) _postMovedFromSuperview:]_block_invoke + 156
10 Foundation 0x20854d51c -[NSISEngine withBehaviors:performModifications:] + 108
11 UIKitCore 0x234fbde90 -[UIView(Hierarchy) _postMovedFromSuperview:] + 784
12 UIKitCore 0x234fcdbb8 -[UIView(Internal) _addSubview:positioned:relativeTo:] + 1740
13 UIKitCore 0x234843290 -[_UIKBCompatInputView addSubview:] + 48
14 UIKitCore 0x234845634 -[UICompatibilityInputViewController setInputMode:] + 980
15 CoreFoundation 0x207b1cd14 __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 20
16 CoreFoundation 0x207b1cce0 ___CFXRegistrationPost_block_invoke + 64
17 CoreFoundation 0x207b1c1d0 _CFXRegistrationPost + 392
18 CoreFoundation 0x207b1be7c ___CFXNotificationPost_block_invoke + 96
19 CoreFoundation 0x207a941c0 -[_CFXNotificationRegistrar find:object:observer:enumerator:] + 1404
20 CoreFoundation 0x207b1b908 _CFXNotificationPost + 696
21 Foundation 0x20852aeb0 -[NSNotificationCenter postNotificationName:object:userInfo:] + 68
22 UIKitCore 0x234956920 -[UIKeyboardImpl _setKeyboardInputMode:userInitiated:updateIndicator:force:executionContext:] + 1108
23 UIKitCore 0x2349564b0 -[UIKeyboardImpl setKeyboardInputMode:userInitiated:updateIndicator:executionContext:] + 112
24 UIKitCore 0x2349a4460 -[UIKeyboardTaskEntry execute:] + 200
25 UIKitCore 0x2349a2b70 -[UIKeyboardTaskQueue continueExecutionOnMainThread] + 384
26 UIKitCore 0x2349a3280 -[UIKeyboardTaskQueue addAndReturnTask:] + 132
27 UIKitCore 0x2349a37d0 -[UIKeyboardTaskQueue performSingleTask:] + 136
28 UIKitCore 0x234956098 -[UIKeyboardImpl setInputMode:userInitiated:] + 116
29 UIKitCore 0x234844e9c -[UICompatibilityInputViewController resetInputModeInMainThread] + 196
30 UIKitCore 0x234846450 __51-[UICompatibilityInputViewController setInputMode:]_block_invoke.624 + 544
31 SafariServices 0x21d216740 __107+[_SFAutomaticPasswordInputViewController inputViewControllerWithAutoFillContext:passwordRules:completion:]_block_invoke.29 + 104
32 libdispatch.dylib 0x2075e76c8 _dispatch_call_block_and_release + 24
33 libdispatch.dylib 0x2075e8484 _dispatch_client_callout + 16
34 libdispatch.dylib 0x2075949ec _dispatch_main_queue_callback_4CF$VARIANT$mp + 1068
35 CoreFoundation 0x207b3e1bc __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 12
36 CoreFoundation 0x207b39084 __CFRunLoopRun + 1964
37 CoreFoundation 0x207b385b8 CFRunLoopRunSpecific + 436
38 GraphicsServices 0x209dac584 GSEventRunModal + 100
39 UIKitCore 0x234b30bc8 UIApplicationMain + 212
40 MyApp 0x102f15770 main (main.m:29)
41 libdyld.dylib 0x2075f8b94 start + 4


UPDATE:



Firebase team reported that it is fixed in 5.19.0 https://firebase.google.com/support/release-notes/ios#5.19.0



Performance Monitoring

Fixed a crash related to password auto-fill screen









share|improve this question



















  • 1





    We also have the same crash. iOS12 only. After some research, I found a way to reproduce it. Our app have multiple textfield on the same view, and a custom inputAccessory view, not sure if that's relevant. After filling the textview with some text, change focus from one textview to the other with a long press to trigger the loop. The log shows: > objc[4531]: Cannot form weak reference to instance (0x11bf6a4c0) of class UICompatibilityInputViewController. It is possible that this object was over-released, or is in the process of deallocation. Hope this helps!

    – Loadex
    Oct 29 '18 at 23:39











  • @Loadex Can you please describe steps more detailed, or probably record video. Struggling with reproducing crash

    – Igor Palaguta
    Nov 2 '18 at 12:13











  • This stack trace appears when user clicks on UITextField with textContentType == .newPassword. e.g. on Registration Scren

    – Igor Palaguta
    Nov 2 '18 at 12:37







  • 2





    @IgorPalaguta Here are the steps: 1. Input data in name and email fields 2. Tap password field, select "Use strong password" from iOS keyboard 3. Tap repeat password field. iOS autofills it too 4. Tap one of the other fields (name or email) to get focus on them 5. Long tap password or password repeat (whichever doesn't have focus) until magnifier comes up 6. Repeat from 4

    – Loadex
    Nov 2 '18 at 17:47







  • 1





    filed radar openradar.me/radar?id=5022923525980160

    – Igor Palaguta
    Nov 15 '18 at 14:40













12












12








12


7






I am getting decent number of crashes that are reported to Crashlytics. This only happens on iOS 12 and I do not know how to reproduce this. Perhaps the user is on WKWebView and trying to enter a password from the hint in 31 SafariServices 0x21d216740 __107+[_SFAutomaticPasswordInputViewController inputViewControllerWithAutoFillContext:passwordRules:completion:]_block_invoke.29 + 104



If anyone has similar crash or ideas, it is greatly appreciated.



UPDATE:
This issue is being tracked here: https://github.com/firebase/firebase-ios-sdk/issues/2283 Thanks to Igor



Crashed: com.apple.main-thread
0 libsystem_kernel.dylib 0x207743df8 __abort_with_payload + 8
1 libsystem_kernel.dylib 0x20773d838 abort_with_payload_wrapper_internal + 100
2 libsystem_kernel.dylib 0x20773d7d4 abort_with_payload_wrapper_internal + 34
3 libobjc.A.dylib 0x206d7d4b4 _objc_fatalv(unsigned long long, unsigned long long, char const*, char*) + 112
4 libobjc.A.dylib 0x206d7d40c __objc_error + 42
5 libobjc.A.dylib 0x206d94af0 weak_entry_insert(weak_table_t*, weak_entry_t*) + 314
6 libobjc.A.dylib 0x206d95a60 objc_initWeak + 360
7 UIKitCore 0x23457508c -[UIViewController viewDidMoveToWindow:shouldAppearOrDisappear:] + 1628
8 UIKitCore 0x234fcaff8 -[UIView(Internal) _didMoveFromWindow:toWindow:] + 1240
9 UIKitCore 0x234fbdfac __45-[UIView(Hierarchy) _postMovedFromSuperview:]_block_invoke + 156
10 Foundation 0x20854d51c -[NSISEngine withBehaviors:performModifications:] + 108
11 UIKitCore 0x234fbde90 -[UIView(Hierarchy) _postMovedFromSuperview:] + 784
12 UIKitCore 0x234fcdbb8 -[UIView(Internal) _addSubview:positioned:relativeTo:] + 1740
13 UIKitCore 0x234843290 -[_UIKBCompatInputView addSubview:] + 48
14 UIKitCore 0x234845634 -[UICompatibilityInputViewController setInputMode:] + 980
15 CoreFoundation 0x207b1cd14 __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 20
16 CoreFoundation 0x207b1cce0 ___CFXRegistrationPost_block_invoke + 64
17 CoreFoundation 0x207b1c1d0 _CFXRegistrationPost + 392
18 CoreFoundation 0x207b1be7c ___CFXNotificationPost_block_invoke + 96
19 CoreFoundation 0x207a941c0 -[_CFXNotificationRegistrar find:object:observer:enumerator:] + 1404
20 CoreFoundation 0x207b1b908 _CFXNotificationPost + 696
21 Foundation 0x20852aeb0 -[NSNotificationCenter postNotificationName:object:userInfo:] + 68
22 UIKitCore 0x234956920 -[UIKeyboardImpl _setKeyboardInputMode:userInitiated:updateIndicator:force:executionContext:] + 1108
23 UIKitCore 0x2349564b0 -[UIKeyboardImpl setKeyboardInputMode:userInitiated:updateIndicator:executionContext:] + 112
24 UIKitCore 0x2349a4460 -[UIKeyboardTaskEntry execute:] + 200
25 UIKitCore 0x2349a2b70 -[UIKeyboardTaskQueue continueExecutionOnMainThread] + 384
26 UIKitCore 0x2349a3280 -[UIKeyboardTaskQueue addAndReturnTask:] + 132
27 UIKitCore 0x2349a37d0 -[UIKeyboardTaskQueue performSingleTask:] + 136
28 UIKitCore 0x234956098 -[UIKeyboardImpl setInputMode:userInitiated:] + 116
29 UIKitCore 0x234844e9c -[UICompatibilityInputViewController resetInputModeInMainThread] + 196
30 UIKitCore 0x234846450 __51-[UICompatibilityInputViewController setInputMode:]_block_invoke.624 + 544
31 SafariServices 0x21d216740 __107+[_SFAutomaticPasswordInputViewController inputViewControllerWithAutoFillContext:passwordRules:completion:]_block_invoke.29 + 104
32 libdispatch.dylib 0x2075e76c8 _dispatch_call_block_and_release + 24
33 libdispatch.dylib 0x2075e8484 _dispatch_client_callout + 16
34 libdispatch.dylib 0x2075949ec _dispatch_main_queue_callback_4CF$VARIANT$mp + 1068
35 CoreFoundation 0x207b3e1bc __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 12
36 CoreFoundation 0x207b39084 __CFRunLoopRun + 1964
37 CoreFoundation 0x207b385b8 CFRunLoopRunSpecific + 436
38 GraphicsServices 0x209dac584 GSEventRunModal + 100
39 UIKitCore 0x234b30bc8 UIApplicationMain + 212
40 MyApp 0x102f15770 main (main.m:29)
41 libdyld.dylib 0x2075f8b94 start + 4


UPDATE:



Firebase team reported that it is fixed in 5.19.0 https://firebase.google.com/support/release-notes/ios#5.19.0



Performance Monitoring

Fixed a crash related to password auto-fill screen









share|improve this question
















I am getting decent number of crashes that are reported to Crashlytics. This only happens on iOS 12 and I do not know how to reproduce this. Perhaps the user is on WKWebView and trying to enter a password from the hint in 31 SafariServices 0x21d216740 __107+[_SFAutomaticPasswordInputViewController inputViewControllerWithAutoFillContext:passwordRules:completion:]_block_invoke.29 + 104



If anyone has similar crash or ideas, it is greatly appreciated.



UPDATE:
This issue is being tracked here: https://github.com/firebase/firebase-ios-sdk/issues/2283 Thanks to Igor



Crashed: com.apple.main-thread
0 libsystem_kernel.dylib 0x207743df8 __abort_with_payload + 8
1 libsystem_kernel.dylib 0x20773d838 abort_with_payload_wrapper_internal + 100
2 libsystem_kernel.dylib 0x20773d7d4 abort_with_payload_wrapper_internal + 34
3 libobjc.A.dylib 0x206d7d4b4 _objc_fatalv(unsigned long long, unsigned long long, char const*, char*) + 112
4 libobjc.A.dylib 0x206d7d40c __objc_error + 42
5 libobjc.A.dylib 0x206d94af0 weak_entry_insert(weak_table_t*, weak_entry_t*) + 314
6 libobjc.A.dylib 0x206d95a60 objc_initWeak + 360
7 UIKitCore 0x23457508c -[UIViewController viewDidMoveToWindow:shouldAppearOrDisappear:] + 1628
8 UIKitCore 0x234fcaff8 -[UIView(Internal) _didMoveFromWindow:toWindow:] + 1240
9 UIKitCore 0x234fbdfac __45-[UIView(Hierarchy) _postMovedFromSuperview:]_block_invoke + 156
10 Foundation 0x20854d51c -[NSISEngine withBehaviors:performModifications:] + 108
11 UIKitCore 0x234fbde90 -[UIView(Hierarchy) _postMovedFromSuperview:] + 784
12 UIKitCore 0x234fcdbb8 -[UIView(Internal) _addSubview:positioned:relativeTo:] + 1740
13 UIKitCore 0x234843290 -[_UIKBCompatInputView addSubview:] + 48
14 UIKitCore 0x234845634 -[UICompatibilityInputViewController setInputMode:] + 980
15 CoreFoundation 0x207b1cd14 __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 20
16 CoreFoundation 0x207b1cce0 ___CFXRegistrationPost_block_invoke + 64
17 CoreFoundation 0x207b1c1d0 _CFXRegistrationPost + 392
18 CoreFoundation 0x207b1be7c ___CFXNotificationPost_block_invoke + 96
19 CoreFoundation 0x207a941c0 -[_CFXNotificationRegistrar find:object:observer:enumerator:] + 1404
20 CoreFoundation 0x207b1b908 _CFXNotificationPost + 696
21 Foundation 0x20852aeb0 -[NSNotificationCenter postNotificationName:object:userInfo:] + 68
22 UIKitCore 0x234956920 -[UIKeyboardImpl _setKeyboardInputMode:userInitiated:updateIndicator:force:executionContext:] + 1108
23 UIKitCore 0x2349564b0 -[UIKeyboardImpl setKeyboardInputMode:userInitiated:updateIndicator:executionContext:] + 112
24 UIKitCore 0x2349a4460 -[UIKeyboardTaskEntry execute:] + 200
25 UIKitCore 0x2349a2b70 -[UIKeyboardTaskQueue continueExecutionOnMainThread] + 384
26 UIKitCore 0x2349a3280 -[UIKeyboardTaskQueue addAndReturnTask:] + 132
27 UIKitCore 0x2349a37d0 -[UIKeyboardTaskQueue performSingleTask:] + 136
28 UIKitCore 0x234956098 -[UIKeyboardImpl setInputMode:userInitiated:] + 116
29 UIKitCore 0x234844e9c -[UICompatibilityInputViewController resetInputModeInMainThread] + 196
30 UIKitCore 0x234846450 __51-[UICompatibilityInputViewController setInputMode:]_block_invoke.624 + 544
31 SafariServices 0x21d216740 __107+[_SFAutomaticPasswordInputViewController inputViewControllerWithAutoFillContext:passwordRules:completion:]_block_invoke.29 + 104
32 libdispatch.dylib 0x2075e76c8 _dispatch_call_block_and_release + 24
33 libdispatch.dylib 0x2075e8484 _dispatch_client_callout + 16
34 libdispatch.dylib 0x2075949ec _dispatch_main_queue_callback_4CF$VARIANT$mp + 1068
35 CoreFoundation 0x207b3e1bc __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 12
36 CoreFoundation 0x207b39084 __CFRunLoopRun + 1964
37 CoreFoundation 0x207b385b8 CFRunLoopRunSpecific + 436
38 GraphicsServices 0x209dac584 GSEventRunModal + 100
39 UIKitCore 0x234b30bc8 UIApplicationMain + 212
40 MyApp 0x102f15770 main (main.m:29)
41 libdyld.dylib 0x2075f8b94 start + 4


UPDATE:



Firebase team reported that it is fixed in 5.19.0 https://firebase.google.com/support/release-notes/ios#5.19.0



Performance Monitoring

Fixed a crash related to password auto-fill screen






ios ios12 safariservices






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited 2 days ago









Igor Palaguta

2,97811324




2,97811324










asked Oct 18 '18 at 16:59









GomfuciusGomfucius

1,7942035




1,7942035







  • 1





    We also have the same crash. iOS12 only. After some research, I found a way to reproduce it. Our app have multiple textfield on the same view, and a custom inputAccessory view, not sure if that's relevant. After filling the textview with some text, change focus from one textview to the other with a long press to trigger the loop. The log shows: > objc[4531]: Cannot form weak reference to instance (0x11bf6a4c0) of class UICompatibilityInputViewController. It is possible that this object was over-released, or is in the process of deallocation. Hope this helps!

    – Loadex
    Oct 29 '18 at 23:39











  • @Loadex Can you please describe steps more detailed, or probably record video. Struggling with reproducing crash

    – Igor Palaguta
    Nov 2 '18 at 12:13











  • This stack trace appears when user clicks on UITextField with textContentType == .newPassword. e.g. on Registration Scren

    – Igor Palaguta
    Nov 2 '18 at 12:37







  • 2





    @IgorPalaguta Here are the steps: 1. Input data in name and email fields 2. Tap password field, select "Use strong password" from iOS keyboard 3. Tap repeat password field. iOS autofills it too 4. Tap one of the other fields (name or email) to get focus on them 5. Long tap password or password repeat (whichever doesn't have focus) until magnifier comes up 6. Repeat from 4

    – Loadex
    Nov 2 '18 at 17:47







  • 1





    filed radar openradar.me/radar?id=5022923525980160

    – Igor Palaguta
    Nov 15 '18 at 14:40












  • 1





    We also have the same crash. iOS12 only. After some research, I found a way to reproduce it. Our app have multiple textfield on the same view, and a custom inputAccessory view, not sure if that's relevant. After filling the textview with some text, change focus from one textview to the other with a long press to trigger the loop. The log shows: > objc[4531]: Cannot form weak reference to instance (0x11bf6a4c0) of class UICompatibilityInputViewController. It is possible that this object was over-released, or is in the process of deallocation. Hope this helps!

    – Loadex
    Oct 29 '18 at 23:39











  • @Loadex Can you please describe steps more detailed, or probably record video. Struggling with reproducing crash

    – Igor Palaguta
    Nov 2 '18 at 12:13











  • This stack trace appears when user clicks on UITextField with textContentType == .newPassword. e.g. on Registration Scren

    – Igor Palaguta
    Nov 2 '18 at 12:37







  • 2





    @IgorPalaguta Here are the steps: 1. Input data in name and email fields 2. Tap password field, select "Use strong password" from iOS keyboard 3. Tap repeat password field. iOS autofills it too 4. Tap one of the other fields (name or email) to get focus on them 5. Long tap password or password repeat (whichever doesn't have focus) until magnifier comes up 6. Repeat from 4

    – Loadex
    Nov 2 '18 at 17:47







  • 1





    filed radar openradar.me/radar?id=5022923525980160

    – Igor Palaguta
    Nov 15 '18 at 14:40







1




1





We also have the same crash. iOS12 only. After some research, I found a way to reproduce it. Our app have multiple textfield on the same view, and a custom inputAccessory view, not sure if that's relevant. After filling the textview with some text, change focus from one textview to the other with a long press to trigger the loop. The log shows: > objc[4531]: Cannot form weak reference to instance (0x11bf6a4c0) of class UICompatibilityInputViewController. It is possible that this object was over-released, or is in the process of deallocation. Hope this helps!

– Loadex
Oct 29 '18 at 23:39





We also have the same crash. iOS12 only. After some research, I found a way to reproduce it. Our app have multiple textfield on the same view, and a custom inputAccessory view, not sure if that's relevant. After filling the textview with some text, change focus from one textview to the other with a long press to trigger the loop. The log shows: > objc[4531]: Cannot form weak reference to instance (0x11bf6a4c0) of class UICompatibilityInputViewController. It is possible that this object was over-released, or is in the process of deallocation. Hope this helps!

– Loadex
Oct 29 '18 at 23:39













@Loadex Can you please describe steps more detailed, or probably record video. Struggling with reproducing crash

– Igor Palaguta
Nov 2 '18 at 12:13





@Loadex Can you please describe steps more detailed, or probably record video. Struggling with reproducing crash

– Igor Palaguta
Nov 2 '18 at 12:13













This stack trace appears when user clicks on UITextField with textContentType == .newPassword. e.g. on Registration Scren

– Igor Palaguta
Nov 2 '18 at 12:37






This stack trace appears when user clicks on UITextField with textContentType == .newPassword. e.g. on Registration Scren

– Igor Palaguta
Nov 2 '18 at 12:37





2




2





@IgorPalaguta Here are the steps: 1. Input data in name and email fields 2. Tap password field, select "Use strong password" from iOS keyboard 3. Tap repeat password field. iOS autofills it too 4. Tap one of the other fields (name or email) to get focus on them 5. Long tap password or password repeat (whichever doesn't have focus) until magnifier comes up 6. Repeat from 4

– Loadex
Nov 2 '18 at 17:47






@IgorPalaguta Here are the steps: 1. Input data in name and email fields 2. Tap password field, select "Use strong password" from iOS keyboard 3. Tap repeat password field. iOS autofills it too 4. Tap one of the other fields (name or email) to get focus on them 5. Long tap password or password repeat (whichever doesn't have focus) until magnifier comes up 6. Repeat from 4

– Loadex
Nov 2 '18 at 17:47





1




1





filed radar openradar.me/radar?id=5022923525980160

– Igor Palaguta
Nov 15 '18 at 14:40





filed radar openradar.me/radar?id=5022923525980160

– Igor Palaguta
Nov 15 '18 at 14:40












1 Answer
1






active

oldest

votes


















5














I had a similar crash. It happened only if I had 3 UITextFields in this order: email, password, password. For password fields property isSecureTextEntry is set to true. For make it crash I changed the focus to one of the password fields, switched to the main screen and back to the app. Sometimes it happened on second or third switching between main screen and app.



So, in my case the reason was Firebase/Performance pod. I’ve removed it for a while — this fixed the bug.



UPDATE: Firebase team fixes this bug in 5.19.0. Just update your firebase pods.






share|improve this answer




















  • 1





    We use Firebase/Performance and we have this crash, @Gomfucius do you use it?

    – Igor Palaguta
    Jan 18 at 10:53











  • @Loadex do you use Firebase/Performance?

    – Igor Palaguta
    Jan 18 at 10:53







  • 3





    Created issue for Firebase github.com/firebase/firebase-ios-sdk/issues/2283

    – Igor Palaguta
    Jan 18 at 15:03











  • @IgorPalaguta Yes we do use it. Thank you for creating that issue.

    – Gomfucius
    Jan 18 at 23:34






  • 1





    After removing Firebase/Performance library crash really gone

    – Igor Palaguta
    Feb 5 at 15:25










Your Answer






StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");

StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













draft saved

draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f52879044%2fcrash-in-uikitcore-uiviewcontroller-viewdidmovetowindowshouldappearordisappear%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









5














I had a similar crash. It happened only if I had 3 UITextFields in this order: email, password, password. For password fields property isSecureTextEntry is set to true. For make it crash I changed the focus to one of the password fields, switched to the main screen and back to the app. Sometimes it happened on second or third switching between main screen and app.



So, in my case the reason was Firebase/Performance pod. I’ve removed it for a while — this fixed the bug.



UPDATE: Firebase team fixes this bug in 5.19.0. Just update your firebase pods.






share|improve this answer




















  • 1





    We use Firebase/Performance and we have this crash, @Gomfucius do you use it?

    – Igor Palaguta
    Jan 18 at 10:53











  • @Loadex do you use Firebase/Performance?

    – Igor Palaguta
    Jan 18 at 10:53







  • 3





    Created issue for Firebase github.com/firebase/firebase-ios-sdk/issues/2283

    – Igor Palaguta
    Jan 18 at 15:03











  • @IgorPalaguta Yes we do use it. Thank you for creating that issue.

    – Gomfucius
    Jan 18 at 23:34






  • 1





    After removing Firebase/Performance library crash really gone

    – Igor Palaguta
    Feb 5 at 15:25















5














I had a similar crash. It happened only if I had 3 UITextFields in this order: email, password, password. For password fields property isSecureTextEntry is set to true. For make it crash I changed the focus to one of the password fields, switched to the main screen and back to the app. Sometimes it happened on second or third switching between main screen and app.



So, in my case the reason was Firebase/Performance pod. I’ve removed it for a while — this fixed the bug.



UPDATE: Firebase team fixes this bug in 5.19.0. Just update your firebase pods.






share|improve this answer




















  • 1





    We use Firebase/Performance and we have this crash, @Gomfucius do you use it?

    – Igor Palaguta
    Jan 18 at 10:53











  • @Loadex do you use Firebase/Performance?

    – Igor Palaguta
    Jan 18 at 10:53







  • 3





    Created issue for Firebase github.com/firebase/firebase-ios-sdk/issues/2283

    – Igor Palaguta
    Jan 18 at 15:03











  • @IgorPalaguta Yes we do use it. Thank you for creating that issue.

    – Gomfucius
    Jan 18 at 23:34






  • 1





    After removing Firebase/Performance library crash really gone

    – Igor Palaguta
    Feb 5 at 15:25













5












5








5







I had a similar crash. It happened only if I had 3 UITextFields in this order: email, password, password. For password fields property isSecureTextEntry is set to true. For make it crash I changed the focus to one of the password fields, switched to the main screen and back to the app. Sometimes it happened on second or third switching between main screen and app.



So, in my case the reason was Firebase/Performance pod. I’ve removed it for a while — this fixed the bug.



UPDATE: Firebase team fixes this bug in 5.19.0. Just update your firebase pods.






share|improve this answer















I had a similar crash. It happened only if I had 3 UITextFields in this order: email, password, password. For password fields property isSecureTextEntry is set to true. For make it crash I changed the focus to one of the password fields, switched to the main screen and back to the app. Sometimes it happened on second or third switching between main screen and app.



So, in my case the reason was Firebase/Performance pod. I’ve removed it for a while — this fixed the bug.



UPDATE: Firebase team fixes this bug in 5.19.0. Just update your firebase pods.







share|improve this answer














share|improve this answer



share|improve this answer








edited Mar 20 at 12:00

























answered Jan 16 at 23:58









Denis VertDenis Vert

17539




17539







  • 1





    We use Firebase/Performance and we have this crash, @Gomfucius do you use it?

    – Igor Palaguta
    Jan 18 at 10:53











  • @Loadex do you use Firebase/Performance?

    – Igor Palaguta
    Jan 18 at 10:53







  • 3





    Created issue for Firebase github.com/firebase/firebase-ios-sdk/issues/2283

    – Igor Palaguta
    Jan 18 at 15:03











  • @IgorPalaguta Yes we do use it. Thank you for creating that issue.

    – Gomfucius
    Jan 18 at 23:34






  • 1





    After removing Firebase/Performance library crash really gone

    – Igor Palaguta
    Feb 5 at 15:25












  • 1





    We use Firebase/Performance and we have this crash, @Gomfucius do you use it?

    – Igor Palaguta
    Jan 18 at 10:53











  • @Loadex do you use Firebase/Performance?

    – Igor Palaguta
    Jan 18 at 10:53







  • 3





    Created issue for Firebase github.com/firebase/firebase-ios-sdk/issues/2283

    – Igor Palaguta
    Jan 18 at 15:03











  • @IgorPalaguta Yes we do use it. Thank you for creating that issue.

    – Gomfucius
    Jan 18 at 23:34






  • 1





    After removing Firebase/Performance library crash really gone

    – Igor Palaguta
    Feb 5 at 15:25







1




1





We use Firebase/Performance and we have this crash, @Gomfucius do you use it?

– Igor Palaguta
Jan 18 at 10:53





We use Firebase/Performance and we have this crash, @Gomfucius do you use it?

– Igor Palaguta
Jan 18 at 10:53













@Loadex do you use Firebase/Performance?

– Igor Palaguta
Jan 18 at 10:53






@Loadex do you use Firebase/Performance?

– Igor Palaguta
Jan 18 at 10:53





3




3





Created issue for Firebase github.com/firebase/firebase-ios-sdk/issues/2283

– Igor Palaguta
Jan 18 at 15:03





Created issue for Firebase github.com/firebase/firebase-ios-sdk/issues/2283

– Igor Palaguta
Jan 18 at 15:03













@IgorPalaguta Yes we do use it. Thank you for creating that issue.

– Gomfucius
Jan 18 at 23:34





@IgorPalaguta Yes we do use it. Thank you for creating that issue.

– Gomfucius
Jan 18 at 23:34




1




1





After removing Firebase/Performance library crash really gone

– Igor Palaguta
Feb 5 at 15:25





After removing Firebase/Performance library crash really gone

– Igor Palaguta
Feb 5 at 15:25



















draft saved

draft discarded
















































Thanks for contributing an answer to Stack Overflow!


  • Please be sure to answer the question. Provide details and share your research!

But avoid


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f52879044%2fcrash-in-uikitcore-uiviewcontroller-viewdidmovetowindowshouldappearordisappear%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Kamusi Yaliyomo Aina za kamusi | Muundo wa kamusi | Faida za kamusi | Dhima ya picha katika kamusi | Marejeo | Tazama pia | Viungo vya nje | UrambazajiKuhusu kamusiGo-SwahiliWiki-KamusiKamusi ya Kiswahili na Kiingerezakuihariri na kuongeza habari

SQL error code 1064 with creating Laravel foreign keysForeign key constraints: When to use ON UPDATE and ON DELETEDropping column with foreign key Laravel error: General error: 1025 Error on renameLaravel SQL Can't create tableLaravel Migration foreign key errorLaravel php artisan migrate:refresh giving a syntax errorSQLSTATE[42S01]: Base table or view already exists or Base table or view already exists: 1050 Tableerror in migrating laravel file to xampp serverSyntax error or access violation: 1064:syntax to use near 'unsigned not null, modelName varchar(191) not null, title varchar(191) not nLaravel cannot create new table field in mysqlLaravel 5.7:Last migration creates table but is not registered in the migration table

은진 송씨 목차 역사 본관 분파 인물 조선 왕실과의 인척 관계 집성촌 항렬자 인구 같이 보기 각주 둘러보기 메뉴은진 송씨세종실록 149권, 지리지 충청도 공주목 은진현