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

Pirate Praveen praveen at onenetbeyond.org
Mon Oct 16 07:27:13 UTC 2017


On 10/16/2017 12:47 PM, Jérémy Lal wrote:
> You could get a more useful stack trace by installing nodejs-dbgsym
> package from
> deb http://debug.mirrors.debian.org/debian-debug/ unstable-debug main
> 
> Jérémy

I will try that,

meanwhile I tried,
 NODE_PATHocal/lib/node_modules node debug
/usr/lib/nodejs/webpack/bin/webpack.js --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'

and found the line that is causing segfault.

break in /usr/lib/nodejs/babel-loader/lib/index.js:168
 166   const { code, map, metadata } = transpile(source, options);
 167
>168   metadataSubscribers.forEach(s => passMetadata(s, this, metadata));
 169
 170   this.callback(null, code, map);
debug>
break in /usr/lib/nodejs/babel-loader/lib/index.js:170
 168   metadataSubscribers.forEach(s => passMetadata(s, this, metadata));
 169
>170   this.callback(null, code, map);
 171 };
 172 });
debug>
< PID 22632 received SIGSEGV for address: 0x0
<
/usr/local/lib/node_modules/segfault-handler/build/Release/segfault-handler.node(+0x199c)[0x7fec0788b99c]
< /lib/x86_64-linux-gnu/libpthread.so.0(+0x110c0)[0x7fec0a8580c0]
< [0x7a34cf7e628]


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-javascript-devel/attachments/20171016/7448d63d/attachment.sig>


More information about the Pkg-javascript-devel mailing list