You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Archlinux Build] libstdc++ std::vector assert with --watch #49544
I'm trying to run a simple test in watch mode, like this:
// index.test.jsimport{describe,it}from'node:test'importassertfrom'node:assert'describe('test',()=>{it('should sum two numbers',()=>{assert.equal(2+2,4)})})
with the command
node --test --watch
like in the documentation.
How often does it reproduce? Is there a required condition?
No response
What is the expected behavior? Why is that the expected behavior?
@bnoordhuis I had the same issue as @TimonVS when using the asdf plugin, but when I installed the package from the Arch Linux repositories, the error I reported started to occur.
> gdb --args node --test --watch
...
Reading symbols from node...
(No debugging symbols found in node)
I got the same return to gdb --args /usr/bin/node --test --watch
Activity
TimonVS commentedon Sep 8, 2023
I'm also having issues with this, but I'm getting a different error (both in Node.js 18 and 20):
bnoordhuis commentedon Sep 9, 2023
@TimonVS not the same issue
@Gabriel-Tapes can you use gdb to get a backtrace?
gdb --args node --test --watchand typebtonce it crashes[-]Bug in test runner watch mode[/-][+]libstdc++ std::vector assert with --watch[/+]Gabriel-Tapes commentedon Sep 10, 2023
@bnoordhuis I had the same issue as @TimonVS when using the asdf plugin, but when I installed the package from the Arch Linux repositories, the error I reported started to occur.
I got the same return to
gdb --args /usr/bin/node --test --watchbnoordhuis commentedon Sep 11, 2023
Report problems with non-official builds (anything not downloaded from nodejs.org) to your vendor, they're probably miscompiles.
[-]libstdc++ std::vector assert with --watch[/-][+][Archlinux Build] libstdc++ std::vector assert with --watch[/+]Gabriel-Tapes commentedon Sep 11, 2023
Correct, I'm closing this issue in this case, I'm sorry if I inconvenienced anyone unnecessarily.