Skip to content

Segmentation Fault SIGSEGV on Windows 10 using node 18.14.2 #46798

Closed as not planned
@skgith1

Description

@skgith1

Version

18.14.2

Platform

Microsoft Windows NT 10.0.17763.0 x64

Subsystem

No response

What steps will reproduce the bug?

Running node.js causes random crashing once or twice per day. No specific trigger is identified.

How often does it reproduce? Is there a required condition?

Cannot be reproduced seems to happen at random, happens once or twice every 24 hours.

What is the expected behavior?

Node.js should continue to run without issue.

What do you see instead?

A segfault error occurs on windows, the last two seg faults provided below.

**
PID 7764 received SIGSEGV for address: 0x954adc7d
SymInit: Symbol-SearchPath: '.;C:\Users\Administrator\nodejs\application;C:\Program Files\nodejs;C:\Windows;C:\Windows\system32;SRVC:\websymbolshttp://msdl.microsoft.com/download/symbols;', symOptions: 530, UserName: 'Administrator'
OS-Version: 10.0.17763 () 0x110-0x3
[...]\node_modules\segfault-handler\src\StackWalker.cpp (941): StackWalker::ShowCallstack
[...]\node_modules\segfault-handler\src\segfault-handler.cpp (242): segfault_handler
00007FFCFD0FC936 (ntdll): (filename not available): RtlInitializeCriticalSectionAndSpinCount
00007FFCFD094949 (ntdll): (filename not available): RtlWalkFrameChain
00007FFCFD13459E (ntdll): (filename not available): KiUserExceptionDispatcher
00007FF6954ADC7D (node): (filename not available): SSL_select_next_proto
00007FF69504CC0A (node): (filename not available): v8::internal::OrderedHashTablev8::internal::OrderedHashSet,1::NumberOfDeletedElementsOffset
00007FF6954722C7 (node): (filename not available): ASN1_BIT_STRING_set_bit
00007FF69548D247 (node): (filename not available): SSL_extension_supported
00007FF695471F41 (node): (filename not available): ASN1_BIT_STRING_set_bit
00007FF695472513 (node): (filename not available): ASN1_BIT_STRING_set_bit
00007FF695480F42 (node): (filename not available): v8::internal::Scope::end_position
00007FF6954814F4 (node): (filename not available): v8::internal::Scope::end_position
00007FF69549257C (node): (filename not available): SSL_set_default_read_buffer_len
00007FF6954BB3B2 (node): (filename not available): SSL_group_to_name
00007FF6954BB331 (node): (filename not available): SSL_group_to_name
00007FF6954B0F33 (node): (filename not available): SSL_write_ex
00007FF6954AD9AE (node): (filename not available): SSL_read
00007FF695046B22 (node): (filename not available): v8::internal::OrderedHashTablev8::internal::OrderedHashSet,1::NumberOfDeletedElementsOffset
00007FF6950472F0 (node): (filename not available): v8::internal::OrderedHashTablev8::internal::OrderedHashSet,1::NumberOfDeletedElementsOffset
00007FF69504B64E (node): (filename not available): v8::internal::OrderedHashTablev8::internal::OrderedHashSet,1::NumberOfDeletedElementsOffset
00007FF6950D08D2 (node): (filename not available): v8::internal::MicrotaskQueue::microtasks_policy
00007FF6950CF812 (node): (filename not available): node::SetTracingController
00007FF695294CFB (node): (filename not available): uv_tty_set_vterm_state
00007FF6952AB671 (node): (filename not available): uv_run
00007FF69527DF05 (node): (filename not available): node::SpinEventLoop
00007FF69518CE98 (node): (filename not available): X509_STORE_CTX_get_lookup_certs
00007FF695211AD1 (node): (filename not available): node::InitializeOncePerProcess
00007FF6952132D5 (node): (filename not available): node::Start
00007FF695017DEC (node): (filename not available): CRYPTO_memcmp
00007FF696267178 (node): (filename not available): inflateValidate
00007FFCFAE17AD4 (KERNEL32): (filename not available): BaseThreadInitThunk
00007FFCFD0EA371 (ntdll): (filename not available): RtlUserThreadStart
{"level":"error","message":"Forever detected script exited with code: 3221225477"}
**

