Error: async hook stack has become corrupted (actual: 73, expected: 0) #38814
Labels
Comments
This was referenced May 27, 2021
|
Would you provide a minimal repro without third-party module? It could be great helpful. |
|
Hmm, this is already a quite minimal repo. It needs Sentry and OpenTelemetry together to trigger the error. |
|
After doing some digging, the exact place where it triggers an exception in opentelemetry code - https://github.com/open-telemetry/opentelemetry-js/blob/7fa4ff70d1aad5875cb14c6bff99c838228447bb/packages/opentelemetry-tracing/src/MultiSpanProcessor.ts#L58 |
|
Reproduciable in |
Qard
added a commit
to Qard/node
that referenced
this issue
Jun 3, 2021
🤦 Might help if I remember to disable the _other_ promise hook implementation when switching between them... Fixes nodejs#38814 Fixes nodejs#38815
Qard
added a commit
to Qard/node
that referenced
this issue
Jun 3, 2021
🤦 Might help if I remember to disable the _other_ promise hook implementation when switching between them... Fixes nodejs#38814 Fixes nodejs#38815
Qard
added a commit
to Qard/node
that referenced
this issue
Jun 3, 2021
🤦 Might help if I remember to disable the _other_ promise hook implementation when switching between them... Fixes nodejs#38814 Fixes nodejs#38815
Qard
added a commit
to Qard/node
that referenced
this issue
Jun 3, 2021
🤦 Might help if I remember to disable the _other_ promise hook implementation when switching between them... Fixes nodejs#38814 Fixes nodejs#38815
Qard
added a commit
to Qard/node
that referenced
this issue
Jun 3, 2021
🤦 Might help if I remember to disable the _other_ promise hook implementation when switching between them... Fixes nodejs#38814 Fixes nodejs#38815
Qard
added a commit
to Qard/node
that referenced
this issue
Jun 3, 2021
🤦 Might help if I remember to disable the _other_ promise hook implementation when switching between them... Fixes nodejs#38814 Fixes nodejs#38815
|
This should be fixed by #38912 which will be in the next release, likely 16.3.1 or 16.4.0. If you have any further issues, let me know! |
targos
added a commit
that referenced
this issue
Jun 11, 2021
🤦 Might help if I remember to disable the _other_ promise hook implementation when switching between them... Fixes #38814 Fixes #38815 Refs #36394 PR-URL: #38912 Reviewed-By: Vladimir de Turckheim <vlad2t@hotmail.com> Reviewed-By: Gerhard Stöbich <deb2001-github@yahoo.de> Reviewed-By: Bryan English <bryan@bryanenglish.com>
Qard
added a commit
to Qard/node
that referenced
this issue
Jun 15, 2021
🤦 Might help if I remember to disable the _other_ promise hook implementation when switching between them... Fixes nodejs#38814 Fixes nodejs#38815 Refs nodejs#36394 PR-URL: nodejs#38912 Reviewed-By: Vladimir de Turckheim <vlad2t@hotmail.com> Reviewed-By: Gerhard Stöbich <deb2001-github@yahoo.de> Reviewed-By: Bryan English <bryan@bryanenglish.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What steps will reproduce the bug?
Clone the repo: https://github.com/Hongbo-Miao/bug-nodejs-16
How often does it reproduce? Is there a required condition?
The server will first run successfully. However, if you hit any endpoint such as openning http://localhost:5000, the server will crash.
What is the expected behavior?
Expecting the app not crash.
What do you see instead?
Crash with error:
Some other times, I got
Additional information
It only happens in Node.js since 16.2.0.
@kamilogorek provided some useful info at
getsentry/sentry-javascript#3585 (comment)
The text was updated successfully, but these errors were encountered: