-
-
Notifications
You must be signed in to change notification settings - Fork 34k
Closed
Labels
c++Issues and PRs that require attention from people who are familiar with C++.Issues and PRs that require attention from people who are familiar with C++.cliIssues and PRs related to the Node.js command line interface.Issues and PRs related to the Node.js command line interface.confirmed-bugIssues with confirmed bugs.Issues with confirmed bugs.
Description
-
Version:
$ node -v v10.6.0 -
Platform:
$ uname -a Linux red 4.17.4-1-ARCH #1 SMP PREEMPT Tue Jul 3 15:45:09 UTC 2018 x86_64 GNU/Linux -
Subsystem: cli
While experimenting with building NODE_OPTIONS by concatenating additional options, I found the following two combinations causing a core dump (exit code 134):
$ NODE_OPTIONS="--abort-on-uncaught-exception --experimental-modules" node
munmap_chunk(): invalid pointer
Aborted (core dumped)
$ NODE_OPTIONS="--experimental-modules --experimental-modules" node
free(): invalid size
Aborted (core dumped)
Node should either run successfully or gracefully terminate. The current behavior seems to indicate some unreliable handling of the memory.
The crashes above happen every time I executed the command with these options. It's maybe not just related to experimental-module, the following command runs successfully: NODE_OPTIONS="--trace-sync-io --experimental-modules" node.
addaleax
Metadata
Metadata
Assignees
Labels
c++Issues and PRs that require attention from people who are familiar with C++.Issues and PRs that require attention from people who are familiar with C++.cliIssues and PRs related to the Node.js command line interface.Issues and PRs related to the Node.js command line interface.confirmed-bugIssues with confirmed bugs.Issues with confirmed bugs.