Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 7fc78f4d62854242a2cf1f135678e9896e433643
      
https://github.com/WebKit/WebKit/commit/7fc78f4d62854242a2cf1f135678e9896e433643
  Author: Claudio Saavedra <[email protected]>
  Date:   2025-12-16 (Tue, 16 Dec 2025)

  Changed paths:
    M Source/WebCore/inspector/WorkerInspectorController.h

  Log Message:
  -----------
  [inspector] WorkerInspectorController needs thread-safe CheckedPointer variant
https://bugs.webkit.org/show_bug.cgi?id=304178

Reviewed by Darin Adler.

Seen occassionally in post-commit Debug bots (mac and linux):

Thread 1 (Thread 0x7f5f627fd6c0 (LWP 609672)):
0  WTFCrash () at ../../../Source/WTF/wtf/Assertions.cpp:380
1  0x00007f714089ebf0 in WTFCrashWithInfo () at WTF/Headers/wtf/Assertions.h:985
2  0x00007f714144fc98 in WTF::SingleThreadIntegralWrapper<unsigned 
int>::assertThread (this=0x7f711a5dc378) at 
WTF/Headers/wtf/SingleThreadIntegralWrapper.h:54
3  0x00007f7141a86ef2 in WTF::SingleThreadIntegralWrapper<unsigned 
int>::operator++ (this=0x7f711a5dc378) at 
WTF/Headers/wtf/SingleThreadIntegralWrapper.h:98
4  0x00007f7141a7cd14 in 
WTF::CanMakeCheckedPtrBase<WTF::SingleThreadIntegralWrapper<unsigned int>, 
unsigned int, bool, 
(WTF::CheckedPtrDeleteCheckException)0>::incrementCheckedPtrCount 
(this=0x7f711a5dc378) at WTF/Headers/wtf/CheckedRef.h:296
5  0x00007f7148e5edd0 in 
WebCore::WorkerInspectorController::incrementCheckedPtrCount 
(this=0x7f711a5dc360) at 
../../../Source/WebCore/inspector/WorkerInspectorController.h:61
6  0x00007f712f7bff7c in WTF::CheckedRef<Inspector::InspectorEnvironment, 
WTF::RawPtrTraits<Inspector::InspectorEnvironment> >::CheckedRef 
(this=0x7f5f627fc3c0, object=...) at WTF/Headers/wtf/CheckedRef.h:62
7  0x00007f712f8eb44c in Inspector::InspectorHeapAgent::checkedEnvironment 
(this=0x7f711a810720) at 
../../../Source/JavaScriptCore/inspector/agents/InspectorHeapAgent.h:80
8  0x00007f712f8fb96a in Inspector::InspectorHeapAgent::willGarbageCollect 
(this=0x7f711a810720) at 
../../../Source/JavaScriptCore/inspector/agents/InspectorHeapAgent.cpp:275Thread
 1 (Thread 0x7f5f627fd6c0 (LWP 609672)):

* Source/WebCore/inspector/WorkerInspectorController.h:

Canonical link: https://commits.webkit.org/304519@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to