On 2009 macbookpro, Xcode 8 beta - Swift 3.0 - El Capitan 10.11.5...(yes I know it's old....)
Before I paste globs of crash report data, is anyone here experiencing consistent IDE crashes with swift 3.0 projects/files?
scenario :
- open a swift 3 project (used stock Apple swift 3.0 sample code)
- if you're lucky syntax highlighting kicks in pretty quickly. In my case not.
- do not click in the editor but make sure it builds fine
- activate the rightmost "Utilities" pane
- activate the "Quick Help" Inspector
- click on or select random pieces of code to force Quick Help refresh (if it can). Double clicking or simply positioning the cursor in the middle of code terms is fine.
- Xcode crashes after, in my case, less than a dozen or so clicks
- To verify my theory that it has something to do with the IDE and specifically "Quick Help" and/or auto-complete and/or documentation sets:
- I repeated the preceding operation with the "File" inspector active instead -> no crashes.
- Couldn't duplicate with a C++, or Objective C/C++ project files loaded
- Couldn't duplicate any of this with Xcode 7.3.1
- I am running on El Capitan + an old (and slow) 2009 MacbookPro . Its specs are below. Was this really meant for Sierra?
- The system log consistently (I've tried this literally a dozen times) reports the following after a crash:
Jun 16 03:34:58 Taurine com.apple.xpc.launchd[1] (com.apple.dt.Xcode.602272[9719]): Service exited due to signal: Segmentation fault: 11
Jun 16 03:34:58 Taurine GPUToolsAgent[9721]: schedule invalidation <DYTransport 0x7fa13b411910, error: lost transport connection (31)>
Jun 16 03:34:58 Taurine com.apple.xpc.launchd[1] (com.apple.ReportCrash[10013]): Endpoint has been activated through legacy launch(3) APIs. Please switch to XPC or bootstrap_check_in(): com.apple.ReportCrash
Jun 16 03:34:59 Taurine com.apple.xpc.launchd[1] (com.apple.SourceKitService.800.0.30[9888]): Service exited due to signal: Killed: 9
Jun 16 03:34:59 Taurine ReportCrash[10013]: Saved crash report for Xcode[9719] version 8.0 (11160.22) to /Users/Me/Library/Logs/DiagnosticReports/Xcode_2016-06-16-033459_Taurine.crash
Jun 16 03:34:59 Taurine ReportCrash[10013]: AutoSubmitPreference is 0
Jun 16 03:35:06 Taurine com.apple.xpc.launchd[1] (com.apple.bsd.dirhelper[10046]): Endpoint has been activated through legacy launch(3) APIs. Please switch to XPC or bootstrap_check_in(): com.apple.bsd.dirhelper
The crash reports all contain the same kind of thread crash:
Thread 16 Crashed:: Dispatch queue: com.apple.NSURLSession-work
0 com.apple.CFNetwork 0x00007fff95497026 SessionConnectionLoadable::_loaderClientEvent_asyncError(__CFString const*, long) + 62
1 libdispatch.dylib 0x00007fff8f54493d _dispatch_call_block_and_release + 12
2 libdispatch.dylib 0x00007fff8f53940b _dispatch_client_callout + 8
3 libdispatch.dylib 0x00007fff8f53e03b _dispatch_queue_drain + 754
4 libdispatch.dylib 0x00007fff8f544707 _dispatch_queue_invoke + 549
5 libdispatch.dylib 0x00007fff8f53940b _dispatch_client_callout + 8
6 libdispatch.dylib 0x00007fff8f53d29b _dispatch_root_queue_drain + 1890
7 libdispatch.dylib 0x00007fff8f53cb00 _dispatch_worker_thread3 + 91
8 libsystem_pthread.dylib 0x00007fff9ea044de _pthread_wqthread + 1129
9 libsystem_pthread.dylib 0x00007fff9ea02341 start_wqthread + 13
My Setup:
Model: MacBookPro5,3, BootROM MBP53.00AC.B03, 2 processors, Intel Core 2 Duo, 2.8 GHz, 8 GB, SMC 1.48f2
Graphics: NVIDIA GeForce 9400M, NVIDIA GeForce 9400M, PCI, 256 MB
Graphics: NVIDIA GeForce 9600M GT, NVIDIA GeForce 9600M GT, PCIe, 512 MB
Memory Module: BANK 0/DIMM0, 4 GB, DDR3, 1333 MHz, 0x859B, 0x435435313200000000000000000000000000
Memory Module: BANK 1/DIMM0, 4 GB, DDR3, 1333 MHz, 0x859B, 0x435435313200000000000000000000000000
AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0x8D), Broadcom BCM43xx 1.0 (5.106.98.100.24)
Bluetooth: Version 4.4.5f3 17904, 3 services, 27 devices, 1 incoming serial ports
Network Service: Ethernet, Ethernet, en0
Serial ATA Device: Samsung SSD 850 EVO 250GB, 250.06 GB
Serial ATA Device: MATSHITADVD-R UJ-868
USB Device: USB 2.0 Bus
USB Device: Built-in iSight
USB Device: iPad
USB Device: USB 2.0 Bus
USB Device: Card Reader
USB Device: USB Bus
USB Device: BRCM2046 Hub
USB Device: Bluetooth USB Host Controller
USB Device: USB Bus
USB Device: Apple Internal Keyboard / Trackpad
USB Device: IR Receiver
Thunderbolt Bus:
It shouldn't be this hard....
I know it's a beta, but it crashed within minutes ...
Thanks in advance.