Kernel panic - mavericks, logic pro, totalspaces2

I recently started using Logic Pro X on my Mavericks system. I have been using totalspaces for years, love it. I’m getting random kernel panics in Logic and what seems to trigger it the most is when I use total spaces to go to the grid view and then switch desktops. It doesn’t happen all the time, but I’ve been able to replicate the panic several times that way.

Anyone have any idea what might be going on?

Latest Mavericks
Latest Logic Pro X
Latest stable totalspaces2

I also completely reinstalled a totally fresh Mavericks and don’t have anything else installed, only Apple stuff, Logic Pro and Totalspaces.

The kernel panic i get looks like this usually:

Anonymous UUID: C381AEE9-3917-B905-34E4-5E3A756B1365

Tue Oct 13 10:53:19 2015
panic(cpu 2 caller 0xffffff7f89bedf7c): “GPU Panic: [] 5 3 7f 0 0 0 0 3 : NVRM[0/1:0:0]: Read Error 0x00000100: CFG 0xffffffff 0xffffffff 0xffffffff, BAR0 0xd2000000 0xffffff81239f8000 0x0a5480a2, D0, P2/4\n”@/SourceCache/AppleGraphicsControl/AppleGraphicsControl-3.6.22/src/AppleMuxControl/kext/GPUPanic.cpp:127
Backtrace (CPU 2), Frame : Return Address
0xffffff8109fbaea0 : 0xffffff8007823139
0xffffff8109fbaf20 : 0xffffff7f89bedf7c
0xffffff8109fbaff0 : 0xffffff7f882c6f1b
0xffffff8109fbb0b0 : 0xffffff7f8839050a
0xffffff8109fbb0f0 : 0xffffff7f8839057a
0xffffff8109fbb160 : 0xffffff7f8860f056
0xffffff8109fbb290 : 0xffffff7f883b3ba9
0xffffff8109fbb2b0 : 0xffffff7f882cd96d
0xffffff8109fbb360 : 0xffffff7f882cb478
0xffffff8109fbb560 : 0xffffff7f882ccdc7
0xffffff8109fbb630 : 0xffffff7f891fd3df
0xffffff8109fbb700 : 0xffffff7f892277b3
0xffffff8109fbb780 : 0xffffff7f8920fae0
0xffffff8109fbb7e0 : 0xffffff7f892103da
0xffffff8109fbb830 : 0xffffff7f89210754
0xffffff8109fbb8a0 : 0xffffff7f89210fc8
0xffffff8109fbb8e0 : 0xffffff7f891ddfea
0xffffff8109fbba60 : 0xffffff7f8920d940
0xffffff8109fbbb20 : 0xffffff7f891dcad9
0xffffff8109fbbb70 : 0xffffff8007cd0826
0xffffff8109fbbb90 : 0xffffff8007cd1e21
0xffffff8109fbbbf0 : 0xffffff8007ccf88f
0xffffff8109fbbd40 : 0xffffff80078b6e18
0xffffff8109fbbe50 : 0xffffff8007826d81
0xffffff8109fbbe80 : 0xffffff8007813af5
0xffffff8109fbbef0 : 0xffffff800781e1d3
0xffffff8109fbbf70 : 0xffffff80078ca13d
0xffffff8109fbbfb0 : 0xffffff80078f4ca6
Kernel Extensions in backtrace:
com.apple.driver.AppleMuxControl(3.6.22)[32862231-50BC-3AF6-87A2-703321AE4F90]@0xffffff7f89bdf000->0xffffff7f89bf2fff
dependency: com.apple.driver.AppleGraphicsControl(3.6.22)[AA46D551-BE0F-33DA-93A3-8F46197BB36F]@0xffffff7f89bd7000
dependency: com.apple.iokit.IOACPIFamily(1.4)[045D5D6F-AD1E-36DB-A249-A346E2B48E54]@0xffffff7f8812e000
dependency: com.apple.iokit.IOPCIFamily(2.9)[2852ACFE-FD28-3C37-9B39-885201BB8D25]@0xffffff7f87ec1000
dependency: com.apple.iokit.IOGraphicsFamily(2.4.1)[75D81741-64C1-3941-ADFA-9D6B6C434EE4]@0xffffff7f88224000
dependency: com.apple.driver.AppleBacklightExpert(1.0.4)[80899285-3952-30DA-A0F9-357C51E104CF]@0xffffff7f89bda000
com.apple.nvidia.classic.NVDAResmanTesla(8.2.4)[D61B2BB9-4289-318D-9197-5E1E13B1FF32]@0xffffff7f88277000->0xffffff7f884dffff
dependency: com.apple.iokit.IOPCIFamily(2.9)[2852ACFE-FD28-3C37-9B39-885201BB8D25]@0xffffff7f87ec1000
dependency: com.apple.iokit.IONDRVSupport(2.4.1)[D41125CE-69BD-32E7-9B1D-4E83431662DD]@0xffffff7f88267000
dependency: com.apple.iokit.IOGraphicsFamily(2.4.1)[75D81741-64C1-3941-ADFA-9D6B6C434EE4]@0xffffff7f88224000
com.apple.nvidia.classic.NVDANV50HalTesla(8.2.4)[B0E6AAA7-E970-3D81-8B43-145D56A3A4AC]@0xffffff7f884ea000->0xffffff7f88793fff
dependency: com.apple.nvidia.classic.NVDAResmanTesla(8.2.4)[D61B2BB9-4289-318D-9197-5E1E13B1FF32]@0xffffff7f88277000
dependency: com.apple.iokit.IOPCIFamily(2.9)[2852ACFE-FD28-3C37-9B39-885201BB8D25]@0xffffff7f87ec1000
com.apple.GeForceTesla(8.2.4)[64F48816-E984-3D8E-80A5-EEC0FFCA5CF8]@0xffffff7f891cb000->0xffffff7f89295fff
dependency: com.apple.iokit.IOPCIFamily(2.9)[2852ACFE-FD28-3C37-9B39-885201BB8D25]@0xffffff7f87ec1000
dependency: com.apple.iokit.IONDRVSupport(2.4.1)[D41125CE-69BD-32E7-9B1D-4E83431662DD]@0xffffff7f88267000
dependency: com.apple.iokit.IOGraphicsFamily(2.4.1)[75D81741-64C1-3941-ADFA-9D6B6C434EE4]@0xffffff7f88224000
dependency: com.apple.nvidia.classic.NVDAResmanTesla(8.2.4)[D61B2BB9-4289-318D-9197-5E1E13B1FF32]@0xffffff7f88277000

BSD process name corresponding to current thread: WindowServer

Mac OS version:
13F1112

Kernel version:
Darwin Kernel Version 13.4.0: Wed Mar 18 16:20:14 PDT 2015; root:xnu-2422.115.14~1/RELEASE_X86_64
Kernel UUID: 8B1A8FD1-2344-36C0-A7F5-D9D485A995FA
Kernel slide: 0x0000000007600000
Kernel text base: 0xffffff8007800000
System model name: MacBookPro6,2 (Mac-F22586C8)

System uptime in nanoseconds: 32810781562371
last loaded kext at 413400145928: com.apple.filesystems.smbfs 2.0.3 (addr 0xffffff7f89cf7000, size 335872)
last unloaded kext at 306875468557: com.apple.filesystems.msdosfs 1.9 (addr 0xffffff7f89cf7000, size 57344)
loaded kexts:
com.apple.filesystems.smbfs 2.0.3
com.apple.driver.AppleHWSensor 1.9.5d0
com.apple.filesystems.autofs 3.0
com.apple.iokit.IOBluetoothSerialManager 4.2.7f5
com.apple.driver.AudioAUUC 1.60
com.apple.driver.AGPM 100.14.34
com.apple.driver.AppleMikeyHIDDriver 124
com.apple.driver.AppleMikeyDriver 2.6.3f4
com.apple.iokit.IOUserEthernet 1.0.0d1
com.apple.driver.AppleHDA 2.6.3f4
com.apple.driver.AppleUpstreamUserClient 3.5.13
com.apple.GeForceTesla 8.2.4
com.apple.driver.AppleIntelHDGraphics 8.2.4
com.apple.iokit.BroadcomBluetoothHostControllerUSBTransport 4.2.7f5
com.apple.Dont_Steal_Mac_OS_X 7.0.0
com.apple.driver.AppleMCCSControl 1.2.5
com.apple.driver.AppleSMCPDRC 1.0.0
com.apple.driver.AppleSMCLMU 2.0.4d1
com.apple.driver.AppleHWAccess 1
com.apple.driver.AppleLPC 1.7.0
com.apple.driver.AppleMuxControl 3.6.22
com.apple.driver.ACPI_SMC_PlatformPlugin 1.0.0
com.apple.driver.AppleIntelHDGraphicsFB 8.2.4
com.apple.driver.SMCMotionSensor 3.0.4d1
com.apple.driver.AppleUSBTCButtons 240.2
com.apple.driver.AppleIRController 325.7
com.apple.driver.AppleUSBTCKeyboard 240.2
com.apple.driver.AppleUSBCardReader 3.4.1
com.apple.driver.Oxford_Semi 3.4.1
com.apple.AppleFSCompression.AppleFSCompressionTypeDataless 1.0.0d1
com.apple.AppleFSCompression.AppleFSCompressionTypeLZVN 1.0.0d1
com.apple.AppleFSCompression.AppleFSCompressionTypeZlib 1.0.0d1
com.apple.BootCache 35
com.apple.iokit.SCSITaskUserClient 3.6.7
com.apple.driver.XsanFilter 404
com.apple.iokit.IOAHCIBlockStorage 2.6.0
com.apple.driver.AppleFWOHCI 5.0.2
com.apple.driver.AppleUSBHub 683.4.0
com.apple.iokit.AppleBCM5701Ethernet 3.8.1b2
com.apple.driver.AirPort.Brcm4331 700.20.22
com.apple.driver.AppleAHCIPort 3.0.5
com.apple.driver.AppleUSBEHCI 660.4.0
com.apple.driver.AppleSmartBatteryManager 161.0.0
com.apple.driver.AppleACPIButtons 2.0
com.apple.driver.AppleRTC 2.0
com.apple.driver.AppleHPET 1.8
com.apple.driver.AppleSMBIOS 2.1
com.apple.driver.AppleACPIEC 2.0
com.apple.driver.AppleAPIC 1.7
com.apple.driver.AppleIntelCPUPowerManagementClient 217.92.1
com.apple.nke.applicationfirewall 153
com.apple.security.quarantine 3
com.apple.driver.AppleIntelCPUPowerManagement 217.92.1
com.apple.kext.triggers 1.0
com.apple.iokit.IOSerialFamily 10.0.7
com.apple.AppleGraphicsDeviceControl 3.6.22
com.apple.driver.DspFuncLib 2.6.3f4
com.apple.vecLib.kext 1.0.0
com.apple.iokit.IOAudioFamily 1.9.7fc2
com.apple.kext.OSvKernDSPLib 1.14
com.apple.iokit.IOSurface 91.3
com.apple.iokit.IOBluetoothFamily 4.2.7f5
com.apple.nvidia.classic.NVDANV50HalTesla 8.2.4
com.apple.nvidia.classic.NVDAResmanTesla 8.2.4
com.apple.iokit.IOBluetoothHostControllerUSBTransport 4.2.7f5
com.apple.driver.AppleSMBusController 1.0.12d1
com.apple.iokit.IOFireWireIP 2.2.6
com.apple.driver.AppleHDAController 2.6.3f4
com.apple.iokit.IOHDAFamily 2.6.3f4
com.apple.driver.AppleSMBusPCI 1.0.12d1
com.apple.driver.AppleBacklightExpert 1.0.4
com.apple.driver.AppleGraphicsControl 3.6.22
com.apple.driver.IOPlatformPluginLegacy 1.0.0
com.apple.driver.IOPlatformPluginFamily 5.7.1d6
com.apple.iokit.IONDRVSupport 2.4.1
com.apple.iokit.IOGraphicsFamily 2.4.1
com.apple.driver.AppleSMC 3.1.8
com.apple.driver.AppleUSBMultitouch 240.10
com.apple.iokit.IOUSBHIDDriver 660.4.0
com.apple.iokit.IOSCSIBlockCommandsDevice 3.6.7
com.apple.iokit.IOUSBMassStorageClass 3.6.0
com.apple.iokit.IOFireWireSerialBusProtocolTransport 2.5.1
com.apple.iokit.IOFireWireSBP2 4.2.6
com.apple.driver.AppleUSBMergeNub 650.4.0
com.apple.driver.AppleUSBComposite 656.4.1
com.apple.iokit.IOSCSIMultimediaCommandsDevice 3.6.7
com.apple.iokit.IOBDStorageFamily 1.7
com.apple.iokit.IODVDStorageFamily 1.7.1
com.apple.iokit.IOCDStorageFamily 1.7.1
com.apple.iokit.IOAHCISerialATAPI 2.6.1
com.apple.iokit.IOSCSIArchitectureModelFamily 3.6.7
com.apple.iokit.IOFireWireFamily 4.5.5
com.apple.iokit.IOUSBUserClient 660.4.2
com.apple.iokit.IOEthernetAVBController 1.0.3b4
com.apple.driver.mDNSOffloadUserClient 1.0.1b5
com.apple.iokit.IO80211Family 640.36
com.apple.iokit.IONetworkingFamily 3.2
com.apple.iokit.IOAHCIFamily 2.6.5
com.apple.iokit.IOUSBFamily 686.4.1
com.apple.driver.AppleEFINVRAM 2.0
com.apple.driver.AppleEFIRuntime 2.0
com.apple.iokit.IOHIDFamily 2.0.0
com.apple.iokit.IOSMBusFamily 1.1
com.apple.security.sandbox 278.11.2
com.apple.kext.AppleMatch 1.0.0d1
com.apple.security.TMSafetyNet 7
com.apple.driver.AppleKeyStore 2
com.apple.driver.DiskImages 373
com.apple.iokit.IOStorageFamily 1.9
com.apple.iokit.IOReportFamily 23
com.apple.driver.AppleFDEKeyStore 28.30
com.apple.driver.AppleACPIPlatform 2.0
com.apple.iokit.IOPCIFamily 2.9
com.apple.iokit.IOACPIFamily 1.4
com.apple.kec.pthread 1
com.apple.kec.corecrypto 1.0

