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

[Regression] v8 wasm error when running yarn install with yarn v3+ #3

Open
kxxt opened this issue Aug 15, 2024 · 6 comments
Open

[Regression] v8 wasm error when running yarn install with yarn v3+ #3

kxxt opened this issue Aug 15, 2024 · 6 comments
Labels
bug Something isn't working help wanted Extra attention is needed need-affected-electron-range regression v8

Comments

@kxxt
Copy link

kxxt commented Aug 15, 2024

V8 Bug report: https://issues.chromium.org/issues/360030990 (Unfortunately not visible to public)

Running yarn install with https://github.com/hedgedoc/hedgedoc produces lots of unexpected errors:

➤ YN0000: ┌ Resolution step
➤ YN0060: │ HedgeDoc@workspace:. provides sequelize (p91ea1) with version 5.22.5, which doesn't satisfy what connect-session-sequelize requests
➤ YN0000: │ Some peer dependencies are incorrectly met; run yarn explain peer-requirements <hash> for details, where <hash> is the six-letter p-prefixed code
➤ YN0000: └ Completed in 3s 448ms
➤ YN0000: ┌ Fetch step
➤ YN0013: │ @aashutoshrathi/word-wrap@npm:1.2.6 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @babel/code-frame@npm:7.22.5 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @babel/helper-validator-identifier@npm:7.22.5 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @babel/highlight@npm:7.22.5 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @braintree/sanitize-url@npm:6.0.2 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @babel/code-frame@npm:7.22.5 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @babel/helper-validator-identifier@npm:7.22.5 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @babel/highlight@npm:7.22.5 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @braintree/sanitize-url@npm:6.0.2 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @colors/colors@npm:1.5.0 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @babel/helper-validator-identifier@npm:7.22.5 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @babel/highlight@npm:7.22.5 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @braintree/sanitize-url@npm:6.0.2 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @colors/colors@npm:1.5.0 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @dabh/diagnostics@npm:2.0.3 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @babel/highlight@npm:7.22.5 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @braintree/sanitize-url@npm:6.0.2 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @colors/colors@npm:1.5.0 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @dabh/diagnostics@npm:2.0.3 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @discoveryjs/json-ext@npm:0.5.7 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @braintree/sanitize-url@npm:6.0.2 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @colors/colors@npm:1.5.0 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @dabh/diagnostics@npm:2.0.3 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @discoveryjs/json-ext@npm:0.5.7 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @esbuild/linux-riscv64@npm:0.17.19 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @colors/colors@npm:1.5.0 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @dabh/diagnostics@npm:2.0.3 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @discoveryjs/json-ext@npm:0.5.7 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @esbuild/linux-riscv64@npm:0.17.19 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @eslint-community/eslint-utils@npm:4.4.0 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @dabh/diagnostics@npm:2.0.3 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @discoveryjs/json-ext@npm:0.5.7 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @esbuild/linux-riscv64@npm:0.17.19 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @eslint-community/eslint-utils@npm:4.4.0 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @eslint-community/regexpp@npm:4.6.2 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @discoveryjs/json-ext@npm:0.5.7 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @esbuild/linux-riscv64@npm:0.17.19 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @eslint-community/eslint-utils@npm:4.4.0 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @eslint-community/regexpp@npm:4.6.2 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @eslint/eslintrc@npm:2.1.1 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @esbuild/linux-riscv64@npm:0.17.19 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @eslint-community/eslint-utils@npm:4.4.0 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @eslint-community/regexpp@npm:4.6.2 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @eslint/eslintrc@npm:2.1.1 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @eslint/js@npm:8.46.0 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @eslint-community/eslint-utils@npm:4.4.0 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @eslint-community/regexpp@npm:4.6.2 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @eslint/eslintrc@npm:2.1.1 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @eslint/js@npm:8.46.0 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @gar/promisify@npm:1.1.3 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @eslint-community/regexpp@npm:4.6.2 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @eslint/eslintrc@npm:2.1.1 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @eslint/js@npm:8.46.0 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @gar/promisify@npm:1.1.3 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @hedgedoc/codemirror-5@npm:5.65.12 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @eslint/eslintrc@npm:2.1.1 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @eslint/js@npm:8.46.0 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @gar/promisify@npm:1.1.3 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @hedgedoc/codemirror-5@npm:5.65.12 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @humanwhocodes/config-array@npm:0.11.10 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @eslint/js@npm:8.46.0 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @gar/promisify@npm:1.1.3 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @hedgedoc/codemirror-5@npm:5.65.12 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @humanwhocodes/config-array@npm:0.11.10 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @humanwhocodes/module-importer@npm:1.0.1 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @gar/promisify@npm:1.1.3 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @hedgedoc/codemirror-5@npm:5.65.12 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @humanwhocodes/config-array@npm:0.11.10 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @humanwhocodes/module-importer@npm:1.0.1 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @humanwhocodes/object-schema@npm:1.2.1 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @hedgedoc/codemirror-5@npm:5.65.12 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @humanwhocodes/config-array@npm:0.11.10 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @humanwhocodes/module-importer@npm:1.0.1 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @humanwhocodes/object-schema@npm:1.2.1 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @isaacs/cliui@npm:8.0.2 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @humanwhocodes/config-array@npm:0.11.10 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @humanwhocodes/module-importer@npm:1.0.1 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @humanwhocodes/object-schema@npm:1.2.1 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @isaacs/cliui@npm:8.0.2 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @mapbox/node-pre-gyp@npm:1.0.11 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @humanwhocodes/module-importer@npm:1.0.1 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @humanwhocodes/object-schema@npm:1.2.1 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @isaacs/cliui@npm:8.0.2 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @mapbox/node-pre-gyp@npm:1.0.11 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @messageformat/core@npm:3.2.0 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @humanwhocodes/object-schema@npm:1.2.1 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @isaacs/cliui@npm:8.0.2 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @mapbox/node-pre-gyp@npm:1.0.11 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @messageformat/core@npm:3.2.0 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @messageformat/date-skeleton@npm:1.0.1 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @isaacs/cliui@npm:8.0.2 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @mapbox/node-pre-gyp@npm:1.0.11 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @messageformat/core@npm:3.2.0 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @messageformat/date-skeleton@npm:1.0.1 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @messageformat/number-skeleton@npm:1.2.0 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @mapbox/node-pre-gyp@npm:1.0.11 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @messageformat/core@npm:3.2.0 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @messageformat/date-skeleton@npm:1.0.1 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @messageformat/number-skeleton@npm:1.2.0 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @messageformat/parser@npm:5.1.0 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @messageformat/core@npm:3.2.0 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @messageformat/date-skeleton@npm:1.0.1 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @messageformat/number-skeleton@npm:1.2.0 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @messageformat/parser@npm:5.1.0 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @messageformat/runtime@npm:3.0.1 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @messageformat/date-skeleton@npm:1.0.1 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @messageformat/number-skeleton@npm:1.2.0 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @messageformat/parser@npm:5.1.0 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @messageformat/runtime@npm:3.0.1 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @nodelib/fs.scandir@npm:2.1.5 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @messageformat/number-skeleton@npm:1.2.0 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @messageformat/parser@npm:5.1.0 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @messageformat/runtime@npm:3.0.1 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @nodelib/fs.scandir@npm:2.1.5 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @nodelib/fs.stat@npm:2.0.5 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @messageformat/parser@npm:5.1.0 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @messageformat/runtime@npm:3.0.1 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @nodelib/fs.scandir@npm:2.1.5 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @nodelib/fs.stat@npm:2.0.5 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @nodelib/fs.walk@npm:1.2.8 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @messageformat/runtime@npm:3.0.1 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @nodelib/fs.scandir@npm:2.1.5 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @nodelib/fs.stat@npm:2.0.5 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @nodelib/fs.walk@npm:1.2.8 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @npmcli/config@npm:6.2.1 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @nodelib/fs.scandir@npm:2.1.5 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @nodelib/fs.stat@npm:2.0.5 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @nodelib/fs.walk@npm:1.2.8 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @npmcli/config@npm:6.2.1 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @npmcli/fs@npm:1.1.1 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @nodelib/fs.stat@npm:2.0.5 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @nodelib/fs.walk@npm:1.2.8 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @npmcli/config@npm:6.2.1 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @npmcli/fs@npm:1.1.1 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @npmcli/fs@npm:3.1.0 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @nodelib/fs.walk@npm:1.2.8 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @npmcli/config@npm:6.2.1 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @npmcli/fs@npm:1.1.1 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @npmcli/fs@npm:3.1.0 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @npmcli/map-workspaces@npm:3.0.4 can't be found in the cache and will be fetched from the remote registry
➤ YN0001: │ Libzip Error: Read error: No error information
    at ZipFS.makeLibzipError ([worker eval]:1:30482)
    at new ZipFS ([worker eval]:1:29887)
    at MessagePort.<anonymous> ([worker eval]:1:468472)
➤ YN0013: │ @npmcli/move-file@npm:1.1.2 can't be found in the cache and will be fetched from the remote registry
➤ YN0001: │ Libzip Error: Read error: No error information
    at ZipFS.makeLibzipError ([worker eval]:1:30482)
    at new ZipFS ([worker eval]:1:29887)
    at MessagePort.<anonymous> ([worker eval]:1:468472)
➤ YN0001: │ Libzip Error: Read error: No error information
    at ZipFS.makeLibzipError ([worker eval]:1:30482)
    at new ZipFS ([worker eval]:1:29887)
    at MessagePort.<anonymous> ([worker eval]:1:468472)
➤ YN0001: │ Libzip Error: Read error: No error information
    at ZipFS.makeLibzipError ([worker eval]:1:30482)
    at new ZipFS ([worker eval]:1:29887)
    at MessagePort.<anonymous> ([worker eval]:1:468472)
➤ YN0013: │ @npmcli/name-from-folder@npm:2.0.0 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @passport-next/passport-openid@npm:1.0.0 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @passport-next/passport-strategy@npm:1.1.0 can't be found in the cache and will be fetched from the remote registry
➤ YN0001: │ Libzip Error: Read error: No error information
    at ZipFS.makeLibzipError ([worker eval]:1:30482)
    at new ZipFS ([worker eval]:1:29887)
    at MessagePort.<anonymous> ([worker eval]:1:468472)


