Xcode9b3: Occasional crash when using emacs navigation plus manual indenting

Originator:markd
Number:rdar://33393295 Date Originated:7/18/2017
Status:Open Resolved:
Product:Developer Tools Product Version:Version 9.0 beta 3 (9M174d)
Classification:Crash Reproducible:Sometimes
 
Summary:
Hi!  This is a hard one to explain, and I've only been able to catch it "on camera" once, but it happens to me fairly often.

TL;DR - some combination of ^P and ^I is killing Xcode

I use emacs navigation keybindings a lot. I also use ^I a lot to indent lines - the default indentation Xcode chooses for me is usually not correct, so I fix it as I navigate over it.

Attached are about 6 crashlogs caused by this.

Here's a video that I captured during an Xcode9 demo to my local (Pittsburgh) cocaheads.  (I was screen recording, but forgot to have it record the microphone :-(  )  Overall my coocaheads are really impressed with Xcode9) : https://www.dropbox.com/s/redacted/control-killer.mp4?dl=0

The video is slowed down to 1/3rd speed, and it shows the keystrokes being done in all their glory.

(If you end up asking for a sysdiagnose, lemme know specifically what you want plzkthx - they're _gigantic_ and hose my DSL connection for an hour to upload.)

Steps to Reproduce:
come combination of ^P and ^I.  Check out the video for one caught en medias res.  I haven't been able to reliably reproduce it, but it happens to me occasionally, especially when I'm adding something brand new, like a new protocol or extension.

Expected Results:
see summary

Observed Results:
see summary

Version:
10.12.5 (16F73)
Version 9.0 beta 3 (9M174d)

Notes:


Configuration:

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!