**
PID 3612 received SIGSEGV for address: 0x9b6c74d
SymInit: Symbol-SearchPath: '.;C:\Users\Administrator\nodejs\application;C:\Program Files\nodejs;C:\Windows;C:\Windows\system32;SRVC:\websymbolshttp://msdl.microsoft.com/download/symbols;', symOptions: 530, UserName: 'Administrator'
OS-Version: 10.0.17763 () 0x110-0x3
[...]\node_modules\segfault-handler\src\StackWalker.cpp (941): StackWalker::ShowCallstack
[...]\node_modules\segfault-handler\src\segfault-handler.cpp (242): segfault_handler
00007FFCFD0FC936 (ntdll): (filename not available): RtlInitializeCriticalSectionAndSpinCount
00007FFCFD094949 (ntdll): (filename not available): RtlWalkFrameChain
00007FFCFD13459E (ntdll): (filename not available): KiUserExceptionDispatcher
00007FF709B6C74D (node): (filename not available): SSL_select_next_proto
00007FF70970CBFA (node): (filename not available): v8::internal::OrderedHashTablev8::internal::OrderedNameDictionary,3::NextTableOffset
00007FF709B30DE7 (node): (filename not available): ASN1_BIT_STRING_set_bit
00007FF709B4BD27 (node): (filename not available): SSL_extension_supported
00007FF709B30A61 (node): (filename not available): ASN1_BIT_STRING_set_bit
00007FF709B31033 (node): (filename not available): ASN1_BIT_STRING_set_bit
00007FF709B3FA22 (node): (filename not available): v8::internal::Scope::end_position
00007FF709B3FFD4 (node): (filename not available): v8::internal::Scope::end_position
00007FF709B5104C (node): (filename not available): SSL_set_default_read_buffer_len
00007FF709B79E82 (node): (filename not available): SSL_group_to_name
00007FF709B79E01 (node): (filename not available): SSL_group_to_name
00007FF709B6FA03 (node): (filename not available): SSL_write_ex
00007FF709B6C47E (node): (filename not available): SSL_read
00007FF709706B12 (node): (filename not available): v8::internal::OrderedHashTablev8::internal::OrderedNameDictionary,3::NextTableOffset
00007FF7097072E0 (node): (filename not available): v8::internal::OrderedHashTablev8::internal::OrderedNameDictionary,3::NextTableOffset
00007FF70970B63E (node): (filename not available): v8::internal::OrderedHashTablev8::internal::OrderedNameDictionary,3::NextTableOffset
00007FF7097908C2 (node): (filename not available): v8::internal::Debug::break_frame_id
00007FF70978F802 (node): (filename not available): node::SetTracingController
00007FF709954BAB (node): (filename not available): uv_tty_set_vterm_state
00007FF70996B521 (node): (filename not available): uv_run
00007FF70993DDB5 (node): (filename not available): node::SpinEventLoop
00007FF70984CE28 (node): (filename not available): X509_STORE_CTX_get_lookup_certs
00007FF7098D1A61 (node): (filename not available): node::InitializeOncePerProcess
00007FF7098D3265 (node): (filename not available): node::Start
00007FF7096D7DEC (node): (filename not available): CRYPTO_memcmp
00007FF70A925C78 (node): (filename not available): inflateValidate
00007FFCFAE17AD4 (KERNEL32): (filename not available): BaseThreadInitThunk
00007FFCFD0EA371 (ntdll): (filename not available): RtlUserThreadStart
{"level":"error","message":"Forever detected script exited with code: 3221225477"}
**

Additional information

This only started recently but nothing in our code has really changed we have been using the same node_modules and keeping the script running using the "forever" package for years now and never have encounter an error like this. Really stumped here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    windowsIssues and PRs related to the Windows platform.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions