firebase / flutterfire

πŸ”₯ A collection of Firebase plugins for Flutter apps.
https://firebase.google.com/docs/flutter/setup
BSD 3-Clause "New" or "Revised" License
8.67k stars 3.97k forks source link

πŸ› [cloud_firestore] Kernel panic on flutter build ios with any version on Apple Macbook M1 #12090

Closed costacoz closed 9 months ago

costacoz commented 9 months ago

Bug report

I get kernel panic, when trying to run flutter build ios on Apple Macbook M1 in a project with only and any cloud_firestore package. I tried it with counter (sample, empty project) app.

Steps to reproduce

Steps to reproduce the behavior:

  1. Take sample counter app.
  2. Add cloud_firestore to pubspec.yaml
  3. Run flutter build ios
  4. Kernel panic, computer immediately reboots

I've also tried to make a fresh account on this computer, installed Android Studio, Xcode, Flutter, Cocoapods (all using official Flutter documentation) and it still gives kernel panic with reboot when trying to build simple new flutter project with only cloud_firestore package added to it.

Expected behavior

Expect it to not crash.

Sample project

It is really a sample project with only cloud_firestory, that's all.


Additional context

Info about my setup: MacBook Pro 13" - Apple M1 Pro - 16 GB macOS Version 14.2.1 (The issue happened even before I updated to the latest macOS, I thought it would resolve the issue) Storage - 870GB free out of 1TB Xcode version 15.1

Kernel panic report after reboot:

Click To Expand ``` panic(cpu 0 caller 0xfffffe00271698c4): "AMCC2 PLANE3 MCC_DAT_MULTI_BITS_ERR error: INTSTS0 0x00000006 ECCMULTIBITSERRLOG(Bank/Way/Entry) 0x316c(0x3/0x1/0x6c)" @AppleT6000PlatformErrorHandler.cpp:2500 Debugger message: panic Memory ID: 0x1 OS release type: User OS version: 23C71 Kernel version: Darwin Kernel Version 23.2.0: Wed Nov 15 21:53:18 PST 2023; root:xnu-10002.61.3~2/RELEASE_ARM64_T6000 Fileset Kernelcache UUID: 89516519121B13EC9D63007F55C1F1FD Kernel UUID: 3DE22D7D-A5F5-3B17-84BD-A58164C8B09B Boot session UUID: B1596EB9-C4EB-4CCC-A612-A2483CAC363F iBoot version: iBoot-10151.61.4 secure boot?: YES roots installed: 0 Paniclog version: 14 KernelCache slide: 0x000000001d394000 KernelCache base: 0xfffffe0024398000 Kernel slide: 0x000000001d39c000 Kernel text base: 0xfffffe00243a0000 Kernel text exec slide: 0x000000001e8c8000 Kernel text exec base: 0xfffffe00258cc000 mach_absolute_time: 0x509bb1a3b Epoch Time: sec usec Boot : 0x658f2787 0x0008c792 Sleep : 0x00000000 0x00000000 Wake : 0x00000000 0x00000000 Calendar: 0x658f2b05 0x00098a9b Zone info: Zone map: 0xfffffe10006b0000 - 0xfffffe30006b0000 . VM : 0xfffffe10006b0000 - 0xfffffe14cd37c000 . RO : 0xfffffe14cd37c000 - 0xfffffe1666d14000 . GEN0 : 0xfffffe1666d14000 - 0xfffffe1b339e0000 . GEN1 : 0xfffffe1b339e0000 - 0xfffffe20006ac000 . GEN2 : 0xfffffe20006ac000 - 0xfffffe24cd378000 . GEN3 : 0xfffffe24cd378000 - 0xfffffe299a044000 . DATA : 0xfffffe299a044000 - 0xfffffe30006b0000 Metadata: 0xfffffe3f5f8cc000 - 0xfffffe3f678cc000 Bitmaps : 0xfffffe3f678cc000 - 0xfffffe3f6a5fc000 Extra : 0 - 0 TPIDRx_ELy = {1: 0xfffffe1ff6e56020 0: 0x0000000000000000 0ro: 0x000000016bfab0e0 } 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 is the one that panicked. Check the full backtrace for details. CORE 1: PC=0xfffffe0025997794, LR=0xfffffe0025997794, FP=0xfffffe84070efac0 CORE 2: PC=0x00000001050dd4b4, LR=0x00000001050d8258, FP=0x000000016b5769c0 CORE 3: PC=0x0000000104d759b0, LR=0x0000000104d75950, FP=0x000000016b908ed0 CORE 4: PC=0x0000000188b76e00, LR=0x0000000106c75c7c, FP=0x000000016babe4e0 CORE 5: PC=0x00000001035bb83c, LR=0x000000011d0952b9, FP=0x000000016d7d0520 CORE 6: PC=0x0000000104c9bc94, LR=0x000000010756f0b0, FP=0x000000016b73cfe0 CORE 7: PC=0xfffffe0025984e4c, LR=0xfffffe0025984dd4, FP=0xfffffe84074a3860 CORE 8: PC=0x000000010443e190, LR=0x000000010443e110, FP=0x000000016d052890 CORE 9: PC=0x000000010153b604, LR=0x0000000100c95bf0, FP=0x000000016f747e40 Compressor Info: 4% of compressed pages limit (OK) and 3% of segments limit (OK) with 0 swapfiles and OK swap space Panicked task 0xfffffe20013cf4a8: 1342 pages, 5 threads: pid 4625: mdworker_shared Panicked thread: 0xfffffe1ff6e56020, backtrace: 0xfffffe79f5eab840, tid: 28420 lr: 0xfffffe002592558c fp: 0xfffffe79f5eab8d0 lr: 0xfffffe0025a70108 fp: 0xfffffe79f5eab940 lr: 0xfffffe0025a6e568 fp: 0xfffffe79f5eaba30 lr: 0xfffffe00258d3b68 fp: 0xfffffe79f5eaba40 lr: 0xfffffe0025924e68 fp: 0xfffffe79f5eabdf0 lr: 0xfffffe0026138548 fp: 0xfffffe79f5eabe10 lr: 0xfffffe00271698c4 fp: 0xfffffe79f5eabeb0 lr: 0xfffffe002716a490 fp: 0xfffffe79f5eabf30 lr: 0xfffffe0026cc9cb8 fp: 0xfffffe79f5eabfd0 lr: 0xfffffe0025a71970 fp: 0xfffffe79f5eabfe0 lr: 0xfffffe00258d3bdc fp: 0xfffffe79f5eabff0 Kernel Extensions in backtrace: com.apple.driver.AppleT6000(1.0)[48F5E09B-B638-33F0-8AA8-5239205F4D35]@0xfffffe0027164470->0xfffffe0027174f13 dependency: com.apple.driver.AppleARMPlatform(1.0.2)[9FC0A536-5BC6-33D5-911A-5A46BDDBBCEF]@0xfffffe00262dbe10->0xfffffe002632e94b dependency: com.apple.driver.AppleFireStormErrorHandler(1)[69F67A54-48C8-39A4-ADF4-8905CB6B2534]@0xfffffe0026a545b0->0xfffffe0026a554c3 dependency: com.apple.driver.AppleSMC(3.1.9)[32E810FB-A3A9-36E3-BA21-928920F1A357]@0xfffffe002704b570->0xfffffe002706ff33 dependency: com.apple.iokit.IOReportFamily(47)[4F280A37-133C-36E1-928A-68791A3C793E]@0xfffffe00280a9b40->0xfffffe00280acbd3 dependency: com.apple.iokit.IOUSBHostFamily(1.2)[8CFCEC86-0DF7-3C9D-8193-E6E9F185B372]@0xfffffe00284411e0->0xfffffe00284f2bb3 com.apple.driver.AppleInterruptControllerV2(1.0d1)[A1A4C713-2CF8-3485-8348-49F483D98B7B]@0xfffffe0026cc81f0->0xfffffe0026ccaa5f dependency: com.apple.driver.AppleARMPlatform(1.0.2)[9FC0A536-5BC6-33D5-911A-5A46BDDBBCEF]@0xfffffe00262dbe10->0xfffffe002632e94b last started kext at 950445462: com.apple.driver.usb.IOUSBHostHIDDevice 1.2 (addr 0xfffffe0024ca7f90, size 6795) loaded kexts: com.apple.filesystems.autofs 3.0 com.apple.driver.AppleTopCaseHIDEventDriver 7400.26 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.BCMWLANFirmware4387.Hashstore 1 com.apple.driver.SEPHibernation 1 com.apple.driver.AppleUSBDeviceNCM 5.0.0 com.apple.driver.AppleFileSystemDriver 3.0.1 com.apple.AppleFSCompression.AppleFSCompressionTypeZlib 1.0.0 com.apple.AppleFSCompression.AppleFSCompressionTypeDataless 1.0.0d1 com.apple.nke.l2tp 1.9 com.apple.filesystems.tmpfs 1 com.apple.filesystems.nfs 1 com.apple.filesystems.lifs 1 com.apple.filesystems.apfs 2235.60.6 com.apple.IOTextEncryptionFamily 1.0.0 com.apple.filesystems.hfs.kext 650.0.2 com.apple.security.BootPolicy 1 com.apple.BootCache 40 com.apple.driver.AppleSmartBatteryManager 161.0.0 com.apple.driver.AppleALSColorSensor 1.0.0d1 com.apple.driver.AppleThunderboltIP 4.0.3 com.apple.driver.AppleAOPVoiceTrigger 300.7 com.apple.driver.ApplePMP 1 com.apple.driver.AppleSmartIO2 1 com.apple.driver.ApplePMPFirmware 1 com.apple.driver.AppleDPDisplayTCON 1 com.apple.AppleEmbeddedSimpleSPINORFlasher 1 com.apple.driver.AppleCS42L84Audio 700.46 com.apple.driver.AppleSN012776Amp 700.46 com.apple.driver.AppleAVD 737.1 com.apple.driver.AppleJPEGDriver 6.2.2 com.apple.driver.AppleProResHW 326.11.0 com.apple.driver.AppleAVE2 703.54.1 com.apple.driver.AppleT6000SOCTuner 1 com.apple.driver.AppleT6000CLPCv3 1 com.apple.driver.AppleInterruptControllerV2 1.0.0d1 com.apple.driver.AppleEventLogHandler 1 com.apple.driver.AppleSamsungSerial 1.0.0d1 com.apple.driver.AppleSerialShim 1 com.apple.driver.AppleT6000PMGR 1 com.apple.driver.AppleS5L8960XNCO 1 com.apple.AGXG13X 276.58 com.apple.driver.AppleS8000DWI 1.0.0d1 com.apple.driver.AppleS8000AES 1 com.apple.driver.AppleMobileDispT600X-DCP 140.0 com.apple.driver.AppleMCDP29XXUpdateSupport 1 com.apple.driver.AppleM68Buttons 1.0.0d1 com.apple.driver.usb.AppleSynopsysUSB40XHCI 1 com.apple.driver.AppleSDXC 3.4.3 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 273 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.IOUSBHostHIDDevice 1.2 com.apple.driver.usb.cdc 5.0.0 com.apple.driver.AppleUSBAudio 610.3 com.apple.iokit.IOAudioFamily 500.4 com.apple.vecLib.kext 1.2.0 com.apple.driver.driverkit.serial 6.0.0 com.apple.iokit.IOAVBFamily 1220.1 com.apple.driver.AppleHIDKeyboard 7400.2 com.apple.driver.AppleHSBluetoothDriver 7400.26 com.apple.driver.IOBluetoothHIDDriver 9.0.0 com.apple.driver.AppleActuatorDriver 7400.42 com.apple.driver.AppleMultitouchDriver 7400.42 com.apple.driver.AppleMesaSEPDriver 100.99 com.apple.iokit.IOBiometricFamily 1 com.apple.driver.DiskImages.KernelBacked 493.0.0 com.apple.driver.AppleXsanScheme 3 com.apple.driver.AppleSEPHDCPManager 1.0.1 com.apple.driver.AppleTrustedAccessory 1 com.apple.iokit.AppleSEPGenericTransfer 1 com.apple.driver.usb.networking 5.0.0 com.apple.driver.AppleSyntheticGameController 11.2.3 com.apple.nke.ppp 1.9 com.apple.driver.AppleBSDKextStarter 3 com.apple.kext.triggers 1.0 com.apple.filesystems.hfs.encodings.kext 1 com.apple.driver.AppleBTM 1.0.1 com.apple.driver.IOHIDPowerSource 1 com.apple.driver.AppleCallbackPowerSource 1 com.apple.driver.AppleConvergedIPCOLYBTControl 1 com.apple.driver.AppleConvergedPCI 1 com.apple.driver.AppleBluetoothDebug 1 com.apple.driver.AppleAOPAudio 300.14 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.AppleDCPDPTXProxy 1.0.0 com.apple.driver.DCPDPFamilyProxy 1 com.apple.driver.AppleStockholmControl 1.0.0 com.apple.driver.AppleHIDTransportSPI 7410.1 com.apple.driver.AppleHIDTransport 7410.1 com.apple.driver.AppleSPU 1 com.apple.driver.AppleInputDeviceSupport 7410.1 com.apple.iokit.IONVMeFamily 2.1.0 com.apple.driver.AppleDiagnosticDataAccessReadOnly 1.0.0 com.apple.driver.AppleNANDConfigAccess 1.0.0 com.apple.driver.AppleCSEmbeddedAudio 700.46 com.apple.driver.AppleEmbeddedAudio 700.46 com.apple.iokit.AppleARMIISAudio 300.11 com.apple.driver.AppleARMWatchdogTimer 1 com.apple.plugin.IOgPTPPlugin 1200.91 com.apple.driver.AppleSART 1 com.apple.driver.ApplePassthroughPPM 3.0 com.apple.AGXFirmwareKextG13XRTBuddy 276.58 com.apple.AGXFirmwareKextRTBuddy64 276.58 com.apple.driver.AppleSPMIPMU 1.0.1 com.apple.driver.AppleDialogPMU 1.0.1 com.apple.driver.ApplePMGR 1 com.apple.iokit.IOGPUFamily 93.10.1 com.apple.driver.AppleDisplayCrossbar 1.0.0 com.apple.driver.DCPAVFamilyProxy 1 com.apple.driver.AppleSPMI 1.0.1 com.apple.iokit.IOMobileGraphicsFamily-DCP 343.0.0 com.apple.driver.AppleDCP 1 com.apple.driver.AppleFirmwareKit 1 com.apple.iokit.IOMobileGraphicsFamily 343.0.0 com.apple.driver.AppleM2ScalerCSCDriver 265.0.0 com.apple.driver.AppleT6000TypeCPhy 1 com.apple.driver.AppleT8103TypeCPhy 1 com.apple.driver.AppleHPM 3.4.4 com.apple.iokit.IODisplayPortFamily 1.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.AppleTypeCPhy 1 com.apple.driver.AppleEmbeddedUSBHost 1 com.apple.driver.usb.AppleUSBHub 1.2 com.apple.driver.usb.AppleUSBHostCompositeDevice 1.2 com.apple.driver.AppleThunderboltNHI 7.2.81 com.apple.driver.AppleT6000PCIeC 1 com.apple.iokit.IOThunderboltFamily 9.3.3 com.apple.iokit.IOPortFamily 1.0 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.205.0 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.91 com.apple.driver.DiskImages 493.0.0 com.apple.iokit.IOGraphicsFamily 598 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 243 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.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.202.3 com.apple.driver.AppleH11ANEInterface 7.202.0 com.apple.driver.IODARTFamily 1 com.apple.AUC 1.0 com.apple.iokit.IOSurface 352.0.3 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 ** Stackshot Succeeded ** Bytes Traced 503946 (Uncompressed 1261808) ** ```

