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
libc++abi: terminating due to uncaught exception of type std::out_of_range: basic_string Abort trap: 6 #801
I mean, it's hard to see how a JS library with no C++ components could have caused a C++ crash, short of a bug in the node/js engine.
Have you tried bisecting the snippet and ensured the crash isn't in the setup code? Or tried different versions of nodejs? The debug.js snippet works fine on v19.5.0 on my mac, so I'd suggest this is an issue in your nodejs binary (is it self-compiled or provided by something else?) and/or version. If it's an official nodejs executable (rather than self-compiled) I'd suggest filing a bug with them.
But I am sad that you seem not curious why the code can run on Node.js v19 but crash on v20.
Well, first of all, I didn't have a copy of Node v20 handy, so I simply couldn't reproduce. I also wasn't sure that it would be reproducible even if I did spend time to try to recreate the environment (often platform or ABI or environment/library differences, or differences in the markup that fetch call produces could result in it working fine for me even when it clearly doesn't for you).
I get on the order of 100 emails a day regarding software I have some level of responsibility for, so if it's clear that it's not my wheelhouse, I usually cannot afford the time to dig into it.
I understand your point, and I will go to the Node.js repo to submit this issue and help them resolve it.
Thanks and good luck! I hope the node.js folks resolve this soon - it shouldn't be possible to crash the JS environment with simple JS like this.
Activity
handle issue: mozilla/readability#801
temporary fixed: mozilla/readability#801
gijsk commentedon May 5, 2023
I mean, it's hard to see how a JS library with no C++ components could have caused a C++ crash, short of a bug in the node/js engine.
Have you tried bisecting the snippet and ensured the crash isn't in the setup code? Or tried different versions of nodejs? The
debug.jssnippet works fine on v19.5.0 on my mac, so I'd suggest this is an issue in your nodejs binary (is it self-compiled or provided by something else?) and/or version. If it's an official nodejs executable (rather than self-compiled) I'd suggest filing a bug with them.Leask commentedon May 5, 2023
Yes, you are right. I went deeper this afternoon and discovered the issue is on Node.js v20. And it's straightforward to reproduce.
But I am sad that you seem not curious why the code can run on Node.js v19 but crash on v20.
I understand your point, and I will go to the Node.js repo to submit this issue and help them resolve it.
Thanks for your reply.
gijsk commentedon May 5, 2023
Well, first of all, I didn't have a copy of Node v20 handy, so I simply couldn't reproduce. I also wasn't sure that it would be reproducible even if I did spend time to try to recreate the environment (often platform or ABI or environment/library differences, or differences in the markup that
fetchcall produces could result in it working fine for me even when it clearly doesn't for you).I get on the order of 100 emails a day regarding software I have some level of responsibility for, so if it's clear that it's not my wheelhouse, I usually cannot afford the time to dig into it.
Thanks and good luck! I hope the node.js folks resolve this soon - it shouldn't be possible to crash the JS environment with simple JS like this.
fixed bugs mozilla/readability#801