Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Kernel panic when using nfsd

Hello,


Trying to use nfsd (the NFS server) in OS X Sierra results in a kernel page fault (panic). The steps to reproduce are very simple, just create a /etc/exports file and try to mount it from another machine, it will panic the source machine (the one running nfsd) in less than 5 minutes. It seem to be pretty severe. Here's an abstract from the panic:


*** Panic Report ***

panic(cpu 1 caller 0xffffff800f4065ea): Kernel trap at 0xffffff800f2a1d27, type 14=page fault, registers:

CR0: 0x000000008001003b, CR2: 0x0000000100000008, CR3: 0x0000000257bcc057, CR4: 0x00000000003627e0

RAX: 0x0000000000000000, RBX: 0x0000000100000000, RCX: 0x0000000009000000, RDX: 0x0000000100000000

RSP: 0xffffff911c2e3680, RBP: 0xffffff911c2e3680, RSI: 0x0000000000000021, RDI: 0x0000000100000000

R8: 0x0000000000000001, R9: 0x00000000ffff1fff, R10: 0x0000000000000000, R11: 0xffffff8026520458

R12: 0x0000000000000000, R13: 0x0000000000000000, R14: 0xffffff911c2e3cb0, R15: 0xffffff911c2e3c88

RFL: 0x0000000000010246, RIP: 0xffffff800f2a1d27, CS: 0x0000000000000008, SS: 0x0000000000000000

Fault CR2: 0x0000000100000008, Error code: 0x0000000000000000, Fault CPU: 0x1, PL: 0


Backtrace (CPU 1), Frame : Return Address

0xffffff911c2e3310 : 0xffffff800f2f368c

0xffffff911c2e3390 : 0xffffff800f4065ea

0xffffff911c2e3570 : 0xffffff800f2a5743

0xffffff911c2e3590 : 0xffffff800f2a1d27

0xffffff911c2e3680 : 0xffffff800f516d85

0xffffff911c2e3750 : 0xffffff800f4adc9d

0xffffff911c2e37b0 : 0xffffff800f4820a0

0xffffff911c2e3e50 : 0xffffff800f4b3833

0xffffff911c2e3ef0 : 0xffffff800f4b2698

0xffffff911c2e3f50 : 0xffffff800f827cba

0xffffff911c2e3fb0 : 0xffffff800f2a5f46


BSD process name corresponding to current thread: nfsd


Mac OS version:

16B2657


I've already sent the bug to Apple, but would like to know if there's anyway to workaround this (I don't expect so, since it's the kernel itself that page-faults), nfsd is quite important for my workflow. The address in CR2 doesn't look like a valid kernel address at all, it should be 0xffffff8... so I guess this is more like a NULL dereference or similar rather than a use-after-free.


Roger.

MacBook Pro (13-inch, Late 2016, 2 TBT3), macOS Sierra (10.12.1)

Posted on Nov 24, 2016 3:01 AM

Reply
12 replies

Jan 8, 2017 10:29 AM in response to royger

I am seeing the same kernel panic. I can mount an export just fine using an ancient linux distribution (slackware 1.0.1). I can do things like ls, touch, rm, but once I do a "make", I get an instant panic. I tried the same thing using a more modern linux and the problem isn't there. I therefore agree that it must be something in the way a the client makes a request that causes the kernel to crash.


*** Panic Report ***

panic(cpu 6 caller 0xffffff8013a05ead): Kernel trap at 0xffffff8013b0821f, type 14=page fault, registers:

CR0: 0x000000008001003b, CR2: 0x0000000100000074, CR3: 0x00000004619a7066, CR4: 0x00000000001627e0

RAX: 0xffffff80367510f8, RBX: 0xffffff80140fae01, RCX: 0x000000000000a504, RDX: 0xffffff8034d0bd90

RSP: 0xffffff9200cc3610, RBP: 0xffffff9200cc3680, RSI: 0xffffff8034d0bd90, RDI: 0x0000000000000000

R8: 0x0000000100000000, R9: 0x000000000000a504, R10: 0x0000000000000000, R11: 0xffffff80468dfb20

R12: 0xffffff9200cc3c88, R13: 0x0000000000000000, R14: 0x0000000000000000, R15: 0x0000000000000000

RFL: 0x0000000000010206, RIP: 0xffffff8013b0821f, CS: 0x0000000000000008, SS: 0x0000000000000010

Fault CR2: 0x0000000100000074, Error code: 0x0000000000000000, Fault CPU: 0x6, PL: 0, VF: 1



Backtrace (CPU 6), Frame : Return Address

0xffffff9200cc32a0 : 0xffffff80138f211c

0xffffff9200cc3320 : 0xffffff8013a05ead

0xffffff9200cc3500 : 0xffffff80138a3743

0xffffff9200cc3520 : 0xffffff8013b0821f

0xffffff9200cc3680 : 0xffffff8013b159cf

0xffffff9200cc3750 : 0xffffff8013aacbad

0xffffff9200cc37b0 : 0xffffff8013a80fb0

0xffffff9200cc3e50 : 0xffffff8013ab2743

0xffffff9200cc3ef0 : 0xffffff8013ab15a8

0xffffff9200cc3f50 : 0xffffff8013e273ca

