[Pkg-javascript-devel] Bug#922075: Bug#922075: Bug#922075: npm: segfault during extract on i386

Bastien ROUCARIES roucaries.bastien at gmail.com
Mon Sep 20 11:29:58 BST 2021


Le lun. 20 sept. 2021 à 10:20, Bastien ROUCARIES
<roucaries.bastien at gmail.com> a écrit :
>
> Le lun. 20 sept. 2021 à 10:15, Ondrej Zary <ondrej at zary.sk> a écrit :
> >
> > libuv libuv1:i386 1.24.1-1+deb10u1 with -fsanitize=address,undefined:
> >
> > yarn install v1.13.0
> > [1/5] Validating package.json...
> > [2/5] Resolving packages...
> > [3/5] Fetching packages...
> > [---------------------------------------------------------------------------------------------------------------------------------------------------] 0/520AddressSanitizer:DEADLYSIGNAL
> > =================================================================
> > ==26662==ERROR: AddressSanitizer: SEGV on unknown address 0x00001085 (pc 0xf695db5b bp 0xffd3adb8 sp 0xffd3ada4 T0)
> > ==26662==The signal is caused by a READ memory access.
> >     #0 0xf695db5a in node::fs::FSReqWrap::~FSReqWrap() (/lib/i386-linux-gnu/libnode.so.64+0x50bb5a)
> >     #1 0xf694ea42 in node::fs::FSReqAfterScope::~FSReqAfterScope() (/lib/i386-linux-gnu/libnode.so.64+0x4fca42)
> >     #2 0xf694f4fd in node::fs::AfterInteger(uv_fs_s*) (/lib/i386-linux-gnu/libnode.so.64+0x4fd4fd)
> >     #3 0xf629e32d in uv__work_done (/lib/i386-linux-gnu/libuv.so.1+0x5f32d)
> >     #4 0xf62ad125  (/lib/i386-linux-gnu/libuv.so.1+0x6e125)
> >     #5 0xf631e0a8 in uv__io_poll (/lib/i386-linux-gnu/libuv.so.1+0xdf0a8)
> >     #6 0xf62b198c in uv_run (/lib/i386-linux-gnu/libuv.so.1+0x7298c)
> >     #7 0xf691cc75 in node::Start(v8::Isolate*, node::IsolateData*, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > const&, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > const&) (/lib/i386-linux-gnu/libnode.so.64+0x4cac75)
> >     #8 0xf691ac96 in node::Start(int, char**) (/lib/i386-linux-gnu/libnode.so.64+0x4c8c96)
> >     #9 0x8049157 in main (/usr/bin/node+0x8049157)
> >     #10 0xf3ac5b40 in __libc_start_main (/lib/i386-linux-gnu/libc.so.6+0x1ab40)
> >     #11 0x80491c1 in _start (/usr/bin/node+0x80491c1)
> >
> > AddressSanitizer can not provide additional info.
> > SUMMARY: AddressSanitizer: SEGV (/lib/i386-linux-gnu/libnode.so.64+0x50bb5a) in node::fs::FSReqWrap::~FSReqWrap()
> > ==26662==ABORTING
> Ok now try to run the whole thing against valgrind...

Could you try to build both libuv and node with -fsanitize=null it is
likely a null dereference so catch it

Bastien
>
> Bastien
>
> >
> >
> > --
> > Ondrej Zary
> >
> > --
> > Pkg-javascript-devel mailing list
> > Pkg-javascript-devel at alioth-lists.debian.net
> > https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-javascript-devel



More information about the Pkg-javascript-devel mailing list