Skip to content

Conversation

@tniessen
Copy link
Member

@tniessen tniessen commented May 4, 2020

Calling instance.exports._start() crashes the process with a segmentation fault. This prevents syscalls before start() has been called.

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • tests and/or benchmarks are included
  • documentation is changed or added
  • commit message follows commit guidelines

@tniessen tniessen requested a review from cjihrig May 4, 2020 16:32
@nodejs-github-bot nodejs-github-bot added c++ Issues and PRs that require attention from people who are familiar with C++. wasi Issues and PRs related to the WebAssembly System Interface. labels May 4, 2020
@tniessen
Copy link
Member Author

tniessen commented May 4, 2020

I just noticed that #33184 already exists. I guess this is still a valid alternative with a few important differences.

Co-authored-by: Colin Ihrig <[email protected]>
@nodejs-github-bot
Copy link
Collaborator

addaleax pushed a commit that referenced this pull request May 7, 2020
PR-URL: #33235
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Gus Caplan <[email protected]>
Reviewed-By: Anna Henningsen <[email protected]>
@addaleax
Copy link
Member

addaleax commented May 7, 2020

Landed in c01544d

@addaleax addaleax closed this May 7, 2020
codebytere pushed a commit that referenced this pull request May 11, 2020
PR-URL: #33235
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Gus Caplan <[email protected]>
Reviewed-By: Anna Henningsen <[email protected]>
@codebytere codebytere mentioned this pull request May 18, 2020
codebytere pushed a commit that referenced this pull request Jun 7, 2020
PR-URL: #33235
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Gus Caplan <[email protected]>
Reviewed-By: Anna Henningsen <[email protected]>
@codebytere codebytere mentioned this pull request Jun 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

c++ Issues and PRs that require attention from people who are familiar with C++. wasi Issues and PRs related to the WebAssembly System Interface.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants