openzfsonosx / openzfs

OpenZFS on Linux and FreeBSD, and, macOS. This is where development for macOS happens.
https://github.com/openzfs/zfs/wiki
Other
144 stars 12 forks source link

Panicked a few times: "zfs: accessing past end of object" #122

Open chuckaeronut opened 1 year ago

chuckaeronut commented 1 year ago

System information

Type Version/Name
Distribution Name macOS Sonoma 14.0 beta 3 (build 23A5286g)
Distribution Version
Linux Kernel
Architecture AArch64
ZFS Version 2.1.6, the .pkg file for Ventura/AppleSilicon (md5 of disk image download: 6acb8b52c5f383e6ecb9cef0a34ee2cb, from https://openzfsonosx.org/wiki/Downloads#2.1.6)
SPL Version

Describe the problem you're observing

Occasionally, a wild kernel panic appears! Fourth time in as many days, so I'm seeing a pattern now. I would have simply attributed it to the fact that I'm on Sonoma beta 3, but O3X is at the top of the backtrace, so I'm posting this in case it helps. If this is inappropriate at this point in time, I totally understand. This isn't ruining my day, at least not yet!

Describe how to reproduce the problem

Unfortunately, information is thin here. I'm not consciously doing anything I'm aware of in the user space involving ZFS pools. All of the panics have happened while scrolling a website in Safari, with my drive otherwise not being used. My whole OS is running on APFS just as Apple intended; I use ZFS only for my Desktop folder, on a partition on my Mac's internal SSD.

Include any warning/errors/backtraces from the system logs

panic(cpu 4 caller 0xfffffe001135cbb0): zfs: accessing past end of object 71/17761d (size=71168 access=65536+16384)
Debugger message: panic
Memory ID: 0x6
OS release type: User
OS version: 23A5286g
Kernel version: Darwin Kernel Version 23.0.0: Fri Jun 30 17:50:12 PDT 2023; root:xnu-10002.0.168.505.3~1/RELEASE_ARM64_T6000
Fileset Kernelcache UUID: 6C8DCCC0F645B6C8552006A0F3E800D8
Kernel UUID: B8F465FB-B6A6-34E3-8470-8CB365E0C712
Boot session UUID: 80AAB4D0-16F2-45D8-A02E-3FE9C783895B
iBoot version: iBoot-10151.0.172.0.3
secure boot?: YES
roots installed: 0
Paniclog version: 14
KernelCache slide: 0x000000000a6c0000
KernelCache base:  0xfffffe00116c4000
Kernel slide:      0x000000000a6c8000
Kernel text base:  0xfffffe00116cc000
Kernel text exec slide: 0x000000000bbac000
Kernel text exec base:  0xfffffe0012bb0000
mach_absolute_time: 0x3a1b1c1c2dd
Epoch Time:        sec       usec
  Boot    : 0x64b70905 0x000253ed
  Sleep   : 0x00000000 0x00000000
  Wake    : 0x00000000 0x00000000
  Calendar: 0x64b992e4 0x000a9dfb

Zone info:
  Zone map: 0xfffffe1006774000 - 0xfffffe3006774000
  . VM    : 0xfffffe1006774000 - 0xfffffe14d3440000
  . RO    : 0xfffffe14d3440000 - 0xfffffe166cdd8000
  . GEN0  : 0xfffffe166cdd8000 - 0xfffffe1b39aa4000
  . GEN1  : 0xfffffe1b39aa4000 - 0xfffffe2006770000
  . GEN2  : 0xfffffe2006770000 - 0xfffffe24d343c000
  . GEN3  : 0xfffffe24d343c000 - 0xfffffe29a0108000
  . DATA  : 0xfffffe29a0108000 - 0xfffffe3006774000
  Metadata: 0xfffffe7ff1110000 - 0xfffffe7ff9110000
  Bitmaps : 0xfffffe7ff9110000 - 0xfffffe8004d28000
  Extra   : 0 - 0

TPIDRx_ELy = {1: 0xfffffe166d2c3030  0: 0x0000000000001004  0ro: 0x0000000000000000 }
CORE 0 PVH locks held: None
CORE 1 PVH locks held: None
CORE 2 PVH locks held: None
CORE 3 PVH locks held: None
CORE 4 PVH locks held: None
CORE 5 PVH locks held: None
CORE 6 PVH locks held: None
CORE 7 PVH locks held: None
CORE 8 PVH locks held: None
CORE 9 PVH locks held: None
CORE 0: PC=0xfffffe0012d46f5c, LR=0xfffffe0012d55578, FP=0xfffffe8008097e80
CORE 1: PC=0xfffffe0012d55584, LR=0xfffffe0012d55580, FP=0xfffffe8007f27e80
CORE 2: PC=0x00000001af3c6cd4, LR=0x00000001aead01c0, FP=0x000000016b6da690
CORE 3: PC=0x00000001168467f8, LR=0x0000000116847354, FP=0x000000016b4259d0
CORE 4 is the one that panicked. Check the full backtrace for details.
CORE 5: PC=0xfffffe0012d46fa4, LR=0xfffffe0012d55578, FP=0xfffffe8005f0fe80
CORE 6: PC=0xfffffe0012c437e4, LR=0xfffffe0012c437e0, FP=0xfffffe80061bbef0
CORE 7: PC=0xfffffe0012c437e0, LR=0xfffffe0012c437e0, FP=0xfffffe8007aafef0
CORE 8: PC=0xfffffe0012c437e4, LR=0xfffffe0012c437e0, FP=0xfffffe80079e3ef0
CORE 9: PC=0xfffffe0012c437e4, LR=0xfffffe0012c437e0, FP=0xfffffe800656fef0
Compressor Info: 0% of compressed pages limit (OK) and 0% of segments limit (OK) with 0 swapfiles and OK swap space
Panicked task 0xfffffe299ffd6be8: 0 pages, 836 threads: pid 0: kernel_task
Panicked thread: 0xfffffe166d2c3030, backtrace: 0xfffffe8007917290, tid: 2091
          lr: 0xfffffe0012c08ac4  fp: 0xfffffe8007917310
          lr: 0xfffffe0012d60ccc  fp: 0xfffffe8007917330
          lr: 0xfffffe0012d518b4  fp: 0xfffffe80079173a0
          lr: 0xfffffe0012d4fd28  fp: 0xfffffe8007917490
          lr: 0xfffffe0012bb7aa4  fp: 0xfffffe80079174a0
          lr: 0xfffffe0012c08390  fp: 0xfffffe8007917850
          lr: 0xfffffe0013418aec  fp: 0xfffffe8007917870
          lr: 0xfffffe001135cbb0  fp: 0xfffffe80079179b0
          lr: 0xfffffe001135cb24  fp: 0xfffffe8007917af0
          lr: 0xfffffe00114127f4  fp: 0xfffffe8007917b10
          lr: 0xfffffe0011399d14  fp: 0xfffffe8007917bd0
          lr: 0xfffffe001139aaf8  fp: 0xfffffe8007917c60
          lr: 0xfffffe00114a63c8  fp: 0xfffffe8007917d80
          lr: 0xfffffe00131a3260  fp: 0xfffffe8007917e80
          lr: 0xfffffe0012ca170c  fp: 0xfffffe8007917e90
          lr: 0xfffffe0012ceef28  fp: 0xfffffe8007917f20
          lr: 0xfffffe0012bc0ed8  fp: 0x0000000000000000
      Kernel Extensions in backtrace:
         org.openzfsonosx.zfs(2.1.6)[A31057B6-7886-336C-A417-56FC977D9210]@0xfffffe001135c000->0xfffffe00115840eb
            dependency: com.apple.iokit.IOStorageFamily(2.1)[AAF21051-80CE-3C4D-8B6F-B91FEDD4F18B]@0xfffffe00153c02a0->0xfffffe00153e1f7f

last started kext at 3465054353184: com.apple.filesystems.smbfs 5.0 (addr 0xfffffe00120b4500, size 81955)
loaded kexts:
org.openzfsonosx.zfs    2.1.6
com.apple.filesystems.smbfs 5.0
com.apple.macos.driver.AppleUSBEthernetHost 8.1.1
com.apple.driver.AppleHIDALSService 1
com.apple.filesystems.autofs    3.0
com.apple.driver.AppleTopCaseHIDEventDriver 7400.21
com.apple.driver.AppleBiometricServices 1
com.apple.driver.CoreKDL    1
com.apple.driver.DiskImages.ReadWriteDiskImage  493.0.0
com.apple.driver.DiskImages.UDIFDiskImage   493.0.0
com.apple.driver.DiskImages.RAMBackingStore 493.0.0
com.apple.driver.DiskImages.FileBackingStore    493.0.0
com.apple.driver.AppleFileSystemDriver  3.0.1
com.apple.driver.AppleUSBDeviceNCM  5.0.0
com.apple.nke.l2tp  1.9
com.apple.filesystems.tmpfs 1
com.apple.driver.BCMWLANFirmware4387.Hashstore  1
com.apple.driver.SEPHibernation 1
com.apple.driver.AppleThunderboltIP 4.0.3
com.apple.AppleEmbeddedSimpleSPINORFlasher  1
com.apple.driver.ApplePMP   1
com.apple.driver.AppleCS42L84Audio  700.45
com.apple.driver.AppleSmartIO2  1
com.apple.driver.AppleSN012776Amp   700.45
com.apple.driver.AppleT6000SOCTuner 1
com.apple.driver.AppleT6000CLPCv3   1
com.apple.filesystems.nfs   1
com.apple.filesystems.lifs  1
com.apple.filesystems.apfs  2235.0.1
com.apple.IOTextEncryptionFamily    1.0.0
com.apple.filesystems.hfs.kext  650
com.apple.security.BootPolicy   1
com.apple.BootCache 40
com.apple.AppleFSCompression.AppleFSCompressionTypeZlib 1.0.0
com.apple.AppleFSCompression.AppleFSCompressionTypeDataless 1.0.0d1
com.apple.driver.AppleSmartBatteryManager   161.0.0
com.apple.driver.AppleAVD   728.1
com.apple.AGXG13X   266
com.apple.driver.AppleEventLogHandler   1
com.apple.driver.AppleMCDP29XXUpdateSupport 1
com.apple.driver.AppleSamsungSerial 1.0.0d1
com.apple.driver.AppleJPEGDriver    6.0.5
com.apple.driver.AppleM68Buttons    1.0.0d1
com.apple.driver.AppleMobileDispT600X-DCP   140.0
com.apple.driver.usb.AppleSynopsysUSB40XHCI 1
com.apple.driver.AppleProResHW  300.68.0
com.apple.driver.AppleALSColorSensor    1.0.0d1
com.apple.driver.AppleAVE2  702.66.0
com.apple.driver.ApplePMPFirmware   1
com.apple.driver.AppleAOPVoiceTrigger   300.7
com.apple.driver.AppleSerialShim    1
com.apple.driver.AppleDPDisplayTCON 1
com.apple.driver.AppleS5L8960XNCO   1
com.apple.driver.AppleSDXC  3.4.3
com.apple.driver.AppleT6001PMGR 1
com.apple.driver.AppleS8000AES  1
com.apple.driver.AppleS8000DWI  1.0.0d1
com.apple.driver.AppleInterruptControllerV2 1.0.0d1
com.apple.driver.AppleT8110DART 1
com.apple.driver.AppleBluetoothModule   1
com.apple.driver.AppleBCMWLANBusInterfacePCIe   1
com.apple.driver.AppleS5L8920XPWM   1.0.0d1
com.apple.driver.AudioDMAController-T600x   300.15
com.apple.driver.AppleT6000DART 1
com.apple.driver.AppleSPIMC 1
com.apple.driver.AppleS5L8940XI2C   1.0.0d2
com.apple.driver.AppleT6000 1
com.apple.iokit.IOUserEthernet  1.0.1
com.apple.driver.usb.AppleUSBUserHCI    1
com.apple.iokit.IOKitRegistryCompatibility  1
com.apple.iokit.EndpointSecurity    1
com.apple.driver.AppleDiskImages2   264.0.0
com.apple.AppleSystemPolicy 2.0.0
com.apple.nke.applicationfirewall   404
com.apple.kec.InvalidateHmac    1
com.apple.kec.AppleEncryptedArchive 1
com.apple.driver.usb.cdc.ecm    5.0.0
com.apple.driver.usb.cdc.acm    5.0.0
com.apple.driver.usb.serial 6.0.0
com.apple.driver.usb.cdc.ncm    5.0.0
com.apple.driver.usb.IOUSBHostHIDDevice 1.2
com.apple.driver.usb.cdc    5.0.0
com.apple.driver.AppleUSBAudio  600.36
com.apple.iokit.IOAudioFamily   500.4
com.apple.vecLib.kext   1.2.0
com.apple.driver.usb.AppleUSBXHCIPCI    1.2
com.apple.driver.AppleThunderboltPCIUpAdapter   4.1.1
com.apple.driver.AppleThunderboltDPOutAdapter   8.5.1
com.apple.driver.driverkit.serial   6.0.0
com.apple.iokit.IOAVBFamily 1200.16
com.apple.driver.AppleHIDKeyboard   7400.2
com.apple.driver.AppleActuatorDriver    7400.37
com.apple.driver.AppleMultitouchDriver  7400.37
com.apple.driver.AppleHSBluetoothDriver 7400.21
com.apple.driver.IOBluetoothHIDDriver   9.0.0
com.apple.driver.AppleMesaSEPDriver 100.99
com.apple.iokit.IOBiometricFamily   1
com.apple.driver.DiskImages.KernelBacked    493.0.0
com.apple.plugin.IOgPTPPlugin   1200.90
com.apple.driver.usb.networking 5.0.0
com.apple.nke.ppp   1.9
com.apple.driver.AppleSEPHDCPManager    1.0.1
com.apple.driver.AppleTrustedAccessory  1
com.apple.iokit.AppleSEPGenericTransfer 1
com.apple.driver.AppleUVDMDriver    1.0.0
com.apple.driver.AppleXsanScheme    3
com.apple.driver.AppleThunderboltUSBDownAdapter 1.0.4
com.apple.driver.AppleThunderboltDPInAdapter    8.5.1
com.apple.driver.AppleThunderboltDPAdapterFamily    8.5.1
com.apple.driver.AppleThunderboltPCIDownAdapter 4.1.1
com.apple.driver.AppleHIDTransportSPI   7000.30
com.apple.driver.AppleHIDTransport  7000.30
com.apple.driver.AppleInputDeviceSupport    7000.30
com.apple.driver.AppleCSEmbeddedAudio   700.45
com.apple.driver.AppleDCPDPTXProxy  1.0.0
com.apple.driver.DCPDPFamilyProxy   1
com.apple.driver.AppleDiagnosticDataAccessReadOnly  1.0.0
com.apple.driver.AppleConvergedIPCOLYBTControl  1
com.apple.driver.AppleConvergedPCI  1
com.apple.driver.AppleBluetoothDebug    1
com.apple.driver.AppleBTM   1.0.1
com.apple.driver.ApplePassthroughPPM    3.0
com.apple.driver.AppleBSDKextStarter    3
com.apple.kext.triggers 1.0
com.apple.driver.IOHIDPowerSource   1
com.apple.driver.AppleCallbackPowerSource   1
com.apple.filesystems.hfs.encodings.kext    1
com.apple.driver.AppleSyntheticGameController   11.0.21
com.apple.AGXFirmwareKextG13XRTBuddy    266
com.apple.AGXFirmwareKextRTBuddy64  266
com.apple.iokit.IOGPUFamily 91
com.apple.driver.AppleStockholmControl  1.0.0
com.apple.driver.DCPAVFamilyProxy   1
com.apple.iokit.IOMobileGraphicsFamily-DCP  343.0.0
com.apple.iokit.IOMobileGraphicsFamily  343.0.0
com.apple.driver.AppleUSBXDCIARM    1.0
com.apple.driver.AppleUSBXDCI   1.0
com.apple.iokit.IOUSBDeviceFamily   2.0.0
com.apple.driver.usb.AppleSynopsysUSBXHCI   1
com.apple.driver.usb.AppleUSBXHCI   1.2
com.apple.driver.AppleEmbeddedUSBHost   1
com.apple.driver.usb.AppleUSBHub    1.2
com.apple.driver.usb.AppleUSBHostCompositeDevice    1.2
com.apple.driver.AppleT6000TypeCPhy 1
com.apple.driver.AppleT8103TypeCPhy 1
com.apple.driver.AppleM2ScalerCSCDriver 265.0.0
com.apple.driver.AppleSPMIPMU   1.0.1
com.apple.driver.AppleDialogPMU 1.0.1
com.apple.driver.AppleSPMI  1.0.1
com.apple.driver.AppleDCP   1
com.apple.iokit.IONVMeFamily    2.1.0
com.apple.driver.AppleNANDConfigAccess  1.0.0
com.apple.driver.AppleAOPAudio  300.12
com.apple.driver.AppleEmbeddedAudio 700.45
com.apple.iokit.AppleARMIISAudio    300.11
com.apple.driver.AppleSART  1
com.apple.driver.AppleFirmwareKit   1
com.apple.driver.AppleHPM   3.4.4
com.apple.driver.AppleSPU   1
com.apple.driver.ApplePMGR  1
com.apple.driver.AppleARMWatchdogTimer  1
com.apple.driver.AppleDisplayCrossbar   1.0.0
com.apple.iokit.IODisplayPortFamily 1.0.0
com.apple.driver.AppleTypeCPhy  1
com.apple.iokit.IOPortFamily    1.0
com.apple.driver.AppleThunderboltNHI    7.2.81
com.apple.driver.AppleT6000PCIeC    1
com.apple.iokit.IOThunderboltFamily 9.3.3
com.apple.driver.ApplePIODMA    1
com.apple.driver.AppleT600xPCIe 1
com.apple.driver.AppleMultiFunctionManager  1
com.apple.driver.AppleBluetoothDebugService 1
com.apple.driver.AppleBCMWLANCore   1.0.0
com.apple.iokit.IO80211Family   1200.13.0
com.apple.driver.IOImageLoader  1.0.0
com.apple.driver.AppleOLYHAL    1
com.apple.driver.corecapture    1.0.4
com.apple.driver.AppleEmbeddedPCIE  1
com.apple.driver.AppleMCA2-T600x    800.11
com.apple.driver.AppleEmbeddedAudioLibs 300.1
com.apple.driver.AppleFirmwareUpdateKext    1
com.apple.driver.AppleH13CameraInterface    8.17.2
com.apple.driver.AppleGPIOICController  1.0.2
com.apple.driver.AppleFireStormErrorHandler 1
com.apple.driver.AppleMobileApNonce 1
com.apple.driver.usb.AppleUSBHostPacketFilter   1.0
com.apple.iokit.IOTimeSyncFamily    1200.90
com.apple.driver.DiskImages 493.0.0
com.apple.iokit.IOGraphicsFamily    597
com.apple.iokit.IOBluetoothFamily   9.0.0
com.apple.driver.AppleSSE   1.0
com.apple.driver.AppleSEPKeyStore   2
com.apple.driver.AppleUSBTDM    556
com.apple.iokit.IOUSBMassStorageDriver  240
com.apple.iokit.IOPCIFamily 2.9
com.apple.iokit.IOSCSIBlockCommandsDevice   492
com.apple.iokit.IOSCSIArchitectureModelFamily   492
com.apple.driver.AppleRSMChannel    1
com.apple.iokit.IORSMFamily 1
com.apple.driver.AppleLockdownMode  1
com.apple.driver.AppleIPAppender    1.0
com.apple.driver.AppleFDEKeyStore   28.30
com.apple.driver.AppleEffaceableStorage 1.0
com.apple.driver.AppleCredentialManager 1.0
com.apple.driver.KernelRelayHost    1
com.apple.iokit.IOUSBHostFamily 1.2
com.apple.driver.AppleUSBHostMergeProperties    1.2
com.apple.driver.usb.AppleUSBCommon 1.0
com.apple.driver.AppleSMC   3.1.9
com.apple.driver.RTBuddy    1.0.0
com.apple.driver.AppleEmbeddedTempSensor    1.0.0
com.apple.driver.AppleARMPMU    1.0
com.apple.iokit.IOAccessoryManager  1.0.0
com.apple.driver.AppleUVDM  1.0.0
com.apple.driver.AppleOnboardSerial 1.0
com.apple.iokit.IOSkywalkFamily 1.0
com.apple.driver.mDNSOffloadUserClient  1.0.1b8
com.apple.iokit.IONetworkingFamily  3.4
com.apple.iokit.IOSerialFamily  11
com.apple.driver.AppleSEPManager    1.0.1
com.apple.driver.AppleA7IOP 1.0.2
com.apple.driver.IOSlaveProcessor   1
com.apple.driver.AppleBiometricSensor   2
com.apple.iokit.IOHIDFamily 2.0.0
com.apple.driver.AppleANELoadBalancer   7.17.3
com.apple.driver.AppleH11ANEInterface   7.17.5
com.apple.driver.IODARTFamily   1
com.apple.AUC   1.0
com.apple.iokit.IOSurface   352.0.2
com.apple.iokit.IOAVFamily  1.0.0
com.apple.iokit.IOHDCPFamily    1.0.0
com.apple.iokit.IOCECFamily 1
com.apple.iokit.IOAudio2Family  1.0
com.apple.driver.AppleIISController 300.1
com.apple.driver.AppleAudioClockLibs    300.1
com.apple.driver.FairPlayIOKit  71.3.0
com.apple.driver.AppleARMPlatform   1.0.2
com.apple.iokit.IOSlowAdaptiveClockingFamily    1.0.0
com.apple.iokit.IOReportFamily  47
com.apple.security.quarantine   4
com.apple.security.sandbox  300.0
com.apple.iokit.IOStorageFamily 2.1
com.apple.kext.AppleMatch   1.0.0d1
com.apple.driver.AppleMobileFileIntegrity   1.0.5
com.apple.iokit.CoreAnalyticsFamily 1
com.apple.security.AppleImage4  5.0.0
com.apple.kext.CoreTrust    1
com.apple.iokit.IOCryptoAcceleratorFamily   1.0.1
com.apple.kec.pthread   1
com.apple.kec.Libm  1
com.apple.kec.Compression   1.0
com.apple.kec.corecrypto    14.0