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

test/mjsunit/regress/regress-crbug-1041232.js fails on native test mode #670

Open
qjivy opened this issue Jun 15, 2022 · 3 comments
Open
Assignees
Labels
RV32G Porting to RV32G ISA

Comments

@qjivy
Copy link
Collaborator

qjivy commented Jun 15, 2022

cmd line:

out/riscv32.native.release/d8 --test test/mjsunit/mjsunit.js test/mjsunit/regress/regress-crbug-1041232.js --random-seed=1418596419 --nohard-abort --testing-d8-test-runner --multi-mapped-mock-allocator
@qjivy qjivy added the RV32G Porting to RV32G ISA label Jun 15, 2022
@luyahan
Copy link
Collaborator

luyahan commented Jun 21, 2022

test/mjsunit/regress/regress-crbug-1041232.js:12: RangeError: Array buffer allocation failed
let a = new Uint8Array(kSize);
        ^
RangeError: Array buffer allocation failed
    at new ArrayBuffer (<anonymous>)
    at new Uint8Array (<anonymous>)
    at test/mjsunit/regress/regress-crbug-1041232.js:12:9

@luyahan
Copy link
Collaborator

luyahan commented Jun 21, 2022

// Chosen for stress runs on 32-bit systems. Physical memory is not an issue
// thanks to the mock allocator, but virtual address space is still limited.
let kSize = 128 * 1024 * 1024;
// Must be >= MultiMappedMockAllocator::kChunkSize in d8.cc.
let kChunkSize = 2 * 1024 * 1024;
let a = new Uint8Array(kSize);

@usmnzain usmnzain self-assigned this Jul 4, 2022
@usmnzain
Copy link
Collaborator

usmnzain commented Jul 4, 2022

I can look into this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
RV32G Porting to RV32G ISA
Projects
None yet
Development

No branches or pull requests

3 participants