Closed Bug 1680719 Opened 4 years ago Closed 4 years ago

Kernel panic when using devtools Network tab on macOS Big Sur 11.0.1 (20B29)

Categories

(DevTools :: Netmonitor, defect)

Firefox 83
Unspecified
macOS
defect

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1679400

People

(Reporter: bugzilla, Unassigned)

Details

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.16; rv:83.0) Gecko/20100101 Firefox/83.0

Steps to reproduce:

  1. Right click -> Inspect Element -> Go to Network tab
  2. Refresh current page, or leave it on and browse a bit
  3. A kernel panic happens

I'm on macOS Big Sur 11.0.1 (20B29) + Firefox 83.0 (64-bit), running on a 16" MBP with a Radeon Pro 5500M. This happens when using either the dedicated GPU (MBP in calmshell mode connected to dock+external monitors) and integrated GPU (laptop only, on battery).

I can semi-consistently reproduce this; it seems to happen when there's a high volume of requests happening at a fast rate.

Actual results:

A kernel panic:

panic(cpu 2 caller 0xffffff8012fefa76): Kernel trap at 0xffffff8013418cfe, type 14=page fault, registers:
CR0: 0x0000000080010033, CR2: 0x0000000000000000, CR3: 0x000000037d6950ff, CR4: 0x00000000003626e0
RAX: 0x0000000000000000, RBX: 0xffffff86c7ebb120, RCX: 0x0000000000000000, RDX: 0x0000000001000000
RSP: 0xffffffb0dc38bec0, RBP: 0xffffffb0dc38bf40, RSI: 0xffffff86c7bae3d0, RDI: 0x0000000000000000
R8:  0x0000000000000000, R9:  0x0000000000000000, R10: 0x0000000000000000, R11: 0x0000000000000000
R12: 0xffffff86c7bae300, R13: 0xffffff86c7c07440, R14: 0x0000000000000153, R15: 0xffffff86c7bae3d0
RFL: 0x0000000000010246, RIP: 0xffffff8013418cfe, CS:  0x0000000000000008, SS:  0x0000000000000010
Fault CR2: 0x0000000000000000, Error code: 0x0000000000000000, Fault CPU: 0x2, PL: 0, VF: 0

Backtrace (CPU 2), Frame : Return Address
0xffffffb0dc38b8e0 : 0xffffff8012ebc66d 
0xffffffb0dc38b930 : 0xffffff8012fff073 
0xffffffb0dc38b970 : 0xffffff8012fef6aa 
0xffffffb0dc38b9c0 : 0xffffff8012e61a2f 
0xffffffb0dc38b9e0 : 0xffffff8012ebbf0d 
0xffffffb0dc38bb00 : 0xffffff8012ebc1f8 
0xffffffb0dc38bb70 : 0xffffff80136bee1a 
0xffffffb0dc38bbe0 : 0xffffff8012fefa76 
0xffffffb0dc38bd60 : 0xffffff8012fef75d 
0xffffffb0dc38bdb0 : 0xffffff8012e61a2f 
0xffffffb0dc38bdd0 : 0xffffff8013418cfe 
0xffffffb0dc38bf40 : 0xffffff8013569ceb 
0xffffffb0dc38bfa0 : 0xffffff8012e621f6 

Process name corresponding to current thread: firefox

Mac OS version:
20B29

Kernel version:
Darwin Kernel Version 20.1.0: Sat Oct 31 00:07:11 PDT 2020; root:xnu-7195.50.7~2/RELEASE_X86_64
Kernel UUID: 84C6DC45-6B02-335F-9439-5D2A9BC385A4
KernelCache slide: 0x0000000012c00000
KernelCache base:  0xffffff8012e00000
Kernel slide:      0x0000000012c10000
Kernel text base:  0xffffff8012e10000
__HIB  text base: 0xffffff8012d00000
System model name: MacBookPro16,1 (Mac-E1008331FDC96864)
System shutdown begun: NO
Hibernation exit count: 0

System uptime in nanoseconds: 69148995076261
Last Sleep:           absolute           base_tsc          base_nano
  Uptime  : 0x00003ee40149c4b3
  Sleep   : 0x00003b20bd391ff1 0x0001354d118deffc 0x00003b1de4171d45
  Wake    : 0x00003b20efa5541d 0x00013621eab60bda 0x00003b20cf079fef
