System crash when trying to exit/detach tmux session started by iTerm2
By trudh... on January 25, 2012 07:38 (imported from Google Code)
What steps will reproduce the problem?
- Configure iTerm2 20120123 with tmux precompiled 20120108 (session starts "tmux -C")
- two windows open, one a control window with a menu, the other a shell in a tmux session
- in the control window, hit escape.
What is the expected output? What do you see instead?
Expected is to be detached from the tmux session and that window closes, unsure what to expect from the control window if it is to close or remain open as a normal shell.
What I instead see is the crash message from OS-X appear, system frozen, hold power down to power off the system. 100% reproducible as well which was somewhat annoying as Lion will restart windows open after a crash, so I ended up having the same thing happen three times in a row.
What version of the product are you using? On what operating system?
OS-X Lion, all up to date as of today. iTerm2 20120123 and tmux precompiled 20120108 from here, installed the library dependency for tmux via homebrew (same version of library, so should be okay).
Please provide any additional information below.
Unsure how to read OS-X crash traces, but I'm guessing this is a refcount issue where something increments once, but decrements twice for some reason. tmux is the culprit if I'm reading the crash trace below right.
Here's the OS-X crash trace.
Anonymous UUID: 95061D4E-E774-4586-B9AA-9340E5CEBBB6
Wed Jan 25 07:41:41 2012
panic(cpu 0 caller 0xffffff8000328af2): "Negative open count?"@/SourceCache/xnu/xnu-1699.24.8/bsd/miscfs/specfs/spec_vnops.c:1368
Backtrace (CPU 0), Frame : Return Address
0xffffff80e89e3c10 : 0xffffff8000220702
0xffffff80e89e3c90 : 0xffffff8000328af2
0xffffff80e89e3cd0 : 0xffffff800032c895
0xffffff80e89e3d20 : 0xffffff8000318ef4
0xffffff80e89e3d60 : 0xffffff80002fd1aa
0xffffff80e89e3db0 : 0xffffff80002fceae
0xffffff80e89e3df0 : 0xffffff80002fe3d1
0xffffff80e89e3e20 : 0xffffff8000316a1f
0xffffff80e89e3e50 : 0xffffff8000540e59
0xffffff80e89e3ec0 : 0xffffff800023ba0b
0xffffff80e89e3ef0 : 0xffffff800023bf0a
0xffffff80e89e3f20 : 0xffffff800023bfa0
0xffffff80e89e3f50 : 0xffffff800021e0ce
0xffffff80e89e3f90 : 0xffffff80002c1c8a
0xffffff80e89e3fb0 : 0xffffff80002d79ec
BSD process name corresponding to current thread: tmux
Boot args: iog=0x0 arch=x86_64
Mac OS version:
11C74
Kernel version:
Darwin Kernel Version 11.2.0: Tue Aug 9 20:54:00 PDT 2011; root:xnu-1699.24.8~1/RELEASE_X86_64
Kernel UUID: 59275DFA-10C0-30B3-9E26-F7B5DFB1A432
System model name: MacBookPro7,1 (Mac-F222BEC8)
System uptime in nanoseconds: 377601839368
last loaded kext at 143467644921: com.viscosityvpn.Viscosity.tun 1.0 (addr 0xffffff7f821ed000, size 32768)
last unloaded kext at 55436032020: com.parallels.kext.prl_hypervisor 7.0 15054.722853 (addr 0xffffff7f8215c000, size 376832)
loaded kexts:
com.viscosityvpn.Viscosity.tun 1.0
com.viscosityvpn.Viscosity.tap 1.0
com.sophos.kext.sav 7.3.0
com.parallels.kext.prl_vnic 7.0 15054.722853
com.parallels.kext.prl_netbridge 7.0 15054.722853
com.parallels.kext.prl_hid_hook 7.0 15054.722853
com.parallels.kext.prl_hypervisor 7.0 15054.722853
com.parallels.kext.prl_usb_connect 7.0 15054.722853
com.sns.driver.SnsiSCSI 4.1
com.sns.driver.SNSArchitectureModel 1.1
com.Logitech.Control Center.HID Driver 3.3.0
at.obdev.nke.LittleSnitch 2.4.4
com.apple.driver.AppleHWSensor 1.9.4d0
com.apple.filesystems.autofs 3.0
com.apple.driver.AudioAUUC 1.59
com.apple.driver.AppleMikeyHIDDriver 122
com.apple.driver.AppleHDA 2.1.3f7
com.apple.driver.AppleMikeyDriver 2.1.3f7
com.apple.driver.AppleTyMCEDriver 1.0.2d2
com.apple.driver.AGPM 100.12.42
com.apple.driver.AppleUpstreamUserClient 3.5.9
com.apple.driver.AppleMCCSControl 1.0.26
com.apple.driver.SMCMotionSensor 3.0.1d2
com.apple.iokit.IOUserEthernet 1.0.0d1
com.apple.driver.AppleSMCLMU 2.0.1d2
com.apple.Dont_Steal_Mac_OS_X 7.0.0
com.apple.driver.AudioIPCDriver 1.2.1
com.apple.driver.AppleLPC 1.5.3
com.apple.driver.ACPI_SMC_PlatformPlugin 4.7.5d4
com.apple.driver.AppleMuxControl 3.0.16
com.apple.driver.AppleBacklight 170.1.9
com.apple.GeForce 7.1.2
com.apple.driver.AppleUSBTCButtons 225.2
com.apple.driver.AppleIRController 312
com.apple.driver.AppleUSBTCKeyEventDriver 225.2
com.apple.driver.AppleUSBTCKeyboard 225.2
com.apple.driver.CoreStorageFsck 182.10
com.apple.driver.AppleUSBCardReader 3.0.1
com.apple.AppleFSCompression.AppleFSCompressionTypeDataless 1.0.0d1
com.apple.AppleFSCompression.AppleFSCompressionTypeZlib 1.0.0d1
com.apple.BootCache 33
com.apple.iokit.SCSITaskUserClient 3.0.1
com.apple.iokit.IOAHCIBlockStorage 2.0.1
com.apple.driver.AirPort.Brcm4331 512.20.18
com.apple.iokit.AppleBCM5701Ethernet 3.0.8b2
com.apple.driver.AppleFWOHCI 4.8.9
com.apple.driver.AppleEFINVRAM 1.5.0
com.apple.driver.AppleUSBHub 4.5.0
com.apple.driver.AppleAHCIPort 2.2.0
com.apple.driver.AppleUSBOHCI 4.4.5
com.apple.driver.AppleRTC 1.4
com.apple.driver.AppleSmartBatteryManager 161.0.0
com.apple.driver.AppleHPET 1.6
com.apple.driver.AppleUSBEHCI 4.5.0
com.apple.driver.AppleACPIButtons 1.4
com.apple.driver.AppleSMBIOS 1.7
com.apple.driver.AppleACPIEC 1.4
com.apple.driver.AppleAPIC 1.5
com.apple.driver.AppleIntelCPUPowerManagementClient 167.0.0
com.apple.nke.applicationfirewall 3.2.30
com.apple.security.quarantine 1
com.apple.driver.AppleIntelCPUPowerManagement 167.0.0
com.apple.kext.triggers 1.0
com.apple.driver.AppleHDAHardwareConfigDriver 2.1.3f7
com.apple.driver.DspFuncLib 2.1.3f7
com.apple.driver.AppleSMBusController 1.0.10d0
com.apple.iokit.IOFireWireIP 2.2.4
com.apple.iokit.IOSurface 80.0
com.apple.iokit.IOBluetoothSerialManager 4.0.1f4
com.apple.iokit.IOSerialFamily 10.0.5
com.apple.iokit.IOAVBFamily 1.0.0d22
com.apple.iokit.IOSCSIParallelFamily 2.5.1
com.apple.iokit.IOAudioFamily 1.8.3fc11
com.apple.kext.OSvKernDSPLib 1.3
com.apple.driver.ApplePolicyControl 3.0.16
com.apple.driver.AppleHDAController 2.1.3f7
com.apple.iokit.IOHDAFamily 2.1.3f7
com.apple.driver.AppleSMC 3.1.1d8
com.apple.driver.IOPlatformPluginFamily 4.7.5d4
com.apple.driver.AppleSMBusPCI 1.0.10d0
com.apple.driver.AppleGraphicsControl 3.0.16
com.apple.driver.AppleBacklightExpert 1.0.3
com.apple.nvidia.nv50hal 7.1.2
com.apple.NVDAResman 7.1.2
com.apple.iokit.IONDRVSupport 2.3.2
com.apple.iokit.IOGraphicsFamily 2.3.2
com.apple.driver.BroadcomUSBBluetoothHCIController 4.0.1f4
com.apple.driver.AppleUSBBluetoothHCIController 4.0.1f4
com.apple.iokit.IOBluetoothFamily 4.0.1f4
com.apple.driver.AppleFileSystemDriver 13
com.apple.driver.AppleUSBMultitouch 227.1
com.apple.iokit.IOUSBHIDDriver 4.4.5
com.apple.iokit.IOSCSIBlockCommandsDevice 3.0.1
com.apple.iokit.IOUSBMassStorageClass 3.0.0
com.apple.driver.CoreStorage 182.10
com.apple.driver.AppleUSBMergeNub 4.5.3
com.apple.driver.AppleUSBComposite 3.9.0
com.apple.iokit.IOSCSIMultimediaCommandsDevice 3.0.1
com.apple.iokit.IOBDStorageFamily 1.6
com.apple.iokit.IODVDStorageFamily 1.7
com.apple.iokit.IOCDStorageFamily 1.7
com.apple.driver.XsanFilter 403
com.apple.iokit.IOAHCISerialATAPI 2.0.1
com.apple.iokit.IOSCSIArchitectureModelFamily 3.0.1
com.apple.iokit.IO80211Family 411.1
com.apple.iokit.IOEthernetAVBController 1.0.0d5
com.apple.iokit.IONetworkingFamily 2.0
com.apple.iokit.IOFireWireFamily 4.4.5
com.apple.iokit.IOUSBUserClient 4.5.3
com.apple.driver.AppleMCP89RootPortPM 1.11
com.apple.iokit.IOAHCIFamily 2.0.7
com.apple.driver.NVSMU 2.2.9
com.apple.driver.AppleEFIRuntime 1.5.0
com.apple.iokit.IOUSBFamily 4.5.3
com.apple.iokit.IOHIDFamily 1.7.1
com.apple.iokit.IOSMBusFamily 1.1
com.apple.security.sandbox 165.3
com.apple.kext.AppleMatch 1.0.0d1
com.apple.security.TMSafetyNet 7
com.apple.driver.DiskImages 331
com.apple.iokit.IOStorageFamily 1.7
com.apple.driver.AppleKeyStore 28.18
com.apple.driver.AppleACPIPlatform 1.4
com.apple.iokit.IOPCIFamily 2.6.7
com.apple.iokit.IOACPIFamily 1.4
Kan inte samla in information om systemkonfigurationen.Model: MacBookPro7,1, BootROM MBP71.0039.B0E, 2 processors, Intel Core 2 Duo, 2.4 GHz, 8 GB, SMC 1.62f6
Graphics: NVIDIA GeForce 320M, NVIDIA GeForce 320M, PCI, 256 MB
Memory Module: BANK 0/DIMM0, 4 GB, DDR3, 1067 MHz, 0x802C, 0x31364A53533531323634485A2D3147314131
Memory Module: BANK 1/DIMM0, 4 GB, DDR3, 1067 MHz, 0x802C, 0x31364A53533531323634485A2D3147314131
AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0x8D), Broadcom BCM43xx 1.0 (5.100.98.75.18)
Bluetooth: Version 4.0.1f4, 2 service, 18 devices, 1 incoming serial ports
Network Service: AirPort, AirPort, en1
Network Service: Parallels Shared Networking Adapter #0, Ethernet, vnic0
Network Service: Parallels Host-Only Networking Adapter #1, Ethernet, vnic1
Serial ATA Device: Hitachi HTS545050B9SA02, 500,11 GB
Serial ATA Device: MATSHITADVD-R UJ-898
USB Device: Built-in iSight, apple_vendor_id, 0x8507, 0x24600000 / 2
USB Device: Internal Memory Card Reader, apple_vendor_id, 0x8403, 0x26100000 / 2
USB Device: BRCM2046 Hub, 0x0a5c (Broadcom Corp.), 0x4500, 0x06600000 / 4
USB Device: Bluetooth USB Host Controller, apple_vendor_id, 0x8213, 0x06610000 / 6
USB Device: IR Receiver, apple_vendor_id, 0x8242, 0x06500000 / 3
USB Device: Apple Internal Keyboard / Trackpad, apple_vendor_id, 0x0237, 0x06300000 / 2