Bug 269791
| Summary: | [ASAN] Leaks detected on Linux, but not on macOS (clang) | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | gorez.tony |
| Component: | JavaScriptCore | Assignee: | 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
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 | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/123690059>
Mark Lam
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).