#
# Fatal JavaScript out of memory: MemoryChunk allocation failed during deserialization.
#
----- Native stack trace -----

➤ YN0013: │ @pkgjs/parseargs@npm:0.11.0 can't be found in the cache and will be fetched from the remote registry
 1: 0x3125d2e38c  [/usr/bin/node]
 2: 0x3126b4d750 v8::base::FatalOOM(v8::base::OOMType, char const*) [/usr/bin/node]
 3: 0x3125ec4252 v8::internal::V8::FatalProcessOutOfMemory(v8::internal::Isolate*, char const*, v8::OOMDetails const&) [/usr/bin/node]
 4: 0x3125ec4438 v8::internal::V8::FatalProcessOutOfMemory(v8::internal::Isolate*, char const*, v8::OOMDetails const&) [/usr/bin/node]
 5: 0x31260aa89a  [/usr/bin/node]
 6: 0x31260f9b9e v8::internal::MemoryAllocator::AllocateAlignedMemory(unsigned long, unsigned long, unsigned long, v8::internal::AllocationSpace, v8::internal::Executability, void*, v8::internal::VirtualMemory*) [/usr/bin/node]
 7: 0x31260f9d7a v8::internal::MemoryAllocator::AllocateUninitializedChunkAt(v8::internal::BaseSpace*, unsigned long, v8::internal::Executability, unsigned long, v8::internal::PageSize) [/usr/bin/node]
➤ YN0001: │ Libzip Error: Read error: No error information
    at ZipFS.makeLibzipError ([worker eval]:1:30482)
    at new ZipFS ([worker eval]:1:29887)
    at MessagePort.<anonymous> ([worker eval]:1:468472)
 8: 0x31260fa23a v8::internal::MemoryAllocator::AllocatePage(v8::internal::MemoryAllocator::AllocationMode, v8::internal::Space*, v8::internal::Executability) [/usr/bin/node]
➤ YN0013: │ @tokenizer/token@npm:0.3.0 can't be found in the cache and will be fetched from the remote registry
 9: 0x3126108d64 v8::internal::SemiSpace::Commit() [/usr/bin/node]
10: 0x312610a174 v8::internal::SemiSpaceNewSpace::SemiSpaceNewSpace(v8::internal::Heap*, unsigned long, unsigned long) [/usr/bin/node]
11: 0x31260bd7b6 v8::internal::Heap::SetUpSpaces(v8::internal::LinearAllocationArea&, v8::internal::LinearAllocationArea&) [/usr/bin/node]
12: 0x312602d8b8 v8::internal::Isolate::Init(v8::internal::SnapshotData*, v8::internal::SnapshotData*, v8::internal::SnapshotData*, bool) [/usr/bin/node]
13: 0x312602e7b8 v8::internal::Isolate::InitWithSnapshot(v8::internal::SnapshotData*, v8::internal::SnapshotData*, v8::internal::SnapshotData*, bool) [/usr/bin/node]
14: 0x3126453de2 v8::internal::Snapshot::Initialize(v8::internal::Isolate*) [/usr/bin/node]
15: 0x3125ed9ec2 v8::Isolate::Initialize(v8::Isolate*, v8::Isolate::CreateParams const&) [/usr/bin/node]
16: 0x3125bdb1ea node::NewIsolate(v8::Isolate::CreateParams*, uv_loop_s*, node::MultiIsolatePlatform*, node::SnapshotData const*, node::IsolateSettings const&) [/usr/bin/node]
17: 0x3125dc97cc node::worker::WorkerThreadData::WorkerThreadData(node::worker::Worker*) [/usr/bin/node]
18: 0x3125dc7b80 node::worker::Worker::Run() [/usr/bin/node]
19: 0x3125dc8902  [/usr/bin/node]
20: 0x32ba48cb3e  [/usr/lib/libc.so.6]
21: 0x32ba4da064  [/usr/lib/libc.so.6]

Test results on different version:

(To test with electron, rename electron to node and set ELECTRON_RUN_AS_NODE)

nodejs            v20.16.0  v8 11.3.8.224                is ok
nodejs            v21.x       v8 11.8.172.17               is ok
nodejs            v22.6.0   v8 12.4.21.254               is bad
electron v31.4.0  v20.16.0  v8 12.6.228.30-electron.0    
electron v30.3.1  v20.15.1  v8 12.4.254.20-electron.0    is bad
electron v29.4.5  v20.9.0   v8 12.2.281.27-electron.0    is good

Current bisection range: 12.2.281.27..12.4.254.20 (968 commits in total)

@kxxt
Copy link
Author

kxxt commented Aug 16, 2024

Other errors occurred in another run:

➤ YN0001: │ RangeError: WebAssembly.Instance(): Out of memory: Cannot allocate Wasm memory for new instance
    at z ([worker eval]:1:281464)
    at [worker eval]:1:330026
    at e ([worker eval]:1:330043)
    at getLibzipSync ([worker eval]:1:338279)
    at getLibzipPromise ([worker eval]:1:338341)
    at MessagePort.<anonymous> ([worker eval]:1:468508)
    at [nodejs.internal.kHybridDispatch] (node:internal/event_target:816:20)
    at MessagePort.<anonymous> (node:internal/per_context/messageport:23:28)
failed to compile wasm module: RangeError: WebAssembly.Instance(): Out of memory: Cannot allocate Wasm memory for new instance
➤ YN0001: │ RangeError: WebAssembly.Instance(): Out of memory: Cannot allocate Wasm memory for new instance
    at z ([worker eval]:1:281464)
    at [worker eval]:1:330026
    at e ([worker eval]:1:330043)
    at getLibzipSync ([worker eval]:1:338279)
    at getLibzipPromise ([worker eval]:1:338341)
    at MessagePort.<anonymous> ([worker eval]:1:468508)
    at [nodejs.internal.kHybridDispatch] (node:internal/event_target:816:20)
    at MessagePort.<anonymous> (node:internal/per_context/messageport:23:28)
➤ YN0013: │ @types/content-disposition@npm:0.5.5 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @types/cookies@npm:0.7.7 can't be found in the cache and will be fetched from the remote registry
failed to compile wasm module: RangeError: WebAssembly.Instance(): Out of memory: Cannot allocate Wasm memory for new instance
➤ YN0001: │ RangeError: WebAssembly.Instance(): Out of memory: Cannot allocate Wasm memory for new instance
    at z ([worker eval]:1:281464)
    at [worker eval]:1:330026
    at e ([worker eval]:1:330043)
    at getLibzipSync ([worker eval]:1:338279)
    at getLibzipPromise ([worker eval]:1:338341)
    at MessagePort.<anonymous> ([worker eval]:1:468508)
    at [nodejs.internal.kHybridDispatch] (node:internal/event_target:816:20)
    at MessagePort.<anonymous> (node:internal/per_context/messageport:23:28)
failed to compile wasm module: RangeError: WebAssembly.Instance(): Out of memory: Cannot allocate Wasm memory for new instance
➤ YN0013: │ @types/debug@npm:4.1.8 can't be found in the cache and will be fetched from the remote registry
➤ YN0001: │ RangeError: WebAssembly.Instance(): Out of memory: Cannot allocate Wasm memory for new instance
    at z ([worker eval]:1:281464)
    at [worker eval]:1:330026
    at e ([worker eval]:1:330043)
    at getLibzipSync ([worker eval]:1:338279)
    at getLibzipPromise ([worker eval]:1:338341)
    at MessagePort.<anonymous> ([worker eval]:1:468508)
    at [nodejs.internal.kHybridDispatch] (node:internal/event_target:816:20)
    at MessagePort.<anonymous> (node:internal/per_context/messageport:23:28)
➤ YN0013: │ @types/estree-jsx@npm:1.0.0 can't be found in the cache and will be fetched from the remote registry
failed to compile wasm module: RangeError: WebAssembly.Instance(): Out of memory: Cannot allocate Wasm memory for new instance
➤ YN0001: │ RangeError: WebAssembly.Instance(): Out of memory: Cannot allocate Wasm memory for new instance
    at z ([worker eval]:1:281464)
    at [worker eval]:1:330026
    at e ([worker eval]:1:330043)
    at getLibzipSync ([worker eval]:1:338279)
    at getLibzipPromise ([worker eval]:1:338341)
    at MessagePort.<anonymous> ([worker eval]:1:468508)
    at [nodejs.internal.kHybridDispatch] (node:internal/event_target:816:20)
    at MessagePort.<anonymous> (node:internal/per_context/messageport:23:28)

@kxxt kxxt added the help wanted Extra attention is needed label Aug 17, 2024
@kxxt
Copy link
Author

kxxt commented Oct 2, 2024

nodejs 1d29d81c69a5e03d99a3d3e597bc0eeed433e47d v8 12.3.219.16 is good

@kxxt
Copy link
Author

kxxt commented Oct 3, 2024

The failing mmaps are ones with a huge size(10737479680)

