Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Kernel crash on macOS #23680

Closed
AlekSi opened this issue Feb 3, 2018 · 6 comments
Closed

Kernel crash on macOS #23680

AlekSi opened this issue Feb 3, 2018 · 6 comments
Labels
FrozenDueToAge OS-Darwin WaitingForInfo Issue is not actionable because of missing required information, which needs to be provided.
Milestone

Comments

@AlekSi
Copy link
Contributor

AlekSi commented Feb 3, 2018

What did you do?

I was running maintnerd (maintnerd -config=go -debug starting with empty $HOME/var) built with race detector, and it killed my OS.

I'm pretty sure nothing can be done about it now (there are too little details), but I created an issue to see if someone else is experiencing this problem, and also to have a Google hit for it.

I will try to reproduce it on all my hardware.

Crash report

Anonymous UUID:       441B6A7C-F322-60A6-8AF5-E03FB61E2F23

Sat Feb  3 10:31:38 2018

*** Panic Report ***
panic(cpu 2 caller 0xffffff8007950d3f): "compressed PTE 0xfffffe9a9421f8c0 0xc000000000000000 has extra bits 0x8000000000000000: corrupted?"@/BuildRoot/Library/Caches/com.apple.xbs/Sources/xnu/xnu-4570.41.2/osfmk/i386/pmap_x86_common.c:594
Backtrace (CPU 2), Frame : Return Address
0xffffff913eb937d0 : 0xffffff800784f606 
0xffffff913eb93820 : 0xffffff800797c654 
0xffffff913eb93860 : 0xffffff800796e149 
0xffffff913eb938e0 : 0xffffff8007801120 
0xffffff913eb93900 : 0xffffff800784f03c 
0xffffff913eb93a30 : 0xffffff800784edbc 
0xffffff913eb93a90 : 0xffffff8007950d3f 
0xffffff913eb93bf0 : 0xffffff80078d0a70 
0xffffff913eb93d50 : 0xffffff80078d227b 
0xffffff913eb93f00 : 0xffffff800796e6b2 
0xffffff913eb93fa0 : 0xffffff8007801032 

BSD process name corresponding to current thread: maintnerd

Mac OS version:
17D47

Kernel version:
Darwin Kernel Version 17.4.0: Sun Dec 17 09:19:54 PST 2017; root:xnu-4570.41.2~1/RELEASE_X86_64
Kernel UUID: 18D901F1-4A03-3FF1-AE34-C26B2732F13C
Kernel slide:     0x0000000007400000
Kernel text base: 0xffffff8007600000
__HIB  text base: 0xffffff8007500000
System model name: MacBookPro12,1 (Mac-E43C1C25D4880AD6)

System uptime in nanoseconds: 3001880083948
last loaded kext at 252940368717: com.apple.filesystems.msdosfs	1.10 (addr 0xffffff7f88a1e000, size 69632)
last unloaded kext at 966045661464: com.apple.driver.AppleIntelLpssI2C	3.0.60 (addr 0xffffff7f88a5c000, size 40960)
loaded kexts:
org.virtualbox.kext.VBoxNetAdp	5.2.6
org.virtualbox.kext.VBoxNetFlt	5.2.6
org.virtualbox.kext.VBoxUSB	5.2.6
com.parallels.virtualhid	1.0.3 3
org.virtualbox.kext.VBoxDrv	5.2.6
com.parallels.virtualsound	1.0.36 36
com.kairos.driver.DuetDisplay	1
at.obdev.nke.LittleSnitch	5116
com.apple.driver.AudioAUUC	1.70
com.apple.filesystems.autofs	3.0
com.apple.driver.AppleHWSensor	1.9.5d0
com.apple.driver.AGPM	110.23.30
com.apple.driver.ApplePlatformEnabler	2.7.0d0
com.apple.driver.X86PlatformShim	1.0.0
com.apple.driver.AppleHDA	280.12
com.apple.driver.AppleUpstreamUserClient	3.6.4
com.apple.driver.AppleGraphicsDevicePolicy	3.16.21
com.apple.AGDCPluginDisplayMetrics	3.16.2
com.apple.driver.AppleHV	1
com.apple.iokit.IOUserEthernet	1.0.1
com.apple.iokit.IOBluetoothSerialManager	6.0.2f2
com.apple.driver.pmtelemetry	1
com.apple.Dont_Steal_Mac_OS_X	7.0.0
com.apple.driver.AppleIntelBDWGraphics	10.3.0
com.apple.driver.eficheck	1
com.apple.driver.AppleIntelSlowAdaptiveClocking	4.0.0
com.apple.iokit.BroadcomBluetooth20703USBTransport	6.0.2f2
com.apple.driver.AppleBacklight	170.10.2
com.apple.driver.AppleMCCSControl	1.5.3
com.apple.driver.AppleSMCLMU	211
com.apple.driver.AppleOSXWatchdog	1
com.apple.driver.AppleLPC	3.1
com.apple.driver.AppleCameraInterface	6.01.2
com.apple.driver.AppleIntelBDWGraphicsFramebuffer	10.3.0
com.apple.driver.AppleThunderboltIP	3.1.1
com.apple.driver.AppleUSBCardReader	439.30.4
com.apple.filesystems.apfs	748.41.3
com.apple.filesystems.hfs.kext	407.30.1
com.apple.AppleFSCompression.AppleFSCompressionTypeDataless	1.0.0d1
com.apple.BootCache	40
com.apple.AppleFSCompression.AppleFSCompressionTypeZlib	1.0.0
com.apple.driver.AppleAHCIPort	329
com.apple.driver.AppleTopCaseHIDEventDriver	127
com.apple.driver.AirPort.BrcmNIC	1220.28.1a3
com.apple.driver.AppleSmartBatteryManager	161.0.0
com.apple.driver.AppleRTC	2.0
com.apple.driver.AppleACPIButtons	6.1
com.apple.driver.AppleHPET	1.8
com.apple.driver.AppleSMBIOS	2.1
com.apple.driver.AppleACPIEC	6.1
com.apple.driver.AppleAPIC	1.7
com.apple.nke.applicationfirewall	183
com.apple.security.TMSafetyNet	8
com.apple.security.quarantine	3
com.apple.IOBufferCopyEngineTest	1
com.apple.driver.usb.AppleUSBHub	1.2
com.apple.iokit.IOUSBUserClient	900.4.1
com.apple.kext.triggers	1.0
com.apple.driver.DspFuncLib	280.12
com.apple.kext.OSvKernDSPLib	526
com.apple.driver.AppleGraphicsControl	3.16.21
com.apple.driver.AppleSSE	1.0
com.apple.driver.AppleHDAController	280.12
com.apple.iokit.IOHDAFamily	280.12
com.apple.iokit.IOAudioFamily	206.5
com.apple.vecLib.kext	1.2.0
com.apple.driver.X86PlatformPlugin	1.0.0
com.apple.AppleGPUWrangler	3.16.2
com.apple.iokit.IOSlowAdaptiveClockingFamily	1.0.0
com.apple.iokit.BroadcomBluetoothHostControllerUSBTransport	6.0.2f2
com.apple.iokit.IOBluetoothHostControllerUSBTransport	6.0.2f2
com.apple.iokit.IOBluetoothHostControllerTransport	6.0.2f2
com.apple.driver.AppleBacklightExpert	1.1.0
com.apple.iokit.IONDRVSupport	517.22
com.apple.driver.AppleSMBusController	1.0.18d1
com.apple.driver.IOPlatformPluginFamily	6.0.0d8
com.apple.iokit.IOSerialFamily	11
com.apple.AppleGraphicsDeviceControl	3.16.21
com.apple.iokit.IOAcceleratorFamily2	376.6
com.apple.iokit.IOGraphicsFamily	517.22
com.apple.iokit.IOSurface	209.2.2
com.apple.driver.usb.networking	5.0.0
com.apple.filesystems.hfs.encodings.kext	1
com.apple.iokit.IOAHCIBlockStorage	301.40.2
com.apple.driver.AppleThunderboltDPInAdapter	5.0.2
com.apple.driver.AppleThunderboltDPAdapterFamily	5.0.2
com.apple.driver.AppleThunderboltPCIDownAdapter	2.1.3
com.apple.iokit.IOAHCIFamily	288
com.apple.driver.AppleActuatorDriver	1204.13
com.apple.driver.AppleHIDKeyboard	203
com.apple.driver.AppleHSBluetoothDriver	127
com.apple.driver.IOBluetoothHIDDriver	6.0.2f2
com.apple.iokit.IOBluetoothFamily	6.0.2f2
com.apple.driver.AppleMultitouchDriver	1204.13
com.apple.driver.AppleInputDeviceSupport	1201.8
com.apple.driver.AppleHSSPIHIDDriver	52
com.apple.driver.AppleThunderboltNHI	4.5.6
com.apple.iokit.IOThunderboltFamily	6.6.3
com.apple.iokit.IO80211Family	1200.12.2
com.apple.driver.mDNSOffloadUserClient	1.0.1b8
com.apple.driver.corecapture	1.0.4
com.apple.driver.AppleHSSPISupport	52
com.apple.driver.AppleIntelLpssSpiController	3.0.60
com.apple.driver.AppleIntelLpssGspi	3.0.60
com.apple.driver.AppleIntelLpssDmac	3.0.60
com.apple.driver.usb.AppleUSBXHCIPCI	1.2
com.apple.driver.usb.AppleUSBXHCI	1.2
com.apple.driver.usb.AppleUSBHostPacketFilter	1.0
com.apple.iokit.IOUSBFamily	900.4.1
com.apple.driver.AppleEFINVRAM	2.1
com.apple.driver.AppleUSBHostMergeProperties	1.2
com.apple.driver.AppleEFIRuntime	2.1
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.iokit.IOBufferCopyEngineFamily	1
com.apple.driver.DiskImages	480.30.2
com.apple.driver.AppleFDEKeyStore	28.30
com.apple.driver.AppleEffaceableStorage	1.0
com.apple.driver.AppleKeyStore	2
com.apple.driver.AppleUSBTDM	439.30.4
com.apple.driver.AppleMobileFileIntegrity	1.0.5
com.apple.iokit.IOUSBMassStorageDriver	140.30.1
com.apple.iokit.IOSCSIBlockCommandsDevice	404.30.2
com.apple.iokit.IOSCSIArchitectureModelFamily	404.30.2
com.apple.iokit.IOStorageFamily	2.1
com.apple.driver.AppleCredentialManager	1.0
com.apple.driver.KernelRelayHost	1
com.apple.iokit.IOUSBHostFamily	1.2
com.apple.driver.usb.AppleUSBCommon	1.0
com.apple.driver.AppleBusPowerController	1.0
com.apple.driver.AppleSEPManager	1.0.1
com.apple.driver.IOSlaveProcessor	1
com.apple.iokit.IOReportFamily	31
com.apple.iokit.IOTimeSyncFamily	650.5
com.apple.iokit.IONetworkingFamily	3.4
com.apple.driver.AppleACPIPlatform	6.1
com.apple.driver.AppleSMCRTC	1.0
com.apple.driver.AppleSMC	3.1.9
com.apple.iokit.IOPCIFamily	2.9
com.apple.iokit.IOACPIFamily	1.4
com.apple.kec.pthread	1
com.apple.kec.Libm	1
com.apple.kec.corecrypto	1.0

EOF
Model: MacBookPro12,1, BootROM MBP121.0171.B00, 2 processors, Intel Core i5, 2,7 GHz, 8 GB, SMC 2.28f7
Graphics: Intel Iris Graphics 6100, Intel Iris Graphics 6100, Built-In
Memory Module: BANK 0/DIMM0, 4 GB, DDR3, 1867 MHz, 0x80CE, 0x4B3445364533303445452D45474346000000
Memory Module: BANK 1/DIMM0, 4 GB, DDR3, 1867 MHz, 0x80CE, 0x4B3445364533303445452D45474346000000
AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0x133), Broadcom BCM43xx 1.0 (7.77.37.5.1a3)
Bluetooth: Version 6.0.2f2, 3 services, 27 devices, 1 incoming serial ports
Network Service: Wi-Fi, AirPort, en0
Serial ATA Device: APPLE SSD SM0256G, 251 GB
USB Device: USB 3.0 Bus
USB Device: Bluetooth USB Host Controller
USB Device: Hub
Thunderbolt Bus: MacBook Pro, Apple Inc., 27.1

System details

go version go1.9.3 darwin/amd64
GOARCH="amd64"
GOBIN=""
GOEXE=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GOOS="darwin"
GOPATH="/Users/aleksi/Soft/GOPATH"
GORACE="halt_on_error=1"
GOROOT="/usr/local/Cellar/go/1.9.3/libexec"
GOTOOLDIR="/usr/local/Cellar/go/1.9.3/libexec/pkg/tool/darwin_amd64"
GCCGO="gccgo"
CC="clang"
GOGCCFLAGS="-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/16/pqt_k6h16y72sy5z1g_n2bv80000gn/T/go-build265482701=/tmp/go-build -gno-record-gcc-switches -fno-common"
CXX="clang++"
CGO_ENABLED="1"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOROOT/bin/go version: go version go1.9.3 darwin/amd64
GOROOT/bin/go tool compile -V: compile version go1.9.3
uname -v: Darwin Kernel Version 17.4.0: Sun Dec 17 09:19:54 PST 2017; root:xnu-4570.41.2~1/RELEASE_X86_64
ProductName:	Mac OS X
ProductVersion:	10.13.3
BuildVersion:	17D47
lldb --version: lldb-900.0.64
  Swift-4.0
@odeke-em
Copy link
Member

odeke-em commented Feb 3, 2018

@davecheney
Copy link
Contributor

davecheney commented Feb 3, 2018 via email

@AlekSi
Copy link
Contributor Author

AlekSi commented Feb 3, 2018

I was able to reproduce it one more time on the same machine. Still running it on the other MacBook I have with different hardware, but with very similar software, down to Little Snitch. And yes, I will try to remove it later and check again – I suspect it too.

@bradfitz bradfitz added OS-Darwin WaitingForInfo Issue is not actionable because of missing required information, which needs to be provided. labels Feb 3, 2018
@bradfitz bradfitz added this to the Unplanned milestone Feb 3, 2018
@bradfitz
Copy link
Contributor

bradfitz commented Feb 3, 2018

Also remove virtualbox and parallels and all non-Apple stuff to figure out if you actually found a macOS kernel bug.

@pciet
Copy link
Contributor

pciet commented Feb 3, 2018

There’s a kernel debug kit that may help get some of the symbols: https://developer.apple.com/hardwaredrivers/

Why don’t Go symbols make it to this trace?

@AlekSi
Copy link
Contributor Author

AlekSi commented Feb 19, 2018

I wasn't able to reproduce that issue anymore, even on the same configuration, running it for days. 😐 Closing.

@AlekSi AlekSi closed this as completed Feb 19, 2018
@golang golang locked and limited conversation to collaborators Feb 19, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
FrozenDueToAge OS-Darwin WaitingForInfo Issue is not actionable because of missing required information, which needs to be provided.
Projects
None yet
Development

No branches or pull requests

6 participants