Closed ghost closed 4 years ago
Thanks for reaching out!
Next time, please fill out the issue template instead of deleting it. This is necessary so that we can be certain we have all the information we need to address your submission efficiently and correctly. For example, I'm assuming that you're seeing this in 9-x-y because that's the version in ZCoin's package.json, but if you'd filled out the template instead of deleting it then no guessing nor hunting would've been necessary. Thanks for understanding and meeting us half way next time! :grinning:
If this is identical to the panic that VS Code is seeing, I'll CC @deepak1556 for thoughts since he commented on https://github.com/microsoft/vscode/issues/86913 and is active on both VS Code and Electron.
Hey, sorry about the template. Next time I'll make sure to leave it.
I have now experienced another panic, so I'll add another one to your file. As I said before though, it's basically the same thing as the other two issues.
Panic(CPU 3, time 361739760954522): NMIPI for spinlock acquisition timeout, spinlock: 0xffffff8047b6a050, spinlock owner: 0xffffff803efc1520, current_thread: 0xffffff803efc1520, spinlock_owner_cpu: 0x3
RAX: 0xffffff8059b67a40, RBX: 0xffffff804bfe9648, RCX: 0x0000000000000314, RDX: 0x0004616300000000
RSP: 0xffffff915506b510, RBP: 0xffffff915506b550, RSI: 0xffffff803efc1520, RDI: 0xffffff804bfe9648
R8: 0xffffff915506b6d0, R9: 0xffffff801756b2e0, R10: 0x0000000000ffffff, R11: 0x0000000000000000
R12: 0xffffff803efc1520, R13: 0x0000000000000000, R14: 0x00046163e9ddb63a, R15: 0xffffff8059b67a40
RFL: 0x0000000000000093, RIP: 0xffffff801752afad, CS: 0x0000000000000008, SS: 0x0000000000000010
Backtrace (CPU 3), Frame : Return Address
0xffffff812df20f80 : 0xffffff8017645dfb
0xffffff812df20fd0 : 0xffffff80174c0bed
0xffffff915506b550 : 0xffffff801752b154
0xffffff915506b580 : 0xffffff8017569aa0
0xffffff915506b5a0 : 0xffffff801756b319
0xffffff915506b650 : 0xffffff801756b821
0xffffff915506b6c0 : 0xffffff801756a944
0xffffff915506b780 : 0xffffff801756e638
0xffffff915506b7c0 : 0xffffff8017a50a44
0xffffff915506b7e0 : 0xffffff8017a50b2e
0xffffff915506b820 : 0xffffff8017add6dd
0xffffff915506b860 : 0xffffff8017add26f
0xffffff915506b890 : 0xffffff8017938be8
0xffffff915506bbb0 : 0xffffff8017920817
0xffffff915506bc00 : 0xffffff8017921982
0xffffff915506bd30 : 0xffffff8017835a2f
0xffffff915506bd60 : 0xffffff80177fd739
0xffffff915506bd80 : 0xffffff80177ee8c1
0xffffff915506bdb0 : 0xffffff80177ee362
0xffffff915506bf40 : 0xffffff80177eeaee
0xffffff915506bfa0 : 0xffffff80174c013e
BSD process name corresponding to current thread: kernel_task
Mac OS version:
19H2
Kernel version:
Darwin Kernel Version 19.6.0: Mon Aug 31 22:12:52 PDT 2020; root:xnu-6153.141.2~1/RELEASE_X86_64
Kernel UUID: 05D51A3D-3A87-3FF0-98C3-9CF3827A3EDD
Kernel slide: 0x0000000017200000
Kernel text base: 0xffffff8017400000
__HIB text base: 0xffffff8017300000
System model name: iMac18,3 (Mac-BE088AF8C5EB4FA2)
System shutdown begun: NO
Panic diags file available: YES (0x0)
System uptime in nanoseconds: 361739760982595
last loaded kext at 270653360708151: >!AXsanScheme 3 (addr 0xffffff7f9c1b7000, size 32768)
last unloaded kext at 270798705493932: >!AXsanScheme 3 (addr 0xffffff7f9c1b7000, size 32768)
loaded kexts:
>AudioAUUC 1.70
>!ATopCaseHIDEventDriver 3430.1
@fileutil 20.036.15
>!APlatformEnabler 2.7.0d0
>AGPM 111.4.4
>X86PlatformShim 1.0.0
@filesystems.autofs 3.0
>!AHDA 283.15
>!AUpstreamUserClient 3.6.8
@kext.AMDFramebuffer 3.1.0
@kext.AMDRadeonServiceManager 3.1.0
@kext.AMDRadeonX4000 3.1.0
>!AGraphicsDevicePolicy 5.2.6
>!A!IKBLGraphics 14.0.7
>!AThunderboltIP 3.1.4
@AGDCPluginDisplayMetrics 5.2.6
@kext.AMD9500!C 3.1.0
>!AHV 1
|IOUserEthernet 1.0.1
|IO!BSerialManager 7.0.6f7
>pmtelemetry 1
@Dont_Steal_Mac_OS_X 7.0.0
>!A!ISlowAdaptiveClocking 4.0.0
>!AGFXHDA 100.1.429
>!A!IPCHPMC 2.0.1
>eficheck 1
|Broadcom!B20703USBTransport 7.0.6f7
>!AMCCSControl 1.14
>!ASMCLMU 212
>!A!IKBLGraphicsFramebuffer 14.0.7
>!AVirtIO 1.0
@filesystems.hfs.kext 522.100.5
@!AFSCompression.!AFSCompressionTypeDataless 1.0.0d1
@BootCache 40
@!AFSCompression.!AFSCompressionTypeZlib 1.0.0
@filesystems.apfs 1412.141.1
>!ASDXC 1.7.7
|!ABCM5701Ethernet 10.3.5
>AirPort.BrcmNIC 1400.1.1
>!AAHCIPort 341.140.1
@private.KextAudit 1.0
>!AACPIButtons 6.1
>!ARTC 2.0
>!ASMBIOS 2.1
>!AACPIEC 6.1
>!AAPIC 1.7
$!AImage4 1
@nke.applicationfirewall 303
$TMSafetyNet 8
@!ASystemPolicy 2.0.0
|EndpointSecurity 1
>!AHIDKeyboard 209
>!AMultitouchDriver 3440.1
>!AInputDeviceSupport 3440.8
>!AHS!BDriver 3430.1
>IO!BHIDDriver 7.0.6f7
@kext.triggers 1.0
>DspFuncLib 283.15
@kext.OSvKernDSPLib 529
@kext.AMDRadeonX4200HWLibs 1.0
@kext.AMDRadeonX4000HWServices 3.1.0
>!AGraphicsControl 5.2.6
@kext.AMDSupport 3.1.0
|IOAVB!F 850.1
@!AGPUWrangler 5.2.6
|IOSlowAdaptiveClocking!F 1.0.0
>!AHDA!C 283.15
|IOHDA!F 283.15
|IONDRVSupport 576.1
|Broadcom!BHost!CUSBTransport 7.0.6f7
|IO!BHost!CUSBTransport 7.0.6f7
|IO!BHost!CTransport 7.0.6f7
|IO!B!F 7.0.6f7
|IO!BPacketLogger 7.0.6f7
>X86PlatformPlugin 1.0.0
>IOPlatformPlugin!F 6.0.0d8
@!AGraphicsDeviceControl 5.2.6
|IOAccelerator!F2 438.7.3
|IOGraphics!F 576.1
>!ASMBus!C 1.0.18d1
>!ASMBusPCI 1.0.14d1
@plugin.IOgPTPPlugin 840.3
>usb.networking 5.0.0
>usb.!UHostCompositeDevice 1.2
|IOAudio!F 300.2
@vecLib.kext 1.2.0
|IOSerial!F 11
|IOSurface 269.11
@filesystems.hfs.encodings.kext 1
>!AThunderboltDPInAdapter 6.2.6
>!AThunderboltDPAdapter!F 6.2.6
>!AThunderboltPCIDownAdapter 2.5.4
>!AHPM 3.4.4
>!A!ILpssI2C!C 3.0.60
>!A!ILpssDmac 3.0.60
|IOAHCIBlock!S 316.100.5
>!AThunderboltNHI 5.8.6
|IOThunderbolt!F 7.6.1
|IOEthernetAVB!C 1.1.0
|IO80211!F 1200.12.2b1
>mDNSOffloadUserClient 1.0.1b8
>corecapture 1.0.4
|IOSkywalk!F 1
|IONVMe!F 2.1.0
>!A!ILpssI2C 3.0.60
>usb.!UXHCIPCI 1.2
>usb.!UXHCI 1.2
|IOAHCI!F 290.0.1
|IOUSB!F 900.4.2
>!AEFINVRAM 2.1
>!AEFIRuntime 2.1
|IOSMBus!F 1.1
|IOHID!F 2.0.0
$quarantine 4
$sandbox 300.0
@kext.!AMatch 1.0.0d1
>DiskImages 493.0.0
>!AFDEKeyStore 28.30
>!AEffaceable!S 1.0
>!ASSE 1.0
>!AKeyStore 2
>!UTDM 489.120.1
|IOSCSIBlockCommandsDevice 422.120.3
>!ACredentialManager 1.0
>KernelRelayHost 1
>!ASEPManager 1.0.1
>IOSlaveProcessor 1
|IOUSBMass!SDriver 157.140.1
|IOSCSIArchitectureModel!F 422.120.3
|IO!S!F 2.1
|IOUSBHost!F 1.2
>!UHostMergeProperties 1.2
>usb.!UCommon 1.0
>!ABusPower!C 1.0
|CoreAnalytics!F 1
>!AMobileFileIntegrity 1.0.5
@kext.CoreTrust 1
|IOTimeSync!F 840.3
|IONetworking!F 3.4
|IOReport!F 47
>!AACPIPlatform 6.1
>!ASMC 3.1.9
>watchdog 1
|IOPCI!F 2.9
|IOACPI!F 1.4
@kec.pthread 1
@kec.corecrypto 1.0
@kec.Libm 1
panic(cpu 0 caller 0xffffff801763baa0): "Spinlock acquisition timed out: lock=0xffffff8047b6a050, lock owner thread=0xffffff803efc1520, current_thread: 0xffffff8059b67a40, lock owner active on CPU 0x3, current owner: 0xffffff803efc1520, time: 361739760999977"@/AppleInternal/BuildRoot/Library/Caches/com.apple.xbs/Sources/xnu/xnu-6153.141.2/osfmk/i386/locks_i386.c:501
Backtrace (CPU 0), Frame : Return Address
0xffffff810d7a7b30 : 0xffffff801751a65d
0xffffff810d7a7b80 : 0xffffff8017654a75
0xffffff810d7a7bc0 : 0xffffff80176465fe
0xffffff810d7a7c10 : 0xffffff80174c0a40
0xffffff810d7a7c30 : 0xffffff8017519d27
0xffffff810d7a7d30 : 0xffffff801751a117
0xffffff810d7a7d80 : 0xffffff8017cc1a6c
0xffffff810d7a7df0 : 0xffffff801763baa0
0xffffff810d7a7e30 : 0xffffff8017538e56
0xffffff810d7a7e60 : 0xffffff801756545c
0xffffff810d7a7f20 : 0xffffff8017633807
0xffffff810d7a7f60 : 0xffffff801764e663
0xffffff810d7a7f80 : 0xffffff8017645dfb
0xffffff810d7a7fd0 : 0xffffff80174c0bed
0xffffff9141f3bda0 : 0xffffff801756e431
0xffffff9141f3be00 : 0xffffff8017aa3349
0xffffff9141f3bf00 : 0xffffff8017aa2456
0xffffff9141f3bf40 : 0xffffff8017b84be7
0xffffff9141f3bfa0 : 0xffffff80174c1206
BSD process name corresponding to current thread: Electron Helper
I have also experienced this a lot, sharing the logs from the last crash here
Panic(CPU 5, time 19727350040662): NMIPI for spinlock acquisition timeout, spinlock: 0xffffff804f867050, spinlock owner: 0xffffff805235ca40, current_thread: 0xffffff805235ca40, spinlock_owner_cpu: 0x5
RAX: 0xffffff8052ce4a40, RBX: 0xffffff80584cb288, RCX: 0x0000000000000146, RDX: 0x00002e8500000000
RSP: 0xffffff92373c3a70, RBP: 0xffffff92373c3ab0, RSI: 0xffffff805235ca40, RDI: 0xffffff80584cb288
R8: 0xffffff92373c3c30, R9: 0xffffff8006f6b2e0, R10: 0x0000000000ffffff, R11: 0xffffff8040129600
R12: 0xffffff805235ca40, R13: 0x0000000000000000, R14: 0x00002e863823789c, R15: 0xffffff8052ce4a40
RFL: 0x0000000000000082, RIP: 0xffffff8006f2afc0, CS: 0x0000000000000008, SS: 0x0000000000000010
Backtrace (CPU 5), Frame : Return Address
0xffffff81f6aecf80 : 0xffffff8007045dfb
0xffffff81f6aecfd0 : 0xffffff8006ec0bed
0xffffff92373c3ab0 : 0xffffff8006f2b154
0xffffff92373c3ae0 : 0xffffff8006f69aa0
0xffffff92373c3b00 : 0xffffff8006f6b319
0xffffff92373c3bb0 : 0xffffff8006f6b821
0xffffff92373c3c20 : 0xffffff8006f6a944
0xffffff92373c3ce0 : 0xffffff8006f6e638
0xffffff92373c3d20 : 0xffffff8007450a94
0xffffff92373c3d40 : 0xffffff8007450b7e
0xffffff92373c3d80 : 0xffffff80074a683d
0xffffff92373c3db0 : 0xffffff80074a72a3
0xffffff92373c3e20 : 0xffffff80074a14f0
0xffffff92373c3ee0 : 0xffffff80074a12b0
0xffffff92373c3f40 : 0xffffff8007584c37
0xffffff92373c3fa0 : 0xffffff8006ec1206
BSD process name corresponding to current thread: Electron Helper
Boot args: chunklist-security-epoch=0 -chunklist-no-rev2-dev
Mac OS version:
19G73
Kernel version:
Darwin Kernel Version 19.6.0: Sun Jul 5 00:43:10 PDT 2020; root:xnu-6153.141.1~9/RELEASE_X86_64
Kernel UUID: 783946EA-6F11-3647-BF90-787AEA14B954
Kernel slide: 0x0000000006c00000
Kernel text base: 0xffffff8006e00000
__HIB text base: 0xffffff8006d00000
System model name: MacBookPro15,1 (Mac-937A206F2EE63C01)
System shutdown begun: NO
System uptime in nanoseconds: 19727350063439
last loaded kext at 11353520044289: @macos.driver.!UEthernetHost 8.1.1 (addr 0xffffff7f8c734000, size 49152)
last unloaded kext at 60779687728: >usb.!UHostPacketFilter 1.0 (addr 0xffffff7f897f4000, size 24576)
loaded kexts:
com.github.kbfuse.filesystems.kbfuse 3.10.0
com.google.drivefs.filesystems.dfsfuse 40.0.8
com.google.santa-driver 1.13
@macos.driver.!UEthernetHost 8.1.1
>!UTopCaseDriver 3430.1
>AudioAUUC 1.70
@kext.AMDFramebuffer 3.1.0
@kext.AMDRadeonX4000 3.1.0
@kext.AMDRadeonServiceManager 3.1.0
>!AGraphicsDevicePolicy 5.2.6
@fileutil 20.036.15
@AGDCPluginDisplayMetrics 5.2.6
>!AHV 1
|IOUserEthernet 1.0.1
|IO!BSerialManager 7.0.6f7
>AGPM 111.4.4
>!APlatformEnabler 2.7.0d0
>X86PlatformShim 1.0.0
>!AUpstreamUserClient 3.6.8
>pmtelemetry 1
>AGDCBacklightControl 5.2.6
>!ATopCaseHIDEventDriver 3430.1
>!AHIDALSService 1
>!A!IKBLGraphics 14.0.7
@Dont_Steal_Mac_OS_X 7.0.0
>ACPI_SMC_PlatformPlugin 1.0.0
>!ABacklight 180.3
>BridgeAudioCommunication 6.70.7
>!AThunderboltIP 3.1.4
@kext.AMD9500!C 3.1.0
>!AMuxControl2 5.2.6
>!AMCCSControl 1.14
>!AAVEBridge 6.1
>!ABridgeAudio!C 6.70.7
>!AGFXHDA 100.1.429
>!A!ICFLGraphicsFramebuffer 14.0.7
>!A!ISlowAdaptiveClocking 4.0.0
>!AFIVRDriver 4.1.0
>!A!IPCHPMC 2.0.1
@filesystems.autofs 3.0
>BCMWLANFirmware4355.Hashstore 1
>BCMWLANFirmware4364.Hashstore 1
>BCMWLANFirmware4377.Hashstore 1
@filesystems.hfs.kext 522.100.5
@BootCache 40
@!AFSCompression.!AFSCompressionTypeDataless 1.0.0d1
@!AFSCompression.!AFSCompressionTypeZlib 1.0.0
>!AVirtIO 1.0
>!ABCMWLANBusInterfacePCIe 1
@filesystems.apfs 1412.141.1
@private.KextAudit 1.0
>!ASmartBatteryManager 161.0.0
>!AACPIButtons 6.1
>!ASMBIOS 2.1
>!AACPIEC 6.1
>!AAPIC 1.7
$!AImage4 1
@nke.applicationfirewall 303
$TMSafetyNet 8
@!ASystemPolicy 2.0.0
|EndpointSecurity 1
>!UMergeNub 900.4.2
>!UAudio 323.4
@kext.AMDRadeonX4100HWLibs 1.0
@kext.AMDRadeonX4000HWServices 3.1.0
|IOAVB!F 850.1
>!AHIDKeyboard 209
>!AHS!BDriver 3430.1
>IO!BHIDDriver 7.0.6f7
>!AActuatorDriver 3440.1
>!AMultitouchDriver 3440.1
>!AInputDeviceSupport 3440.8
>IOPlatformPluginLegacy 1.0.0
>!ABacklightExpert 1.1.0
>!AHDA!C 283.15
|IOHDA!F 283.15
|IO!BHost!CUARTTransport 7.0.6f7
|IO!BHost!CTransport 7.0.6f7
@!AGPUWrangler 5.2.6
>!AGraphicsControl 5.2.6
>X86PlatformPlugin 1.0.0
>!ASMBus!C 1.0.18d1
>!AThunderboltEDMSink 4.2.3
>!AThunderboltDPOutAdapter 6.2.6
@plugin.IOgPTPPlugin 840.3
|IOEthernetAVB!C 1.1.0
|IONDRVSupport 576.1
>usb.IOUSBHostHIDDevice 1.2
>!ASMBusPCI 1.0.14d1
>!A!ILpssUARTv1 3.0.60
>!A!ILpssUARTCommon 3.0.60
>!AOnboardSerial 1.0
@kext.AMDSupport 3.1.0
@!AGraphicsDeviceControl 5.2.6
|IOAccelerator!F2 438.7.3
|IOGraphics!F 576.1
|IOSlowAdaptiveClocking!F 1.0.0
>IOPlatformPlugin!F 6.0.0d8
@kext.triggers 1.0
>usb.!UHub 1.2
>usb.cdc.ncm 5.0.0
>usb.cdc 5.0.0
>usb.networking 5.0.0
>usb.!UHostCompositeDevice 1.2
|IOSurface 269.11
@filesystems.hfs.encodings.kext 1
|IOAudio!F 300.2
@vecLib.kext 1.2.0
>!ABCMWLANCore 1.0.0
>mDNSOffloadUserClient 1.0.1b8
>IOImageLoader 1.0.0
|IOSerial!F 11
|IO80211!FV2 1200.12.2b1
>corecapture 1.0.4
|IOSkywalk!F 1
>!AThunderboltPCIDownAdapter 2.5.4
>!AThunderboltDPInAdapter 6.2.6
>!AThunderboltDPAdapter!F 6.2.6
>!AHPM 3.4.4
>!A!ILpssI2C!C 3.0.60
>!A!ILpssDmac 3.0.60
>!A!ILpssI2C 3.0.60
>usb.!UVHCIBCE 1.2
>usb.!UVHCI 1.2
>usb.!UVHCICommonBCE 1.0
>usb.!UVHCICommon 1.0
>!AEffaceableNOR 1.0
|IOBufferCopy!C 1.1.0
|IOBufferCopyEngine!F 1
>!AThunderboltNHI 5.8.6
|IOThunderbolt!F 7.6.1
|IONVMe!F 2.1.0
|IOUSB!F 900.4.2
>usb.!UXHCIPCI 1.2
>usb.!UXHCI 1.2
>!AEFINVRAM 2.1
>!AEFIRuntime 2.1
>!ASMCRTC 1.0
|IOSMBus!F 1.1
|IOHID!F 2.0.0
$quarantine 4
$sandbox 300.0
@kext.!AMatch 1.0.0d1
>!AKeyStore 2
>!UTDM 489.120.1
|IOSCSIBlockCommandsDevice 422.120.3
>!ACredentialManager 1.0
>!AFDEKeyStore 28.30
>!AEffaceable!S 1.0
>!AMobileFileIntegrity 1.0.5
@kext.CoreTrust 1
|CoreAnalytics!F 1
|IOTimeSync!F 840.3
|IONetworking!F 3.4
>DiskImages 493.0.0
|IO!B!F 7.0.6f7
|IO!BPacketLogger 7.0.6f7
>!ASSE 1.0
>KernelRelayHost 1
>!ASEPManager 1.0.1
>IOSlaveProcessor 1
|IOUSBMass!SDriver 157.140.1
|IOSCSIArchitectureModel!F 422.120.3
|IO!S!F 2.1
|IOUSBHost!F 1.2
>usb.!UCommon 1.0
>!UHostMergeProperties 1.2
>!ABusPower!C 1.0
|IOReport!F 47
>!AACPIPlatform 6.1
>!ASMC 3.1.9
>watchdog 1
|IOPCI!F 2.9
|IOACPI!F 1.4
@kec.pthread 1
@kec.corecrypto 1.0
@kec.Libm 1
panic(cpu 0 caller 0xffffff800703baa0): "Spinlock acquisition timed out: lock=0xffffff804f867050, lock owner thread=0xffffff805235ca40, current_thread: 0xffffff8052ce4a40, lock owner active on CPU 0x5, current owner: 0xffffff805235ca40, time: 19727350080021"@/AppleInternal/BuildRoot/Library/Caches/com.apple.xbs/Sources/xnu/xnu-6153.141.1/osfmk/i386/locks_i386.c:501
Backtrace (CPU 0), Frame : Return Address
0xffffff81d62b5b30 : 0xffffff8006f1a65d
0xffffff81d62b5b80 : 0xffffff8007054a75
0xffffff81d62b5bc0 : 0xffffff80070465fe
0xffffff81d62b5c10 : 0xffffff8006ec0a40
0xffffff81d62b5c30 : 0xffffff8006f19d27
0xffffff81d62b5d30 : 0xffffff8006f1a117
0xffffff81d62b5d80 : 0xffffff80076c1abc
0xffffff81d62b5df0 : 0xffffff800703baa0
0xffffff81d62b5e30 : 0xffffff8006f38e56
0xffffff81d62b5e60 : 0xffffff8006f6545c
0xffffff81d62b5f20 : 0xffffff8007033807
0xffffff81d62b5f60 : 0xffffff800704e663
0xffffff81d62b5f80 : 0xffffff8007045dfb
0xffffff81d62b5fd0 : 0xffffff8006ec0bed
0xffffff923930bda0 : 0xffffff8006f6e431
0xffffff923930be00 : 0xffffff80074a3399
0xffffff923930bf00 : 0xffffff80074a24a6
0xffffff923930bf40 : 0xffffff8007584c37
0xffffff923930bfa0 : 0xffffff8006ec1206
BSD process name corresponding to current thread: Electron Helper
I'm experiencing this issue aswel as of yesterday. I'm not entirely sure if this is an OS issue or an issue with Electron (or something else all together), but since my report also mentions "Electron Helper" specifically, I thought it best to post here.
@sproxet @0xdeafcafe with which versions did you (start) to experience this issue? Might help to triage the issue if it's know when it started to happen. I updated from ^3.0.10
to ^10.1.5
yesterday. That said, I actually only recently updated to Catalina as well - so that unfortunately doesn't give much to go on.
I've seen it happen on various versions of electron, but I'm current on 10.1.4
Please report this to Apple, kernel panics are by definition an OS issue.
Although perhaps fundamentally an OS issue, Electron does appear to be doing something to aggravate the issue. I've tried both electron 10.1.5
and 9.3.3
. With both of these I'm able to cause a crash in a matter of minutes.
I've reverted back to Electron 3 (3.1.12
) -to find out if the issue was already present (since I had effectively updated my OS & Electro at the same time). I'm happy to report that I've been unable to cause a crash since. In other words Electron 3 doesn't appear to cause Cataline to crash. I understand that there are a lot of releases between 3.1.12
and 9.3.3
and thus doesn't go a very long way to help triage the issue, but this is the info I have.
Try --disable-gpu
as a workaround, such things are often caused by buggy GPU drivers.
I'm getting the issue also only when I develop for Electron.
I use VSCode all week doing mainly PHP work without touching Electron, and macOS doesn't crash at all.
As soon as I start developing on Electron on the week-end (currently using 11.0.3
), I'm getting random Kernel Panic all pointing to Electron Helper.
Please don't close that issue assuming it's an Apple issue.
I might get back to older version of Electron to see if it happens. I can't work properly lately using Electron and it's a shame 🥺
Saw people in this thread using 9 and 10, and still experiencing crashes.
So I thought I'd rolled back to version 8.5.5
, and since yesterday night, I saw 0 crash. This is a first for me after ~8h of dev 👍
So something is happening from version 9 that could be worth looking into @nornagon
Cheers
update: Spent another week-end developing on Electron using 8, experienced 0 crash.
Bump. I'm on a new Mac with a M1 chip and Big Sur and currently running Electron in development-mode is causing 3-10 kernel panics a day. It's hugely frustrating and almost making developing Electron apps impossible. If someone could get to the bottom of this that would be hugely appreciated.
OK, so I narrowed down the problem -- at least for me. It had to do with chokidar which uses the underlying fs.watch
node implementation to watch files. Something in those libraries is causing kernel panics on Macs when running Electron in development mode. It's happened to both my M1 Mac Mini and my Intel 2017 MBP.
I hope this information helps someone track down the root cause.
PS: If anyone knows of an open issue where I can post this information please let me know. I couldn't find one as of the time of this post.
Just crossposting this here as it seems this issue is not dead. Obsidian is another Electron-based app that is gaining popularity and has now started suffering from a similar KP:
https://forum.obsidian.md/t/kernel-panic-on-macos-11-crash-reboot/12020
Got a similar issue on electron macos 12.0.2 while using my dev build, and watching reloading with ibazel.
I just experienced this in Obsidian and am now absolutely petrified that the electron-based software I'm planning to use for a gig at the Barbican in a few weeks could do this, which would be... a shame. (Probably a good insentive for me to focus on rendering out some video).
I have occasional (once every a few days - a few weeks) KP with FreeTube It only happens when the current video ends / loading next video Hope this help finding which dependency is causing the issue
I have occasional (once every a few days - a few weeks) KP with FreeTube It only happens when the current video ends / loading next video Hope this help finding which dependency is causing the issue
FWIW I have an Electron app that involves quit a bit of switching video, and I do have some other issues with that (particularly on Windows, hopefully later I'll figure out what may be bugs in Electron vs my code vs my GPU being on the blink) but haven't witnessed any KPs with it on Mac (and I'm praying that isn't about to change!).
Saw people in this thread using 9 and 10, and still experiencing crashes.
So I thought I'd rolled back to version
8.5.5
, and since yesterday night, I saw 0 crash. This is a first for me after ~8h of dev 👍So something is happening from version 9 that could be worth looking into @nornagon
Cheers
update: Spent another week-end developing on Electron using 8, experienced 0 crash.
I have more feedback on this:
8.5.5
without any Kernel Panic for monthsapp.allowRendererProcessReuse = true
a while back to get ride of the warning, and I did get some few crashes from time to time.app.allowRendererProcessReuse = false
(because I had issue to refresh the app properly while developing), and didn't see any crash in 2 days.12.0.9
with app.allowRendererProcessReuse = false
, and still no crash so far (but only an afternoon of dev)Could app.allowRendererProcessReuse
be related to the kernel panic?
edit: Kept the app running for 6 hours, still no crash. This is the first time I able to use version 12+ without KP.
It seems that Electron Helper is causing kernel panics on OS X Catalina. I have experienced this problem repeatedly in my own code (https://github.com/zcoinofficial/zcoin-client), and have also found it referenced in two other projects:
https://github.com/microsoft/vscode/issues/86913#issuecomment-663055923 https://github.com/facebook/flipper/issues/1477
I'm not actually able to find the exact log of my own panic, but it is the same spinlock error as referenced in the two above issues. The next time it happens I'll add it to this issue.