Flutter doctor

Run flutter doctor and paste the output below:

Click To Expand ``` [βœ“] Flutter (Channel stable, 3.16.5, on macOS 14.2.1 23C71 darwin-arm64, locale en-ES) [βœ“] Android toolchain - develop for Android devices (Android SDK version 33.0.0) [βœ“] Xcode - develop for iOS and macOS (Xcode 15.1) [βœ“] Chrome - develop for the web [βœ“] Android Studio (version 2023.1) [βœ“] VS Code (version 1.85.1) [βœ“] Connected device (2 available) [βœ“] Network resources β€’ No issues found! ```

Flutter dependencies

Run flutter pub deps -- --style=compact and paste the output below:

Click To Expand ``` Dart SDK 3.2.3 Flutter SDK 3.16.5 flutter_test_project_macos_crash 1.0.0+1 dependencies: - cloud_firestore 4.13.6 [cloud_firestore_platform_interface cloud_firestore_web collection firebase_core firebase_core_platform_interface flutter meta] - flutter 0.0.0 [characters collection material_color_utilities meta vector_math web sky_engine] dev dependencies: - flutter_lints 2.0.3 [lints] - flutter_test 0.0.0 [flutter test_api matcher path fake_async clock stack_trace vector_math async boolean_selector characters collection material_color_utilities meta source_span stream_channel string_scanner term_glyph web] dependency overrides: - intl 0.17.0 [clock path] transitive dependencies: - _flutterfire_internals 1.3.16 [collection firebase_core firebase_core_platform_interface flutter meta] - async 2.11.0 [collection meta] - boolean_selector 2.1.1 [source_span string_scanner] - characters 1.3.0 - clock 1.1.1 - cloud_firestore_platform_interface 6.0.10 [_flutterfire_internals collection firebase_core flutter meta plugin_platform_interface] - cloud_firestore_web 3.8.10 [_flutterfire_internals cloud_firestore_platform_interface collection firebase_core firebase_core_web flutter flutter_web_plugins js] - collection 1.18.0 - fake_async 1.3.1 [clock collection] - firebase_core 2.24.2 [firebase_core_platform_interface firebase_core_web flutter meta] - firebase_core_platform_interface 5.0.0 [collection flutter flutter_test meta plugin_platform_interface] - firebase_core_web 2.10.0 [firebase_core_platform_interface flutter flutter_web_plugins js meta] - flutter_web_plugins 0.0.0 [flutter characters collection material_color_utilities meta vector_math web] - js 0.6.7 [meta] - lints 2.1.1 - matcher 0.12.16 [async meta stack_trace term_glyph test_api] - material_color_utilities 0.5.0 [collection] - meta 1.10.0 - path 1.8.3 - plugin_platform_interface 2.1.7 [meta] - sky_engine 0.0.99 - source_span 1.10.0 [collection path term_glyph] - stack_trace 1.11.1 [path] - stream_channel 2.1.2 [async] - string_scanner 1.2.0 [source_span] - term_glyph 1.2.1 - test_api 0.6.1 [async boolean_selector collection meta source_span stack_trace stream_channel string_scanner term_glyph] - vector_math 2.1.4 - web 0.3.0 ```

darshankawar commented 9 months ago

@costacoz Based on https://github.com/invertase/firestore-ios-sdk-frameworks/issues/79#issuecomment-1872945249, it seems like it is not a plugin issue, but hardware one. Does the same error occur with lesser firebase_ios_sdk version ?

costacoz commented 9 months ago

@darshankawar I figured out that kernel panic happens, when I'm using version of FirebaseFirestore to build iOS project that is higher than 10.16.0. You are right. So the problem is with the newest FirebaseFirestore SDK version:

So, when I use FirebaseFirestore 10.16.0 (non-prebuilt; without invertase!) and cloud_firestore: 4.12.2 everything is OK.

But when I switch to the latest cloud_firestore: 4.13.6 that uses FirebaseFirestore 10.18.0, then I get kernel panic.

@darshankawar could you please switch the issue status back, so that maybe some person that also has Macbook M1 Pro will try to build the project with the latest versions?

Also Apple in this article about kernel panic says that most likely cause is faulty software. So even though mikehardy mentioned hardware as one of the possible reasons, I still think it's worth checking on other similar laptops. I hope for your understanding.

darshankawar commented 9 months ago

Thanks for feedback @costacoz I have Intel mac on which the said error doesn't occur, so will try to veirfy on a M1 and share my results here.

darshankawar commented 9 months ago

@costacoz My colleague tried the scenario on his M1 machine and he didn't experience the crash reported, so without replicable pattern, we would assume it is a config issue and not a plugin one.

mikehardy commented 9 months ago

I regularly build firestore on M1, M2, and intel machines and there is no panic. I continue to assert the most likely cause is that specific piece of hardware (either the actual hardware or the way macOS is running on it) has a fault.

firestore builds fine (if a bit slowly...)

google-oss-bot commented 9 months ago

Hey @costacoz. We need more information to resolve this issue but there hasn't been an update in 7 weekdays. I'm marking the issue as stale and if there are no new updates in the next 7 days I will close it automatically.

If you have more information that will help us get to the bottom of this, just add a comment!

costacoz commented 9 months ago

Thank you for taking your time to check, @darshankawar and @mikehardy ! I will close the issue then. Unfortunately, I don't have any more ideas what to check or any fix to apply.

⚠️ So, for those who might get the same issue: my only solution is to avoid using the latest FirebaseFirestore 10.16.0 or just buy another macbook

pauli2406 commented 9 months ago

Even though this is closed, I just wanted to add that I am facing the same issue with my M1 Pro running Sonoma 14.2.1 So it might effect more people. This compared with not being able to run more latest versions, I was recommended here with the 10.16.0 tag. https://github.com/invertase/firestore-ios-sdk-frameworks/issues/79#issuecomment-1856178839 Is there an earlier version I should choose to avoid this kernel issue?