The only thing that comes to mind is that the grid does make heavy use of the graphics card - it has to show replicas of each window you have, together with scaled desktop backgrounds and so on.

If logic pro is taxing the GPU also then probably this creates the conditions for this particular read error.

I have two suggestions:

  • In general preferences set the grid backgrounds to Lo res, or none.
  • Go to a terminal and issue the following command: defaults write com.binaryage.TotalSpaces2 lowerMemoryUsage -bool YES
    (here you are trading a little speed for less load on the GPU memory)

Let me know if this helps.

Interesting. I’m trying to figure out if my MBP has a faulty logic board (with the GPU). I found lots of people complaining about this on the net and apparently for a while there Apple was replacing Logic boards on my model year MBP, but they stopped doing it now, I guess I didn’t find out about it in time. The thing is, the problem has only come up with Logic Pro…and since I stopped using Totalspaces, also haven’t had the problem either.

So I don’t know if I still need to go to my Genius Appt to have my logic board checked, or if this kernel panic is to be expected, even from a perfectly healthy logic board and GPU. It sounds like you’re saying it could potentially happen even for perfectly healthy hardware. Usually kernel panics are from not so healthy hardware or drivers or conflicts between hardware of some kind. It could be that whatever you’re doing in Totalspaces is getting down and dirty with the hardware enough to push the machine into some kind of conflict over resources that would not normally happen… Or…it could be the hardware is dying and I need to beg Apple to fix it. Right now I’m trying to run without Totalspaces to see if I can get the failure to happen without Totalspaces… but so far, no luck. I can actually live without it and get used to Mission Control once and for all though I miss the grid overview already. But mainly I need to figure out whether the problem is software related or hardware related at the moment.

Ok.

TotalSpaces uses high level APIs, it’s mostly Core Animation, and not anything deep in the GPU. But I have seen machines struggling because of the extra work the graphics system is doing, so that was the genesis of the lower memory setting (it actually just stops TS from caching the windows shown in the overview grid).

I have a feeling that kernel panics ought to be due to either a low level bug or a hardware problem - but as you rightly point out there could be a conflict of some sort that is only triggered by the resource contention.

It’s very hard indeed to find out if it’s hardware or software related unless you have a second machine of the exact same type to compare with.

But I think it would be worth trying TS with the lower memory setting turned on.