[pid 2271951] mmap(NULL, 10737479680, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_NORESERVE, -1, 0) = -1 ENOMEM (Cannot allocate memory)
[pid 2271951] mmap(NULL, 10737479680, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_NORESERVE, -1, 0) = -1 ENOMEM (Cannot allocate memory)
[pid 2272002] mmap(0x13301c0000, 520192, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_NORESERVE, -1, 0) = 0x13301c0000   
[pid 2271949] mmap(NULL, 10737479680, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_NORESERVE, -1, 0) = -1 ENOMEM (Cannot allocate memory)
[pid 2271999] mmap(0x329a300000, 520192, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_NORESERVE, -1, 0 <unfinished ...>
[pid 2271949] mmap(NULL, 10737479680, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_NORESERVE, -1, 0 <unfinished ...>   

@kxxt
Copy link
Author

kxxt commented Oct 3, 2024

Backtrace on nodejs 22.9.0 debug build with line info:

[pid 2400505] mmap(NULL, 10737479680, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_NORESERVE, -1, 0) = -1 ENOMEM (Cannot allocate memory)
 > /usr/lib/libc.so.6(__GI___mmap64+0x18) [0xc8ca0]
 > out/Debug/node() [0x71ef748] v8::base::(anonymous namespace)::Allocate(void*, unsigned long, v8::base::OS::MemoryPermission, v8::base::(anonymous namespace)::PageType) at /home/kxxt/node/out/Debug/../../deps/v8/src/base/platform/platform-posix.cc:158
 > out/Debug/node() [0x71efb6a] v8::base::OS::Allocate(void*, unsigned long, unsigned long, v8::base::OS::MemoryPermission) at /home/kxxt/node/out/Debug/../../deps/v8/src/base/platform/platform-posix.cc:415
 > out/Debug/node() [0x71def14] v8::base::PageAllocator::AllocatePages(void*, unsigned long, unsigned long, v8::PageAllocator::Permission) at /home/kxxt/node/out/Debug/../../deps/v8/src/base/page-allocator.cc:55
 > out/Debug/node() [0x6484064] v8::internal::AllocatePages(v8::PageAllocator*, void*, unsigned long, unsigned long, v8::PageAllocator::Permission) at /home/kxxt/node/out/Debug/../../deps/v8/src/utils/allocation.cc:174
 > out/Debug/node() [0x5cc4dae] v8::internal::BackingStore::TryAllocateAndPartiallyCommitMemory(v8::internal::Isolate*, unsigned long, unsigned long, unsigned long, unsigned long, unsigned long, v8::internal::WasmMemoryFlag, v8::internal::SharedFlag)::{lambda()#1}::operator()() const at /home/kxxt/node/out/Debug/../../deps/v8/src/objects/backing-store.cc:360
 > out/Debug/node() [0x5cca5b0] bool std::__invoke_impl<bool, v8::internal::BackingStore::TryAllocateAndPartiallyCommitMemory(v8::internal::Isolate*, unsigned long, unsigned long, unsigned long, unsigned long, unsigned long, v8::internal::WasmMemoryFlag, v8::internal::SharedFlag)::{lambda()#1}&>(std::__invoke_other, v8::internal::BackingStore::TryAllocateAndPartiallyCommitMemory(v8::internal::Isolate*, unsigned long, unsigned long, unsigned long, unsigned long, unsigned long, v8::internal::WasmMemoryFlag, v8::internal::SharedFlag)::{lambda()#1}&) at /usr/include/c++/14.2.1/bits/invoke.h:61 (discriminator 1)
 > out/Debug/node() [0x5cc9822] std::enable_if<is_invocable_r_v<bool, v8::internal::BackingStore::TryAllocateAndPartiallyCommitMemory(v8::internal::Isolate*, unsigned long, unsigned long, unsigned long, unsigned long, unsigned long, v8::internal::WasmMemoryFlag, v8::internal::SharedFlag)::{lambda()#1}&>, bool>::type std::__invoke_r<bool, v8::internal::BackingStore::TryAllocateAndPartiallyCommitMemory(v8::internal::Isolate*, unsigned long, unsigned long, unsigned long, unsigned long, unsigned long, v8::internal::WasmMemoryFlag, v8::internal::SharedFlag)::{lambda()#1}&>(v8::internal::BackingStore::TryAllocateAndPartiallyCommitMemory(v8::internal::Isolate*, unsigned long, unsigned long, unsigned long, unsigned long, unsigned long, v8::internal::WasmMemoryFlag, v8::internal::SharedFlag)::{lambda()#1}&) at /usr/include/c++/14.2.1/bits/invoke.h:114 (discriminator 1)
 > out/Debug/node() [0x5cc83e8] std::_Function_handler<bool (), v8::internal::BackingStore::TryAllocateAndPartiallyCommitMemory(v8::internal::Isolate*, unsigned long, unsigned long, unsigned long, unsigned long, unsigned long, v8::internal::WasmMemoryFlag, v8::internal::SharedFlag)::{lambda()#1}>::_M_invoke(std::_Any_data const&) at /usr/include/c++/14.2.1/bits/std_function.h:290 (discriminator 1)
 > out/Debug/node(std::function<bool ()>::operator()() const+0x34) [0x5cc785a] std::function<bool ()>::operator()() const at /usr/include/c++/14.2.1/bits/std_function.h:591
 > out/Debug/node() [0x5cc4d12] v8::internal::BackingStore::TryAllocateAndPartiallyCommitMemory(v8::internal::Isolate*, unsigned long, unsigned long, unsigned long, unsigned long, unsigned long, v8::internal::WasmMemoryFlag, v8::internal::SharedFlag)::{lambda(std::function<bool ()> const&)#1}::operator()(std::function<bool ()> const&) const at /home/kxxt/node/out/Debug/../../deps/v8/src/objects/backing-store.cc:338
 > out/Debug/node() [0x5cc4fca] v8::internal::BackingStore::TryAllocateAndPartiallyCommitMemory(v8::internal::Isolate*, unsigned long, unsigned long, unsigned long, unsigned long, unsigned long, v8::internal::WasmMemoryFlag, v8::internal::SharedFlag) at /home/kxxt/node/out/Debug/../../deps/v8/src/objects/backing-store.cc:364 (discriminator 1)
 > out/Debug/node() [0x5cc538a] v8::internal::BackingStore::AllocateWasmMemory(v8::internal::Isolate*, unsigned long, unsigned long, v8::internal::WasmMemoryFlag, v8::internal::SharedFlag)::{lambda(unsigned long)#1}::operator()(unsigned long) const at /home/kxxt/node/out/Debug/../../deps/v8/src/objects/backing-store.cc:450
 > out/Debug/node() [0x5cc559e] v8::internal::BackingStore::AllocateWasmMemory(v8::internal::Isolate*, unsigned long, unsigned long, v8::internal::WasmMemoryFlag, v8::internal::SharedFlag) at /home/kxxt/node/out/Debug/../../deps/v8/src/objects/backing-store.cc:457
 > out/Debug/node() [0x6b8d09c] v8::internal::WasmMemoryObject::New(v8::internal::Isolate*, int, int, v8::internal::SharedFlag, v8::internal::WasmMemoryFlag) at /home/kxxt/node/out/Debug/../../deps/v8/src/wasm/wasm-objects.cc:734
 > out/Debug/node() [0x69b05fa] v8::internal::wasm::InstanceBuilder::AllocateMemory(unsigned int) at /home/kxxt/node/out/Debug/../../deps/v8/src/wasm/module-instantiate.cc:2478
 > out/Debug/node() [0x69a8f4a] v8::internal::wasm::InstanceBuilder::Build() at /home/kxxt/node/out/Debug/../../deps/v8/src/wasm/module-instantiate.cc:1140
 > out/Debug/node() [0x69a7f6a] v8::internal::wasm::InstantiateToInstanceObject(v8::internal::Isolate*, v8::internal::wasm::ErrorThrower*, v8::internal::Handle<v8::internal::WasmModuleObject>, v8::internal::MaybeHandle<v8::internal::JSReceiver>, v8::internal::MaybeHandle<v8::internal::JSArrayBuffer>) at /home/kxxt/node/out/Debug/../../deps/v8/src/wasm/module-instantiate.cc:1007
 > out/Debug/node() [0x6b1f728] v8::internal::wasm::WasmEngine::SyncInstantiate(v8::internal::Isolate*, v8::internal::wasm::ErrorThrower*, v8::internal::Handle<v8::internal::WasmModuleObject>, v8::internal::MaybeHandle<v8::internal::JSReceiver>, v8::internal::MaybeHandle<v8::internal::JSArrayBuffer>) at /home/kxxt/node/out/Debug/../../deps/v8/src/wasm/wasm-engine.cc:671
 > out/Debug/node() [0x6b570a0] v8::(anonymous namespace)::WebAssemblyInstanceImpl(v8::FunctionCallbackInfo<v8::Value> const&) at /home/kxxt/node/out/Debug/../../deps/v8/src/wasm/wasm-js.cc:966 (discriminator 3)
 > out/Debug/node() [0x6b614e0] v8::internal::wasm::WebAssemblyInstance(v8::FunctionCallbackInfo<v8::Value> const&) at /home/kxxt/node/out/Debug/../../deps/v8/src/wasm/wasm-js.cc:2963
 > out/Debug/node() [0x53ed9d4] v8::internal::FunctionCallbackArguments::Call(v8::internal::Tagged<v8::internal::FunctionTemplateInfo>) at /home/kxxt/node/out/Debug/../../deps/v8/src/api/api-arguments-inl.h:115
 > out/Debug/node() [0x53ef982] v8::internal::MaybeHandle<v8::internal::Object> v8::internal::(anonymous namespace)::HandleApiCallHelper<true>(v8::internal::Isolate*, v8::internal::Handle<v8::internal::HeapObject>, v8::internal::Handle<v8::internal::FunctionTemplateInfo>, v8::internal::Handle<v8::internal::Object>, unsigned long*, int) at /home/kxxt/node/out/Debug/../../deps/v8/src/builtins/builtins-api.cc:110 (discriminator 1)
 > out/Debug/node() [0x53ee0d4] v8::internal::Builtin_Impl_HandleApiConstruct(v8::internal::BuiltinArguments, v8::internal::Isolate*) at /home/kxxt/node/out/Debug/../../deps/v8/src/builtins/builtins-api.cc:141 (discriminator 1)
 > out/Debug/node() [0x53edeea] v8::internal::Builtin_HandleApiConstruct(int, unsigned long*, v8::internal::Isolate*) at /home/kxxt/node/out/Debug/../../deps/v8/src/builtins/builtins-api.cc:132 (discriminator 1)
 > out/Debug/node() [0x6e39dac] Builtins_CEntry_Return1_ArgvOnStack_BuiltinExit at /home/kxxt/node/out/Debug/../../deps/v8/src/builtins/torque-internal.tq:113
 > out/Debug/node() [0x6e39dac] Builtins_CEntry_Return1_ArgvOnStack_BuiltinExit at /home/kxxt/node/out/Debug/../../deps/v8/src/builtins/torque-internal.tq:113

@kxxt
Copy link
Author

kxxt commented Oct 3, 2024

There are actually two bugs in this issue.

First

This bug is related to the enable of OOB trap handler(nodejs/node#52888).

The trap handler tries to allocate a guard vma of 10 GiB size(https://github.com/nodejs/node/blob/09a8440b45f69651ff52110cb1bc2dde9e14e2e8/deps/v8/src/objects/backing-store.cc#L38), which is highly likely to fail on sv39 systems.

maps when Failure happens:

/proc/{PID_of_nodejs_yarn}/maps
0d580000-0d5c0000 rw-p 00000000 00:00 0 
3aec0000-3af00000 rw-p 00000000 00:00 0 
60080000-60111000 rw-p 00000000 00:00 0 
bfcc0000-bfd00000 rw-p 00000000 00:00 0 
257e80000-257ec0000 rw-p 00000000 00:00 0 
2d20c0000-2d2100000 rw-p 00000000 00:00 0 
3341c0000-334200000 rw-p 00000000 00:00 0 
440780000-4c0780000 ---p 00000000 00:00 0 
4c0780000-4c1780000 rw-p 00000000 00:00 0 
4c1780000-6c0780000 ---p 00000000 00:00 0 
6c0780000-6c07c0000 rw-p 00000000 00:00 0 
7a9dc0000-7a9e00000 rw-p 00000000 00:00 0 
838d00000-838d0b000 rw-p 00000000 00:00 0 
8e8740000-8e8780000 rw-p 00000000 00:00 0 
93bcc0000-93bd02000 rw-p 00000000 00:00 0 
96cc40000-96cc80000 rw-p 00000000 00:00 0 
9ff5c0000-9ff600000 rw-p 00000000 00:00 0 
a9f6c0000-a9f700000 rw-p 00000000 00:00 0 
b476c0000-b47700000 rw-p 00000000 00:00 0 
b75f40000-b75f80000 rw-p 00000000 00:00 0 
c05780000-c057c0000 rw-p 00000000 00:00 0 
c1b680000-c1b6e6000 rw-p 00000000 00:00 0 
c5f880000-c5f8c0000 rw-p 00000000 00:00 0 
c9b3c0000-c9b400000 rw-p 00000000 00:00 0 
d90c80000-d90cc0000 rw-p 00000000 00:00 0 
e56cc0000-e56d00000 rw-p 00000000 00:00 0 
eeb880000-eeb8c0000 rw-p 00000000 00:00 0 
1060600000-1060635000 rw-p 00000000 00:00 0 
10a0cc0000-10a0d00000 rw-p 00000000 00:00 0 
10d2740000-10d276b000 rw-p 00000000 00:00 0 
1146e00000-1146e40000 rw-p 00000000 00:00 0 
11dc3c0000-11dc400000 rw-p 00000000 00:00 0 
1210480000-12104c0000 rw-p 00000000 00:00 0 
1291400000-1291442000 rw-p 00000000 00:00 0 
1291dc0000-1291e00000 rw-p 00000000 00:00 0 
12e97c0000-12e9800000 rw-p 00000000 00:00 0 
1412b00000-1412b40000 rw-p 00000000 00:00 0 
14f21c0000-14f21f5000 rw-p 00000000 00:00 0 
1593900000-1593940000 rw-p 00000000 00:00 0 
15fdf00000-15fdf40000 rw-p 00000000 00:00 0 
162fe00000-162fe40000 rw-p 00000000 00:00 0 
16e2000000-16e2040000 rw-p 00000000 00:00 0 
171c740000-171c780000 rw-p 00000000 00:00 0 
1774200000-1774240000 rw-p 00000000 00:00 0 
18508c0000-1850900000 rw-p 00000000 00:00 0 
1911300000-1911340000 rw-p 00000000 00:00 0 
19218c0000-1921900000 rw-p 00000000 00:00 0 
1993040000-1993080000 rw-p 00000000 00:00 0 
1994440000-1994480000 rw-p 00000000 00:00 0 
19ed240000-19ed280000 rw-p 00000000 00:00 0 
1a3cd40000-1a3cd80000 rw-p 00000000 00:00 0 
1ab35c0000-1ab3600000 rw-p 00000000 00:00 0 
1aeda40000-1aeda80000 rw-p 00000000 00:00 0 
1d055c0000-1d05600000 rw-p 00000000 00:00 0 
1d0f6c0000-1d0f700000 rw-p 00000000 00:00 0 
1d43cc0000-1d43d00000 rw-p 00000000 00:00 0 
1e946c0000-1e946f5000 rw-p 00000000 00:00 0 
1ee2000000-1ee2040000 rw-p 00000000 00:00 0 
21258c0000-2125900000 rw-p 00000000 00:00 0 
2173000000-2173040000 rw-p 00000000 00:00 0 
2212e80000-2212ec0000 rw-p 00000000 00:00 0 
22d6440000-22d6480000 rw-p 00000000 00:00 0 
22e8140000-22e8180000 rw-p 00000000 00:00 0 
23b95c0000-23b9600000 rw-p 00000000 00:00 0 
23e1e40000-23e1e80000 rw-p 00000000 00:00 0 
24806c0000-2480700000 rw-p 00000000 00:00 0 
24c7b00000-24c7b40000 rw-p 00000000 00:00 0 
25f9200000-25f9240000 rw-p 00000000 00:00 0 
263d980000-263d9c0000 rw-p 00000000 00:00 0 
2641a80000-2641ac0000 rw-p 00000000 00:00 0 
26c07c0000-26c0800000 rw-p 00000000 00:00 0 
26fea00000-26fea40000 rw-p 00000000 00:00 0 
27519c0000-2751a00000 rw-p 00000000 00:00 0 
28223c0000-2822400000 rw-p 00000000 00:00 0 
2914c00000-2914c40000 rw-p 00000000 00:00 0 
29801c0000-29801e8000 rw-p 00000000 00:00 0 
2a44ac0000-2a44b00000 rw-p 00000000 00:00 0 
2a68980000-2a689c0000 rw-p 00000000 00:00 0 
2ad3abb000-2adeeb4000 r-xp 00000000 103:01 25729997                      /home/kxxt/node/out/Debug/node
2adeeb4000-2adef50000 r--p 0b3f8000 103:01 25729997                      /home/kxxt/node/out/Debug/node
2adef50000-2adef80000 rw-p 0b494000 103:01 25729997                      /home/kxxt/node/out/Debug/node
2adef80000-2adefa7000 rw-p 00000000 00:00 0 
2b06a5c000-2b08808000 rw-p 00000000 00:00 0                              [heap]
2c502c0000-2c502ce000 r--p 00000000 00:00 0 
2ce46c0000-2ce4700000 rw-p 00000000 00:00 0 
2db0840000-2db0880000 rw-p 00000000 00:00 0 
2e6c180000-2e6c1c2000 rw-p 00000000 00:00 0 
2ea71c0000-2ea7200000 rw-p 00000000 00:00 0 
2fc10c0000-2fc10eb000 rw-p 00000000 00:00 0 
3091980000-30919c0000 rw-p 00000000 00:00 0 
30b9a80000-30b9ac0000 rw-p 00000000 00:00 0 
3123e80000-3123ec0000 rw-p 00000000 00:00 0 
31f9a40000-31f9a80000 rw-p 00000000 00:00 0 
3259500000-3259540000 rw-p 00000000 00:00 0 
3273340000-3273380000 rw-p 00000000 00:00 0 
33143c0000-3314400000 rw-p 00000000 00:00 0 
33c39c0000-33c3a00000 rw-p 00000000 00:00 0 
33cb780000-33cb7c0000 rw-p 00000000 00:00 0 
3438dc0000-3438e00000 rw-p 00000000 00:00 0 
345bdc0000-345be00000 rw-p 00000000 00:00 0 
348d300000-348d340000 rw-p 00000000 00:00 0 
34af3c0000-34af400000 rw-p 00000000 00:00 0 
34c4dc0000-34c4e00000 rw-p 00000000 00:00 0 
34e4a40000-34e4a80000 rw-p 00000000 00:00 0 
3563600000-3563640000 rw-p 00000000 00:00 0 
356b100000-356b140000 rw-p 00000000 00:00 0 
35cff40000-35cff80000 rw-p 00000000 00:00 0 
3642600000-3642640000 rw-p 00000000 00:00 0 
367cd80000-367cdc0000 rw-p 00000000 00:00 0 
36ab200000-36ab240000 rw-p 00000000 00:00 0 
37ad780000-37ad7c0000 rw-p 00000000 00:00 0 
37af3c0000-37af400000 rw-p 00000000 00:00 0 
3880fc0000-3881000000 rw-p 00000000 00:00 0 
38922c0000-3892300000 rw-p 00000000 00:00 0 
389ad00000-389ad40000 rw-p 00000000 00:00 0 
38f99c0000-38f9a00000 rw-p 00000000 00:00 0 
392a140000-392a180000 rw-p 00000000 00:00 0 
3a1f740000-3a1f780000 rw-p 00000000 00:00 0 
3a26dc0000-3a26e00000 rw-p 00000000 00:00 0 
3b3d040000-3b3d080000 rw-p 00000000 00:00 0 
3b59000000-3b59040000 rw-p 00000000 00:00 0 
3bbc000000-3bbc002000 rw-p 00000000 00:00 0 
3bbc002000-3bbc003000 ---p 00000000 00:00 0 
3bbc003000-3bbc03f000 rwxp 00000000 00:00 0 
3bbc03f000-3bcc000000 ---p 00000000 00:00 0 
3bcc000000-3bcc110000 rw-p 00000000 00:00 0 
3bcc110000-3bd0000000 ---p 00000000 00:00 0 
3bd2c40000-3bd2ce6000 rw-p 00000000 00:00 0 
3bd2d00000-3bd3880000 rw-p 00000000 00:00 0 
3bd3880000-3bd3bf5000 rw-p 00000000 00:00 0 
3bd3c00000-3bd3d66000 rw-p 00000000 00:00 0 
3bd3d80000-3bd3dc2000 rw-p 00000000 00:00 0 
3bd3e00000-3bd3e0b000 rw-p 00000000 00:00 0 
3bd3e40000-3bd4000000 rw-p 00000000 00:00 0 
3bd4000000-3c54000000 ---p 00000000 00:00 0 
3c54000000-3c55000000 rw-p 00000000 00:00 0 
3c55000000-3e54000000 ---p 00000000 00:00 0 
3e54000000-3e54002000 rw-p 00000000 00:00 0 
3e54002000-3e54003000 ---p 00000000 00:00 0 
3e54003000-3e5403f000 rwxp 00000000 00:00 0 
3e5403f000-3e64000000 ---p 00000000 00:00 0 
3e64000000-3e64002000 rw-p 00000000 00:00 0 
3e64002000-3e64003000 ---p 00000000 00:00 0 
3e64003000-3e6403f000 rwxp 00000000 00:00 0 
3e6403f000-3e74000000 ---p 00000000 00:00 0 
3e74000000-3e74130000 rw-p 00000000 00:00 0 
3e74130000-3e78000000 ---p 00000000 00:00 0 
3e78000000-3e78110000 rw-p 00000000 00:00 0 
3e78110000-3e7c000000 ---p 00000000 00:00 0 
3e7c000000-3e7c002000 rw-p 00000000 00:00 0 
3e7c002000-3e7c003000 ---p 00000000 00:00 0 
3e7c003000-3e7c03f000 rwxp 00000000 00:00 0 
3e7c03f000-3e8c000000 ---p 00000000 00:00 0 
3e8c000000-3e8c002000 rw-p 00000000 00:00 0 
3e8c002000-3e8c003000 ---p 00000000 00:00 0 
3e8c003000-3e8c03f000 rwxp 00000000 00:00 0 
3e8c03f000-3e9c000000 ---p 00000000 00:00 0 
3e9c000000-3e9c130000 rw-p 00000000 00:00 0 
3e9c130000-3ea0000000 ---p 00000000 00:00 0 
3ea0000000-3ea0130000 rw-p 00000000 00:00 0 
3ea0130000-3ea4000000 ---p 00000000 00:00 0 
3ea4000000-3ea4002000 rw-p 00000000 00:00 0 
3ea4002000-3ea4003000 ---p 00000000 00:00 0 
3ea4003000-3ea403f000 rwxp 00000000 00:00 0 
3ea403f000-3eb4000000 ---p 00000000 00:00 0 
3eb4000000-3eb43c4000 rw-p 00000000 00:00 0 
3eb43c4000-3eb8000000 ---p 00000000 00:00 0 
3eb8040000-3eb80c0000 rw-p 00000000 00:00 0 
3eb80cf000-3eb80d0000 ---p 00000000 00:00 0 
3eb80d0000-3eb84d0000 rw-p 00000000 00:00 0 
3eb84d0000-3eb8528000 rwxp 00000000 00:00 0 
3eb8528000-3eb8580000 ---p 00000000 00:00 0 
3eb8580000-3eb8726000 rw-p 00000000 00:00 0 
3eb8740000-3eb8942000 rw-p 00000000 00:00 0 
3eb8980000-3eb898b000 rw-p 00000000 00:00 0 
3eb89c0000-3eb8df5000 rw-p 00000000 00:00 0 
3eb8e00000-3eb8e66000 rw-p 00000000 00:00 0 
3eb8e80000-3eb8fe6000 rw-p 00000000 00:00 0 
3eb9000000-3eb90c2000 rw-p 00000000 00:00 0 
3eb9100000-3eb910b000 rw-p 00000000 00:00 0 
3eb9140000-3eb9340000 rw-p 00000000 00:00 0 
3eb937f000-3eb9380000 ---p 00000000 00:00 0 
3eb9380000-3eb9780000 rw-p 00000000 00:00 0 
3eb9780000-3eb97b5000 rw-p 00000000 00:00 0 
3eb97c0000-3eb9802000 rw-p 00000000 00:00 0 
3eb9840000-3eb984b000 rw-p 00000000 00:00 0 
3eb9880000-3eb9980000 rw-p 00000000 00:00 0 
3eb99bf000-3eb99c0000 ---p 00000000 00:00 0 
3eb99c0000-3eb9dc0000 rw-p 00000000 00:00 0 
3eb9dc0000-3eb9e66000 rw-p 00000000 00:00 0 
3eb9e80000-3eb9f80000 rw-p 00000000 00:00 0 
3eb9fbf000-3eb9fc0000 ---p 00000000 00:00 0 
3eb9fc0000-3eba3c0000 rw-p 00000000 00:00 0 
3eba3c0000-3eba442000 rw-p 00000000 00:00 0 
3eba480000-3eba48b000 rw-p 00000000 00:00 0 
3eba4c0000-3eba5c0000 rw-p 00000000 00:00 0 
3eba5ff000-3eba600000 ---p 00000000 00:00 0 
3eba600000-3ebaa00000 rw-p 00000000 00:00 0 
3ebaa00000-3ebaf66000 rw-p 00000000 00:00 0 
3ebaf80000-3ebafe6000 rw-p 00000000 00:00 0 
3ebb000000-3ebb1c0000 rw-p 00000000 00:00 0 
3ebb200000-3ebb22b000 rw-p 00000000 00:00 0 
3ebb240000-3ebb9cb000 rw-p 00000000 00:00 0 
3ebba00000-3ebbf35000 rw-p 00000000 00:00 0 
3ebbf40000-3ebbf75000 rw-p 00000000 00:00 0 
3ebbf80000-3ebc002000 rw-p 00000000 00:00 0 
3ebc002000-3ebc003000 ---p 00000000 00:00 0 
3ebc003000-3ebc03f000 rwxp 00000000 00:00 0 
3ebc03f000-3ecc000000 ---p 00000000 00:00 0 
3ecc000000-3ecc002000 rw-p 00000000 00:00 0 
3ecc002000-3ecc003000 ---p 00000000 00:00 0 
3ecc003000-3ecc03f000 rwxp 00000000 00:00 0 
3ecc03f000-3edc000000 ---p 00000000 00:00 0 
3edc000000-3edc002000 rw-p 00000000 00:00 0 
3edc002000-3edc003000 ---p 00000000 00:00 0 
3edc003000-3edc03f000 rwxp 00000000 00:00 0 
3edc03f000-3eec000000 ---p 00000000 00:00 0 
3eec000000-3eec3c4000 rw-p 00000000 00:00 0 
3eec3c4000-3ef0000000 ---p 00000000 00:00 0 
3ef0000000-3ef03c4000 rw-p 00000000 00:00 0 
3ef03c4000-3ef4000000 ---p 00000000 00:00 0 
3ef4000000-3ef4002000 rw-p 00000000 00:00 0 
3ef4002000-3ef4003000 ---p 00000000 00:00 0 
3ef4003000-3ef403f000 rwxp 00000000 00:00 0 
3ef403f000-3f04000000 ---p 00000000 00:00 0 
3f04000000-3f043c4000 rw-p 00000000 00:00 0 
3f043c4000-3f08000000 ---p 00000000 00:00 0 
3f08000000-3f083c4000 rw-p 00000000 00:00 0 
3f083c4000-3f0c000000 ---p 00000000 00:00 0 
3f0c000000-3f0c002000 rw-p 00000000 00:00 0 
3f0c002000-3f0c003000 ---p 00000000 00:00 0 
3f0c003000-3f0c03f000 rwxp 00000000 00:00 0 
3f0c03f000-3f0c040000 ---p 00000000 00:00 0 
3f0c040000-3f0c042000 rw-p 00000000 00:00 0 
3f0c042000-3f0c043000 ---p 00000000 00:00 0 
3f0c043000-3f0c07f000 rwxp 00000000 00:00 0 
3f0c07f000-3f1c000000 ---p 00000000 00:00 0 
3f1c000000-3f1c002000 rw-p 00000000 00:00 0 
3f1c002000-3f1c003000 ---p 00000000 00:00 0 
3f1c003000-3f1c03f000 rwxp 00000000 00:00 0 
3f1c03f000-3f1c040000 ---p 00000000 00:00 0 
3f1c040000-3f1c042000 rw-p 00000000 00:00 0 
3f1c042000-3f1c043000 ---p 00000000 00:00 0 
3f1c043000-3f1c07f000 rwxp 00000000 00:00 0 
3f1c07f000-3f2c000000 ---p 00000000 00:00 0 
3f2c000000-3f2c3c4000 rw-p 00000000 00:00 0 
3f2c3c4000-3f30000000 ---p 00000000 00:00 0 
3f30000000-3f303c4000 rw-p 00000000 00:00 0 
3f303c4000-3f34000000 ---p 00000000 00:00 0 
3f34000000-3f34002000 rw-p 00000000 00:00 0 
3f34002000-3f34003000 ---p 00000000 00:00 0 
3f34003000-3f3403f000 rwxp 00000000 00:00 0 
3f3403f000-3f44000000 ---p 00000000 00:00 0 
3f44000000-3f443c4000 rw-p 00000000 00:00 0 
3f443c4000-3f48000000 ---p 00000000 00:00 0 
3f48000000-3f48021000 rw-p 00000000 00:00 0 
3f48021000-3f4c000000 ---p 00000000 00:00 0 
3f4c040000-3f4c04b000 rw-p 00000000 00:00 0 
3f4c080000-3f4c0c2000 rw-p 00000000 00:00 0 
3f4c100000-3f4c240000 rw-p 00000000 00:00 0 
3f4c27f000-3f4c280000 ---p 00000000 00:00 0 
3f4c280000-3f4c680000 rw-p 00000000 00:00 0 
3f4c680000-3f4c735000 rw-p 00000000 00:00 0 
3f4c740000-3f4c782000 rw-p 00000000 00:00 0 
3f4c7c0000-3f4c7cb000 rw-p 00000000 00:00 0 
3f4c800000-3f4c82b000 rw-p 00000000 00:00 0 
3f4c83f000-3f4c840000 ---p 00000000 00:00 0 
3f4c840000-3f4cc40000 rw-p 00000000 00:00 0 
3f4cc40000-3f4cff5000 rw-p 00000000 00:00 0 
3f4d000000-3f4d082000 rw-p 00000000 00:00 0 
3f4d0c0000-3f4d0cb000 rw-p 00000000 00:00 0 
3f4d112000-3f4d113000 ---p 00000000 00:00 0 
3f4d113000-3f4d513000 rw-p 00000000 00:00 0 
3f4d513000-3f4d514000 ---p 00000000 00:00 0 
3f4d514000-3f4d914000 rw-p 00000000 00:00 0 
3f4d914000-3f4d915000 ---p 00000000 00:00 0 
3f4d915000-3f4dd15000 rw-p 00000000 00:00 0 
3f4dd15000-3f4f1b1000 rw-p 00000000 00:00 0 
3f4f1bf000-3f4f1c0000 ---p 00000000 00:00 0 
3f4f1c0000-3f4f5c0000 rw-p 00000000 00:00 0 
3f4f5c0000-3f4f6c0000 rw-p 00000000 00:00 0 
3f4f6ff000-3f4f700000 ---p 00000000 00:00 0 
3f4f700000-3f4fb00000 rw-p 00000000 00:00 0 
3f4fb00000-3f4fb0b000 rw-p 00000000 00:00 0 
3f4fb40000-3f4fbc0000 rw-p 00000000 00:00 0 
3f4fbff000-3f4fc00000 ---p 00000000 00:00 0 
3f4fc00000-3f50021000 rw-p 00000000 00:00 0 
3f50021000-3f54000000 ---p 00000000 00:00 0 
3f54000000-3f54021000 rw-p 00000000 00:00 0 
3f54021000-3f58000000 ---p 00000000 00:00 0 
3f58000000-3f582cc000 rw-p 00000000 00:00 0 
3f582cc000-3f5c000000 ---p 00000000 00:00 0 
3f5c000000-3f5c021000 rw-p 00000000 00:00 0 
3f5c021000-3f60000000 ---p 00000000 00:00 0 
3f60000000-3f603ef000 rw-p 00000000 00:00 0 
3f603ef000-3f64000000 ---p 00000000 00:00 0 
3f64000000-3f64354000 rw-p 00000000 00:00 0 
3f64354000-3f68000000 ---p 00000000 00:00 0 
3f68000000-3f684db000 rw-p 00000000 00:00 0 
3f684db000-3f6c000000 ---p 00000000 00:00 0 
3f6c040000-3f6c100000 rw-p 00000000 00:00 0 
3f6c132000-3f6cb80000 rw-p 00000000 00:00 0 
3f6cb80000-3f6cc00000 rw-p 00000000 00:00 0 
3f6cc40000-3f6cc80000 rw-p 00000000 00:00 0 
3f6ccc0000-3f6cd00000 rw-p 00000000 00:00 0 
3f6cd40000-3f6ce40000 rw-p 00000000 00:00 0 
3f6ce80000-3f6cef5000 rw-p 00000000 00:00 0 
3f6cf00000-3f6cf82000 rw-p 00000000 00:00 0 
3f6cfc0000-3f6cfcb000 rw-p 00000000 00:00 0 
3f6d000000-3f6d035000 rw-p 00000000 00:00 0 
3f6d040000-3f6d080000 rw-p 00000000 00:00 0 
3f6d0c0000-3f6d180000 rw-p 00000000 00:00 0 
3f6d1c0000-3f6d200000 rw-p 00000000 00:00 0 
3f6d240000-3f6d3c0000 rw-p 00000000 00:00 0 
3f6d400000-3f6d466000 rw-p 00000000 00:00 0 
3f6d480000-3f6d500000 rw-p 00000000 00:00 0 
3f6d540000-3f6d580000 rw-p 00000000 00:00 0 
3f6d5c0000-3f6d675000 rw-p 00000000 00:00 0 
3f6d680000-3f6d700000 rw-p 00000000 00:00 0 
3f6d740000-3f6d7c0000 rw-p 00000000 00:00 0 
3f6d800000-3f6d840000 rw-p 00000000 00:00 0 
3f6d880000-3f6d900000 rw-p 00000000 00:00 0 
3f6d940000-3f6da8b000 rw-p 00000000 00:00 0 
3f6dac0000-3f6dc00000 rw-p 00000000 00:00 0 
3f6dc40000-3f6dd80000 rw-p 00000000 00:00 0 
3f6dd80000-3f6ddc0000 rw-p 00000000 00:00 0 
3f6dde6000-3f6de34000 r-xp 00000000 103:01 11016746                      /usr/lib/libnss_mymachines.so.2
3f6de34000-3f6de37000 r--p 0004d000 103:01 11016746                      /usr/lib/libnss_mymachines.so.2
3f6de37000-3f6de38000 rw-p 00050000 103:01 11016746                      /usr/lib/libnss_mymachines.so.2
3f6de38000-3f6de39000 rw-p 00000000 00:00 0 
3f6de80000-3f6dec0000 rw-p 00000000 00:00 0 
3f6df00000-3f6e0c0000 rw-p 00000000 00:00 0 
3f6e100000-3f6e180000 rw-p 00000000 00:00 0 
3f6e1c0000-3f6e240000 rw-p 00000000 00:00 0 
3f6e27e000-3f6e27f000 ---p 00000000 00:00 0 
3f6e27f000-3f6ea7f000 rw-p 00000000 00:00 0 
3f6ea7f000-3f6ea80000 ---p 00000000 00:00 0 
3f6ea80000-3f6f280000 rw-p 00000000 00:00 0 
3f6f280000-3f6ffc6000 rw-p 00000000 00:00 0 
3f70000000-3f70002000 rw-p 00000000 00:00 0 
3f70002000-3f70003000 ---p 00000000 00:00 0 
3f70003000-3f7003f000 rwxp 00000000 00:00 0 
3f7003f000-3f70040000 ---p 00000000 00:00 0 
3f70040000-3f70042000 rw-p 00000000 00:00 0 
3f70042000-3f70043000 ---p 00000000 00:00 0 
3f70043000-3f7007f000 rwxp 00000000 00:00 0 
3f7007f000-3f70080000 ---p 00000000 00:00 0 
3f70080000-3f70082000 rw-p 00000000 00:00 0 
3f70082000-3f70083000 ---p 00000000 00:00 0 
3f70083000-3f700bf000 rwxp 00000000 00:00 0 
3f700bf000-3f700c0000 ---p 00000000 00:00 0 
3f700c0000-3f700c2000 rw-p 00000000 00:00 0 
3f700c2000-3f700c3000 ---p 00000000 00:00 0 
3f700c3000-3f700ff000 rwxp 00000000 00:00 0 
3f700ff000-3f70100000 ---p 00000000 00:00 0 
3f70100000-3f70102000 rw-p 00000000 00:00 0 
3f70102000-3f70103000 ---p 00000000 00:00 0 
3f70103000-3f7013f000 rwxp 00000000 00:00 0 
3f7013f000-3f70140000 ---p 00000000 00:00 0 
3f70140000-3f70142000 rw-p 00000000 00:00 0 
3f70142000-3f70143000 ---p 00000000 00:00 0 
3f70143000-3f7017f000 rwxp 00000000 00:00 0 
3f7017f000-3f70180000 ---p 00000000 00:00 0 
3f70180000-3f70182000 rw-p 00000000 00:00 0 
3f70182000-3f70183000 ---p 00000000 00:00 0 
3f70183000-3f701bf000 rwxp 00000000 00:00 0 
3f701bf000-3f701c0000 ---p 00000000 00:00 0 
3f701c0000-3f701c2000 rw-p 00000000 00:00 0 
3f701c2000-3f701c3000 ---p 00000000 00:00 0 
3f701c3000-3f701ff000 rwxp 00000000 00:00 0 
3f701ff000-3f70200000 ---p 00000000 00:00 0 
3f70200000-3f70202000 rw-p 00000000 00:00 0 
3f70202000-3f70203000 ---p 00000000 00:00 0 
3f70203000-3f7023f000 rwxp 00000000 00:00 0 
3f7023f000-3f70240000 ---p 00000000 00:00 0 
3f70240000-3f70242000 rw-p 00000000 00:00 0 
3f70242000-3f70243000 ---p 00000000 00:00 0 
3f70243000-3f7027f000 rwxp 00000000 00:00 0 
3f7027f000-3f70280000 ---p 00000000 00:00 0 
3f70280000-3f70282000 rw-p 00000000 00:00 0 
3f70282000-3f70283000 ---p 00000000 00:00 0 
3f70283000-3f702bf000 rwxp 00000000 00:00 0 
3f702bf000-3f702c0000 ---p 00000000 00:00 0 
3f702c0000-3f702c2000 rw-p 00000000 00:00 0 
3f702c2000-3f702c3000 ---p 00000000 00:00 0 
3f702c3000-3f702ff000 rwxp 00000000 00:00 0 
3f702ff000-3f70300000 ---p 00000000 00:00 0 
3f70300000-3f70302000 rw-p 00000000 00:00 0 
3f70302000-3f70303000 ---p 00000000 00:00 0 
3f70303000-3f7033f000 rwxp 00000000 00:00 0 
3f7033f000-3f80000000 ---p 00000000 00:00 0 
3f80000000-3f80021000 rw-p 00000000 00:00 0 
3f80021000-3f84000000 ---p 00000000 00:00 0 
3f8403e000-3f8403f000 ---p 00000000 00:00 0 
3f8403f000-3f8483f000 rw-p 00000000 00:00 0 
3f8483f000-3f84840000 ---p 00000000 00:00 0 
3f84840000-3f85040000 rw-p 00000000 00:00 0 
3f85040000-3f850c0000 rw-p 00000000 00:00 0 
3f85100000-3f855cc000 rw-p 00000000 00:00 0 
3f85600000-3f8562b000 rw-p 00000000 00:00 0 
3f85640000-3f85ab5000 rw-p 00000000 00:00 0 
3f85ac0000-3f85b42000 rw-p 00000000 00:00 0 
3f85b80000-3f85b8b000 rw-p 00000000 00:00 0 
3f85bc0000-3f85c40000 rw-p 00000000 00:00 0 
3f85c80000-3f85cc0000 rw-p 00000000 00:00 0 
3f85cc0000-3f85dc0000 r--p 00000000 00:00 0 
3f85dfb000-3f85dfc000 ---p 00000000 00:00 0 
3f85dfc000-3f865fc000 rw-p 00000000 00:00 0 
3f865fc000-3f865fd000 ---p 00000000 00:00 0 
3f865fd000-3f86dfd000 rw-p 00000000 00:00 0 
3f86dfd000-3f86dfe000 ---p 00000000 00:00 0 
3f86dfe000-3f875fe000 rw-p 00000000 00:00 0 
3f875fe000-3f875ff000 ---p 00000000 00:00 0 
3f875ff000-3f87dff000 rw-p 00000000 00:00 0 
3f87dff000-3f87e00000 ---p 00000000 00:00 0 
3f87e00000-3f88600000 rw-p 00000000 00:00 0 
3f88600000-3f88846000 r-xp 00000000 103:01 11030619                      /usr/lib/libstdc++.so.6.0.33
3f88846000-3f88854000 r--p 00245000 103:01 11030619                      /usr/lib/libstdc++.so.6.0.33
3f88854000-3f88855000 rw-p 00253000 103:01 11030619                      /usr/lib/libstdc++.so.6.0.33
3f88855000-3f88858000 rw-p 00000000 00:00 0 
3f8885d000-3f88861000 rw-s 10000000 00:0e 81492808                       anon_inode:[io_uring]
3f88861000-3f88864000 rw-s 00000000 00:0e 81492808                       anon_inode:[io_uring]
3f88864000-3f88868000 rw-s 10000000 00:0e 81523128                       anon_inode:[io_uring]
3f88868000-3f8886b000 rw-s 00000000 00:0e 81523128                       anon_inode:[io_uring]
3f8886b000-3f8886f000 rw-s 10000000 00:0e 81523125                       anon_inode:[io_uring]
3f8886f000-3f88872000 rw-s 00000000 00:0e 81523125                       anon_inode:[io_uring]
3f88872000-3f88876000 rw-s 10000000 00:0e 81560727                       anon_inode:[io_uring]
3f88876000-3f88879000 rw-s 00000000 00:0e 81560727                       anon_inode:[io_uring]
3f88879000-3f8887d000 rw-s 10000000 00:0e 81531610                       anon_inode:[io_uring]
3f8887d000-3f889f4000 r-xp 00000000 103:01 11029199                      /usr/lib/libc.so.6
3f889f4000-3f889f7000 r--p 00177000 103:01 11029199                      /usr/lib/libc.so.6
3f889f7000-3f889f9000 rw-p 0017a000 103:01 11029199                      /usr/lib/libc.so.6
3f889f9000-3f88a00000 rw-p 00000000 00:00 0 
3f88a00000-3f8a74f000 r--p 00000000 103:01 11034039                      /usr/lib/libicudata.so.75.1
3f8a74f000-3f8a750000 r--p 01d4e000 103:01 11034039                      /usr/lib/libicudata.so.75.1
3f8a751000-3f8a754000 rw-s 00000000 00:0e 81531610                       anon_inode:[io_uring]
3f8a754000-3f8a758000 rw-s 10000000 00:0e 81501385                       anon_inode:[io_uring]
3f8a758000-3f8a75b000 rw-s 00000000 00:0e 81501385                       anon_inode:[io_uring]
3f8a75b000-3f8a781000 r-xp 00000000 103:01 11016759                      /usr/lib/libnss_resolve.so.2
3f8a781000-3f8a782000 r--p 00026000 103:01 11016759                      /usr/lib/libnss_resolve.so.2
3f8a782000-3f8a783000 rw-p 00027000 103:01 11016759                      /usr/lib/libnss_resolve.so.2
3f8a783000-3f8a78c000 r-xp 00000000 103:01 11016761                      /usr/lib/libcap.so.2.70
3f8a78c000-3f8a78d000 r--p 00008000 103:01 11016761                      /usr/lib/libcap.so.2.70
3f8a78d000-3f8a78e000 rw-p 00009000 103:01 11016761                      /usr/lib/libcap.so.2.70
3f8a78e000-3f8a792000 rw-p 00000000 00:00 0 
3f8a792000-3f8a80e000 ---p 00000000 00:00 0 
3f8a80e000-3f8a82e000 r-xp 00000000 103:01 11030924                      /usr/lib/libbrotlicommon.so.1.1.0
3f8a82e000-3f8a82f000 r--p 00020000 103:01 11030924                      /usr/lib/libbrotlicommon.so.1.1.0
3f8a82f000-3f8a830000 rw-p 00021000 103:01 11030924                      /usr/lib/libbrotlicommon.so.1.1.0
3f8a830000-3f8a9ea000 r-xp 00000000 103:01 11035606                      /usr/lib/libicuuc.so.75.1
3f8a9ea000-3f8a9fd000 r--p 001ba000 103:01 11035606                      /usr/lib/libicuuc.so.75.1
3f8a9fd000-3f8a9fe000 rw-p 001cd000 103:01 11035606                      /usr/lib/libicuuc.so.75.1
3f8a9fe000-3f8aa00000 rw-p 00000000 00:00 0 
3f8aa00000-3f8ace7000 r-xp 00000000 103:01 11034173                      /usr/lib/libicui18n.so.75.1
3f8ace7000-3f8acfb000 r--p 002e6000 103:01 11034173                      /usr/lib/libicui18n.so.75.1
3f8acfb000-3f8acfc000 rw-p 002fa000 103:01 11034173                      /usr/lib/libicui18n.so.75.1
3f8acfc000-3f8acfd000 rw-p 00000000 00:00 0 
3f8acff000-3f8ad03000 rw-s 10000000 00:0e 81488496                       anon_inode:[io_uring]
3f8ad03000-3f8ad0c000 rw-p 00000000 00:00 0 
3f8ad0c000-3f8ad28000 r-xp 00000000 103:01 11030592                      /usr/lib/libgcc_s.so.1
3f8ad28000-3f8ad29000 r--p 0001b000 103:01 11030592                      /usr/lib/libgcc_s.so.1
3f8ad29000-3f8ad2a000 rw-p 0001c000 103:01 11030592                      /usr/lib/libgcc_s.so.1
3f8ad2a000-3f8adf1000 r-xp 00000000 103:01 11015810                      /usr/lib/libssl.so.3
3f8adf1000-3f8adfc000 r--p 000c6000 103:01 11015810                      /usr/lib/libssl.so.3
3f8adfc000-3f8ae00000 rw-p 000d1000 103:01 11015810                      /usr/lib/libssl.so.3
3f8ae00000-3f8b194000 r-xp 00000000 103:01 11015807                      /usr/lib/libcrypto.so.3
3f8b194000-3f8b1ee000 r--p 00394000 103:01 11015807                      /usr/lib/libcrypto.so.3
3f8b1ee000-3f8b1f1000 rw-p 003ee000 103:01 11015807                      /usr/lib/libcrypto.so.3
3f8b1f1000-3f8b1f4000 rw-p 00000000 00:00 0 
3f8b1f5000-3f8b1f8000 rw-s 00000000 00:0e 81488496                       anon_inode:[io_uring]
3f8b1f8000-3f8b1fc000 rw-s 10000000 00:0e 81528182                       anon_inode:[io_uring]
3f8b1fc000-3f8b20a000 rw-p 00000000 00:00 0 
3f8b20a000-3f8b294000 r-xp 00000000 103:01 11029215                      /usr/lib/libm.so.6
3f8b294000-3f8b295000 r--p 00089000 103:01 11029215                      /usr/lib/libm.so.6
3f8b295000-3f8b296000 rw-p 0008a000 103:01 11029215                      /usr/lib/libm.so.6
3f8b296000-3f8b29c000 r-xp 00000000 103:01 11030590                      /usr/lib/libatomic.so.1.2.0
3f8b29c000-3f8b29d000 r--p 00005000 103:01 11030590                      /usr/lib/libatomic.so.1.2.0
3f8b29d000-3f8b29e000 rw-p 00006000 103:01 11030590                      /usr/lib/libatomic.so.1.2.0
3f8b29e000-3f8b2a1000 rw-p 00000000 00:00 0 
3f8b2a1000-3f8b2dc000 r-xp 00000000 103:01 11021498                      /usr/lib/libngtcp2.so.16.2.3
3f8b2dc000-3f8b2dd000 r--p 0003a000 103:01 11021498                      /usr/lib/libngtcp2.so.16.2.3
3f8b2dd000-3f8b2de000 rw-p 0003b000 103:01 11021498                      /usr/lib/libngtcp2.so.16.2.3
3f8b2de000-3f8b2fc000 r-xp 00000000 103:01 11049745                      /usr/lib/libnghttp3.so.9.2.3
3f8b2fc000-3f8b2fd000 r--p 0001d000 103:01 11049745                      /usr/lib/libnghttp3.so.9.2.3
3f8b2fd000-3f8b2ff000 rw-p 0001e000 103:01 11049745                      /usr/lib/libnghttp3.so.9.2.3
3f8b2ff000-3f8b301000 rw-p 00000000 00:00 0 
3f8b301000-3f8b326000 r-xp 00000000 103:01 11049351                      /usr/lib/libnghttp2.so.14.28.2
3f8b326000-3f8b329000 r--p 00024000 103:01 11049351                      /usr/lib/libnghttp2.so.14.28.2
3f8b329000-3f8b32a000 rw-p 00027000 103:01 11049351                      /usr/lib/libnghttp2.so.14.28.2
3f8b32a000-3f8b35d000 r-xp 00000000 103:01 11084634                      /usr/lib/libcares.so.2.18.1
3f8b35d000-3f8b35f000 r--p 00032000 103:01 11084634                      /usr/lib/libcares.so.2.18.1
3f8b35f000-3f8b360000 rw-p 00034000 103:01 11084634                      /usr/lib/libcares.so.2.18.1
3f8b360000-3f8b410000 r-xp 00000000 103:01 11034432                      /usr/lib/libbrotlienc.so.1.1.0
3f8b410000-3f8b411000 r--p 000af000 103:01 11034432                      /usr/lib/libbrotlienc.so.1.1.0
3f8b411000-3f8b412000 rw-p 000b0000 103:01 11034432                      /usr/lib/libbrotlienc.so.1.1.0
3f8b412000-3f8b41c000 r-xp 00000000 103:01 11034101                      /usr/lib/libbrotlidec.so.1.1.0
3f8b41c000-3f8b41d000 r--p 00009000 103:01 11034101                      /usr/lib/libbrotlidec.so.1.1.0
3f8b41d000-3f8b41e000 rw-p 0000a000 103:01 11034101                      /usr/lib/libbrotlidec.so.1.1.0
3f8b41e000-3f8b44d000 r-xp 00000000 103:01 11123172                      /usr/lib/libuv.so.1.0.0
3f8b44d000-3f8b44e000 r--p 0002f000 103:01 11123172                      /usr/lib/libuv.so.1.0.0
3f8b44e000-3f8b44f000 rw-p 00030000 103:01 11123172                      /usr/lib/libuv.so.1.0.0
3f8b44f000-3f8b462000 r-xp 00000000 103:01 11055154                      /usr/lib/libz.so.1.3.1
3f8b462000-3f8b463000 r--p 00012000 103:01 11055154                      /usr/lib/libz.so.1.3.1
3f8b463000-3f8b464000 rw-p 00013000 103:01 11055154                      /usr/lib/libz.so.1.3.1
3f8b464000-3f8b466000 rw-p 00000000 00:00 0 
3f8b467000-3f8b46a000 rw-s 00000000 00:0e 81528182                       anon_inode:[io_uring]
3f8b46a000-3f8b46e000 rw-s 10000000 00:0e 81420152                       anon_inode:[io_uring]
3f8b46e000-3f8b46f000 ---p 00000000 00:00 0 
3f8b46f000-3f8b477000 rw-p 00000000 00:00 0 
3f8b479000-3f8b47c000 rw-s 00000000 00:0e 81420152                       anon_inode:[io_uring]
3f8b47c000-3f8b480000 rw-s 10000000 00:0e 81557517                       anon_inode:[io_uring]
3f8b480000-3f8b483000 rw-s 00000000 00:0e 81557517                       anon_inode:[io_uring]
3f8b483000-3f8b487000 rw-s 10000000 00:0e 81515780                       anon_inode:[io_uring]
3f8b487000-3f8b48a000 rw-s 00000000 00:0e 81515780                       anon_inode:[io_uring]
3f8b48a000-3f8b48e000 rw-s 10000000 00:0e 81525635                       anon_inode:[io_uring]
3f8b48e000-3f8b491000 rw-s 00000000 00:0e 81525635                       anon_inode:[io_uring]
3f8b491000-3f8b495000 rw-s 10000000 00:0e 81506446                       anon_inode:[io_uring]
3f8b495000-3f8b498000 rw-s 00000000 00:0e 81506446                       anon_inode:[io_uring]
3f8b498000-3f8b49c000 rw-s 10000000 00:0e 81479956                       anon_inode:[io_uring]
3f8b49c000-3f8b49f000 rw-s 00000000 00:0e 81479956                       anon_inode:[io_uring]
3f8b49f000-3f8b4a3000 rw-s 10000000 00:0e 81449575                       anon_inode:[io_uring]
3f8b4a3000-3f8b4a6000 rw-s 00000000 00:0e 81449575                       anon_inode:[io_uring]
3f8b4a6000-3f8b4aa000 rw-s 10000000 00:0e 81536939                       anon_inode:[io_uring]
3f8b4aa000-3f8b4ad000 rw-s 00000000 00:0e 81536939                       anon_inode:[io_uring]
3f8b4ad000-3f8b4af000 r--p 00000000 00:00 0                              [vvar]
3f8b4af000-3f8b4b1000 r-xp 00000000 00:00 0                              [vdso]
3f8b4b1000-3f8b4d4000 r-xp 00000000 103:01 11029183                      /usr/lib/ld-linux-riscv64-lp64d.so.1
3f8b4d4000-3f8b4d6000 r--p 00022000 103:01 11029183                      /usr/lib/ld-linux-riscv64-lp64d.so.1
3f8b4d6000-3f8b4d8000 rw-p 00024000 103:01 11029183                      /usr/lib/ld-linux-riscv64-lp64d.so.1
3fa68c0000-3fa6902000 rw-p 00000000 00:00 0 
3fd13c0000-3fd1400000 rw-p 00000000 00:00 0 
3fe95c9000-3fe95ea000 rw-p 00000000 00:00 0                              [stack]

There's no remaining area to satisify this 10GiB request.

Second

The above issue is not a problem on sv48 systems since sv48 systems enjoy 128 TB userspace virtual memory.

But the following error still happens:

➤ YN0013: │ @trysound/sax@npm:0.2.0 can't be found in the cache and will be fetched from the remote registry
➤ YN0001: │ Libzip Error: Read error: No error information
    at ZipFS.makeLibzipError ([worker eval]:1:30482)
    at new ZipFS ([worker eval]:1:29887)
    at MessagePort.<anonymous> ([worker eval]:1:468472)
➤ YN0013: │ @types/accepts@npm:1.3.5 can't be found in the cache and will be fetched from the remote registry
➤ YN0001: │ Libzip Error: Read error: No error information
    at ZipFS.makeLibzipError ([worker eval]:1:30482)
    at new ZipFS ([worker eval]:1:29887)
    at MessagePort.<anonymous> ([worker eval]:1:468472)
➤ YN0013: │ @types/body-parser@npm:1.19.2 can't be found in the cache and will be fetched from the remote registry
➤ YN0001: │ Libzip Error: Read error: No error information
    at ZipFS.makeLibzipError ([worker eval]:1:30482)
    at new ZipFS ([worker eval]:1:29887)
    at MessagePort.<anonymous> ([worker eval]:1:468472)
➤ YN0013: │ @types/concat-stream@npm:2.0.0 can't be found in the cache and will be fetched from the remote registry
➤ YN0001: │ Libzip Error: Read error: No error information
    at ZipFS.makeLibzipError ([worker eval]:1:30482)
    at new ZipFS ([worker eval]:1:29887)
    at MessagePort.<anonymous> ([worker eval]:1:468472)
➤ YN0001: │ Libzip Error: Read error: No error information
    at ZipFS.makeLibzipError ([worker eval]:1:30482)
    at new ZipFS ([worker eval]:1:29887)
    at MessagePort.<anonymous> ([worker eval]:1:468472)
➤ YN0013: │ @types/connect@npm:3.4.35 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @types/content-disposition@npm:0.5.5 can't be found in the cache and will be fetched from the remote registry
➤ YN0000: ⠴ =-------------------------------------------------------------------------------

kxxt added a commit to kxxt/archriscv-packages that referenced this issue Oct 4, 2024
Disable v8's trap handler[1] to workaround ENOMEM on sv39 systems[2].

v8's OOB trap handler for wasm tries to allocate a 10 GB guard region[3],
but unfortunately on sv39 systems we only have 256GB virtual memory for
userspace, which is usually already exhausted by the node process and
leads to `WebAssembly.Instance(): Out of memory: Cannot allocate Wasm
memory for new instance` errors

There is a second bug in [2], which needs to be investigated separately
and disabling trap handler won't fix it.

[1]: https://chromium-review.googlesource.com/c/v8/v8/+/5227604
[2]: riscv-forks/electron#3 (comment)
[3]: https://github.com/nodejs/node/blob/09a8440b45f69651ff52110cb1bc2dde9e14e2e8/deps/v8/src/objects/backing-store.cc#L38
kxxt added a commit to kxxt/archriscv-packages that referenced this issue Oct 4, 2024
Disable v8's trap handler[1] to workaround ENOMEM on sv39 systems[2].

v8's OOB trap handler for wasm tries to allocate a 10 GB guard region[3],
but unfortunately on sv39 systems we only have 256GB virtual memory for
userspace, which is usually already exhausted by the node process and
leads to `WebAssembly.Instance(): Out of memory: Cannot allocate Wasm
memory for new instance` errors

There is a second bug in [2], which needs to be investigated separately
and disabling trap handler won't fix it.

[1]: https://chromium-review.googlesource.com/c/v8/v8/+/5227604
[2]: riscv-forks/electron#3 (comment)
[3]: https://github.com/nodejs/node/blob/09a8440b45f69651ff52110cb1bc2dde9e14e2e8/deps/v8/src/objects/backing-store.cc#L38
@kxxt
Copy link
Author

kxxt commented Oct 4, 2024

The first bug can be workaround-ed by disabling the trap handler with the following patch:

diff --git a/deps/v8/src/trap-handler/trap-handler.h b/deps/v8/src/trap-handler/trap-handler.h
index 4bf95b8c22..2612c00a07 100644
--- a/deps/v8/src/trap-handler/trap-handler.h
+++ b/deps/v8/src/trap-handler/trap-handler.h
@@ -46,7 +46,7 @@ namespace trap_handler {
 #define V8_TRAP_HANDLER_SUPPORTED true
 // RISCV64 (non-simulator) on Linux.
 #elif V8_TARGET_ARCH_RISCV64 && V8_HOST_ARCH_RISCV64 && V8_OS_LINUX
-#define V8_TRAP_HANDLER_SUPPORTED true
+#define V8_TRAP_HANDLER_SUPPORTED false
 // RISCV64 simulator on x64 on Linux
 #elif V8_TARGET_ARCH_RISCV64 && V8_HOST_ARCH_X64 && V8_OS_LINUX
 #define V8_TRAP_HANDLER_VIA_SIMULATOR

But the second bug still occurs after disabling the trap handler.

felixonmars pushed a commit to felixonmars/archriscv-packages that referenced this issue Oct 4, 2024
Disable v8's trap handler[1] to workaround ENOMEM on sv39 systems[2].

v8's OOB trap handler for wasm tries to allocate a 10 GB guard region[3],
but unfortunately on sv39 systems we only have 256GB virtual memory for
userspace, which is usually already exhausted by the node process and
leads to `WebAssembly.Instance(): Out of memory: Cannot allocate Wasm
memory for new instance` errors

There is a second bug in [2], which needs to be investigated separately
and disabling trap handler won't fix it.

[1]: https://chromium-review.googlesource.com/c/v8/v8/+/5227604
[2]: riscv-forks/electron#3 (comment)
[3]: https://github.com/nodejs/node/blob/09a8440b45f69651ff52110cb1bc2dde9e14e2e8/deps/v8/src/objects/backing-store.cc#L38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed need-affected-electron-range regression v8
Projects
None yet
Development

No branches or pull requests

1 participant