0xffffff9200cc3fb0 : 0xffffff80138a3f46



BSD process name corresponding to current thread: nfsd



Mac OS version:

16C67



Kernel version:

Darwin Kernel Version 16.3.0: Thu Nov 17 20:23:58 PST 2016; root:xnu-3789.31.2~1/RELEASE_X86_64

Kernel UUID: 8DF81F81-019F-348E-B47E-40A4484B9E21

Kernel slide: 0x0000000013600000

Kernel text base: 0xffffff8013800000

__HIB text base: 0xffffff8013700000

System model name: MacBookPro11,3 (Mac-2BD1B31983FE1663)

Mar 26, 2017 7:00 AM in response to royger

Same issue in the last few months. It seems to happen as soon there is lot of writings from the guest into the shared folder. My guest is a FreeBSD 11-STABLE virtualised with Virtualbox. Guest's nfs has the following options:

rw,async,vers=3,tcp,nolockd,intr,soft no UDP nfs_version: 3


/etc/exports is:

"/path/to/my/local/folder" 192.168.1.42 -alldirs -mapall=501:20


The kernel panic is:

Anonymous UUID: 13E4BCF4-1846-C8F2-30B4-9ED7B949C28E Sun Mar 26 15:15:49 2017 *** Panic Report *** panic(cpu 2 caller 0xffffff8007205ecd): Kernel trap at 0xffffff800730823f, type 14=page fault, registers: CR0: 0x000000008001003b, CR2: 0x0000000100000074, CR3: 0x000000012dda8085, CR4: 0x00000000000626e0 RAX: 0xffffff801d532aa8, RBX: 0xffffff80078fae01, RCX: 0x000000000000a504, RDX: 0xffffff8019364e88 RSP: 0xffffff91123fb610, RBP: 0xffffff91123fb680, RSI: 0xffffff8019364e88, RDI: 0x0000000000000000 R8: 0x0000000100000000, R9: 0x000000000000a504, R10: 0x0000000000000000, R11: 0xffffff801f9f5e08 R12: 0xffffff91123fbc88, R13: 0x0000000000000000, R14: 0x0000000000000000, R15: 0x0000000000000000 RFL: 0x0000000000010206, RIP: 0xffffff800730823f, CS: 0x0000000000000008, SS: 0x0000000000000000 Fault CR2: 0x0000000100000074, Error code: 0x0000000000000000, Fault CPU: 0x2, PL: 0, VF: 1 Backtrace (CPU 2), Frame : Return Address 0xffffff91123fb2a0 : 0xffffff80070f210c 0xffffff91123fb320 : 0xffffff8007205ecd 0xffffff91123fb500 : 0xffffff80070a3743 0xffffff91123fb520 : 0xffffff800730823f 0xffffff91123fb680 : 0xffffff80073159ef 0xffffff91123fb750 : 0xffffff80072acbcd 0xffffff91123fb7b0 : 0xffffff8007280fd0 0xffffff91123fbe50 : 0xffffff80072b2763 0xffffff91123fbef0 : 0xffffff80072b15c8 0xffffff91123fbf50 : 0xffffff80076273ea 0xffffff91123fbfb0 : 0xffffff80070a3f46 BSD process name corresponding to current thread: nfsd Mac OS version: 16D32 Kernel version: Darwin Kernel Version 16.4.0: Thu Dec 22 22:53:21 PST 2016; root:xnu-3789.41.3~3/RELEASE_X86_64 Kernel UUID: C67A8D03-DEAC-35B8-8F68-06FF7B687215 Kernel slide: 0x0000000006e00000 Kernel text base: 0xffffff8007000000 __HIB text base: 0xffffff8006f00000 System model name: MacBookPro8,1 (Mac-94245B3640C91C81) System uptime in nanoseconds: 328635259372610 last loaded kext at 327158880897779: com.apple.driver.AppleXsanScheme 3 (addr 0xffffff7f8a13a000, size 32768) last unloaded kext at 327357554987674: com.apple.driver.AppleXsanScheme 3 (addr 0xffffff7f8a13a000, size 32768) loaded kexts: org.virtualbox.kext.VBoxNetAdp 5.1.18 org.virtualbox.kext.VBoxNetFlt 5.1.18 org.virtualbox.kext.VBoxUSB 5.1.18 org.virtualbox.kext.VBoxDrv 5.1.18 com.objectiveSee.kext.BlockBlock 0.9.7 com.f-secure.kext.fsauth 1.0.0d1 at.obdev.nke.LittleSnitch 4726 com.apple.filesystems.afpfs 11.0.4 com.apple.nke.asp-tcp 8.0.1 com.apple.driver.AudioAUUC 1.70 com.apple.driver.AppleHWSensor 1.9.5d0 com.apple.driver.AGPM 110.23.14 com.apple.filesystems.autofs 3.0 com.apple.driver.AppleOSXWatchdog 1 com.apple.driver.AppleMikeyHIDDriver 127 com.apple.driver.pmtelemetry 1 com.apple.driver.AppleHDA 278.56 com.apple.iokit.IOUserEthernet 1.0.1 com.apple.driver.AppleMikeyDriver 278.56 com.apple.driver.AppleThunderboltIP 3.0.8 com.apple.driver.AppleBacklight 170.9.10 com.apple.iokit.IOBluetoothSerialManager 5.0.3f1 com.apple.Dont_Steal_Mac_OS_X 7.0.0 com.apple.driver.AppleHV 1 com.apple.driver.AppleUpstreamUserClient 3.6.4 com.apple.driver.ApplePolicyControl 3.13.79 com.apple.driver.AppleMCCSControl 1.2.15 com.apple.driver.AppleSMCPDRC 1.0.0 com.apple.iokit.BroadcomBluetoothHostControllerUSBTransport 5.0.3f1 com.apple.driver.AppleIntelSlowAdaptiveClocking 4.0.0 com.apple.driver.AppleSMCLMU 208 com.apple.driver.ACPI_SMC_PlatformPlugin 1.0.0 com.apple.driver.AppleLPC 3.1 com.apple.driver.AppleIntelHD3000Graphics 10.0.2 com.apple.driver.AppleIntelSNBGraphicsFB 10.0.2 com.apple.driver.SMCMotionSensor 3.0.4d1 com.apple.driver.AppleUSBTCButtons 252 com.apple.driver.AppleUSBTCKeyboard 252 com.apple.driver.AppleIRController 340 com.apple.iokit.SCSITaskUserClient 394.30.2 com.apple.AppleFSCompression.AppleFSCompressionTypeDataless 1.0.0d1 com.apple.AppleFSCompression.AppleFSCompressionTypeZlib 1.0.0 com.apple.BootCache 40 com.apple.filesystems.hfs.kext 366.30.3 com.apple.driver.AirPort.Brcm4331 800.20.24 com.apple.iokit.IOAHCIBlockStorage 295.20.1 com.apple.driver.AppleFWOHCI 5.5.5 com.apple.iokit.AppleBCM5701Ethernet 10.2.7 com.apple.driver.AppleSDXC 1.7.6 com.apple.driver.AppleAHCIPort 326 com.apple.driver.AppleRTC 2.0 com.apple.driver.AppleSmartBatteryManager 161.0.0 com.apple.driver.AppleACPIButtons 5.0 com.apple.driver.AppleHPET 1.8 com.apple.driver.AppleSMBIOS 2.1 com.apple.driver.AppleACPIEC 5.0 com.apple.driver.AppleAPIC 1.7 com.apple.driver.AppleIntelCPUPowerManagementClient 219.0.0 com.apple.nke.applicationfirewall 172 com.apple.security.quarantine 3 com.apple.security.TMSafetyNet 8 com.apple.driver.AppleIntelCPUPowerManagement 219.0.0 com.apple.security.SecureRemotePassword 1.0 com.apple.iokit.IOUSBUserClient 900.4.1 com.apple.AppleGraphicsDeviceControl 3.13.79 com.apple.kext.triggers 1.0 com.apple.driver.DspFuncLib 278.56 com.apple.kext.OSvKernDSPLib 525 com.apple.iokit.IOSurface 153.3 com.apple.iokit.IOFireWireIP 2.2.7 com.apple.iokit.IOSerialFamily 11 com.apple.driver.AppleSSE 1.0 com.apple.driver.AppleSMBusController 1.0.14d1 com.apple.driver.AppleSMBusPCI 1.0.14d1 com.apple.iokit.IOBluetoothHostControllerUSBTransport 5.0.3f1 com.apple.iokit.IOBluetoothHostControllerTransport 5.0.3f1 com.apple.iokit.IOBluetoothFamily 5.0.3f1 com.apple.driver.AppleHDAController 278.56 com.apple.iokit.IOHDAFamily 278.56 com.apple.iokit.IOAudioFamily 205.12 com.apple.vecLib.kext 1.2.0 com.apple.iokit.IOSlowAdaptiveClockingFamily 1.0.0 com.apple.driver.AppleBacklightExpert 1.1.0 com.apple.driver.AppleGraphicsControl 3.13.79 com.apple.driver.IOPlatformPluginLegacy 1.0.0 com.apple.driver.IOPlatformPluginFamily 6.0.0d8 com.apple.iokit.IONDRVSupport 513.1 com.apple.iokit.IOGraphicsFamily 513.1 com.apple.driver.AppleSMC 3.1.9 com.apple.driver.AppleUSBMultitouch 258 com.apple.driver.usb.IOUSBHostHIDDevice 1.1 com.apple.driver.usb.networking 5.0.0 com.apple.driver.usb.AppleUSBHostCompositeDevice 1.1 com.apple.driver.usb.AppleUSBHub 1.1 com.apple.iokit.IOSCSIMultimediaCommandsDevice 394.30.2 com.apple.iokit.IOBDStorageFamily 1.8 com.apple.iokit.IODVDStorageFamily 1.8 com.apple.iokit.IOCDStorageFamily 1.8 com.apple.driver.CoreStorage 540.30.1 com.apple.filesystems.hfs.encodings.kext 1 com.apple.driver.AppleThunderboltDPInAdapter 4.6.1 com.apple.driver.AppleThunderboltDPAdapterFamily 4.6.1 com.apple.driver.AppleThunderboltPCIDownAdapter 2.1.1 com.apple.driver.usb.AppleUSBHostPacketFilter 1.0 com.apple.iokit.IOUSBFamily 900.4.1 com.apple.iokit.IOAHCISerialATAPI 266 com.apple.iokit.IOSCSIArchitectureModelFamily 394.30.2 com.apple.driver.AppleUSBHostMergeProperties 1.1 com.apple.driver.AppleThunderboltNHI 4.1.8 com.apple.iokit.IOThunderboltFamily 6.3.3 com.apple.iokit.IOFireWireFamily 4.6.5 com.apple.iokit.IOEthernetAVBController 1.0.3b4 com.apple.iokit.IO80211Family 1200.12.2 com.apple.driver.mDNSOffloadUserClient 1.0.1b8 com.apple.iokit.IONetworkingFamily 3.2 com.apple.driver.corecapture 1.0.4 com.apple.driver.usb.AppleUSBEHCIPCI 1.1 com.apple.iokit.IOAHCIFamily 288 com.apple.driver.usb.AppleUSBEHCI 1.1 com.apple.driver.AppleEFINVRAM 2.1 com.apple.driver.AppleEFIRuntime 2.0 com.apple.iokit.IOHIDFamily 2.0.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.KernelRelayHost 1 com.apple.iokit.IOUSBHostFamily 1.1 com.apple.driver.AppleBusPowerController 1.0 com.apple.driver.DiskImages 444.41.1 com.apple.iokit.IOStorageFamily 2.1 com.apple.iokit.IOReportFamily 31 com.apple.driver.AppleFDEKeyStore 28.30 com.apple.driver.AppleACPIPlatform 5.0 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

