UINavigationController abnormal UI behavior on multi-touch navigation

Originator:MyMichellle
Number:rdar://15708366 Date Originated:12/20/2013
Status:Open Resolved:
Product:iPhone SDK Product Version:ios7
Classification: Reproducible:Always
 
Summary:
If two navigation events are started at the same time by pressing two buttons at the same time the NavigationController will navigate to one of the two pages but the navigation bar will show overlapped data. This is reproducible in Apple's Messages app.

This behavior can also cause non-native apps to get into abnormal, unexpected states that can lead to crashes such as:

 NSInvalidArgumentException	 Can't add self as subview
0	
CoreFoundation 0x2de23f4b __exceptionPreprocess + 131
1	
libobjc.A.dylib 0x384f56af objc_exception_throw + 39
2	
CoreFoundation 0x2de23e8d -[NSException initWithCoder:] + 1
3	
UIKit 0x305a248f -[UIView(Internal) _addSubview:positioned:relativeTo:] + 111
4	
UIKit 0x305a2417 -[UIView(Hierarchy) addSubview:] + 31
5	
UIKit 0x3076ab71 __53-[_UINavigationParallaxTransition animateTransition:]_block_invoke + 1213
6	
UIKit 0x305a86e5 +[UIView(Animation) performWithoutAnimation:] + 73
7	
UIKit 0x3076a479 -[_UINavigationParallaxTransition animateTransition:] + 729
8	
UIKit 0x30727ba7 -[UINavigationController _startCustomTransition:] + 2615
9	
UIKit 0x30645273 -[UINavigationController _startDeferredTransitionIfNeeded:] + 419
10	
UIKit 0x3064507d -[UINavigationController __viewWillLayoutSubviews] + 45
11	
UIKit 0x30645015 -[UILayoutContainerView layoutSubviews] + 185
12	
UIKit 0x30596da3 -[UIView(CALayerDelegate) layoutSublayersOfLayer:] + 347
13	
QuartzCore 0x3021dc6b -[CALayer layoutSublayers] + 143
14	
QuartzCore 0x3021947b _ZN2CA5Layer16layout_if_neededEPNS_11TransactionE + 351
15	
QuartzCore 0x3021930d _ZN2CA5Layer28layout_and_display_if_neededEPNS_11TransactionE + 17
16	
QuartzCore 0x30218d1f _ZN2CA7Context18commit_transactionEPNS_11TransactionE + 231
17	
QuartzCore 0x30218b2f _ZN2CA11Transaction6commitEv + 315
18	
QuartzCore 0x3021285d _ZN2CA11Transaction17observer_callbackEP19__CFRunLoopObservermPv + 57
19	
CoreFoundation 0x2ddef1cd __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 21
20	
CoreFoundation 0x2ddecb71 __CFRunLoopDoObservers + 285
21	
CoreFoundation 0x2ddeceb3 __CFRunLoopRun + 731
22	
CoreFoundation 0x2dd57c27 CFRunLoopRunSpecific + 523
23	
CoreFoundation 0x2dd57a0b CFRunLoopRunInMode + 107
24	
GraphicsServices 0x32a2b283 GSEventRunModal + 139
25	
UIKit 0x305fb049 UIApplicationMain + 1137
26	
Y! Finance 0x000cf11b main
27	
libdyld.dylib 0x389fdab7 start + 3

Steps to Reproduce:
1) Launch Messages App.
2) Enter a conversation.
3) Press Contact.
4) Select Info and Messages button at the same time

Expected Results:
The app will navigate to either messages OR info and the navigation bar will display the correct title.

Actual Results:
The app navigates to either messages OR info but the navigation bar displays overlapped titles of both "Messages" and "Info". See attached photo.

Version:
Tested specifically on iOS7 7.0.4(11B554a)

Notes:


Configuration:


Attachments:
'IMG_0653.PNG' was successfully uploaded.

Notes app crash with this issue.

1) Open notes.
2) Go to a Notes page.
3) Press down on edit button and press down on "<Notes" button release at the same time
---- App transitions back to overview page but nav bar has a "< Back" button and "Done" button.
4) Select "<Back"
---- App transitions to a black page with a "<Notes" button in the nav bar
5) Select the "<Notes" butotn
---- App transitions to another black page with a "New" button in the nav bar
6) Select "New"
---- App crashes stack trace attached.
'notes_stacktrace.rtf' was successfully uploaded.

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!