Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fatal process OOM in DateTimePatternGeneratorCache::CreateGenerator #337

Open
skilbjo opened this issue Dec 14, 2024 · 1 comment
Open
Labels
bug Something isn't working

Comments

@skilbjo
Copy link

skilbjo commented Dec 14, 2024

website: https://fingerprintjs.github.io/fingerprintjs/

$ ./lightpanda-aarch64-macos --dump 'https://fingerprintjs.github.io/fingerprintjs/'
info(browser): GET https://fingerprintjs.github.io/fingerprintjs/ http.Status.ok
info(browser): fetch script https://fingerprintjs.github.io/fingerprintjs/main.js?0a007938b53f026d7218: http.Status.ok

<--- Last few GCs --->


<--- JS stacktrace --->


#
# Fatal process OOM in DateTimePatternGeneratorCache::CreateGenerator
#

Trace/BPT trap: 5
@francisbouvier francisbouvier added the bug Something isn't working label Dec 17, 2024
@francisbouvier
Copy link
Member

Hi @skilbjo,

Thanks for filling this issue. I was able to reproduce it. The JS function causing the crash is new Intl.DateTimeFormat.
It seems to be linked with i18n (v8 uses ICU). We do embed ICU but maybe we do not initialize it correctly. I will have a closer look.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants