Bug 269791

Summary: [ASAN] Leaks detected on Linux, but not on macOS (clang)
Product: WebKit Reporter: gorez.tony
Component: JavaScriptCoreAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: gorez.tony, mark.lam, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Mac (Apple Silicon)   
OS: macOS 13   

gorez.tony
Reported 2024-02-20 07:17:44 PST
Hi everyone :) We recently tried to build a C++ project that has JavascriptCore as a dependency and enable ASAN. The result was that on Linux (using `javascriptcoregtk-4.0`), Asan caught a few leaks: https://github.com/crossnx/includejs/actions/runs/7934077830/job/21667816487 But on macOS, the CI passes (and even locally) without catching anything: https://github.com/crossnx/includejs/actions/runs/7975463940/job/21773755192#step:7:26 I'd like to understand why there is such a difference (clang linux vs clang on macos or whatever) :) I would be more than happy to help if I may. Cheers,
Attachments
Radar WebKit Bug Importer
Comment 1 2024-02-27 07:18:13 PST
Mark Lam
Comment 2 2024-02-28 13:52:10 PST
Hi, I'm not familiar with the logging of your tools. Can you provide details on what the supposed leak is (even if it's only on Linux).
Note You need to log in before you can comment on or make changes to this bug.