[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:59:23 UTC 2017


On 10/16/2017 01:18 PM, Jérémy Lal wrote:
> 
> 
> 2017-10-16 9:43 GMT+02:00 Pirate Praveen <praveen at onenetbeyond.org
> <mailto:praveen at onenetbeyond.org>>:
> 
>     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/
>     <http://debug.mirrors.debian.org/debian-debug/> unstable-debug main
> 
>     I have installed it, but the output is still the same, no extra details.
> 
> 
> You're supposed to run node through gdb:
> 
> gdb node
>> run <script path>
> 
> then you get a crash, at which point you type
>> bt
> 
> Jérémy


pravi at nishumbha:~/forge/debian/git/pkg-javascript/node-d3-zoom$
NODE_PATH=/usr/local/lib/node_modules gdb node
GNU gdb (Debian 7.12-6) 7.12.0.20161007-git
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
<http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from node...Reading symbols from
/usr/lib/debug/.build-id/cb/552c908b8bc0721c730e676bb47ca06c823810.debug...done.
done.
(gdb) run /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'
Starting program: /usr/bin/node /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'
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7f41cba4d700 (LWP 25730)]
[New Thread 0x7f41c73fe700 (LWP 25731)]
[New Thread 0x7f41c6bfd700 (LWP 25732)]
[New Thread 0x7f41c63fc700 (LWP 25733)]
[New Thread 0x7f41c5bfb700 (LWP 25734)]
[New Thread 0x7f41c51f6700 (LWP 25738)]
[New Thread 0x7f41c49f5700 (LWP 25739)]
[New Thread 0x7f41b7fff700 (LWP 25740)]
[New Thread 0x7f41b77fe700 (LWP 25741)]

Thread 1 "node" received signal SIGSEGV, Segmentation fault.
0x000020d539ae52d0 in ?? ()
(gdb) bt
#0  0x000020d539ae52d0 in ?? ()
#1  0x4037000000000000 in ?? ()
#2  0x401c000000000000 in ?? ()
#3  0x053b145957053b00 in ?? ()
#4  0x00003789fdf43059 in ?? ()
#5  0x00003789fdf434d1 in ?? ()
#6  0x0000048b7c5c62d9 in ?? ()
#7  0x0000104eb79c61e1 in ?? ()
#8  0x00007fffffff94b8 in ?? ()
#9  0x000020d539a95570 in ?? ()
#10 0x0000002e00000000 in ?? ()
#11 0x00000d22ff5adfb9 in ?? ()
#12 0x0000000000a257d4 in v8::internal::Runtime_LoadIC_Miss (
    args_length=<optimized out>, args_object=<optimized out>, isolate=0x0)
    at ../deps/v8/src/ic/ic.cc:2246
Backtrace stopped: previous frame inner to this frame (corrupt stack?)
(gdb)

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


More information about the Pkg-javascript-devel mailing list