#41173 closed defect (invalid)
Bash 4.2.25 Causes Kernel Panic
Reported by: | rpk@… | Owned by: | raimue (Rainer Müller) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.2.1 |
Keywords: | Cc: | ||
Port: | bash |
Description
I've seen this on two different machines running the latest Mountain Lion (12.5.0 Darwin Kernel Version 12.5.0: Sun Sep 29 13:33:47 PDT 2013; root:xnu-2050.48.12~1/RELEASE_X86_64 x86_64). This was not built on the machines – port downloaded a pre-built binary.
This version of bash was started by setting Terminal's preferences to the default shell to /opt/local/bin/bash and then starting Terminal windows.
I am not sure exactly what caused the crash to happen. What stuck out about both crashes was the panic message from xnu.
Interval Since Last Panic Report: 582027 sec Panics Since Last Report: 1 Anonymous UUID: 716BF011-77C5-50B7-143A-E65669CF150C Fri Nov 1 15:08:39 2013 panic(cpu 3 caller 0xffffff800c726fba): "negative open count (c, 16, 3)"@/SourceCache/xnu/xnu-2050.48.12/bsd/miscfs/specfs/spec_vnops.c:1813 Backtrace (CPU 3), Frame : Return Address 0xffffff8135b83be0 : 0xffffff800c61d636 0xffffff8135b83c50 : 0xffffff800c726fba 0xffffff8135b83c90 : 0xffffff800c72be46 0xffffff8135b83ce0 : 0xffffff800c718eb6 0xffffff8135b83d20 : 0xffffff800c71055f 0xffffff8135b83d50 : 0xffffff800c70f6f5 0xffffff8135b83da0 : 0xffffff800c95468c 0xffffff8135b83e10 : 0xffffff800c954c06 0xffffff8135b83e50 : 0xffffff800c95eab9 0xffffff8135b83ec0 : 0xffffff800c63a0e9 0xffffff8135b83ef0 : 0xffffff800c63cc48 0xffffff8135b83f20 : 0xffffff800c63cabe 0xffffff8135b83f50 : 0xffffff800c61b70d 0xffffff8135b83f90 : 0xffffff800c6b8f53 0xffffff8135b83fb0 : 0xffffff800c6cebcc BSD process name corresponding to current thread: bash Mac OS version: 12F45 Kernel version: Darwin Kernel Version 12.5.0: Sun Sep 29 13:33:47 PDT 2013; root:xnu-2050.48.12~1/RELEASE_X86_64 Kernel UUID: EA38B02E-2B88-309F-BA68-1DE29F605DD8 Kernel slide: 0x000000000c400000 Kernel text base: 0xffffff800c600000 System model name: iMac12,2 (Mac-942B59F58194171B) System uptime in nanoseconds: 632255948789257 last loaded kext at 609704004627133: com.apple.filesystems.cddafs 2.5.1 (addr 0xffffff7f8eae1000, size 24576) last unloaded kext at 615596454897636: com.apple.filesystems.cddafs 2.5.1 (addr 0xffffff7f8eae1000, size 20480) loaded kexts: com.apple.driver.AppleBluetoothMultitouch 75.19 com.apple.filesystems.afpfs 10.0 com.apple.nke.asp_tcp 7.1.0 com.apple.filesystems.smbfs 1.8.4 com.apple.driver.AudioAUUC 1.60 com.apple.iokit.IOBluetoothSerialManager 4.1.7f2 com.apple.driver.AppleHWSensor 1.9.5d0 com.apple.driver.AGPM 100.13.12 com.apple.driver.AppleMikeyHIDDriver 124 com.apple.driver.AppleHDA 2.4.7fc4 com.apple.driver.AppleMikeyDriver 2.4.7fc4 com.apple.driver.AppleSMBusPCI 1.0.11d1 com.apple.filesystems.autofs 3.0 com.apple.iokit.IOUserEthernet 1.0.0d1 com.apple.driver.ACPI_SMC_PlatformPlugin 1.0.0 com.apple.Dont_Steal_Mac_OS_X 7.0.0 com.apple.driver.ApplePolicyControl 3.4.5 com.apple.iokit.BroadcomBluetoothHostControllerUSBTransport 4.1.7f4 com.apple.driver.AppleSMCPDRC 1.0.0 com.apple.driver.AppleLPC 1.6.3 com.apple.driver.AppleSMCLMU 2.0.3d0 com.apple.driver.AppleBacklight 170.3.5 com.apple.driver.AppleUpstreamUserClient 3.5.12 com.apple.driver.AppleMCCSControl 1.1.11 com.apple.kext.AMDFramebuffer 8.1.6 com.apple.AMDRadeonAccelerator 1.0.8 com.apple.driver.AppleIntelHD3000Graphics 8.1.6 com.apple.driver.AppleIntelSNBGraphicsFB 8.1.6 com.apple.iokit.SCSITaskUserClient 3.5.6 com.apple.driver.AppleUSBCardReader 3.3.1 com.apple.driver.AppleIRController 320.15 com.apple.AppleFSCompression.AppleFSCompressionTypeDataless 1.0.0d1 com.apple.AppleFSCompression.AppleFSCompressionTypeZlib 1.0.0d1 com.apple.BootCache 34 com.apple.driver.XsanFilter 404 com.apple.iokit.IOAHCIBlockStorage 2.3.5 com.apple.driver.AppleUSBHub 635.4.0 com.apple.iokit.AppleBCM5701Ethernet 3.6.2b4 com.apple.driver.AirPort.Atheros40 600.72.2 com.apple.driver.AppleAHCIPort 2.6.6 com.apple.driver.AppleFWOHCI 4.9.9 com.apple.driver.AppleUSBEHCI 621.4.6 com.apple.driver.AppleACPIButtons 1.8 com.apple.driver.AppleRTC 1.5 com.apple.driver.AppleHPET 1.8 com.apple.driver.AppleSMBIOS 1.9 com.apple.driver.AppleACPIEC 1.8 com.apple.driver.AppleAPIC 1.7 com.apple.driver.AppleIntelCPUPowerManagementClient 214.0.0 com.apple.nke.applicationfirewall 4.0.39 com.apple.security.quarantine 2.1 com.apple.driver.AppleIntelCPUPowerManagement 214.0.0 com.apple.driver.IOBluetoothHIDDriver 4.1.7f2 com.apple.driver.AppleMultitouchDriver 237.4 com.apple.security.SecureRemotePassword 1.0 com.apple.iokit.IOSerialFamily 10.0.6 com.apple.driver.DspFuncLib 2.4.7fc4 com.apple.iokit.IOAudioFamily 1.9.2fc7 com.apple.kext.OSvKernDSPLib 1.12 com.apple.kext.triggers 1.0 com.apple.iokit.IOFireWireIP 2.2.5 com.apple.driver.AppleHDAController 2.4.7fc4 com.apple.iokit.IOHDAFamily 2.4.7fc4 com.apple.driver.IOPlatformPluginLegacy 1.0.0 com.apple.iokit.IOSurface 86.0.4 com.apple.iokit.IOBluetoothFamily 4.1.7f2 com.apple.iokit.IOBluetoothHostControllerUSBTransport 4.1.7f2 com.apple.driver.IOPlatformPluginFamily 5.4.1d13 com.apple.driver.AppleSMC 3.1.5d4 com.apple.driver.AppleThunderboltEDMSink 1.2.0 com.apple.driver.AppleGraphicsControl 3.4.5 com.apple.driver.AppleBacklightExpert 1.0.4 com.apple.driver.AppleSMBusController 1.0.11d1 com.apple.iokit.IOAcceleratorFamily 74.15 com.apple.kext.AMD6000Controller 8.1.6 com.apple.kext.AMDSupport 8.1.6 com.apple.iokit.IONDRVSupport 2.3.7 com.apple.iokit.IOGraphicsFamily 2.3.7 com.apple.iokit.IOSCSIMultimediaCommandsDevice 3.5.6 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.5.5 com.apple.driver.AppleThunderboltDPOutAdapter 2.5.0 com.apple.driver.AppleThunderboltDPInAdapter 2.5.0 com.apple.driver.AppleThunderboltDPAdapterFamily 2.5.0 com.apple.driver.AppleThunderboltPCIDownAdapter 1.3.2 com.apple.iokit.IOSCSIBlockCommandsDevice 3.5.6 com.apple.iokit.IOUSBMassStorageClass 3.5.2 com.apple.iokit.IOSCSIArchitectureModelFamily 3.5.6 com.apple.iokit.IOUSBHIDDriver 623.4.0 com.apple.driver.AppleUSBMergeNub 621.4.6 com.apple.driver.AppleUSBComposite 621.4.0 com.apple.iokit.IOUSBUserClient 630.4.4 com.apple.driver.AppleThunderboltNHI 1.9.2 com.apple.iokit.IOThunderboltFamily 2.7.7 com.apple.iokit.IOEthernetAVBController 1.0.2b1 com.apple.iokit.IO80211Family 530.5 com.apple.iokit.IONetworkingFamily 3.0 com.apple.iokit.IOAHCIFamily 2.5.1 com.apple.iokit.IOFireWireFamily 4.5.5 com.apple.iokit.IOUSBFamily 635.4.0 com.apple.driver.AppleEFINVRAM 2.0 com.apple.driver.AppleEFIRuntime 2.0 com.apple.iokit.IOHIDFamily 1.8.1 com.apple.iokit.IOSMBusFamily 1.1 com.apple.security.sandbox 220.3 com.apple.kext.AppleMatch 1.0.0d1 com.apple.security.TMSafetyNet 7 com.apple.driver.DiskImages 345 com.apple.iokit.IOStorageFamily 1.8 com.apple.driver.AppleKeyStore 28.21 com.apple.driver.AppleACPIPlatform 1.8 com.apple.iokit.IOPCIFamily 2.8 com.apple.iokit.IOACPIFamily 1.4 com.apple.kec.corecrypto 1.0 Model: iMac12,2, BootROM IM121.0047.B1F, 4 processors, Intel Core i5, 3.1 GHz, 10 GB, SMC 1.72f2 Graphics: AMD Radeon HD 6970M, AMD Radeon HD 6970M, PCIe, 1024 MB Memory Module: BANK 0/DIMM0, 2 GB, DDR3, 1333 MHz, 0x02FE, 0x45424A3231554538424655302D444A2D4620 Memory Module: BANK 1/DIMM1, 8 GB, DDR3, 1333 MHz, 0x859B, 0x43543130323436344246313333392E4D3136 AirPort: spairport_wireless_card_type_airport_extreme (0x168C, 0x9A), Atheros 9380: 4.0.72.0-P2P Bluetooth: Version 4.1.7f2 12718, 3 service, 21 devices, 3 incoming serial ports Network Service: Ethernet, Ethernet, en0 Serial ATA Device: ST31000528AS, 1 TB Serial ATA Device: OPTIARC DVD RW AD-5690H USB Device: FaceTime HD Camera (Built-in), apple_vendor_id, 0x850b, 0xfa200000 / 3 USB Device: hub_device, 0x0424 (SMSC), 0x2514, 0xfa100000 / 2 USB Device: Hub in Apple Extended USB Keyboard, apple_vendor_id, 0x1002, 0xfa130000 / 5 USB Device: Microsoft® 2.4GHz Transceiver V2.0, 0x045e (Microsoft Corporation), 0x071f, 0xfa132000 / 8 USB Device: Apple Extended USB Keyboard, apple_vendor_id, 0x0204, 0xfa131000 / 7 USB Device: BRCM2046 Hub, 0x0a5c (Broadcom Corp.), 0x4500, 0xfa110000 / 4 USB Device: Bluetooth USB Host Controller, apple_vendor_id, 0x8215, 0xfa111000 / 6 USB Device: hub_device, 0x0424 (SMSC), 0x2514, 0xfd100000 / 2 USB Device: IR Receiver, apple_vendor_id, 0x8242, 0xfd120000 / 4 USB Device: Internal Memory Card Reader, apple_vendor_id, 0x8403, 0xfd110000 / 3
Change History (3)
comment:1 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)
Owner: | changed from macports-tickets@… to raimue@… |
---|
comment:2 Changed 11 years ago by raimue (Rainer Müller)
Resolution: | → invalid |
---|---|
Status: | new → closed |
comment:3 Changed 11 years ago by rpk@…
Fair enough. I will also keep running bash in 4.2 in Mavericks – so far, I haven't run into this problem.
Note: See
TracTickets for help on using
tickets.
With this assertion message, I found similar bug reports against iTerm2, a zsh plugin, erlang, and MacPorts' ssh port. There is also rdar://12368202 (Open Radar) for this issue.
Even if this bug is in any way triggered by bash, a user space application can't do much about this. A kernel panic in OS X needs to be addressed by Apple. At best, file a bug report against the OS X kernel at and attach your panic logs.