[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 06:54:13 UTC 2017


On 10/16/2017 10:32 AM, Pirate Praveen wrote:
> I don't think any of them is a C++ addon, probably one of their
> dependencies.
> 
> 
> 

After using segfault-handler node module, I get this message,

PID 21070 received SIGSEGV for address: 0x0
/usr/local/lib/node_modules/segfault-handler/build/Release/segfault-handler.node(+0x1a0d)[0x7f54aad48a0d]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x110c0)[0x7f54ad5140c0]
[0x368109d6c128]

npm install -g segfault-handler

and add export NODE_PATH=/usr/local/lib/node_modules in debian/rules

and add these two lines to /usr/lib/nodejs/webpack/bin/webpack.js

var SegfaultHandler = require('segfault-handler');

SegfaultHandler.registerHandler("crash.log");

-------------- 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/72ba4933/attachment.sig>


More information about the Pkg-javascript-devel mailing list