last started kext at 64969855887804: >usb.cdc.acm	5.0.0 (addr 0xffffff7fb255d000, size 8192)
last stopped kext at 65216564045375: >!A!II210Ethernet	2.3.1 (addr 0xffffff80157df000, size 86016)
loaded kexts:
com.intel.driver.EnergyDriver	3.6.1
>AGPM	119
>!APlatformEnabler	2.7.0d0
>X86PlatformShim	1.0.0
>!ATopCaseHIDEventDriver	4000.27
>!AHIDALSService	1
@filesystems.ntfs	3.14.3
@filesystems.autofs	3.0
@fileutil	20.036.15
>!AUpstreamUserClient	3.6.8
@kext.AMDRadeonX6000	4.0.0
@kext.AMDRadeonServiceManager	4.0.0
>!A!IKBLGraphics	16.0.0
>!AGraphicsDevicePolicy	6.1.27
>!AGFXHDA	100.1.431
>!A!ICFLGraphicsFramebuffer	16.0.0
@AGDCPluginDisplayMetrics	6.1.27
>pmtelemetry	1
>LuaHardwareAccess	1.0.16
|IOUserEthernet	1.0.1
|IO!BSerialManager	8.0.1f5
@Dont_Steal_Mac_OS_X	7.0.0
>!AHV	1
>!ADiskImages2	1
>AGDCBacklightControl	6.1.27
>!AMCCSControl	1.14
>!A!IPCHPMC	2.0.1
>!AMuxControl2	6.1.27
>!ABridgeAudio!C	100.2
>BridgeAudioCommunication	100.2
>!AAVEBridge	6.1
>!AThunderboltIP	4.0.3
>!A!ISlowAdaptiveClocking	4.0.0
>BCMWLANFirmware4378.Hashstore	1
>BCMWLANFirmware4377.Hashstore	1
>BCMWLANFirmware4364.Hashstore	1
>BCMWLANFirmware4355.Hashstore	1
>!ABCMWLANBusInterfacePCIeMac	1
@filesystems.apfs	1677.50.1
@filesystems.tmpfs	1
@filesystems.hfs.kext	556.41.1
@BootCache	40
@!AFSCompression.!AFSCompressionTypeZlib	1.0.0
@!AFSCompression.!AFSCompressionTypeDataless	1.0.0d1
@private.KextAudit	1.0
>!ASmartBatteryManager	161.0.0
>!AACPIButtons	6.1
>!ASMBIOS	2.1
>!AACPIEC	6.1
>!AAPIC	1.7
@!ASystemPolicy	2.0.0
@nke.applicationfirewall	310
|IOKitRegistryCompatibility	1
|EndpointSecurity	1
>!AHS!BDriver	4000.27
>IO!BHIDDriver	8.0.1f5
>!AHIDKeyboard	222
>!AActuatorDriver	4400.28
>!AMultitouchDriver	4400.28
>!AInputDeviceSupport	4400.35
@kext.triggers	1.0
@kext.AMDRadeonX6100HWLibs	1.0
|IOAccelerator!F2	439.35.4
|IOAVB!F	900.12
>!ABacklightExpert	1.1.0
|IONDRVSupport	585
@kext.AMDRadeonX6000Framebuffer	4.0.0
@kext.AMDSupport	4.0.0
@kext.AMDRadeonX6000HWServices	4.0.0
|IO!BHost!CUARTTransport	8.0.1f5
|IO!BHost!CTransport	8.0.1f5
>X86PlatformPlugin	1.0.0
>!A!ILpssUARTv1	3.0.60
>!A!ILpssUARTCommon	3.0.60
>!AOnboardSerial	1.0
@!AGPUWrangler	6.1.27
>!UAudio	401.4
>!ASMBus!C	1.0.18d1
>IOPlatformPlugin!F	6.0.0d8
>!AGraphicsControl	6.1.27
@!AGraphicsDeviceControl	6.1.27
|IOGraphics!F	585
|IOAudio!F	300.6.1
@vecLib.kext	1.2.0
@plugin.IOgPTPPlugin	900.11
|IOSlowAdaptiveClocking!F	1.0.0
>usb.cdc.ncm	5.0.0
>usb.!UHub	1.2
>usb.cdc	5.0.0
>usb.networking	5.0.0
>usb.!UHostCompositeDevice	1.2
>!ABCMWLANCoreMac	1.0.0
|IOSerial!F	11
|IO80211!FV2	1200.12.2b1
>IOImageLoader	1.0.0
>corecapture	1.0.4
>!AThunderboltPCIDownAdapter	4.1.1
>!AThunderboltDPInAdapter	8.1.4
>!AThunderboltDPAdapter!F	8.1.4
>!AHPM	3.4.4
>!A!ILpssI2C!C	3.0.60
>!A!ILpssI2C	3.0.60
>!A!ILpssDmac	3.0.60
>!ABSDKextStarter	3
|IOSurface	289.3
|IOSkywalk!F	1
@filesystems.hfs.encodings.kext	1
>usb.!UVHCIBCE	1.2
>usb.!UVHCICommonBCE	1.0
>usb.!UVHCI	1.2
>usb.!UVHCICommon	1.0
>!AEffaceableNOR	1.0
|IOBufferCopy!C	1.1.0
|IOBufferCopyEngine!F	1
|IONVMe!F	2.1.0
>!AThunderboltNHI	7.2.8
|IOThunderbolt!F	9.3.2
|IOEthernetAVB!C	1.1.0
>mDNSOffloadUserClient	1.0.1b8
>usb.!UXHCIPCI	1.2
>usb.!UXHCI	1.2
|IOUSB!F	900.4.2
>!AEFINVRAM	2.1
>!AEFIRuntime	2.1
>!ASMCRTC	1.0
|IOSMBus!F	1.1
|IOHID!F	2.0.0
$!AImage4	3.0.0
|IOTimeSync!F	900.11
|IONetworking!F	3.4
>DiskImages	493.0.0
|IO!B!F	8.0.1f5
|IOReport!F	47
|IO!BPacketLogger	8.0.1f5
$quarantine	4
$sandbox	300.0
@kext.!AMatch	1.0.0d1
|CoreAnalytics!F	1
>!ASSE	1.0
>!AKeyStore	2
>!UTDM	511.40.9
|IOUSBMass!SDriver	184.40.6
|IOSCSIBlockCommandsDevice	436.40.6
|IO!S!F	2.1
|IOSCSIArchitectureModel!F	436.40.6
>!AMobileFileIntegrity	1.0.5
@kext.CoreTrust	1
>!AFDEKeyStore	28.30
>!AEffaceable!S	1.0
>!ACredentialManager	1.0
>KernelRelayHost	1
|IOUSBHost!F	1.2
>!UHostMergeProperties	1.2
>usb.!UCommon	1.0
>!ABusPower!C	1.0
>!ASEPManager	1.0.1
>IOSlaveProcessor	1
>!AACPIPlatform	6.1
>!ASMC	3.1.9
|IOPCI!F	2.9
|IOACPI!F	1.4
>watchdog	1
@kec.pthread	1
@kec.corecrypto	1.0
@kec.Libm	1