Mar 26, 2017 7:19 AM in response to LordGordon

org.virtualbox.kext.VBoxNetAdp 5.1.18

org.virtualbox.kext.VBoxNetFlt 5.1.18

org.virtualbox.kext.VBoxUSB 5.1.18

org.virtualbox.kext.VBoxDrv 5.1.18

com.objectiveSee.kext.BlockBlock 0.9.7

com.f-secure.kext.fsauth 1.0.0d1

at.obdev.nke.LittleSnitch 4726


One of the above is likely causing the panic. Try uninstalling using the Developer's uninstall instructions.

Nov 24, 2016 7:23 AM in response to royger

Can you post the entire kernel panic?

Kernel Panic reports: Finder -> Go -> Go to Folder -> /Library/Logs/DiagnosticReports

<http://support.apple.com/kb/ht2546>

<http://support.apple.com/en-us/HT200553>

The panic report should have "panic" in the file name.


In a separate reply, please post the output from EtreCheck

<https://discussions.apple.com/docs/DOC-6174> or <https://etrecheck.com>

User uploaded file

Nov 24, 2016 8:01 AM in response to BobHarris

Hello,


Here's the full crash, I've uninstalled the pl2303 driver, so now I've only got apple kexts:


Anonymous UUID: 43BFAE39-F12C-DA28-10DF-70EBFA50512F



