[Pkg-javascript-devel] Bug#878674: Bug#878674: nodejs segfaults when building d3-* with webpack

Jérémy Lal kapouer at melix.org
Tue Nov 14 09:35:50 UTC 2017


2017-11-14 8:51 GMT+01:00 Pirate Praveen <praveen at onenetbeyond.org>:

> On ചൊവ്വ 14 നവംബര്‍ 2017 03:51 രാവിലെ, Jérémy Lal wrote:
> > Using only debian packages (and no npm-installed module) I can't
> > reproduce the segfault in debian/sid:
> >
> > dev:~/Software/debian/node-d3-zoom/node-d3-zoom master$ webpack --config
> > debian/webpack.config.js index.js build/d3-zoom.js --target=web
> > --output-library=d3-zoom --output-library-target=umd --module-bind
> > 'js=babel-loader'
>
> [...]
>
> > WARNING in ./src/zoom.js
> > 235:4-11 "export 'default' (imported as 'noevent') was not found in
> > './noevent'
> >
> > WARNING in ./src/zoom.js
> > 260:6-13 "export 'default' (imported as 'noevent') was not found in
> > './noevent'
> >
> > WARNING in ./src/zoom.js
> > 272:6-13 "export 'default' (imported as 'noevent') was not found in
> > './noevent'
> >
> > WARNING in ./src/zoom.js
> > 285:4-11 "export 'default' (imported as 'noevent') was not found in
> > './noevent'
> >
> > WARNING in ./src/zoom.js
> > 335:4-11 "export 'default' (imported as 'noevent') was not found in
> > './noevent'
> >
> > WARNING in ./src/zoom.js
> > 377:74-82 "export 'default' (imported as 'constant') was not found in
> > './constant'
> >
> > WARNING in ./src/zoom.js
> > 381:70-78 "export 'default' (imported as 'constant') was not found in
> > './constant'
> >
> > WARNING in ./src/zoom.js
> > 385:73-81 "export 'default' (imported as 'constant') was not found in
> > './constant'
> >
> > WARNING in ./src/zoom.js
> > 389:70-78 "export 'default' (imported as 'constant') was not found in
> > './constant'
> > dev:~/Software/debian/node-d3-zoom/node-d3-zoom master$
> >
>
> It seems you are not using the .babelrc, do an quilt push -a and rerun
> the command.
>

Right ! Now i reproduce the segfault.
I tried with nodejs 6.12.0, uv 1.15.0, zlib1g 1.2.11 without success.
Now i'm trying with embedded copies of uv and zlib... if you see it not
crashing with nodesource, i'll eventually find what's causing it.

Jérémy



>
> > I'd like to lower the severity of this bug because it concerns code that
> is
> > not (yet) in debian. We'll raise it again if/when node-d3-zoom crashes
> when
> > building on build server.
>
> ok, makes sense.
>

The least i can say is that it's the first node segfault i see in a while !

Jérémy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-javascript-devel/attachments/20171114/3e0e18bf/attachment.html>


More information about the Pkg-javascript-devel mailing list