GuardMalloc reveals issue in Kana input method in Simulator

Originator:jgary
Number:rdar://14149634 Date Originated:6/13/2013
Status:Open Resolved:
Product:iOS Product Version:6.1
Classification:Crash/hang/Data Loss Reproducible:Always
 
13-Jun-2013 04:23 PM Jonathan Gary:
Summary:
Using, Xcode Version 4.6.2 (4H1003), with enabled guard malloc, any app crashes revealing extended candidate scroll view.

Steps to Reproduce:
- Get Apple HelloWorld iPhone sample app
- Enable Guard Malloc in diagnostic options in the scheme editor
- Select the the Kana input keyboard
- Type the top left character
- Tap the expander on the right side just above the keyboard

Expected Results:
- Expander

Actual Results:
- Crash in debugger

bt
* thread #1: tid = 0x1c03, 0x0089ff25 UIKit`__68-[UIKeyboardCandidateScrollViewController initiateIncrementalLayout]_block_invoke_0403 + 436, stop reason = EXC_BAD_ACCESS (code=1, address=0x39599fe4)
    frame #0: 0x0089ff25 UIKit`__68-[UIKeyboardCandidateScrollViewController initiateIncrementalLayout]_block_invoke_0403 + 436
    frame #1: 0x0089e894 UIKit`-[UIKeyboardCandidateScrollViewController layoutRowsWithLimit:] + 3060
    frame #2: 0x0089ea53 UIKit`-[UIKeyboardCandidateScrollViewController stepIncrementalLayout] + 250
    frame #3: 0x000235b3 Foundation`__NSFireDelayedPerform + 380
    frame #4: 0x01490376 CoreFoundation`__CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ + 22
    frame #5: 0x0148fe06 CoreFoundation`__CFRunLoopDoTimer + 534
    frame #6: 0x01477a82 CoreFoundation`__CFRunLoopRun + 1810
    frame #7: 0x01476f44 CoreFoundation`CFRunLoopRunSpecific + 276
    frame #8: 0x01476e1b CoreFoundation`CFRunLoopRunInMode + 123
    frame #9: 0x01e0b7e3 GraphicsServices`GSEventRunModal + 88
    frame #10: 0x01e0b668 GraphicsServices`GSEventRun + 104
    frame #11: 0x00402ffc UIKit`UIApplicationMain + 1211
    frame #12: 0x0000245d HelloWorld`main(argc=1, argv=0xbffff2a8) + 125 at main.m:53

Regression:

Notes:

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!