Closed
Description
- Version: v8.9.4
- Platform:
- (docker) Linux e2bd997af1ec 4.9.60-linuxkit-aufs deps: update openssl to 1.0.1j #1 SMP Mon Nov 6 16:00:12 UTC 2017 x86_64 GNU/Linux
- (host) Darwin air-marmelab.lan 16.7.0 Darwin Kernel Version 16.7.0: Thu Jan 11 22:59:40 PST 2018; root:xnu-3789.73.8~1/RELEASE_X86_64 x86_64
- Subsystem:
In order to reproduce, I just need to run a node server with node --inspect index.js
(with an express server) with 10 concurrent requests (sent with siege
).
I connect to the inspector thanks to a Chrome browser (version 63), in a the chrome://inspect
, and when I take a Memory snapshot or record, I get a SIGSEGV signal.
Here is a report generated by the segfault-handler
module after a catched segfault:
PID 21 received SIGSEGV for address: 0x2
/app/node_modules/segfault-handler/build/Release/segfault-handler.node(+0x1a7b)[0x7fecdddfaa7b]
/lib/x86_64-linux-gnu/libpthread.so.0(+0xf890)[0x7fecf7229890]
node /app/build/index.js(_ZN2v88internal14V8HeapExplorer8AddEntryEPNS0_10HeapObjectE+0x13)[0x1062fc3]
node /app/build/index.js(_ZN2v88internal14V8HeapExplorer19SetContextReferenceEPNS0_10HeapObjectEiPNS0_6StringEPNS0_6ObjectEi+0xf0)[0x10654f0]
node /app/build/index.js(_ZN2v88internal14V8HeapExplorer24ExtractContextReferencesEiPNS0_7ContextE+0x2370)[0x10678a0]
node /app/build/index.js(_ZN2v88internal14V8HeapExplorer22ExtractReferencesPass2EiPNS0_10HeapObjectE+0xa8)[0x10679b8]
node /app/build/index.js(_ZN2v88internal14V8HeapExplorer27IterateAndExtractSinglePassIXadL_ZNS1_22ExtractReferencesPass2EiPNS0_10HeapObjectEEEEEbv+0x275)[0x106d075]
node /app/build/index.js(_ZN2v88internal14V8HeapExplorer27IterateAndExtractReferencesEPNS0_14SnapshotFillerE+0x298)[0x106da18]
node /app/build/index.js(_ZN2v88internal21HeapSnapshotGenerator16GenerateSnapshotEv+0x12a)[0x106dbca]
node /app/build/index.js(_ZN2v88internal12HeapProfiler12TakeSnapshotEPNS_15ActivityControlEPNS_12HeapProfiler18ObjectNameResolverE+0x5c)[0x1058f0c]
node /app/build/index.js(_ZN12v8_inspector23V8HeapProfilerAgentImpl16takeHeapSnapshotENS_8protocol5MaybeIbEE+0xab)[0xabd3bb]
node /app/build/index.js(_ZN12v8_inspector8protocol12HeapProfiler14DispatcherImpl16takeHeapSnapshotEiSt10unique_ptrINS0_15DictionaryValueESt14default_deleteIS4_EEPNS0_12ErrorSupportE+0x189)[0xa69819]
node /app/build/index.js(_ZN12v8_inspector8protocol12HeapProfiler14DispatcherImpl8dispatchEiRKNS_8String16ESt10unique_ptrINS0_15DictionaryValueESt14default_deleteIS7_EE+0xe6)[0xa6c086]
node /app/build/index.js(_ZN12v8_inspector8protocol14UberDispatcher8dispatchESt10unique_ptrINS0_5ValueESt14default_deleteIS3_EE+0x55c)[0xa54bfc]
node /app/build/index.js(_ZN12v8_inspector22V8InspectorSessionImpl23dispatchProtocolMessageERKNS_10StringViewE+0x22)[0xac3e42]
node /app/build/index.js[0x12ba03c]
node /app/build/index.js(_ZN4node12NodePlatform28FlushForegroundTasksInternalEv+0x1f4)[0x1273624]
node /app/build/index.js[0x143e44b]
node /app/build/index.js[0x144ffa8]
node /app/build/index.js(uv_run+0x156)[0x143edd6]
node /app/build/index.js(_ZN4node5StartEP9uv_loop_siPKPKciS5_+0xc8d)[0x122c1bd]
node /app/build/index.js(_ZN4node5StartEiPPc+0x163)[0x1224d03]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf5)[0x7fecf6e90b45]
node /app/build/index.js[0x8aee41]
Here there anything I can do?