Skip to content

Http2 Segmentation fault #29902

@lomaster1

Description

@lomaster1

I got it on production (many times per day):

Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x0000000000956028 in node::http2::Http2Session::MaybeStopReading() [clone .part.109] ()
[Current thread is 1 (Thread 0x7f9a40aa4740 (LWP 12507))]
(gdb) bt
#0  0x0000000000956028 in node::http2::Http2Session::MaybeStopReading() [clone .part.109] ()
#1  0x0000000000959b96 in node::http2::Http2Session::SendPendingData() ()
#2  0x000000000095a478 in node::http2::Http2Session::MaybeScheduleWrite()::{lambda(node::Environment*, void*)#1}::_FUN(node::Environment*, void*) ()
#3  0x00000000008e337c in node::Environment::RunAndClearNativeImmediates() ()
#4  0x00000000008e3594 in node::Environment::CheckImmediate(uv_check_s*) ()
#5  0x0000000000a76f5c in uv__run_check (loop=loop@entry=0x2655860 <default_loop_struct>) at ../deps/uv/src/unix/loop-watcher.c:70
#6  0x0000000000a6fe73 in uv_run (loop=0x2655860 <default_loop_struct>, mode=UV_RUN_DEFAULT) at ../deps/uv/src/unix/core.c:365
#7  0x0000000000904725 in node::Start(v8::Isolate*, node::IsolateData*, std::vector<std::string, std::allocator<std::string> > const&, std::vector<std::string, std::allocator<std::string> > const&)
    ()
#8  0x000000000090297f in node::Start(int, char**) ()
#9  0x00007f9a3f619830 in __libc_start_main (main=0x8bbd50 <main>, argc=5, argv=0x7ffd529d2b88, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffd529d2b78)
    at ../csu/libc-start.c:291
#10 0x00000000008bbe85 in _start ()

Can you help me investigate why it happens?
What can I do to provide you with information to fix it? I can't use debug node in production, because it's very slow.

Metadata

Metadata

Assignees

No one assigned

    Labels

    http2Issues or PRs related to the http2 subsystem.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions