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

Mountain Lion kernel panics with 2.5.0 (unmounting or shutting down VM) #48

Closed
MaxSprauer opened this issue Aug 8, 2012 · 2 comments
Assignees
Milestone

Comments

@MaxSprauer
Copy link

@MaxSprauer MaxSprauer commented Aug 8, 2012

FUSE for OS X 2.5.0
OS X 10.8

This kernel panic occurred when I shut down a FreeBSD VM running on VMWare Fusion that was mounted via sshfs:

Wed Aug 8 16:50:07 2012
panic(cpu 3 caller 0xffffff801e2b7b95): Kernel trap at 0xffffff7fa05b68ab, type 13=general protection, registers:
CR0: 0x000000008001003b, CR2: 0x00000000b040dd8c, CR3: 0x000000007a98c040, CR4: 0x00000000000206e0
RAX: 0xdeadbeeffeedface, RBX: 0xffffff8040481c98, RCX: 0x7fffffffffffffff, RDX: 0x000000000000004e
RSP: 0xffffff802b1a3af0, RBP: 0xffffff802b1a3b70, RSI: 0xffffff7fa05c8338, RDI: 0x0000000000000401
R8: 0xffffff810684d078, R9: 0x0000000009aa7d00, R10: 0xffffff8032eade00, R11: 0x0000000000000000
R12: 0xffffff8034382160, R13: 0xffffff8040438480, R14: 0x0000000000000000, R15: 0x000000000000001e
RFL: 0x0000000000010246, RIP: 0xffffff7fa05b68ab, CS: 0x0000000000000008, SS: 0x0000000000000010
Fault CR2: 0x00000000b040dd8c, Error code: 0x0000000000000000, Fault CPU: 0x3

Backtrace (CPU 3), Frame : Return Address
0xffffff802b1a3790 : 0xffffff801e21d5f6
0xffffff802b1a3800 : 0xffffff801e2b7b95
0xffffff802b1a39d0 : 0xffffff801e2ce4ad
0xffffff802b1a39f0 : 0xffffff7fa05b68ab
0xffffff802b1a3b70 : 0xffffff7fa05c03de
0xffffff802b1a3bc0 : 0xffffff7fa05c5d24
0xffffff802b1a3bf0 : 0xffffff801e31206f
0xffffff802b1a3c20 : 0xffffff801e2f1893
0xffffff802b1a3c70 : 0xffffff801e2f0fe1
0xffffff802b1a3cb0 : 0xffffff801e2f14da
0xffffff802b1a3d30 : 0xffffff801e2f9f68
0xffffff802b1a3d80 : 0xffffff801e2f9cc0
0xffffff802b1a3f50 : 0xffffff801e5e17da
0xffffff802b1a3fb0 : 0xffffff801e2cecf3
Kernel Extensions in backtrace:
com.github.osxfuse.filesystems.osxfusefs(2.5)[075205E0-5DAD-A389-89A8-30E2996B4BDD]@0xffffff7fa05b2000->0xffffff7fa05cafff

BSD process name corresponding to current thread: umount

Mac OS version:
12A269

Kernel version:
Darwin Kernel Version 12.0.0: Sun Jun 24 23:00:16 PDT 2012; root:xnu-2050.7.9~1/REL

This kernel panic occurred when I pressed the Unmount button in MacFusion on an sshfs mount:

Wed Aug 8 11:41:05 2012
panic(cpu 0 caller 0xffffff801dab7b95): Kernel trap at 0xffffff7f9fdb28ab, type 14=page fault, registers:
CR0: 0x000000008001003b, CR2: 0xffffff80baddece7, CR3: 0x00000001a494602e, CR4: 0x00000000000206e0
RAX: 0xffffff80baddecaf, RBX: 0xffffff803cf9c550, RCX: 0x7fffffffffffffff, RDX: 0x000000000000004e
RSP: 0xffffff810dd4baf0, RBP: 0xffffff810dd4bb70, RSI: 0xffffff7f9fdc4338, RDI: 0x0000000000000401
R8: 0xffffff801e0bec60, R9: 0xffffffffffffff00, R10: 0xffffff80309a6a00, R11: 0x0000000000000000
R12: 0xffffff803377ecf0, R13: 0xffffff80334a6c80, R14: 0x0000000000000000, R15: 0x000000000000001e
RFL: 0x0000000000010246, RIP: 0xffffff7f9fdb28ab, CS: 0x0000000000000008, SS: 0x0000000000000010
Fault CR2: 0xffffff80baddece7, Error code: 0x0000000000000002, Fault CPU: 0x0

Backtrace (CPU 0), Frame : Return Address
0xffffff810dd4b790 : 0xffffff801da1d5f6
0xffffff810dd4b800 : 0xffffff801dab7b95
0xffffff810dd4b9d0 : 0xffffff801dace4ad
0xffffff810dd4b9f0 : 0xffffff7f9fdb28ab
0xffffff810dd4bb70 : 0xffffff7f9fdbc3de
0xffffff810dd4bbc0 : 0xffffff7f9fdc1d24
0xffffff810dd4bbf0 : 0xffffff801db1206f
0xffffff810dd4bc20 : 0xffffff801daf1893
0xffffff810dd4bc70 : 0xffffff801daf0fe1
0xffffff810dd4bcb0 : 0xffffff801daf14da
0xffffff810dd4bd30 : 0xffffff801daf9f68
0xffffff810dd4bd80 : 0xffffff801daf9cc0
0xffffff810dd4bf50 : 0xffffff801dde17da
0xffffff810dd4bfb0 : 0xffffff801dacecf3
Kernel Extensions in backtrace:
com.github.osxfuse.filesystems.osxfusefs(2.5)[075205E0-5DAD-A389-89A8-30E2996B4BDD]@0xffffff7f9fdae000->0xffffff7f9fdc6fff

BSD process name corresponding to current thread: umount

Mac OS version:
12A269

Kernel version:
Darwin Kernel Version 12.0.0: Sun Jun 24 23:00:16 PDT 2012; root:xnu-2050.7.9~1/RELEASE_X86_64
Kernel UUID: 8D5F8EF3-9D12-384B-8070-EF2A49C45D24
Kernel slide: 0x000000001d800000
Kernel text base: 0xffffff801da00000
System model name: MacBookPro6,2 (Mac-F22586C8)

System uptime in nanoseconds: 5970921516356
last loaded kext at 1062615500863: com.github.osxfuse.filesystems.osxfusefs 2.5.0 (addr 0xffffff7f9fdae000, size 102400)
last unloaded kext at 477234745907: com.apple.driver.AppleUSBCDC 4.1.21 (addr 0xffffff7f9fd6b000, size 12288)
loaded kexts:
com.github.osxfuse.filesystems.osxfusefs 2.5.0
com.vmware.kext.vmnet 0073.02.98
com.vmware.kext.vmioplug 0073.02.98
com.vmware.kext.vsockets 90.1.5
com.vmware.kext.vmci 90.1.1
com.vmware.kext.vmx86 0073.02.98
com.apple.filesystems.smbfs 1.8
com.apple.driver.AudioAUUC 1.60
com.apple.driver.AppleHWSensor 1.9.5d0
com.apple.filesystems.autofs 3.0
com.apple.iokit.IOBluetoothSerialManager 4.0.9f8
com.apple.driver.AGPM 100.12.69
com.apple.driver.AppleHDA 2.3.0f2
com.apple.iokit.IOUserEthernet 1.0.0d1
com.apple.iokit.BroadcomBluetoothHCIControllerUSBTransport 4.0.9f8
com.apple.driver.AppleSMCLMU 2.0.2d0
com.apple.Dont_Steal_Mac_OS_X 7.0.0
com.apple.driver.ApplePolicyControl 3.2.6
com.apple.driver.ACPI_SMC_PlatformPlugin 1.0.0
com.apple.driver.AppleLPC 1.6.0
com.apple.driver.AppleIntelHDGraphics 8.0.0
com.apple.driver.AppleUpstreamUserClient 3.5.10
com.apple.driver.AppleMCCSControl 1.0.33
com.apple.driver.AppleMikeyHIDDriver 122
com.apple.driver.AppleSMCPDRC 1.0.0
com.apple.GeForce 8.0.0
com.apple.driver.AppleMikeyDriver 2.3.0f2
com.apple.driver.AppleMuxControl 3.2.6
com.apple.driver.AppleIntelHDGraphicsFB 8.0.0
com.apple.driver.SMCMotionSensor 3.0.2d6
com.apple.driver.AppleUSBTCButtons 235.4
com.apple.driver.AppleUSBCardReader 3.1.0
com.apple.AppleFSCompression.AppleFSCompressionTypeDataless 1.0.0d1
com.apple.AppleFSCompression.AppleFSCompressionTypeZlib 1.0.0d1
com.apple.BootCache 34
com.apple.driver.AppleUSBTCKeyboard 235.4
com.apple.driver.AppleIRController 320.15
com.apple.iokit.SCSITaskUserClient 3.5.1
com.apple.driver.XsanFilter 404
com.apple.driver.AppleUSBHub 5.1.6
com.apple.iokit.IOAHCIBlockStorage 2.2.0
com.apple.driver.AppleAHCIPort 2.4.0
com.apple.driver.AirPort.Brcm4331 600.15.20
com.apple.driver.AppleFWOHCI 4.9.5
com.apple.driver.AppleUSBEHCI 5.1.5
com.apple.iokit.AppleBCM5701Ethernet 3.2.5b3
com.apple.driver.AppleSmartBatteryManager 161.0.0
com.apple.driver.AppleEFINVRAM 1.6.1
com.apple.driver.AppleRTC 1.5
com.apple.driver.AppleACPIButtons 1.6
com.apple.driver.AppleHPET 1.7
com.apple.driver.AppleSMBIOS 1.9
com.apple.driver.AppleACPIEC 1.6
com.apple.driver.AppleAPIC 1.6
com.apple.driver.AppleIntelCPUPowerManagementClient 196.0.0
com.apple.nke.applicationfirewall 4.0.39
com.apple.security.quarantine 2
com.apple.driver.AppleIntelCPUPowerManagement 196.0.0
com.apple.kext.triggers 1.0
com.apple.iokit.IOSerialFamily 10.0.6
com.apple.driver.DspFuncLib 2.3.0f2
com.apple.iokit.IOAudioFamily 1.8.9fc9
com.apple.kext.OSvKernDSPLib 1.6
com.apple.iokit.AppleBluetoothHCIControllerUSBTransport 4.0.9f8
com.apple.iokit.IOFireWireIP 2.2.5
com.apple.driver.AppleHDAController 2.3.0f2
com.apple.iokit.IOHDAFamily 2.3.0f2
com.apple.iokit.IOSurface 86.0.2
com.apple.iokit.IOBluetoothFamily 4.0.9f8
com.apple.driver.IOPlatformPluginLegacy 1.0.0
com.apple.driver.IOPlatformPluginFamily 5.2.0d16
com.apple.driver.AppleSMBusController 1.0.10d0
com.apple.driver.AppleSMBusPCI 1.0.10d0
com.apple.driver.AppleBacklightExpert 1.0.4
com.apple.driver.AppleGraphicsControl 3.2.6
com.apple.nvidia.nv50hal 8.0.0
com.apple.NVDAResman 8.0.0
com.apple.iokit.IONDRVSupport 2.3.4
com.apple.iokit.IOGraphicsFamily 2.3.4
com.apple.driver.AppleSMC 3.1.3d11
com.apple.iokit.IOSCSIBlockCommandsDevice 3.5.1
com.apple.iokit.IOUSBMassStorageClass 3.5.0
com.apple.driver.AppleUSBMultitouch 235.7
com.apple.iokit.IOUSBHIDDriver 5.0.0
com.apple.driver.AppleUSBMergeNub 5.1.5
com.apple.driver.AppleUSBComposite 5.0.0
com.apple.iokit.IOSCSIMultimediaCommandsDevice 3.5.1
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.0
com.apple.iokit.IOSCSIArchitectureModelFamily 3.5.1
com.apple.iokit.IOUSBUserClient 5.0.0
com.apple.iokit.IOAHCIFamily 2.2.0
com.apple.iokit.IO80211Family 500.15
com.apple.iokit.IOFireWireFamily 4.5.5
com.apple.iokit.IOEthernetAVBController 1.0.2b1
com.apple.iokit.IONetworkingFamily 3.0
com.apple.iokit.IOUSBFamily 5.1.6
com.apple.driver.AppleEFIRuntime 1.6.1
com.apple.iokit.IOHIDFamily 1.8.0
com.apple.iokit.IOSMBusFamily 1.1
com.apple.security.sandbox 220
com.apple.kext.AppleMatch 1.0.0d1
com.apple.security.TMSafetyNet 7
com.apple.driver.DiskImages 344
com.apple.iokit.IOStorageFamily 1.8
com.apple.driver.AppleKeyStore 28.18
com.apple.driver.AppleACPIPlatform 1.6
com.apple.iokit.IOPCIFamily 2.7
com.apple.iokit.IOACPIFamily 1.4
com.apple.kec.corecrypto 1.0

@bfleischer

This comment has been minimized.

Copy link
Member

@bfleischer bfleischer commented Aug 9, 2012

Thanks for the bug report. This issue should be fixed in commit 0d85a8c. It was caused by accessing already freed memory. The patch will be part of the next release, OSXFUSE 2.5.1.

@bfleischer bfleischer closed this Aug 9, 2012
@ghost ghost assigned bfleischer Aug 9, 2012
@MaxSprauer

This comment has been minimized.

Copy link
Author

@MaxSprauer MaxSprauer commented Aug 9, 2012

Thank you for the quick response! Looking forward to trying the next build.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.