Thu Nov 24 15:52:13 2016



*** Panic Report ***

panic(cpu 3 caller 0xffffff80172065ea): Kernel trap at 0xffffff80173091ff, type 14=page fault, registers:

CR0: 0x000000008001003b, CR2: 0x0000000100000074, CR3: 0x000000025fa33054, CR4: 0x00000000003627e0

RAX: 0xffffff802c2b8b20, RBX: 0xffffff80178f9e01, RCX: 0x000000000000a504, RDX: 0xffffff802a7c8f80

RSP: 0xffffff91243eb610, RBP: 0xffffff91243eb680, RSI: 0xffffff802a7c8f80, RDI: 0x0000000000000000

R8: 0x0000000100000000, R9: 0x000000000000a504, R10: 0x0000000000000000, R11: 0xffffff8031c11268

R12: 0xffffff91243ebc88, R13: 0x0000000000000000, R14: 0x0000000000000000, R15: 0x0000000000000000

RFL: 0x0000000000010206, RIP: 0xffffff80173091ff, CS: 0x0000000000000008, SS: 0x0000000000000000

Fault CR2: 0x0000000100000074, Error code: 0x0000000000000000, Fault CPU: 0x3, PL: 0



Backtrace (CPU 3), Frame : Return Address

0xffffff91243eb2a0 : 0xffffff80170f368c

0xffffff91243eb320 : 0xffffff80172065ea

0xffffff91243eb500 : 0xffffff80170a5743

0xffffff91243eb520 : 0xffffff80173091ff

0xffffff91243eb680 : 0xffffff80173169af

0xffffff91243eb750 : 0xffffff80172adc9d

0xffffff91243eb7b0 : 0xffffff80172820a0

0xffffff91243ebe50 : 0xffffff80172b3833

0xffffff91243ebef0 : 0xffffff80172b2698

0xffffff91243ebf50 : 0xffffff8017627cba

0xffffff91243ebfb0 : 0xffffff80170a5f46



BSD process name corresponding to current thread: nfsd



Mac OS version:

16B2657



Kernel version:

Darwin Kernel Version 16.1.0: Wed Oct 19 20:31:56 PDT 2016; root:xnu-3789.21.4~4/RELEASE_X86_64

Kernel UUID: 75CA1C4D-7BF4-321B-B544-D8F1B6D60EF8

Kernel slide: 0x0000000016e00000

Kernel text base: 0xffffff8017000000

