nodejs / node

Node.js JavaScript runtime ✨🐢🚀✨
https://nodejs.org
Other
107.72k stars 29.66k forks source link

ServerHttp2Stream: Error: This is caused by either a bug in Node.js or incorrect usage of Node.js internals. #55760

Open hbektasatakamai opened 5 days ago

hbektasatakamai commented 5 days ago

Version

v20.18.0

Platform

Linux dyson2-79d479ff7-6pltt 6.1.0-25-cloud-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.106-3 (2024-08-26) x86_64 GNU/Linux

Subsystem

No response

What steps will reproduce the bug?

Error: This is caused by either a bug in Node.js or incorrect usage of Node.js internals. Please open an issue with this stack trace at https://github.com/nodejs/node/issues

at assert (node:internal/assert:14:11)
at ServerHttp2Stream.socketOnData (node:_http_client:542:3)
at ServerHttp2Stream.emit (node:events:531:35)
at addChunk (node:internal/streams/readable:559:12)
at readableAddChunkPushByteMode (node:internal/streams/readable:510:3)
at ServerHttp2Stream.Readable.push (node:internal/streams/readable:390:5)
at Http2Stream.onStreamRead (node:internal/stream_base_commons:191:23)

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

very easy to reproduce it.

What is the expected behavior? Why is that the expected behavior?

no nodejs crash

What do you see instead?

no nodejs crash

Additional information

No response

hbektasatakamai commented 5 days ago

same issue with v22.11.0. stack trace:

Error: This is caused by either a bug in Node.js or incorrect usage of Node.js internals. Please open an issue with this stack trace at https://github.com/nodejs/node/issues

at assert (node:internal/assert:14:11)
at ServerHttp2Stream.socketOnData (node:_http_client:544:3)
at ServerHttp2Stream.emit (node:events:530:35)
at addChunk (node:internal/streams/readable:561:12)
at readableAddChunkPushByteMode (node:internal/streams/readable:512:3)
at ServerHttp2Stream.Readable.push (node:internal/streams/readable:392:5)
at Http2Stream.onStreamRead (node:internal/stream_base_commons:189:23)
RedYetiDev commented 5 days ago

Can you please provide a minimal reproduction?