Skip to content

/var/lang/bin/node[8]: ../src/spawn_sync.cc:460:v8::Maybe<bool> node::SyncProcessRunner::TryInitializeAndRunLoop(v8::Local<v8::Value>): Assertion `(uv_loop_init(uv_loop_)) == (0)' failed. #34855

Closed
@Ra-works

Description

@Ra-works
  • Version:
  • Platform:
  • Subsystem:

What steps will reproduce the bug?

Executing Node code on aws lambda

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

It is getting reproduced more often, but unable to get the specific scenario

What is the expected behavior?

It should not this error and should continue to run

What do you see instead?

2020-08-19T17:24:39.485+05:30
module: "startLinking"

2020-08-19T17:24:39.514+05:30
/var/lang/bin/node[8]: ../src/spawn_sync.cc:460:v8::Maybe node::SyncProcessRunner::TryInitializeAndRunLoop(v8::Localv8::Value): Assertion `(uv_loop_init(uv_loop_)) == (0)' failed.

2020-08-19T17:24:39.517+05:30
1: 0x560b92e29093 node::Abort() [/var/lang/bin/node]

2020-08-19T17:24:39.517+05:30
2: 0x560b92e29122 [/var/lang/bin/node]

2020-08-19T17:24:39.518+05:30
3: 0x560b92f07363 node::SyncProcessRunner::TryInitializeAndRunLoop(v8::Localv8::Value) [/var/lang/bin/node]

2020-08-19T17:24:39.518+05:30
4: 0x560b92f07542 node::SyncProcessRunner::Spawn(v8::FunctionCallbackInfov8::Value const&) [/var/lang/bin/node]

2020-08-19T17:24:39.519+05:30
5: 0x560b930496c6 [/var/lang/bin/node]

2020-08-19T17:24:39.519+05:30
6: 0x560b9304b401 v8::internal::Builtin_HandleApiCall(int, unsigned long*, v8::internal::Isolate*) [/var/lang/bin/node]

2020-08-19T17:24:39.520+05:30
7: 0x560b938be2b9 [/var/lang/bin/node]

2020-08-19T17:24:40.065+05:30
END RequestId: f10633e7-61e7-457c-8547-ba1c39302550

2020-08-19T17:24:40.065+05:30
REPORT RequestId: f10633e7-61e7-457c-8547-ba1c39302550 Duration: 15956.00 ms Billed Duration: 16000 ms Memory Size: 3008 MB Max Memory Used: 595 MB Init Duration: 1749.62 ms

2020-08-19T17:24:40.065+05:30
RequestId: f10633e7-61e7-457c-8547-ba1c39302550 Error: Runtime exited with error: signal: aborted (core dumped) Runtime.ExitError

2020-08-19T17:24:40.204+05:30
2020-08-19T11:54:40.204Z undefined INFO The NODE_ENV set in target environment is - dev

Additional information

Unable to reproduce but mostly it is of memory issue but AWS Lambda have enough memory and as per log it did not reach the threshold

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