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

RuntimeError: memory access out of bounds' #21

Open
luyahan opened this issue Aug 9, 2022 · 0 comments
Open

RuntimeError: memory access out of bounds' #21

luyahan opened this issue Aug 9, 2022 · 0 comments

Comments

@luyahan
Copy link
Member

luyahan commented Aug 9, 2022

Version

18.4

System

debian

Platform

riscv

What is the expected behavior?

pass

What do you see instead?

log:

=== release test-wasi ===
Path: wasi/test-wasi
--- stderr ---
node:assert:123
  throw new AssertionError(obj);
  ^

AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:

1 !== 0

    at runWASI (/home/jytan/node_v18.4.0/node/test/wasi/test-wasi.js:59:12)
    at Object.<anonymous> (/home/jytan/node_v18.4.0/node/test/wasi/test-wasi.js:64:3)
    at Module._compile (node:internal/modules/cjs/loader:1112:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1166:10)
    at Module.load (node:internal/modules/cjs/loader:988:32)
    at Module._load (node:internal/modules/cjs/loader:834:12)
    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:77:12)
    at node:internal/main/run_main_module:17:47 {
  generatedMessage: true,
  code: 'ERR_ASSERTION',
  actual: 1,
  expected: 0,
  operator: 'strictEqual'
}

Node.js v18.4.0
--- stdout ---
executing cant_dotdot
(node:158342) ExperimentalWarning: WASI is an experimental feature. This feature could change at any time
(Use `node --trace-warnings ...` to show where the warning was created)
fd_prestat_get(3, 69720)
fd_prestat_dir_name(3, 131088, 9)
fd_prestat_get(4, 68979)
fd_prestat_dir_name(4, 131152, 5)
fd_prestat_get(5, 68238)
environ_sizes_get(68242, 68238)
environ_get(131808, 131168)
wasm://wasm/0001fe06:1


RuntimeError: memory access out of bounds
    at wasm://wasm/0001fe06:wasm-function[24]:0x2867
    at wasm://wasm/0001fe06:wasm-function[25]:0x2944
    at wasm://wasm/0001fe06:wasm-function[45]:0x35be
    at wasm://wasm/0001fe06:wasm-function[14]:0x384
    at wasm://wasm/0001fe06:wasm-function[13]:0x30f
    at WASI.start (node:wasi:130:7)
    at /home/jytan/node_v18.4.0/node/test/wasi/test-wasi.js:32:10

 test-fetch 和 test-wasm-web-api 是 fetch API (应该是 undici) 的 error, 然后 es-module/test-esm-cjs-builtins 和 test-esm-cjs-exp 是一样的 AssertionError:

parallel/test-fetch
parallel/test-wasm-web-api
es-module/test-esm-cjs-builtins
es-module/test-esm-cjs-exports

=== release test-esm-cjs-builtins ===
Path: es-module/test-esm-cjs-builtins
--- stderr ---
node:assert:123
  throw new AssertionError(obj);
  ^

AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:

1 !== 0

    at ChildProcess.<anonymous> (/home/jytan/node_v18.4.0/node/test/es-module/test-esm-cjs-builtins.js:18:10)
    at ChildProcess.<anonymous> (/home/jytan/node_v18.4.0/node/test/common/index.js:438:15)
    at ChildProcess.emit (node:events:537:28)
    at maybeClose (node:internal/child_process:1091:16)
    at Socket.<anonymous> (node:internal/child_process:449:11)
    at Socket.emit (node:events:537:28)
    at Pipe.<anonymous> (node:net:747:14) {
  generatedMessage: true,
  code: 'ERR_ASSERTION',
  actual: 1,
  expected: 0,
  operator: 'strictEqual'
}
```

### Additional information

_No response_
@luyahan luyahan changed the title Test failed RuntimeError: memory access out of bounds' Aug 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant