search the logs for the word "panic"
What you are seeing there is called a kernel panic. You can read a bit about it
here.
Triple click the line below then right click and in the Services menu select Reveal in Finder. Look through that folder for a crash log from the date/time of the crash, then post the contents of the log here for us to take a look.
Code:
/Library/Logs/DiagnosticReports
Do not restore or reinstall anything just yet, as that is unlikely to help.
Wed Aug 19 18:44:05 2015
*** Panic Report ***
panic(cpu 0 caller 0xffffff8002e16df2): Kernel trap at 0xffffff7f855bbc38, type 13=general protection, registers:
CR0: 0x0000000080010033, CR2: 0x0000000104447000, CR3: 0x000000025741703b, CR4: 0x00000000001626e0
RAX: 0x000000000000002b, RBX: 0xffffff8017f76000, RCX: 0x3dcbb7f80c2200c1, RDX: 0xffffff80e6059088
RSP: 0xffffff810d98b540, RBP: 0xffffff810d98b550, RSI: 0xffffff80e6059068, RDI: 0x0000000000000000
R8: 0x000000000098701c, R9: 0xffffff801844cb70, R10: 0x0000050590239fe0, R11: 0x000005058f8b2fc4
R12: 0xffffff8017ae6ec0, R13: 0xffffff8017ed1000, R14: 0xffffff7f855e7338, R15: 0x0000000000000000
RFL: 0x0000000000010286, RIP: 0xffffff7f855bbc38, CS: 0x0000000000000008, SS: 0x0000000000000010
Fault CR2: 0x0000000104447000, Error code: 0x0000000000000000, Fault CPU: 0x0
Backtrace (CPU 0), Frame : Return Address
0xffffff80e6064c70 : 0xffffff8002d2ad21
0xffffff80e6064cf0 : 0xffffff8002e16df2
0xffffff80e6064eb0 : 0xffffff8002e33ca3
0xffffff80e6064ed0 : 0xffffff7f855bbc38
0xffffff810d98b550 : 0xffffff7f84ef33d5
0xffffff810d98b590 : 0xffffff7f855947e9
0xffffff810d98b5b0 : 0xffffff7f855c7b53
0xffffff810d98b600 : 0xffffff7f855a6d58
0xffffff810d98b7d0 : 0xffffff7f84eed368
0xffffff810d98b840 : 0xffffff7f84eecfac
0xffffff810d98b860 : 0xffffff7f84eee9bb
0xffffff810d98b880 : 0xffffff7f84edb4a5
0xffffff810d98b8d0 : 0xffffff7f855a1bf8
0xffffff810d98b910 : 0xffffff7f8559c50a
0xffffff810d98b9c0 : 0xffffff7f84eda70d
0xffffff810d98b9f0 : 0xffffff7f84edaac9
0xffffff810d98ba20 : 0xffffff7f84ee82cc
0xffffff810d98ba70 : 0xffffff7f855a12f9
0xffffff810d98baa0 : 0xffffff7f84ed8db2
0xffffff810d98bb30 : 0xffffff8003300a12
0xffffff810d98bb60 : 0xffffff8003301609
0xffffff810d98bbc0 : 0xffffff80032fed83
0xffffff810d98bd00 : 0xffffff8002de1307
0xffffff810d98be10 : 0xffffff8002d2ef8c
0xffffff810d98be40 : 0xffffff8002d139f3
0xffffff810d98be90 : 0xffffff8002d2429d
0xffffff810d98bf10 : 0xffffff8002e0231a
0xffffff810d98bfb0 : 0xffffff8002e344c6
Kernel Extensions in backtrace:
com.apple.iokit.IOAcceleratorFamily2(156.16)[1259B80F-E4C5-3BC9-BED5-65B42289E8C0]@0xffffff7f84ed4000->0xffffff7f84f42fff
dependency: com.apple.iokit.IOPCIFamily(2.9)[BDA92C3B-AD86-33E5-A7F1-1603465350A7]@0xffffff7f83524000
dependency: com.apple.iokit.IOGraphicsFamily(2.4.1)[8922721D-5517-3883-BD3A-57422D0244A0]@0xffffff7f83ae7000
com.apple.driver.AppleIntelHD4000Graphics(10.0.6)[2FAAFF77-B91A-369B-8BDC-8D3768B16510]@0xffffff7f8558d000->0xffffff7f855e8fff
dependency: com.apple.iokit.IOSurface(97.4)[A4AE35B7-0C17-38F2-AD0D-A4C4B40196FB]@0xffffff7f842cd000
dependency: com.apple.iokit.IOPCIFamily(2.9)[BDA92C3B-AD86-33E5-A7F1-1603465350A7]@0xffffff7f83524000
dependency: com.apple.iokit.IOGraphicsFamily(2.4.1)[8922721D-5517-3883-BD3A-57422D0244A0]@0xffffff7f83ae7000
dependency: com.apple.iokit.IOAcceleratorFamily2(156.16)[1259B80F-E4C5-3BC9-BED5-65B42289E8C0]@0xffffff7f84ed4000
BSD process name corresponding to current thread: WindowServer
Mac OS version:
14F27
Kernel version:
Darwin Kernel Version 14.5.0: Wed Jul 29 02:26:53 PDT 2015; root:xnu-2782.40.9~1/RELEASE_X86_64
Kernel UUID: 58F06365-45C7-3CA7-B80D-173AFD1A03C4
Kernel slide: 0x0000000002a00000
Kernel text base: 0xffffff8002c00000
__HIB text base: 0xffffff8002b00000
System model name: MacBookPro10,1 (Mac-C3EC7CD22292981F)
System uptime in nanoseconds: 5521441496796
last loaded kext at 1550714319210: com.apple.driver.AppleUSBTCKeyEventDriver 240.2 (addr 0xffffff7f85b34000, size 12288)
last unloaded kext at 3571010742414: com.apple.driver.AppleUSBCDC 4.3.3b1 (addr 0xffffff7f85ad6000, size 16384)
loaded kexts:
com.apple.driver.AudioAUUC 1.70
com.apple.driver.AppleHWSensor 1.9.5d0
com.apple.filesystems.autofs 3.0
com.apple.driver.AGPM 110.19.6
com.apple.driver.ApplePlatformEnabler 2.2.0d4
com.apple.driver.X86PlatformShim 1.0.0
com.apple.iokit.IOBluetoothSerialManager 4.3.6f3
com.apple.driver.AppleMikeyHIDDriver 124
com.apple.driver.AppleOSXWatchdog 1
com.apple.driver.AppleMikeyDriver 272.18.1
com.apple.driver.AppleUpstreamUserClient 3.6.1
com.apple.driver.AppleHDA 272.18.1
com.apple.iokit.IOUserEthernet 1.0.1
com.apple.Dont_Steal_Mac_OS_X 7.0.0
com.apple.GeForce 10.0.4
com.apple.driver.AppleHWAccess 1
com.apple.driver.AppleSMCPDRC 1.0.0
com.apple.driver.AppleHV 1
com.apple.iokit.BroadcomBluetoothHostControllerUSBTransport 4.3.6f3
com.apple.driver.AppleThunderboltIP 2.0.2
com.apple.driver.AppleIntelSlowAdaptiveClocking 4.0.0
com.apple.driver.AppleLPC 1.7.3
com.apple.driver.AppleSMCLMU 2.0.7d0
com.apple.driver.AppleMuxControl 3.10.25
com.apple.driver.AppleMCCSControl 1.2.12
com.apple.driver.AppleIntelHD4000Graphics 10.0.6
com.apple.driver.AppleIntelFramebufferCapri 10.0.6
com.apple.driver.AppleUSBTCButtons 240.2
com.apple.driver.AppleUSBTCKeyboard 240.2
com.apple.AppleFSCompression.AppleFSCompressionTypeDataless 1.0.0d1
com.apple.AppleFSCompression.AppleFSCompressionTypeZlib 1.0.0
com.apple.BootCache 36
com.apple.driver.AppleUSBHub 705.4.2
com.apple.driver.XsanFilter 404
com.apple.iokit.IOAHCIBlockStorage 2.7.1
com.apple.driver.AirPort.Brcm4360 930.37.3
com.apple.driver.AppleSDXC 1.6.5
com.apple.driver.AppleAHCIPort 3.1.2
com.apple.driver.AppleUSBEHCI 705.4.14
com.apple.driver.AppleUSBXHCI 710.4.11
com.apple.driver.AppleSmartBatteryManager 161.0.0
com.apple.driver.AppleACPIButtons 3.1
com.apple.driver.AppleRTC 2.0
com.apple.driver.AppleHPET 1.8
com.apple.driver.AppleSMBIOS 2.1
com.apple.driver.AppleACPIEC 3.1
com.apple.driver.AppleAPIC 1.7
com.apple.driver.AppleIntelCPUPowerManagementClient 218.0.0
com.apple.nke.applicationfirewall 161
com.apple.security.quarantine 3
com.apple.security.TMSafetyNet 8
com.apple.driver.AppleIntelCPUPowerManagement 218.0.0
com.apple.kext.triggers 1.0
com.apple.iokit.IOSerialFamily 11
com.apple.driver.DspFuncLib 272.18.1
com.apple.kext.OSvKernDSPLib 1.15
com.apple.nvidia.driver.NVDAGK100Hal 10.0.4
com.apple.nvidia.driver.NVDAResman 10.0.4
com.apple.iokit.IOBluetoothHostControllerUSBTransport 4.3.6f3
com.apple.iokit.IOSlowAdaptiveClockingFamily 1.0.0
com.apple.iokit.IOUSBUserClient 705.4.0
com.apple.driver.AppleHDAController 272.18.1
com.apple.iokit.IOHDAFamily 272.18.1
com.apple.iokit.IOAudioFamily 203.3
com.apple.vecLib.kext 1.2.0
com.apple.driver.AppleSMBusPCI 1.0.12d1
com.apple.driver.AppleBacklightExpert 1.1.0
com.apple.driver.AppleGraphicsControl 3.10.25
com.apple.driver.X86PlatformPlugin 1.0.0
com.apple.driver.AppleSMC 3.1.9
com.apple.driver.IOPlatformPluginFamily 5.9.1d7
com.apple.driver.AppleSMBusController 1.0.13d1
com.apple.iokit.IOSurface 97.4
com.apple.iokit.IONDRVSupport 2.4.1
com.apple.iokit.IOAcceleratorFamily2 156.16
com.apple.AppleGraphicsDeviceControl 3.10.25
com.apple.iokit.IOGraphicsFamily 2.4.1
com.apple.iokit.IOSCSIArchitectureModelFamily 3.7.5
com.apple.driver.AppleUSBMultitouch 245.2
com.apple.iokit.IOBluetoothFamily 4.3.6f3
com.apple.iokit.IOUSBHIDDriver 705.4.0
com.apple.driver.AppleUSBMergeNub 705.4.0
com.apple.driver.AppleUSBComposite 705.4.9
com.apple.driver.CoreStorage 471.30.1
com.apple.driver.AppleThunderboltDPInAdapter 4.0.6
com.apple.driver.AppleThunderboltDPAdapterFamily 4.0.6
com.apple.driver.AppleThunderboltPCIDownAdapter 2.0.2
com.apple.driver.AppleThunderboltNHI 3.1.7
com.apple.iokit.IOThunderboltFamily 4.2.2
com.apple.iokit.IO80211Family 730.60
com.apple.driver.mDNSOffloadUserClient 1.0.1b8
com.apple.iokit.IONetworkingFamily 3.2
com.apple.iokit.IOAHCIFamily 2.7.5
com.apple.iokit.IOUSBFamily 720.4.4
com.apple.driver.AppleEFINVRAM 2.0
com.apple.iokit.IOHIDFamily 2.0.0
com.apple.driver.AppleEFIRuntime 2.0
com.apple.iokit.IOSMBusFamily 1.1
com.apple.security.sandbox 300.0
com.apple.kext.AppleMatch 1.0.0d1
com.apple.driver.AppleKeyStore 2
com.apple.driver.AppleMobileFileIntegrity 1.0.5
com.apple.driver.AppleCredentialManager 1.0
com.apple.driver.DiskImages 398
com.apple.iokit.IOStorageFamily 2.0
com.apple.iokit.IOReportFamily 31
com.apple.driver.AppleFDEKeyStore 28.30
com.apple.driver.AppleACPIPlatform 3.1
com.apple.iokit.IOPCIFamily 2.9
com.apple.iokit.IOACPIFamily 1.4
com.apple.kec.Libm 1
com.apple.kec.pthread 1
com.apple.kec.corecrypto 1.0
System Profile:
AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0xEF), Broadcom BCM43xx 1.0 (7.15.166.24.3)
Bluetooth: Version 4.3.6f3 16238, 3 services, 27 devices, 1 incoming serial ports
Thunderbolt Bus: MacBook Pro, Apple Inc., 23.4
Memory Module: BANK 0/DIMM0, 4 GB, DDR3, 1600 MHz, 0x80AD, 0x484D54333531533642465238432D50422020
Memory Module: BANK 1/DIMM0, 4 GB, DDR3, 1600 MHz, 0x80AD, 0x484D54333531533642465238432D50422020
USB Device: Hub
USB Device: FaceTime HD Camera (Built-in)
USB Device: Hub
USB Device: Hub
USB Device: Apple Internal Keyboard / Trackpad
USB Device: BRCM20702 Hub
USB Device: Bluetooth USB Host Controller
Serial ATA Device: APPLE SSD SM256E, 251 GB
Model: MacBookPro10,1, BootROM MBP101.00EE.B09, 4 processors, Intel Core i7, 2.3 GHz, 8 GB, SMC 2.3f36
Network Service: Wi-Fi, AirPort, en0
Graphics: Intel HD Graphics 4000, Intel HD Graphics 4000, Built-In
Graphics: NVIDIA GeForce GT 650M, NVIDIA GeForce GT 650M, PCIe, 1024 MB