Skip to content

Assertion failed in src/async_wrap.cc:144 (test-inspector-connect-main-thread) #30525

Description

@gireeshpunathil
  • Version:
  • Platform:
  • Subsystem:
08:43:36 not ok 1353 parallel/test-inspector-connect-main-thread
08:43:36   ---
08:43:36   duration_ms: 0.714
08:43:36   severity: crashed
08:43:36   exitcode: -6
08:43:36   stack: |-
08:43:36     Skip child is done
08:43:36     Message for a test
08:43:36     Worker is done
08:43:36     Message NodeWorker.enable was sent
08:43:36     Message Debugger.enable was sent
08:43:36     Message Runtime.enable was sent
08:43:36     Message Debugger.setBreakpointByUrl was sent
08:43:36     Message Debugger.evaluateOnCallFrame was sent
08:43:36     Message Debugger.resume was sent
08:43:36     out/Release/node[14105]: ../src/async_wrap.cc:144:void node::AsyncWrap::EmitTraceEventBefore(): Assertion `"Unreachable code reached" __VA_OPT__(": ")' failed.
08:43:36      1: 0x9f9e00 node::Abort() [out/Release/node]
08:43:36      2: 0x9f9e97  [out/Release/node]
08:43:36      3: 0x96ddda node::AsyncWrap::EmitTraceEventBefore() [out/Release/node]
08:43:36      4: 0x9741d2 node::AsyncWrap::MakeCallback(v8::Local<v8::Function>, int, v8::Local<v8::Value>*) [out/Release/node]
08:43:36      5: 0xadc5ad  [out/Release/node]
08:43:36      6: 0xaf0a85  [out/Release/node]
08:43:36      7: 0xaeead2  [out/Release/node]
08:43:36      8: 0xaeefe5  [out/Release/node]
08:43:36      9: 0xa66728 node::PerIsolatePlatformData::RunForegroundTask(std::unique_ptr<v8::Task, std::default_delete<v8::Task> >) [out/Release/node]
08:43:36     10: 0xa67252 node::PerIsolatePlatformData::FlushForegroundTasksInternal() [out/Release/node]
08:43:36     11: 0xa690dd node::NodePlatform::DrainTasks(v8::Isolate*) [out/Release/node]
08:43:36     12: 0xa8ffe1 node::worker::Worker::Run() [out/Release/node]
08:43:36     13: 0xa9028b  [out/Release/node]
08:43:36     14: 0x7fa696fbc6ba  [/lib/x86_64-linux-gnu/libpthread.so.0]
08:43:36     15: 0x7fa696cf241d clone [/lib/x86_64-linux-gnu/libc.so.6]

ref: https://ci.nodejs.org/job/node-test-commit-linux/nodes=ubuntu1604-64/30884/console

cc @nodejs/async_hooks

Activity

  1. gireeshpunathil commented on Nov 26, 2019

    @gireeshpunathil
    MemberAuthor

    another one (assertion source location changed but the stack trace is same):

    not ok 1253 parallel/test-inspector-connect-main-thread
      ---
      duration_ms: 2.90
      severity: crashed
      exitcode: -6
      stack: |-
        Skip child is done
        Message for a test
        Worker is done
        Message NodeWorker.enable was sent
        Message Debugger.enable was sent
        Message Runtime.enable was sent
        Message Debugger.setBreakpointByUrl was sent
        Message Debugger.evaluateOnCallFrame was sent
        Message Debugger.resume was sent
        out/Debug/node[13777]: ../src/api/callback.cc:147:v8::MaybeLocal<v8::Value> node::InternalMakeCallback(node::Environment*, v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*, node::async_context): Assertion `!recv.IsEmpty()' failed.
         1: 0x565388bf3695 node::DumpBacktrace(_IO_FILE*) [out/Debug/node]
         2: 0x565388cb2fe8 node::Abort() [out/Debug/node]
         3: 0x565388cb30ad  [out/Debug/node]
         4: 0x565388ba8331 node::InternalMakeCallback(node::Environment*, v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*, node::async_context) [out/Debug/node]
         5: 0x565388bd0575 node::AsyncWrap::MakeCallback(v8::Local<v8::Function>, int, v8::Local<v8::Value>*) [out/Debug/node]
         6: 0x565388e0192d  [out/Debug/node]
         7: 0x565388e01608  [out/Debug/node]
         8: 0x565388e14202  [out/Debug/node]
         9: 0x565388e190df  [out/Debug/node]
        10: 0x565388e14907 node::inspector::MainThreadInterface::DispatchMessages() [out/Debug/node]
        11: 0x565388e13d6c  [out/Debug/node]
        12: 0x565388d659c0 node::PerIsolatePlatformData::RunForegroundTask(std::unique_ptr<v8::Task, std::default_delete<v8::Task> >) [out/Debug/node]
        13: 0x565388d65fa1 node::PerIsolatePlatformData::FlushForegroundTasksInternal() [out/Debug/node]
        14: 0x565388d65c28 node::NodePlatform::DrainTasks(v8::Isolate*) [out/Debug/node]
        15: 0x565388d93fa7  [out/Debug/node]
        16: 0x565388d9772a  [out/Debug/node]
        17: 0x565388d94f94 node::worker::Worker::Run() [out/Debug/node]
        18: 0x565388d96571  [out/Debug/node]
        19: 0x565388d965dd  [out/Debug/node]
        20: 0x7f662fbdd6db  [/lib/x86_64-linux-gnu/libpthread.so.0]
        21: 0x7f662f90688f clone [/lib/x86_64-linux-gnu/libc.so.6]
      ...
    

    ref: https://ci.nodejs.org/job/node-test-commit-linux-containered/nodes=ubuntu1804_sharedlibs_debug_x64/16224/console

  2. Trott commented on Dec 26, 2019

    @Trott
    Member

    Still a thing, apparently....

    https://ci.nodejs.org/job/node-test-commit-linux-containered/17066/nodes=ubuntu1804_sharedlibs_openssl111_x64/console

    00:05:03 not ok 1319 parallel/test-inspector-connect-main-thread
    00:05:03   ---
    00:05:03   duration_ms: 0.614
    00:05:03   severity: crashed
    00:05:03   exitcode: -6
    00:05:03   stack: |-
    00:05:03     Skip child is done
    00:05:03     Message for a test
    00:05:03     Worker is done
    00:05:03     Message NodeWorker.enable was sent
    00:05:03     Message Debugger.enable was sent
    00:05:03     Message Runtime.enable was sent
    00:05:03     Message Debugger.setBreakpointByUrl was sent
    00:05:03     Message Debugger.evaluateOnCallFrame was sent
    00:05:03     Message Debugger.resume was sent
    00:05:03   ...
  3. gireeshpunathil commented on Oct 20, 2020

    @gireeshpunathil
    MemberAuthor

    looks like this has disappeared by itself, as it was not reported for months by now. Closing, can re-open if that is not the case

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions