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

Jérémy Lal kapouer at melix.org
Mon Oct 16 07:17:20 UTC 2017


2017-10-16 8:54 GMT+02:00 Pirate Praveen <praveen at onenetbeyond.org>:

> 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");
>

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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-javascript-devel/attachments/20171016/d7d3da41/attachment.html>


More information about the Pkg-javascript-devel mailing list