Xcode(7A165t): com.apple.CoreSimulator.CoreSimulatorService crashing every couple of seconds

Originator:dieter.komendera
Number:rdar://22015323 Date Originated:27-Jul-2015 09:25 PM
Status:Open Resolved:
Product:Developer Tools Product Version:Xcode (7A165t)
Classification:Crash/Hang/Data Loss Reproducible:Always
 
Summary:
com.apple.CoreSimulator.CoreSimulatorService crashes every couple of seconds when Xcode is running.

Crashed Thread:        0  Dispatch queue: com.apple.main-thread

Exception Type:        EXC_BAD_ACCESS (SIGSEGV)
Exception Codes:       KERN_INVALID_ADDRESS at 0xffffffffffffffff
Exception Note:        EXC_CORPSE_NOTIFY

VM Regions Near 0xffffffffffffffff:
--> shared memory          00007ffffff31000-00007ffffff32000 [    4K] r-x/r-x SM=SHM  
    

Application Specific Information:
dyld: in dlopen()
/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 7.1.simruntime/Contents/Resources/RuntimeRoot/usr/lib/system/host/liblaunch_sim.dylib

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   dyld                          	0x00007fff606c745d memcmp + 29
1   dyld                          	0x00007fff606b44c3 ImageLoaderMachO::validateFirstPages(linkedit_data_command const*, int, unsigned char const*, unsigned long, long long, ImageLoader::LinkContext const&) + 109
2   dyld                          	0x00007fff606b96b5 ImageLoaderMachOCompressed::instantiateFromFile(char const*, int, unsigned char const*, unsigned long, unsigned long long, unsigned long long, stat const&, unsigned int, unsigned int, linkedit_data_command const*, encryption_info_command const*, ImageLoader::LinkContext const&) + 277
3   dyld                          	0x00007fff606b36af ImageLoaderMachO::instantiateFromFile(char const*, int, unsigned char const*, unsigned long long, unsigned long long, stat const&, ImageLoader::LinkContext const&) + 299
4   dyld                          	0x00007fff606a68b7 dyld::loadPhase6(int, stat const&, char const*, dyld::LoadContext const&) + 402


Steps to Reproduce:
Start Xcode

Expected Results:
No crash

Actual Results:
crash

Regression:

Notes:
I have Xcode 6.4 and Xcode 7 installed in parallel.

After I removed “/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 7.1.simruntime/Contents/Resources/RuntimeRoot/usr/lib/system/host/liblaunch_sim.dylib”, the crashing stopped

Comments

This also caused all simulators in the scheme menu to disappear. After removing the file, the simulators reappeared.

By dieter.komendera at July 27, 2015, 7:31 p.m. (reply...)

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!