Closed
Description
Unclear whether this is a dup of #14228 so reporting separately for now.
$ node -v
v8.2.1
$ uname -a
Linux myitcv-virtual-machine 4.10.0-28-generic #32-Ubuntu SMP Fri Jun 30 05:32:18 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
The segfault occurs randomly when running the test suite for GopherJS (I can give more details if that is relevant)
Following the example of #14228 here is the gdb
information I have from one of the core dumps (I'm absolutely no gdb
expert so please shout where I'm going wrong):
core_dump.node.14386.myitcv-virtual-machine.1501588338
$ gdb /home/myitcv/nodes/bin/node core_dump.node.14386.myitcv-virtual-machine.1501588338
...
Reading symbols from /home/myitcv/nodes/bin/node...done.
[New LWP 14386]
[New LWP 14388]
[New LWP 14389]
[New LWP 14452]
[New LWP 14387]
[New LWP 14390]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `node --require source-map-support/register --stack_size=10000 /home/myitcv/gost'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0 0x00003f8939933ffa in ?? ()
[Current thread is 1 (Thread 0x7f3a56d81b80 (LWP 14386))]
(gdb) where
#0 0x00003f8939933ffa in ?? ()
Backtrace stopped: Cannot access memory at address 0x7ffca9b9ae88
(gdb) bt full
#0 0x00003f8939933ffa in ?? ()
No symbol table info available.
Backtrace stopped: Cannot access memory at address 0x7ffca9b9ae88
(gdb) info sharedlibrary
From To Syms Read Shared Object Library
0x00007f3a56982d80 0x00007f3a5698399e Yes /lib/x86_64-linux-gnu/libdl.so.2
0x00007f3a5677c0e0 0x00007f3a5677f1ff Yes /lib/x86_64-linux-gnu/librt.so.1
0x00007f3a5647d8c0 0x00007f3a5652d199 Yes (*) /usr/lib/x86_64-linux-gnu/libstdc++.so.6
0x00007f3a560ee710 0x00007f3a5615fb7a Yes /lib/x86_64-linux-gnu/libm.so.6
0x00007f3a55ed4a90 0x00007f3a55ee48a5 Yes (*) /lib/x86_64-linux-gnu/libgcc_s.so.1
0x00007f3a55cb9a20 0x00007f3a55cc6de1 Yes /lib/x86_64-linux-gnu/libpthread.so.0
0x00007f3a5590c9c0 0x00007f3a55a5dd43 Yes /lib/x86_64-linux-gnu/libc.so.6
0x00007f3a56b86aa0 0x00007f3a56ba45c0 Yes /lib64/ld-linux-x86-64.so.2
(*): Shared library is missing debugging information.
(gdb) info registers
rax 0x200000000 8589934592
rbx 0x245172a7b6b9 39932234544825
rcx 0x2d0a76f02d89 49522968374665
rdx 0x2178e6fb5449 36803155022921
rsi 0x27d5ca6ef439 43799177786425
rdi 0x2178e6fb5449 36803155022921
rbp 0x7ffca9b9b350 0x7ffca9b9b350
rsp 0x7ffca9b9ae88 0x7ffca9b9ae88
r8 0x2d2cf4b40af1 49671107250929
r9 0x2d2cf4b40af1 49671107250929
r10 0x2d2cf4b40af1 49671107250929
r11 0x2178e6fb5349 36803155022665
r12 0x2178e6fb6901 36803155028225
r13 0x3883798 59258776
r14 0x2d0a76f02241 49522968371777
r15 0x2d0a76f02241 49522968371777
rip 0x3f8939933ffa 0x3f8939933ffa
eflags 0x10246 [ PF ZF IF RF ]
cs 0x33 51
ss 0x2b 43
ds 0x0 0
es 0x0 0
fs 0x0 0
gs 0x0 0
(gdb) disassemble
No function contains program counter for selected frame.
Very happy to provide further information.