WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
269791
[ASAN] Leaks detected on Linux, but not on macOS (clang)
https://bugs.webkit.org/show_bug.cgi?id=269791
Summary
[ASAN] Leaks detected on Linux, but not on macOS (clang)
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
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2024-02-27 07:18:13 PST
<
rdar://problem/123690059
>
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.
Top of Page
Format For Printing
XML
Clone This Bug