Crash Report running tag: 10.16.0 ``` ------------------------------------- Translated Report (Full Report Below) ------------------------------------- Incident Identifier: 36758038-1A60-45EC-8E1A-9571E8961339 CrashReporter Key: 80A2C8BA-62CA-7CED-4757-5CD4F9987BA6 Hardware Model: MacBookPro18,1 Process: Runner [52640] Path: /Users/USER/Library/Developer/CoreSimulator/Devices/807C3172-D4F6-45D3-822F-D9ABE38E46E5/data/Containers/Bundle/Application/68260358-0B30-45F7-A8F5-088D50F86E6A/Runner.app/Runner Identifier: de.devster.whitelabel.dev Version: 1.0.0 (1) Code Type: ARM-64 (Native) Role: Foreground Parent Process: launchd_sim [88527] Coalition: com.apple.CoreSimulator.SimDevice.807C3172-D4F6-45D3-822F-D9ABE38E46E5 [61894] Responsible Process: SimulatorTrampoline [99549] Date/Time: 2024-01-19 12:02:35.8748 +0100 Launch Time: 2024-01-19 12:02:35.6789 +0100 OS Version: macOS 14.2.1 (23C71) Release Type: User Report Version: 104 Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Termination Reason: DYLD 1 Library missing Library not loaded: @rpath/FirebaseSharedSwift.framework/FirebaseSharedSwift Referenced from: <9E4716FE-0E84-3F92-A98D-079C8DEC967F> /Users/USER/Library/Developer/CoreSimulator/Devices/807C3172-D4F6-45D3-822F-D9ABE38E46E5/data/Containers/Bundle/Application/68260358-0B30-45F7-A8F5-088D50F86E6A/Runner.app/Runner Reason: tried: '/Library/Developer/CoreSimulator/Volumes/iOS_21C62/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.2.simruntime/Contents/Resources/RuntimeRoot/usr/lib/swift/FirebaseSharedSwift.framework/FirebaseSharedSwift' (no such file), '/usr/lib/swift/FirebaseSharedSwift.framework/FirebaseSharedSwift' (no such file, not in dyld cache), '/Users/marcelpochert/Library/Developer/CoreSimulator/Devices/807C3172-D4F6-45D3-822F-D9ABE38E46E5/data/Containers/Bundle/Application/68260358-0B30-45F7-A8F5-088D50F86E6A/Runner.app/Frameworks/FirebaseSharedSwift.framework/FirebaseSharedSwift' (no such file), '/Users/marcelpochert/Library/Developer/CoreSimulator/Devices/807C3172-D4F6-45D3-822F-D (terminated at launch; ignore backtrace) Triggered by Thread: 0 Thread 0 Crashed: 0 dyld 0x103caf55c __abort_with_payload + 8 1 dyld 0x103cbbb10 abort_with_payload_wrapper_internal + 104 2 dyld 0x103cbbb44 abort_with_payload + 16 3 dyld_sim 0x103a91c7c abort_with_payload + 40 4 dyld_sim 0x103a57ea8 dyld4::halt(char const*, dyld4::StructuredError const*) + 300 5 dyld_sim 0x103a56164 dyld4::prepare(dyld4::APIs&, dyld3::MachOAnalyzer const*) + 2504 6 dyld_sim 0x103a55398 _dyld_sim_prepare + 920 7 dyld 0x103c3f9b4 dyld4::prepareSim(dyld4::RuntimeState&, char const*) + 1204 8 dyld 0x103c3e424 dyld4::prepare(dyld4::APIs&, dyld3::MachOAnalyzer const*) + 252 9 dyld 0x103c3dedc start + 1844 Thread 0 crashed with ARM Thread State (64-bit): x0: 0x0000000000000006 x1: 0x0000000000000001 x2: 0x000000016d218660 x3: 0x0000000000000109 x4: 0x000000016d218260 x5: 0x0000000000000000 x6: 0x0000000000000000 x7: 0x0000000000000000 x8: 0x0000000000000020 x9: 0x0000000000000011 x10: 0x0000000000000000 x11: 0x207972617262694c x12: 0x000000000000002d x13: 0x1000000000000000 x14: 0x0000000000000004 x15: 0x0000000000008000 x16: 0x0000000000000209 x17: 0xcc4400016d218630 x18: 0x0000000000000000 x19: 0x0000000000000000 x20: 0x000000016d218260 x21: 0x0000000000000109 x22: 0x000000016d218660 x23: 0x0000000000000001 x24: 0x0000000000000006 x25: 0x000000001f070004 x26: 0x0000000000000001 x27: 0x0000000000000101 x28: 0x000000016d219108 fp: 0x000000016d218220 lr: 0x0000000103cbbb10 sp: 0x000000016d2181e0 pc: 0x0000000103caf55c cpsr: 0x00001000 far: 0x0000000000000000 esr: 0x56000080 Address size fault Binary Images: 0x103c38000 - 0x103ccffff dyld (*) <324e4ad9-e01f-3183-b09f-3e20b326643a> /usr/lib/dyld 0x1039b8000 - 0x1039c3fff org.cocoapods.FBLPromises (2.3.1) <701c20c0-618c-389f-80d0-aac71ac8d73f> /Users/USER/Library/Developer/CoreSimulator/Devices/807C3172-D4F6-45D3-822F-D9ABE38E46E5/data/Containers/Bundle/Application/68260358-0B30-45F7-A8F5-088D50F86E6A/Runner.app/Frameworks/FBLPromises.framework/FBLPromises 0x1039e4000 - 0x1039f3fff org.cocoapods.FMDB (2.7.5) /Users/USER/Library/Developer/CoreSimulator/Devices/807C3172-D4F6-45D3-822F-D9ABE38E46E5/data/Containers/Bundle/Application/68260358-0B30-45F7-A8F5-088D50F86E6A/Runner.app/Frameworks/FMDB.framework/FMDB 0x103a10000 - 0x103a17fff org.cocoapods.FirebaseABTesting (10.20.0) /Users/USER/Library/Developer/CoreSimulator/Devices/807C3172-D4F6-45D3-822F-D9ABE38E46E5/data/Containers/Bundle/Application/68260358-0B30-45F7-A8F5-088D50F86E6A/Runner.app/Frameworks/FirebaseABTesting.framework/FirebaseABTesting 0x1039a0000 - 0x1039a3fff org.cocoapods.FirebaseAppCheckInterop (10.20.0) <8d385e10-ec38-3033-839b-b59d90f5697c> /Users/USER/Library/Developer/CoreSimulator/Devices/807C3172-D4F6-45D3-822F-D9ABE38E46E5/data/Containers/Bundle/Application/68260358-0B30-45F7-A8F5-088D50F86E6A/Runner.app/Frameworks/FirebaseAppCheckInterop.framework/FirebaseAppCheckInterop 0x104948000 - 0x10499ffff org.cocoapods.FirebaseAuth (10.16.0) <303ae070-f04f-3365-99d4-843e87cba4b1> /Users/USER/Library/Developer/CoreSimulator/Devices/807C3172-D4F6-45D3-822F-D9ABE38E46E5/data/Containers/Bundle/Application/68260358-0B30-45F7-A8F5-088D50F86E6A/Runner.app/Frameworks/FirebaseAuth.framework/FirebaseAuth 0x103a2c000 - 0x103a2ffff org.cocoapods.FirebaseAuthInterop (10.20.0) <4236c777-bb2c-312a-b4ce-b56221e41f14> /Users/USER/Library/Developer/CoreSimulator/Devices/807C3172-D4F6-45D3-822F-D9ABE38E46E5/data/Containers/Bundle/Application/68260358-0B30-45F7-A8F5-088D50F86E6A/Runner.app/Frameworks/FirebaseAuthInterop.framework/FirebaseAuthInterop 0x103b08000 - 0x103b17fff org.cocoapods.FirebaseCore (10.16.0) /Users/USER/Library/Developer/CoreSimulator/Devices/807C3172-D4F6-45D3-822F-D9ABE38E46E5/data/Containers/Bundle/Application/68260358-0B30-45F7-A8F5-088D50F86E6A/Runner.app/Frameworks/FirebaseCore.framework/FirebaseCore 0x103a40000 - 0x103a43fff org.cocoapods.FirebaseCoreExtension (10.20.0) <7d26f2f6-e4c3-366c-bd22-a924fbd4d252> /Users/USER/Library/Developer/CoreSimulator/Devices/807C3172-D4F6-45D3-822F-D9ABE38E46E5/data/Containers/Bundle/Application/68260358-0B30-45F7-A8F5-088D50F86E6A/Runner.app/Frameworks/FirebaseCoreExtension.framework/FirebaseCoreExtension 0x103b8c000 - 0x103ba3fff org.cocoapods.FirebaseCoreInternal (10.20.0) <4d9d5504-74de-3889-a42b-f7cd6813cfa1> /Users/USER/Library/Developer/CoreSimulator/Devices/807C3172-D4F6-45D3-822F-D9ABE38E46E5/data/Containers/Bundle/Application/68260358-0B30-45F7-A8F5-088D50F86E6A/Runner.app/Frameworks/FirebaseCoreInternal.framework/FirebaseCoreInternal 0x103be0000 - 0x103bf3fff org.cocoapods.FirebaseInstallations (10.20.0) /Users/USER/Library/Developer/CoreSimulator/Devices/807C3172-D4F6-45D3-822F-D9ABE38E46E5/data/Containers/Bundle/Application/68260358-0B30-45F7-A8F5-088D50F86E6A/Runner.app/Frameworks/FirebaseInstallations.framework/FirebaseInstallations 0x104ab8000 - 0x104aebfff org.cocoapods.FirebaseMessaging (10.16.0) <41413e01-9a1b-3ff4-862b-5491532e0c43> /Users/USER/Library/Developer/CoreSimulator/Devices/807C3172-D4F6-45D3-822F-D9ABE38E46E5/data/Containers/Bundle/Application/68260358-0B30-45F7-A8F5-088D50F86E6A/Runner.app/Frameworks/FirebaseMessaging.framework/FirebaseMessaging 0x104a38000 - 0x104a5bfff org.cocoapods.FirebaseRemoteConfig (10.16.0) /Users/USER/Library/Developer/CoreSimulator/Devices/807C3172-D4F6-45D3-822F-D9ABE38E46E5/data/Containers/Bundle/Application/68260358-0B30-45F7-A8F5-088D50F86E6A/Runner.app/Frameworks/FirebaseRemoteConfig.framework/FirebaseRemoteConfig 0x102be4000 - 0x1032e3fff de.devster.whitelabel.dev (1.0.0) <9e4716fe-0e84-3f92-a98d-079c8dec967f> /Users/USER/Library/Developer/CoreSimulator/Devices/807C3172-D4F6-45D3-822F-D9ABE38E46E5/data/Containers/Bundle/Application/68260358-0B30-45F7-A8F5-088D50F86E6A/Runner.app/Runner 0x103a54000 - 0x103a9bfff dyld_sim (*) <45b5018b-7ae1-3c95-86a5-d89fd6cb36ae> /Volumes/VOLUME/*/dyld_sim 0x0 - 0xffffffffffffffff ??? (*) <00000000-0000-0000-0000-000000000000> ??? EOF ----------- Full Report ----------- {"app_name":"Runner","timestamp":"2024-01-19 12:02:36.00 +0100","app_version":"1.0.0","slice_uuid":"9e4716fe-0e84-3f92-a98d-079c8dec967f","build_version":"1","platform":7,"bundleID":"de.devster.whitelabel.dev","share_with_app_devs":0,"is_first_party":0,"bug_type":"309","os_version":"macOS 14.2.1 (23C71)","roots_installed":0,"name":"Runner","incident_id":"36758038-1A60-45EC-8E1A-9571E8961339"} { "uptime" : 190000, "procRole" : "Foreground", "version" : 2, "userID" : 501, "deployVersion" : 210, "modelCode" : "MacBookPro18,1", "coalitionID" : 61894, "osVersion" : { "train" : "macOS 14.2.1", "build" : "23C71", "releaseType" : "User" }, "captureTime" : "2024-01-19 12:02:35.8748 +0100", "codeSigningMonitor" : 1, "incident" : "36758038-1A60-45EC-8E1A-9571E8961339", "pid" : 52640, "translated" : false, "cpuType" : "ARM-64", "roots_installed" : 0, "bug_type" : "309", "procLaunch" : "2024-01-19 12:02:35.6789 +0100", "procStartAbsTime" : 4655187788884, "procExitAbsTime" : 4655192071200, "procName" : "Runner", "procPath" : "\/Users\/USER\/Library\/Developer\/CoreSimulator\/Devices\/807C3172-D4F6-45D3-822F-D9ABE38E46E5\/data\/Containers\/Bundle\/Application\/68260358-0B30-45F7-A8F5-088D50F86E6A\/Runner.app\/Runner", "bundleInfo" : {"CFBundleShortVersionString":"1.0.0","CFBundleVersion":"1","CFBundleIdentifier":"de.devster.whitelabel.dev"}, "storeInfo" : {"deviceIdentifierForVendor":"35BBCDEF-3178-531C-B2EA-4BE015FFA298","thirdParty":true}, "parentProc" : "launchd_sim", "parentPid" : 88527, "coalitionName" : "com.apple.CoreSimulator.SimDevice.807C3172-D4F6-45D3-822F-D9ABE38E46E5", "crashReporterKey" : "80A2C8BA-62CA-7CED-4757-5CD4F9987BA6", "responsiblePid" : 99549, "responsibleProc" : "SimulatorTrampoline", "codeSigningID" : "de.devster.whitelabel.dev", "codeSigningTeamID" : "", "codeSigningFlags" : 570425861, "codeSigningValidationCategory" : 10, "codeSigningTrustLevel" : 4294967295, "instructionByteStream" : {"beforePC":"1AAAABABAAAYAQAAIAEAACgBAAAwAQAAOAEAAFQBAAAwQYDSARAA1A==","atPC":"AwEAVH8jA9X9e7+p\/QMAkUcu\/pe\/AwCR\/XvBqP8PX9bAA1\/WEC2A0g=="}, "wakeTime" : 12585, "sleepWakeUUID" : "B5B26377-8640-4884-8ECE-72E9915DD98C", "sip" : "enabled", "exception" : {"codes":"0x0000000000000000, 0x0000000000000000","rawCodes":[0,0],"type":"EXC_CRASH","signal":"SIGABRT"}, "termination" : {"code":1,"flags":518,"namespace":"DYLD","indicator":"Library missing","details":["(terminated at launch; ignore backtrace)"],"reasons":["Library not loaded: @rpath\/FirebaseSharedSwift.framework\/FirebaseSharedSwift","Referenced from: <9E4716FE-0E84-3F92-A98D-079C8DEC967F> \/Users\/USER\/Library\/Developer\/CoreSimulator\/Devices\/807C3172-D4F6-45D3-822F-D9ABE38E46E5\/data\/Containers\/Bundle\/Application\/68260358-0B30-45F7-A8F5-088D50F86E6A\/Runner.app\/Runner","Reason: tried: '\/Library\/Developer\/CoreSimulator\/Volumes\/iOS_21C62\/Library\/Developer\/CoreSimulator\/Profiles\/Runtimes\/iOS 17.2.simruntime\/Contents\/Resources\/RuntimeRoot\/usr\/lib\/swift\/FirebaseSharedSwift.framework\/FirebaseSharedSwift' (no such file), '\/usr\/lib\/swift\/FirebaseSharedSwift.framework\/FirebaseSharedSwift' (no such file, not in dyld cache), '\/Users\/marcelpochert\/Library\/Developer\/CoreSimulator\/Devices\/807C3172-D4F6-45D3-822F-D9ABE38E46E5\/data\/Containers\/Bundle\/Application\/68260358-0B30-45F7-A8F5-088D50F86E6A\/Runner.app\/Frameworks\/FirebaseSharedSwift.framework\/FirebaseSharedSwift' (no such file), '\/Users\/marcelpochert\/Library\/Developer\/CoreSimulator\/Devices\/807C3172-D4F6-45D3-822F-D"]}, "extMods" : {"caller":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"system":{"thread_create":0,"thread_set_state":16,"task_for_pid":3},"targeted":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"warnings":0}, "faultingThread" : 0, "threads" : [{"triggered":true,"id":6216942,"threadState":{"x":[{"value":6},{"value":1},{"value":6125880928},{"value":265},{"value":6125879904},{"value":0},{"value":0},{"value":0},{"value":32},{"value":17},{"value":0},{"value":2340027244252129612},{"value":45},{"value":1152921504606846976},{"value":4},{"value":32768},{"value":521},{"value":14718889488279504432},{"value":0},{"value":0},{"value":6125879904},{"value":265},{"value":6125880928},{"value":1},{"value":6},{"value":520552452},{"value":1},{"value":257},{"value":6125883656}],"flavor":"ARM_THREAD_STATE64","lr":{"value":4358650640},"cpsr":{"value":4096},"fp":{"value":6125879840},"sp":{"value":6125879776},"esr":{"value":1442840704,"description":" Address size fault"},"pc":{"value":4358600028,"matchesCrashFrame":1},"far":{"value":0}},"frames":[{"imageOffset":488796,"symbol":"__abort_with_payload","symbolLocation":8,"imageIndex":0},{"imageOffset":539408,"symbol":"abort_with_payload_wrapper_internal","symbolLocation":104,"imageIndex":0},{"imageOffset":539460,"symbol":"abort_with_payload","symbolLocation":16,"imageIndex":0},{"imageOffset":253052,"symbol":"abort_with_payload","symbolLocation":40,"imageIndex":14},{"imageOffset":16040,"symbol":"dyld4::halt(char const*, dyld4::StructuredError const*)","symbolLocation":300,"imageIndex":14},{"imageOffset":8548,"symbol":"dyld4::prepare(dyld4::APIs&, dyld3::MachOAnalyzer const*)","symbolLocation":2504,"imageIndex":14},{"imageOffset":5016,"symbol":"_dyld_sim_prepare","symbolLocation":920,"imageIndex":14},{"imageOffset":31156,"symbol":"dyld4::prepareSim(dyld4::RuntimeState&, char const*)","symbolLocation":1204,"imageIndex":0},{"imageOffset":25636,"symbol":"dyld4::prepare(dyld4::APIs&, dyld3::MachOAnalyzer const*)","symbolLocation":252,"imageIndex":0},{"imageOffset":24284,"symbol":"start","symbolLocation":1844,"imageIndex":0}]}], "usedImages" : [ { "source" : "P", "arch" : "arm64e", "base" : 4358111232, "size" : 622592, "uuid" : "324e4ad9-e01f-3183-b09f-3e20b326643a", "path" : "\/usr\/lib\/dyld", "name" : "dyld" }, { "source" : "P", "arch" : "arm64", "base" : 4355489792, "CFBundleShortVersionString" : "2.3.1", "CFBundleIdentifier" : "org.cocoapods.FBLPromises", "size" : 49152, "uuid" : "701c20c0-618c-389f-80d0-aac71ac8d73f", "path" : "\/Users\/USER\/Library\/Developer\/CoreSimulator\/Devices\/807C3172-D4F6-45D3-822F-D9ABE38E46E5\/data\/Containers\/Bundle\/Application\/68260358-0B30-45F7-A8F5-088D50F86E6A\/Runner.app\/Frameworks\/FBLPromises.framework\/FBLPromises", "name" : "FBLPromises", "CFBundleVersion" : "1" }, { "source" : "P", "arch" : "arm64", "base" : 4355670016, "CFBundleShortVersionString" : "2.7.5", "CFBundleIdentifier" : "org.cocoapods.FMDB", "size" : 65536, "uuid" : "e06bd573-e738-33e0-83a3-a739dd062e58", "path" : "\/Users\/USER\/Library\/Developer\/CoreSimulator\/Devices\/807C3172-D4F6-45D3-822F-D9ABE38E46E5\/data\/Containers\/Bundle\/Application\/68260358-0B30-45F7-A8F5-088D50F86E6A\/Runner.app\/Frameworks\/FMDB.framework\/FMDB", "name" : "FMDB", "CFBundleVersion" : "1" }, { "source" : "P", "arch" : "arm64", "base" : 4355850240, "CFBundleShortVersionString" : "10.20.0", "CFBundleIdentifier" : "org.cocoapods.FirebaseABTesting", "size" : 32768, "uuid" : "e0c94883-d1f4-3776-973e-9c0f48ad2c22", "path" : "\/Users\/USER\/Library\/Developer\/CoreSimulator\/Devices\/807C3172-D4F6-45D3-822F-D9ABE38E46E5\/data\/Containers\/Bundle\/Application\/68260358-0B30-45F7-A8F5-088D50F86E6A\/Runner.app\/Frameworks\/FirebaseABTesting.framework\/FirebaseABTesting", "name" : "FirebaseABTesting", "CFBundleVersion" : "1" }, { "source" : "P", "arch" : "arm64", "base" : 4355391488, "CFBundleShortVersionString" : "10.20.0", "CFBundleIdentifier" : "org.cocoapods.FirebaseAppCheckInterop", "size" : 16384, "uuid" : "8d385e10-ec38-3033-839b-b59d90f5697c", "path" : "\/Users\/USER\/Library\/Developer\/CoreSimulator\/Devices\/807C3172-D4F6-45D3-822F-D9ABE38E46E5\/data\/Containers\/Bundle\/Application\/68260358-0B30-45F7-A8F5-088D50F86E6A\/Runner.app\/Frameworks\/FirebaseAppCheckInterop.framework\/FirebaseAppCheckInterop", "name" : "FirebaseAppCheckInterop", "CFBundleVersion" : "1" }, { "source" : "P", "arch" : "arm64", "base" : 4371808256, "CFBundleShortVersionString" : "10.16.0", "CFBundleIdentifier" : "org.cocoapods.FirebaseAuth", "size" : 360448, "uuid" : "303ae070-f04f-3365-99d4-843e87cba4b1", "path" : "\/Users\/USER\/Library\/Developer\/CoreSimulator\/Devices\/807C3172-D4F6-45D3-822F-D9ABE38E46E5\/data\/Containers\/Bundle\/Application\/68260358-0B30-45F7-A8F5-088D50F86E6A\/Runner.app\/Frameworks\/FirebaseAuth.framework\/FirebaseAuth", "name" : "FirebaseAuth", "CFBundleVersion" : "1" }, { "source" : "P", "arch" : "arm64", "base" : 4355964928, "CFBundleShortVersionString" : "10.20.0", "CFBundleIdentifier" : "org.cocoapods.FirebaseAuthInterop", "size" : 16384, "uuid" : "4236c777-bb2c-312a-b4ce-b56221e41f14", "path" : "\/Users\/USER\/Library\/Developer\/CoreSimulator\/Devices\/807C3172-D4F6-45D3-822F-D9ABE38E46E5\/data\/Containers\/Bundle\/Application\/68260358-0B30-45F7-A8F5-088D50F86E6A\/Runner.app\/Frameworks\/FirebaseAuthInterop.framework\/FirebaseAuthInterop", "name" : "FirebaseAuthInterop", "CFBundleVersion" : "1" }, { "source" : "P", "arch" : "arm64", "base" : 4356866048, "CFBundleShortVersionString" : "10.16.0", "CFBundleIdentifier" : "org.cocoapods.FirebaseCore", "size" : 65536, "uuid" : "ac6e4396-31cb-3317-beee-5ce4772a4f27", "path" : "\/Users\/USER\/Library\/Developer\/CoreSimulator\/Devices\/807C3172-D4F6-45D3-822F-D9ABE38E46E5\/data\/Containers\/Bundle\/Application\/68260358-0B30-45F7-A8F5-088D50F86E6A\/Runner.app\/Frameworks\/FirebaseCore.framework\/FirebaseCore", "name" : "FirebaseCore", "CFBundleVersion" : "1" }, { "source" : "P", "arch" : "arm64", "base" : 4356046848, "CFBundleShortVersionString" : "10.20.0", "CFBundleIdentifier" : "org.cocoapods.FirebaseCoreExtension", "size" : 16384, "uuid" : "7d26f2f6-e4c3-366c-bd22-a924fbd4d252", "path" : "\/Users\/USER\/Library\/Developer\/CoreSimulator\/Devices\/807C3172-D4F6-45D3-822F-D9ABE38E46E5\/data\/Containers\/Bundle\/Application\/68260358-0B30-45F7-A8F5-088D50F86E6A\/Runner.app\/Frameworks\/FirebaseCoreExtension.framework\/FirebaseCoreExtension", "name" : "FirebaseCoreExtension", "CFBundleVersion" : "1" }, { "source" : "P", "arch" : "arm64", "base" : 4357406720, "CFBundleShortVersionString" : "10.20.0", "CFBundleIdentifier" : "org.cocoapods.FirebaseCoreInternal", "size" : 98304, "uuid" : "4d9d5504-74de-3889-a42b-f7cd6813cfa1", "path" : "\/Users\/USER\/Library\/Developer\/CoreSimulator\/Devices\/807C3172-D4F6-45D3-822F-D9ABE38E46E5\/data\/Containers\/Bundle\/Application\/68260358-0B30-45F7-A8F5-088D50F86E6A\/Runner.app\/Frameworks\/FirebaseCoreInternal.framework\/FirebaseCoreInternal", "name" : "FirebaseCoreInternal", "CFBundleVersion" : "1" }, { "source" : "P", "arch" : "arm64", "base" : 4357750784, "CFBundleShortVersionString" : "10.20.0", "CFBundleIdentifier" : "org.cocoapods.FirebaseInstallations", "size" : 81920, "uuid" : "a2688ba4-d61f-3895-ac3f-00088c871947", "path" : "\/Users\/USER\/Library\/Developer\/CoreSimulator\/Devices\/807C3172-D4F6-45D3-822F-D9ABE38E46E5\/data\/Containers\/Bundle\/Application\/68260358-0B30-45F7-A8F5-088D50F86E6A\/Runner.app\/Frameworks\/FirebaseInstallations.framework\/FirebaseInstallations", "name" : "FirebaseInstallations", "CFBundleVersion" : "1" }, { "source" : "P", "arch" : "arm64", "base" : 4373315584, "CFBundleShortVersionString" : "10.16.0", "CFBundleIdentifier" : "org.cocoapods.FirebaseMessaging", "size" : 212992, "uuid" : "41413e01-9a1b-3ff4-862b-5491532e0c43", "path" : "\/Users\/USER\/Library\/Developer\/CoreSimulator\/Devices\/807C3172-D4F6-45D3-822F-D9ABE38E46E5\/data\/Containers\/Bundle\/Application\/68260358-0B30-45F7-A8F5-088D50F86E6A\/Runner.app\/Frameworks\/FirebaseMessaging.framework\/FirebaseMessaging", "name" : "FirebaseMessaging", "CFBundleVersion" : "1" }, { "source" : "P", "arch" : "arm64", "base" : 4372791296, "CFBundleShortVersionString" : "10.16.0", "CFBundleIdentifier" : "org.cocoapods.FirebaseRemoteConfig", "size" : 147456, "uuid" : "f5763d98-bec0-34cc-a300-e176aacc5aa0", "path" : "\/Users\/USER\/Library\/Developer\/CoreSimulator\/Devices\/807C3172-D4F6-45D3-822F-D9ABE38E46E5\/data\/Containers\/Bundle\/Application\/68260358-0B30-45F7-A8F5-088D50F86E6A\/Runner.app\/Frameworks\/FirebaseRemoteConfig.framework\/FirebaseRemoteConfig", "name" : "FirebaseRemoteConfig", "CFBundleVersion" : "1" }, { "source" : "P", "arch" : "arm64", "base" : 4340989952, "CFBundleShortVersionString" : "1.0.0", "CFBundleIdentifier" : "de.devster.whitelabel.dev", "size" : 7340032, "uuid" : "9e4716fe-0e84-3f92-a98d-079c8dec967f", "path" : "\/Users\/USER\/Library\/Developer\/CoreSimulator\/Devices\/807C3172-D4F6-45D3-822F-D9ABE38E46E5\/data\/Containers\/Bundle\/Application\/68260358-0B30-45F7-A8F5-088D50F86E6A\/Runner.app\/Runner", "name" : "Runner", "CFBundleVersion" : "1" }, { "source" : "P", "arch" : "arm64", "base" : 4356128768, "size" : 294912, "uuid" : "45b5018b-7ae1-3c95-86a5-d89fd6cb36ae", "path" : "\/Volumes\/VOLUME\/*\/dyld_sim", "name" : "dyld_sim" }, { "size" : 0, "source" : "A", "base" : 0, "uuid" : "00000000-0000-0000-0000-000000000000" } ], "sharedCache" : { "base" : 6442450944, "size" : 2846113792, "uuid" : "01b560d9-d50c-3c1f-b69f-78f4e1bac11d" }, "vmSummary" : "ReadOnly portion of Libraries: Total=753.5M resident=0K(0%) swapped_out_or_unallocated=753.5M(100%)\nWritable regions: Total=20.8M written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=20.8M(100%)\n\n VIRTUAL REGION \nREGION TYPE SIZE COUNT (non-coalesced) \n=========== ======= ======= \nSTACK GUARD 56.0M 1 \nStack 8176K 1 \nVM_ALLOCATE 16K 1 \n__DATA 618K 19 \n__DATA_CONST 811K 19 \n__DATA_DIRTY 32K 2 \n__LINKEDIT 741.2M 16 \n__TEXT 12.3M 19 \ndyld private memory 12.8M 12 \n=========== ======= ======= \nTOTAL 831.7M 90 \n", "legacyInfo" : { "threadTriggered" : { } }, "logWritingSignature" : "d8841ea0beab5a0925f5c0a4e972c6f52509af2d", "trialInfo" : { "rollouts" : [ { "rolloutId" : "632e3df958740028737bffc0", "factorPackIds" : { "SIRI_UNDERSTANDING_NL_OVERRIDES" : "659ea4abf750153af8282f6f" }, "deploymentId" : 240000602 }, { "rolloutId" : "6410af69ed1e1e7ab93ed169", "factorPackIds" : { }, "deploymentId" : 240000010 } ], "experiments" : [ { "treatmentId" : "5d51a80d-93ec-47e1-9027-675002e78e4a", "experimentId" : "6384d56b96e8d228551ec182", "deploymentId" : 400000027 } ] } } ```
costacoz commented 9 months ago

@mikehardy as @pauli2406 reports the same issue, I reopened the issue, because it doesn't seem normal. @pauli2406 and I both have M1 Pro and I wish I knew it will cause such problems before I bought this laptop specially to build on Flutter for iOS.

mikehardy commented 9 months ago

You can do what you like with this issue but a kernel panic is always and forever and has always been either a hardware fault or a real operating system issue

By operating system design a kernel panic should be impossible to trigger from user space absent hardware fault or kernel bug, at least that's what I was taught in my operating systems class and when I implemented an operating system.

costacoz commented 9 months ago

@mikehardy I guess you're right it seems like Apple's fault, I've created an issue report in apple community. Anyways, you're the most seasoned person who got to reply to this issue. So I doubt there's any chance anybody else will add anything more meaningful to it. Thank you for your kind responses. I'm closing it now once and for all.