Instruments: Reproducible crash when removing script from Automation instrument
| Originator: | dieter.komendera | ||
| Number: | rdar://20466107 | Date Originated: | 08-Apr-2015 05:09 PM |
| Status: | Open | Resolved: | |
| Product: | Developer Tools | Product Version: | Instruments 6.2 (56718) |
| Classification: | Crash/Hang/Data Loss | Reproducible: | Always |
Summary:
Instruments reproducibly crashes when removing a script from an Automation Instrument
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_PROTECTION_FAILURE at 0x00007fff53ac8ff8
VM Regions Near 0x7fff53ac8ff8:
MALLOC_TINY 00007fdc43400000-00007fdc43500000 [ 1024K] rw-/rwx SM=PRV
--> STACK GUARD 00007fff502c9000-00007fff53ac9000 [ 56.0M] ---/rwx SM=NUL stack guard for thread 0
Stack 00007fff53ac9000-00007fff542c9000 [ 8192K] rw-/rwx SM=COW thread 0
Application Specific Information:
Performing @selector(removeScript:) from sender NSButton 0x7fdc431244b0
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 com.apple.CoreFoundation 0x00007fff972fb6ed CFEqual + 381
1 com.apple.CoreFoundation 0x00007fff972e7218 CFBasicHashFindBucket + 3608
2 com.apple.CoreFoundation 0x00007fff972e63ad CFDictionaryGetValue + 125
3 com.apple.CoreFoundation 0x00007fff9731fb1f -[CFPrefsSearchListSource alreadylocked_copyValueForKey:] + 63
4 com.apple.CoreFoundation 0x00007fff9749841c ___CFPreferencesCopyAppValueWithContainer_block_invoke + 60
5 com.apple.CoreFoundation 0x00007fff97465f89 +[CFPrefsSearchListSource withSearchListForIdentifier:container:perform:] + 729
6 com.apple.CoreFoundation 0x00007fff97498397 _CFPreferencesCopyAppValueWithContainer + 183
7 com.apple.CoreFoundation 0x00007fff974984ad _CFPreferencesGetAppBooleanValueWithContainer + 29
8 com.apple.Foundation 0x00007fff9519033c -[NSUserDefaults(NSUserDefaults) boolForKey:] + 90
9 com.apple.dt.instruments.InstrumentsPlugIn 0x000000010bb7b33b -[XRRecordModeOptions recordMode] + 52
10 com.apple.dt.instruments.InstrumentsKit 0x000000010b9c9c52 -[PFTTraceDocument displayEnabled] + 92
11 com.apple.dt.instruments.InstrumentsPlugIn 0x000000010bb83e79 -[XRInstrument displayEnabled] + 80
12 com.apple.AutomationInstrument 0x0000000111cd1806 0x111cb7000 + 108550
13 com.apple.AutomationInstrument 0x0000000111cc3699 0x111cb7000 + 50841
14 com.apple.AppKit 0x00007fff8cd683cf -[NSTextView _getUndoManager:] + 111
15 com.apple.AppKit 0x00007fff8cd682c9 -[NSTextView undoManager] + 34
Steps to Reproduce:
* in an iOS project in Xcode go to Product -> Profile
* choose the Automation instrument
* ensure the Detail view is displayed
* Under “Scripts” click the Remove button
Expected Results:
Script removed
Actual Results:
Crash
Regression:
Probably
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!