Expected results:

It should not cause a kernel panic.

Bugbug thinks this bug should belong to this component, but please revert this change in case of error.

Component: Untriaged → General
Product: Firefox → DevTools

Thanks for the report!

Two questions to help the investigation:

  • is there a public URL we could use to reproduce this bug (to get a better idea of how many requests we are talking about)?
  • is there any info in about:crashes when this happens?
Component: General → Netmonitor
Flags: needinfo?(bugzilla)
OS: Unspecified → macOS

Hello Ray C,
Gentle reminder,
Please see Julian's questions above which would help figure out what is going on
Thanks so much

Apologies for the late follow-up!

I have a new crash log that may help. It seems to be coming from plugin-container this time, and happened the moment I hit F12 to open the Inspector.

panic(cpu 8 caller 0xffffff80112bffa6): "os_refcnt: underflow (rc=0xffffff86c8ac2674)\n"@/AppleInternal/BuildRoot/Library/Caches/com.apple.xbs/Sources/xnu/xnu-7195.50.7/libkern/os/refcnt.c:46
Backtrace (CPU 8), Frame : Return Address
0xffffffb0da41bb40 : 0xffffff8010abc66d 
0xffffffb0da41bb90 : 0xffffff8010bff073 
0xffffffb0da41bbd0 : 0xffffff8010bef6aa 
0xffffffb0da41bc20 : 0xffffff8010a61a2f 
0xffffffb0da41bc40 : 0xffffff8010abbf0d 
0xffffffb0da41bd60 : 0xffffff8010abc1f8 
0xffffffb0da41bdd0 : 0xffffff80112bee1a 
0xffffffb0da41be40 : 0xffffff80112bffa6 
0xffffffb0da41be50 : 0xffffff801101748f 
0xffffffb0da41beb0 : 0xffffff8011019100 
0xffffffb0da41bf40 : 0xffffff8011169ceb 
0xffffffb0da41bfa0 : 0xffffff8010a621f6 

Process name corresponding to current thread: plugin-container
Boot args: -v

Mac OS version:
20B29

Kernel version:
Darwin Kernel Version 20.1.0: Sat Oct 31 00:07:11 PDT 2020; root:xnu-7195.50.7~2/RELEASE_X86_64
Kernel UUID: 84C6DC45-6B02-335F-9439-5D2A9BC385A4
KernelCache slide: 0x0000000010800000
KernelCache base:  0xffffff8010a00000
Kernel slide:      0x0000000010810000
Kernel text base:  0xffffff8010a10000
__HIB  text base: 0xffffff8010900000
System model name: MacBookPro16,1 (Mac-E1008331FDC96864)
System shutdown begun: NO
Hibernation exit count: 2

System uptime in nanoseconds: 242934647224797
Last Sleep:           absolute           base_tsc          base_nano
  Uptime  : 0x0000dcf2a159fdfa
  Sleep   : 0x0000cf79e582827d 0x000306ed00ca58ea 0x0000cf771b0b640d
  Wake    : 0x0000cf7a183774c8 0x000345d4da40cf7a 0x0000cf79f79e3949
last started kext at 240836941400653: >usb.!UUserHCI	1 (addr 0xffffff7fb05ef000, size 98304)
last stopped kext at 240972453094913: >usb.!UUserHCI	1 (addr 0xffffff7fb05ef000, size 98304)
loaded kexts:
io.macfuse.filesystems.macfuse	2052.20
com.intel.driver.EnergyDriver	3.6.1
>AudioAUUC	1.70
>!A!II210Ethernet	2.3.1
>!APlatformEnabler	2.7.0d0
>AGPM	119
>X86PlatformShim	1.0.0
>!ATopCaseHIDEventDriver	4000.27
>!AHIDALSService	1
@filesystems.autofs	3.0
@fileutil	20.036.15
@filesystems.ntfs	3.14.3
>!AUpstreamUserClient	3.6.8
@kext.AMDRadeonX6000	4.0.0
@kext.AMDRadeonServiceManager	4.0.0
>!A!IKBLGraphics	16.0.0
>BridgeAudioCommunication	100.2
>!AAVEBridge	6.1
>!A!ICFLGraphicsFramebuffer	16.0.0
>AGDCBacklightControl	6.1.27
>!AGraphicsDevicePolicy	6.1.27
>!AThunderboltIP	4.0.3
>!AMCCSControl	1.14
>!ABridgeAudio!C	100.2
>!A!IPCHPMC	2.0.1
>!AMuxControl2	6.1.27
@AGDCPluginDisplayMetrics	6.1.27
>pmtelemetry	1
>LuaHardwareAccess	1.0.16
|IOUserEthernet	1.0.1
|IO!BSerialManager	8.0.1f5
@Dont_Steal_Mac_OS_X	7.0.0
>!AHV	1
>!ADiskImages2	1
>!AGFXHDA	100.1.431
>!A!ISlowAdaptiveClocking	4.0.0
>BCMWLANFirmware4378.Hashstore	1
>BCMWLANFirmware4377.Hashstore	1
>BCMWLANFirmware4364.Hashstore	1
>BCMWLANFirmware4355.Hashstore	1
@filesystems.tmpfs	1
@filesystems.hfs.kext	556.41.1
@BootCache	40
@!AFSCompression.!AFSCompressionTypeZlib	1.0.0
@!AFSCompression.!AFSCompressionTypeDataless	1.0.0d1
>!ABCMWLANBusInterfacePCIeMac	1
@filesystems.apfs	1677.50.1
@private.KextAudit	1.0
>!ASmartBatteryManager	161.0.0
>!AACPIButtons	6.1
>!ASMBIOS	2.1
>!AACPIEC	6.1
>!AAPIC	1.7
@!ASystemPolicy	2.0.0
@nke.applicationfirewall	310
|IOKitRegistryCompatibility	1
|EndpointSecurity	1
>!AHIDKeyboard	222
>!AHS!BDriver	4000.27
>IO!BHIDDriver	8.0.1f5
>!AActuatorDriver	4400.28
>!AMultitouchDriver	4400.28
>!AInputDeviceSupport	4400.35
@kext.triggers	1.0
|IO!BHost!CUARTTransport	8.0.1f5
|IO!BHost!CTransport	8.0.1f5
|IOAccelerator!F2	439.35.4
@kext.AMDRadeonX6100HWLibs	1.0
>!ABacklightExpert	1.1.0
>X86PlatformPlugin	1.0.0
>!ASMBus!C	1.0.18d1
@kext.AMDRadeonX6000Framebuffer	4.0.0
@kext.AMDSupport	4.0.0
>!A!ILpssUARTv1	3.0.60
>!A!ILpssUARTCommon	3.0.60
>!AOnboardSerial	1.0
>IOPlatformPlugin!F	6.0.0d8
>!AGraphicsControl	6.1.27
>!UAudio	401.4
|IOAVB!F	900.12
@plugin.IOgPTPPlugin	900.11
@kext.AMDRadeonX6000HWServices	4.0.0
|IONDRVSupport	585
|IOAudio!F	300.6.1
@vecLib.kext	1.2.0
@!AGPUWrangler	6.1.27
@!AGraphicsDeviceControl	6.1.27
|IOGraphics!F	585
|IOSlowAdaptiveClocking!F	1.0.0
>usb.cdc.ncm	5.0.0
>usb.cdc	5.0.0
>usb.networking	5.0.0
>usb.!UHostCompositeDevice	1.2
>!AThunderboltDPOutAdapter	8.1.4
>!AThunderboltPCIUpAdapter	4.1.1
>!ABSDKextStarter	3
|IOSurface	289.3
@filesystems.hfs.encodings.kext	1
>!ABCMWLANCoreMac	1.0.0
|IOSerial!F	11
|IO80211!FV2	1200.12.2b1
|IOSkywalk!F	1
>IOImageLoader	1.0.0
>corecapture	1.0.4
>usb.!UVHCIBCE	1.2
>usb.!UVHCICommonBCE	1.0
>usb.!UVHCI	1.2
>usb.!UVHCICommon	1.0
>!AEffaceableNOR	1.0
|IOBufferCopy!C	1.1.0
|IOBufferCopyEngine!F	1
|IONVMe!F	2.1.0
>!AThunderboltPCIDownAdapter	4.1.1
>!AThunderboltDPInAdapter	8.1.4
>!AThunderboltDPAdapter!F	8.1.4
>!AHPM	3.4.4
>!A!ILpssI2C!C	3.0.60
>!A!ILpssI2C	3.0.60
>!A!ILpssDmac	3.0.60
>!AThunderboltNHI	7.2.8
|IOThunderbolt!F	9.3.2
|IOEthernetAVB!C	1.1.0
>mDNSOffloadUserClient	1.0.1b8
>usb.!UXHCIPCI	1.2
>usb.!UXHCI	1.2
|IOUSB!F	900.4.2
>!AEFINVRAM	2.1
>!AEFIRuntime	2.1
>!ASMCRTC	1.0
|IOSMBus!F	1.1
|IOHID!F	2.0.0
$!AImage4	3.0.0
|IOTimeSync!F	900.11
|IONetworking!F	3.4
>DiskImages	493.0.0
|IO!B!F	8.0.1f5
|IOReport!F	47
|IO!BPacketLogger	8.0.1f5
$quarantine	4
$sandbox	300.0
@kext.!AMatch	1.0.0d1
|CoreAnalytics!F	1
>!ASSE	1.0
>!AKeyStore	2
>!UTDM	511.40.9
|IOUSBMass!SDriver	184.40.6
|IOSCSIBlockCommandsDevice	436.40.6
|IO!S!F	2.1
|IOSCSIArchitectureModel!F	436.40.6
>!AMobileFileIntegrity	1.0.5
@kext.CoreTrust	1
>!AFDEKeyStore	28.30
>!AEffaceable!S	1.0
>!ACredentialManager	1.0
>KernelRelayHost	1
|IOUSBHost!F	1.2
>!UHostMergeProperties	1.2
>usb.!UCommon	1.0
>!ABusPower!C	1.0
>!ASEPManager	1.0.1
>IOSlaveProcessor	1
>!AACPIPlatform	6.1
>!ASMC	3.1.9
|IOPCI!F	2.9
|IOACPI!F	1.4
>watchdog	1
@kec.pthread	1
@kec.corecrypto	1.0
@kec.Libm	1

is there a public URL we could use to reproduce this bug (to get a better idea of how many requests we are talking about)?

It's hard for me to pinpoint exactly due to my mixed usage. This has also happened when I tried opening a new Incognito window through Cmd + Shift + P, so it doesn't seem isolated to just the Inspector.

I've noticed it happening more frequently when I have several Twitch.tv streams open in different tabs, maybe that could help?

is there any info in about:crashes when this happens?

Not that I can tell. I only have two crash reports listed in about:crashes which predates this issue (both dated May 2020).

Flags: needinfo?(bugzilla)

Thanks for the feedback, this doesn't sound like a devtools issue if it occurred without DevTools opened.
I found a similar bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1679400

They reported that the issue was fixed after updating to BigSur 11.1
From the crash report, it seems you are on Macos 20B29, which is 11.0.1.

Could you try to update to 11.1, and see if this fixes your issue? If it doesn't, do you mind reopening Bug 1679400 .
It will be triaged by people who can better help with this kind of issues.

Status: UNCONFIRMED → RESOLVED
Closed: 4 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.