__HIB text base: 0xffffff8016f00000

System model name: MacBookPro13,1 (Mac-473D31EABEB93F9B)



System uptime in nanoseconds: 154613017875

last loaded kext at 9351369883: com.apple.driver.AppleMikeyHIDDriver 127 (addr 0xffffff7f99693000, size 32768)

loaded kexts:

com.apple.driver.AppleMikeyHIDDriver 127

com.apple.driver.AudioAUUC 1.70

com.apple.driver.AGPM 110.23.11

com.apple.driver.ApplePlatformEnabler 2.7.0d0

com.apple.driver.X86PlatformShim 1.0.0

com.apple.filesystems.autofs 3.0

com.apple.driver.AppleOSXWatchdog 1

com.apple.driver.AppleGraphicsDevicePolicy 3.13.74

com.apple.driver.AppleUpstreamUserClient 3.6.4

com.apple.driver.AppleHDAHardwareConfigDriver 278.23

com.apple.driver.AppleHDA 278.23

com.apple.driver.pmtelemetry 1

com.apple.iokit.IOUserEthernet 1.0.1

com.apple.driver.AppleMuxControl 3.13.74

com.apple.iokit.IOBluetoothSerialManager 5.0.1f7

com.apple.Dont_Steal_Mac_OS_X 7.0.0

com.apple.driver.AppleSMCLMU 208

com.apple.driver.AppleIntelPCHPMC 1.1

com.apple.driver.AppleIntelSKLGraphics 10.2.0

com.apple.driver.AppleHV 1

com.apple.driver.AppleBacklight 170.9.10

com.apple.driver.AppleMCCSControl 1.2.13

com.apple.driver.AppleIntelSKLGraphicsFramebuffer 10.2.0

com.apple.driver.ACPI_SMC_PlatformPlugin 1.0.0

com.apple.driver.AppleCameraInterface 5.57.0

com.apple.driver.AppleIntelSlowAdaptiveClocking 4.0.0

com.apple.driver.AppleFIVRDriver 4.1.0

com.apple.driver.AppleThunderboltIP 3.0.8

com.apple.driver.CoreStorageFsck 540

com.apple.driver.AppleFileSystemDriver 3.0.1

com.apple.AppleFSCompression.AppleFSCompressionTypeDataless 1.0.0d1

com.apple.AppleFSCompression.AppleFSCompressionTypeZlib 1.0.0

com.apple.BootCache 40

com.apple.filesystems.hfs.kext 366.1.1

com.apple.driver.AppleTopCaseHIDEventDriver 103

com.apple.driver.AirPort.Brcm4360 1110.4.1a8

com.apple.driver.AppleSmartBatteryManager 161.0.0

com.apple.driver.AppleACPIButtons 5.0

com.apple.driver.AppleRTC 2.0

com.apple.driver.AppleSMBIOS 2.1

com.apple.driver.AppleACPIEC 5.0

com.apple.driver.AppleAPIC 1.7

com.apple.nke.applicationfirewall 172

com.apple.security.quarantine 3

com.apple.security.TMSafetyNet 8

com.apple.kext.triggers 1.0

com.apple.driver.DspFuncLib 278.23

com.apple.kext.OSvKernDSPLib 525

com.apple.iokit.IOBluetoothHostControllerUARTTransport 5.0.1f7

com.apple.iokit.IOBluetoothHostControllerTransport 5.0.1f7

com.apple.driver.AppleGraphicsControl 3.13.74

com.apple.iokit.IOBluetoothFamily 5.0.1f7

com.apple.iokit.IOSurface 153.1

com.apple.driver.AppleSMBusPCI 1.0.14d1

com.apple.driver.AppleSSE 1.0

com.apple.driver.AppleHDAController 278.23

com.apple.iokit.IOHDAFamily 278.23

com.apple.iokit.IOAudioFamily 205.11

com.apple.vecLib.kext 1.2.0

com.apple.driver.AppleBacklightExpert 1.1.0

com.apple.iokit.IONDRVSupport 2.4.1

com.apple.driver.AppleSMBusController 1.0.14d1

com.apple.AppleGraphicsDeviceControl 3.13.74

com.apple.iokit.IOAcceleratorFamily2 288.15

com.apple.iokit.IOGraphicsFamily 2.4.1

com.apple.driver.IOPlatformPluginLegacy 1.0.0

com.apple.driver.X86PlatformPlugin 1.0.0

com.apple.driver.AppleSMC 3.1.9

com.apple.driver.IOPlatformPluginFamily 6.0.0d8

com.apple.iokit.IOSlowAdaptiveClockingFamily 1.0.0

com.apple.driver.AppleIntelLpssUARTv1 3.0.60

com.apple.driver.AppleIntelLpssUARTCommon 3.0.60

com.apple.iokit.IOSerialFamily 11

com.apple.driver.AppleThunderboltEDMSink 4.1.1

com.apple.driver.AppleThunderboltDPOutAdapter 4.5.5

com.apple.driver.usb.cdc.ecm 5.0.0

com.apple.iokit.IOSCSIArchitectureModelFamily 394

com.apple.driver.usb.AppleUSBHub 1.1

com.apple.driver.AppleUSBHostMergeProperties 1.1

