<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Le mar. 21 sept. 2021 à 08:46, Jérémy Lal <<a href="mailto:kapouer@melix.org">kapouer@melix.org</a>> a écrit :<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Le mar. 21 sept. 2021 à 08:34, Ondrej Zary <<a href="mailto:ondrej@zary.sk" target="_blank">ondrej@zary.sk</a>> a écrit :<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Tuesday 21 September 2021, Jérémy Lal wrote:<br><br>
> Libuv1 1.34.2 - same version as the one in nodejs/deps/uv/ - is in<br>
> buster-backports.<br>
> It would be nice to try building against that version.<br>
> Some nodejs tests might fail (patched to support old uv).<br>
<br>
I've alrady tried installing it (stretch-backports), still segfaulted the same way.<br>
Could rebuilding nodejs change anything?<br></blockquote><div><br></div><div>That's scary - how come the same version of uv, used as a shared lib,</div><div>fails, while when compiled statically without the --shared-uv flag, succeeds ?</div><div>I need to see for myself... i'll try on a porter box.</div></div></div></blockquote><div><br></div><div>Ok since i'm preparing a security update for node 10 i'm testing this issue.</div><div><br></div><div>- rebuilt nodejs 10.24.0 with the bundled libuv (1.34.2): it doesn't segfault anymore.</div><div>(and i'm not hallucinating here - it segfaults 100% without using bundled libuv).</div><div><br></div><div>- diffed bundled libuv with debian backport of libuv 1.34.2: they are the same</div><div><br></div><div>By mistake i looked at uv/src/win/fs.c and discovered that they do a much</div><div>better job at making sure multiple calls to uv_fs_req_cleanup(req) can't crash.</div><div>I really think this is the problem. I'm trying to fix it by protecting it from the nodejs side.</div><div><br></div><div>Jérémy</div></div></div>