com.apple.driver.usb.cdc 5.0.0

com.apple.driver.usb.networking 5.0.0

com.apple.driver.usb.AppleUSBHostCompositeDevice 1.1

com.apple.driver.CoreStorage 540

com.apple.driver.AppleXsanScheme 3

com.apple.filesystems.hfs.encodings.kext 1

com.apple.driver.AppleHIDKeyboard 197

com.apple.driver.AppleMultitouchDriver 368.4

com.apple.driver.AppleInputDeviceSupport 76.4

com.apple.driver.AppleHSSPIHIDDriver 49

com.apple.driver.AppleThunderboltDPInAdapter 4.5.5

com.apple.driver.AppleThunderboltDPAdapterFamily 4.5.5

com.apple.driver.AppleThunderboltPCIDownAdapter 2.0.5

com.apple.driver.AppleHPM 3.0.9

com.apple.driver.AppleIntelLpssI2CController 3.0.60

com.apple.driver.AppleThunderboltNHI 4.1.6

com.apple.iokit.IOThunderboltFamily 6.2.3

com.apple.driver.AppleHSSPISupport 49

com.apple.driver.AppleIntelLpssSpiController 3.0.60

com.apple.driver.AppleIntelLpssDmac 3.0.60

com.apple.iokit.IO80211Family 1200.12.2

com.apple.driver.mDNSOffloadUserClient 1.0.1b8

com.apple.iokit.IONetworkingFamily 3.2

com.apple.driver.corecapture 1.0.4

com.apple.iokit.IONVMeFamily 2.1.0

com.apple.driver.AppleIntelLpssI2C 3.0.60

com.apple.driver.AppleIntelLpssGspi 3.0.60

com.apple.driver.usb.AppleUSBXHCIPCI 1.1

com.apple.driver.usb.AppleUSBXHCI 1.1

com.apple.driver.usb.AppleUSBHostPacketFilter 1.0

com.apple.iokit.IOUSBFamily 900.4.1

com.apple.driver.AppleEFINVRAM 2.1

com.apple.driver.AppleEFIRuntime 2.0

com.apple.iokit.IOHIDFamily 2.0.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.KernelRelayHost 1

com.apple.iokit.IOUSBHostFamily 1.1

com.apple.driver.AppleBusPowerController 1.0

com.apple.driver.DiskImages 444.20.3

com.apple.iokit.IOStorageFamily 2.1

com.apple.iokit.IOReportFamily 31

com.apple.driver.AppleFDEKeyStore 28.30

com.apple.driver.AppleACPIPlatform 5.0

com.apple.iokit.IOPCIFamily 2.9

com.apple.iokit.IOACPIFamily 1.4

com.apple.kec.Libm 1

com.apple.kec.corecrypto 1.0

com.apple.kec.pthread 1


The crash virtual address is always either 0x0000000100000074 or 0x0000000100000008, and I'm quite sure that's not a use-after-free. This is very simple to reproduce:


1. Open terminal and type:

2. sudo nano -w /etc/exports

3. Export a share, so something like:

/Users/$USER/$FOLDER -maproot=$USER $IP

Replace $USER with your user, $FOLDER with the folder you want to export (let's say Documents) and finally also replace $IP with the ip of the machine that's going to mount that share.

4. Save the file (Ctrl+x)

5. Mount the share from another box using 'mount $your_ip:/Users/$USER/$FOLDER share'

6. Do some IO there (dd if=/dev/zero of=test bs=1M count=1000 for example), and see your mac panic.

Nov 28, 2016 11:58 AM in response to royger

Hi,


I get the same backtrace although the error scenario that causes the issue is different.


Sierra acts as NFS server but as client I have OpenIndiana (Hipster 20161030) which is running in a Virtual Box VM (5.0.30 r112061). NFS shares have been initially created with NfsManager (v4.0 build 150928)

'Manually' accessing files via NFS (by doing file commands like touch, rm, ... in a terminal) work properly but as soon as I execute a script doing 'much' file based operations (like compiling/installing some piece of software on the NFS share) then Sierra crashes.


Here follows the panic file:


Anonymous UUID: 3C8A23E4-3A11-911E-021F-92775A6DE265



Mon Nov 28 20:26:26 2016



*** Panic Report ***

panic(cpu 3 caller 0xffffff80092065ea): Kernel trap at 0xffffff80090a1d27, type 14=page fault, registers:

CR0: 0x000000008001003b, CR2: 0x0000000100000008, CR3: 0x0000000446bdc07e, CR4: 0x00000000001627e0

RAX: 0x0000000000000000, RBX: 0x0000000100000000, RCX: 0x0000000009000000, RDX: 0x0000000100000000

RSP: 0xffffff91f3f8b680, RBP: 0xffffff91f3f8b680, RSI: 0x0000000000000021, RDI: 0x0000000100000000

R8: 0x0000000000000000, R9: 0x0000000000000001, R10: 0x0000000000000010, R11: 0xffffff8038903268

R12: 0x0000000000000000, R13: 0x0000000000000000, R14: 0xffffff91f3f8bcb0, R15: 0xffffff91f3f8bc88

RFL: 0x0000000000010246, RIP: 0xffffff80090a1d27, CS: 0x0000000000000008, SS: 0x0000000000000010

Fault CR2: 0x0000000100000008, Error code: 0x0000000000000000, Fault CPU: 0x3, PL: 0



Backtrace (CPU 3), Frame : Return Address

0xffffff91f3f8b310 : 0xffffff80090f368c

0xffffff91f3f8b390 : 0xffffff80092065ea

0xffffff91f3f8b570 : 0xffffff80090a5743

0xffffff91f3f8b590 : 0xffffff80090a1d27

0xffffff91f3f8b680 : 0xffffff8009316d85

0xffffff91f3f8b750 : 0xffffff80092adc9d

0xffffff91f3f8b7b0 : 0xffffff80092820a0

0xffffff91f3f8be50 : 0xffffff80092b3833

0xffffff91f3f8bef0 : 0xffffff80092b2698

0xffffff91f3f8bf50 : 0xffffff8009627cba

0xffffff91f3f8bfb0 : 0xffffff80090a5f46



BSD process name corresponding to current thread: nfsd



Mac OS version:

16B2657



Kernel version:

Darwin Kernel Version 16.1.0: Wed Oct 19 20:31:56 PDT 2016; root:xnu-3789.21.4~4/RELEASE_X86_64

Kernel UUID: 75CA1C4D-7BF4-321B-B544-D8F1B6D60EF8

Kernel slide: 0x0000000008e00000

Kernel text base: 0xffffff8009000000

__HIB text base: 0xffffff8008f00000

System model name: MacBookPro11,1 (Mac-189A3D4F975D5FFC)



System uptime in nanoseconds: 267776237109

last loaded kext at 9969649139: com.intego.ContentBarrier.extension 2908 (addr 0xffffff7f8c05e000, size 53248)

loaded kexts:

com.intego.ContentBarrier.extension 2908

com.intego.virusbarrier.kext.realtime 598

com.intego.netbarrier.kext.process 289

com.intego.netbarrier.kext.network 289

org.virtualbox.kext.VBoxNetAdp 5.1.10

org.virtualbox.kext.VBoxNetFlt 5.1.10

com.intego.netbarrier.kext.monitor 289

org.virtualbox.kext.VBoxUSB 5.1.10

org.virtualbox.kext.VBoxDrv 5.1.10

com.intego.ContentBarrier.safe-boot 2908

com.apple.filesystems.autofs 3.0

com.apple.driver.AudioAUUC 1.70

com.apple.driver.AGPM 110.23.11

com.apple.driver.ApplePlatformEnabler 2.7.0d0

com.apple.driver.X86PlatformShim 1.0.0

com.apple.driver.AppleHDAHardwareConfigDriver 278.23

com.apple.driver.AppleHDA 278.23

com.apple.driver.AppleGraphicsDevicePolicy 3.13.74

com.apple.driver.AppleUpstreamUserClient 3.6.4

com.apple.driver.AppleOSXWatchdog 1

com.apple.driver.pmtelemetry 1

com.apple.iokit.IOUserEthernet 1.0.1

com.apple.iokit.IOBluetoothSerialManager 5.0.1f7

com.apple.Dont_Steal_Mac_OS_X 7.0.0

com.apple.driver.AppleCameraInterface 5.57.0

com.apple.driver.AppleThunderboltIP 3.0.8

com.apple.driver.AppleMuxControl 3.13.74

com.apple.driver.AppleLPC 3.1

com.apple.driver.AppleIntelHD5000Graphics 10.2.0

com.apple.driver.AppleBacklight 170.9.10

com.apple.driver.AppleFIVRDriver 4.1.0

com.apple.driver.AppleSMCLMU 208

com.apple.driver.AppleHV 1

com.apple.driver.AppleIntelSlowAdaptiveClocking 4.0.0

com.apple.driver.AppleIntelFramebufferAzul 10.2.0

com.apple.iokit.BroadcomBluetoothHostControllerUSBTransport 5.0.1f7

com.apple.driver.AppleMCCSControl 1.2.13

com.apple.driver.ACPI_SMC_PlatformPlugin 1.0.0

com.apple.iokit.IOBluetoothUSBDFU 5.0.1f7

com.apple.iokit.SCSITaskUserClient 394

com.apple.driver.AppleUSBStorageCoexistentDriver 404.20.1

com.apple.driver.AppleUSBCardReader 404.20.1

com.apple.driver.AppleUSBTCKeyEventDriver 251

com.apple.driver.AppleUSBTCButtons 251

com.apple.driver.AppleUSBTCKeyboard 251

com.apple.driver.CoreStorageFsck 540

com.apple.driver.AppleFileSystemDriver 3.0.1

com.apple.AppleFSCompression.AppleFSCompressionTypeDataless 1.0.0d1

com.apple.AppleFSCompression.AppleFSCompressionTypeZlib 1.0.0

com.apple.BootCache 40

com.apple.filesystems.hfs.kext 366.1.1

com.apple.iokit.IOAHCIBlockStorage 295.20.1

com.apple.driver.AppleAHCIPort 326

com.apple.driver.AirPort.Brcm4360 1110.4.1a8

com.apple.driver.AppleSmartBatteryManager 161.0.0

com.apple.driver.AppleRTC 2.0

com.apple.driver.AppleACPIButtons 5.0

com.apple.driver.AppleHPET 1.8

com.apple.driver.AppleSMBIOS 2.1

com.apple.driver.AppleACPIEC 5.0

com.apple.driver.AppleAPIC 1.7

com.apple.nke.applicationfirewall 172

com.apple.security.quarantine 3

com.apple.security.TMSafetyNet 8

com.apple.iokit.IOUSBUserClient 900.4.1

com.apple.kext.triggers 1.0

com.apple.driver.DspFuncLib 278.23

com.apple.kext.OSvKernDSPLib 525

com.apple.driver.AppleGraphicsControl 3.13.74

com.apple.driver.AppleSMBusPCI 1.0.14d1

com.apple.iokit.IOSurface 153.1

com.apple.driver.AppleBacklightExpert 1.1.0

com.apple.iokit.IONDRVSupport 2.4.1

com.apple.driver.AppleIntelLpssUARTv0 3.0.60

com.apple.driver.AppleIntelLpssUARTCommon 3.0.60

com.apple.driver.AppleIntelLpssDmac 3.0.60

com.apple.iokit.IOSerialFamily 11

com.apple.driver.AppleSSE 1.0

com.apple.iokit.IOSlowAdaptiveClockingFamily 1.0.0

com.apple.driver.AppleThunderboltEDMSink 4.1.1

com.apple.driver.AppleThunderboltDPOutAdapter 4.5.5

com.apple.AppleGraphicsDeviceControl 3.13.74

com.apple.iokit.IOAcceleratorFamily2 288.15

com.apple.iokit.IOBluetoothHostControllerUSBTransport 5.0.1f7

com.apple.iokit.IOBluetoothHostControllerTransport 5.0.1f7

com.apple.iokit.IOBluetoothFamily 5.0.1f7

com.apple.driver.AppleHDAController 278.23

com.apple.iokit.IOHDAFamily 278.23

com.apple.iokit.IOAudioFamily 205.11

com.apple.vecLib.kext 1.2.0

com.apple.driver.AppleSMBusController 1.0.14d1

com.apple.iokit.IOGraphicsFamily 2.4.1

com.apple.driver.IOPlatformPluginLegacy 1.0.0

com.apple.driver.X86PlatformPlugin 1.0.0

com.apple.driver.AppleSMC 3.1.9

com.apple.driver.IOPlatformPluginFamily 6.0.0d8

com.apple.driver.usb.AppleUSBHub 1.1

com.apple.iokit.IOUSBMassStorageClass 4.0.4

com.apple.iokit.IOSCSIBlockCommandsDevice 394

com.apple.iokit.IOUSBMassStorageDriver 131.1.1

com.apple.iokit.IOSCSIArchitectureModelFamily 394

com.apple.driver.AppleUSBMultitouch 258

com.apple.driver.usb.IOUSBHostHIDDevice 1.1

com.apple.driver.usb.cdc 5.0.0

com.apple.driver.usb.networking 5.0.0

com.apple.driver.usb.AppleUSBHostCompositeDevice 1.1

com.apple.driver.CoreStorage 540

com.apple.filesystems.hfs.encodings.kext 1

com.apple.driver.AppleUSBMergeNub 900.4.1

com.apple.driver.AppleXsanScheme 3

com.apple.iokit.IOAHCIFamily 288

com.apple.driver.AppleThunderboltDPInAdapter 4.5.5

com.apple.driver.AppleThunderboltDPAdapterFamily 4.5.5

com.apple.driver.AppleThunderboltPCIDownAdapter 2.0.5

com.apple.driver.AppleThunderboltNHI 4.1.6

com.apple.iokit.IOThunderboltFamily 6.2.3

com.apple.iokit.IO80211Family 1200.12.2

com.apple.driver.mDNSOffloadUserClient 1.0.1b8

com.apple.iokit.IONetworkingFamily 3.2

com.apple.driver.corecapture 1.0.4

com.apple.driver.AppleIntelLpssGspi 3.0.60

com.apple.driver.usb.AppleUSBXHCIPCI 1.1

com.apple.driver.usb.AppleUSBXHCI 1.1

com.apple.driver.usb.AppleUSBHostPacketFilter 1.0

com.apple.iokit.IOUSBFamily 900.4.1

com.apple.driver.AppleUSBHostMergeProperties 1.1

com.apple.driver.AppleEFINVRAM 2.1

com.apple.driver.AppleEFIRuntime 2.0

com.apple.iokit.IOHIDFamily 2.0.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.KernelRelayHost 1

com.apple.iokit.IOUSBHostFamily 1.1

com.apple.driver.AppleBusPowerController 1.0

com.apple.driver.DiskImages 444.20.3

com.apple.iokit.IOStorageFamily 2.1

com.apple.iokit.IOReportFamily 31

com.apple.driver.AppleFDEKeyStore 28.30

com.apple.driver.AppleACPIPlatform 5.0

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

Nov 29, 2016 2:39 AM in response to royger

In my case the client was a FreeBSD native box, but the crash is exactly the same, and the address that caused the page fault is 0x0000000100000008 which it's the same as mine. In any case, I don't think there's much we can do until Apple fixes this in the kernel, I'm just afraid that other applications apart from nfsd can also trigger this bug.

Kernel panic when using nfsd

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.