src: prevent crash in TTYWrap::Initialize#26832
Closed
Hakerh400 wants to merge 1 commit intonodejs:masterfrom
Hakerh400:tty
Closed
src: prevent crash in TTYWrap::Initialize#26832Hakerh400 wants to merge 1 commit intonodejs:masterfrom Hakerh400:tty
Hakerh400 wants to merge 1 commit intonodejs:masterfrom
Hakerh400:tty
Conversation
bnoordhuis
reviewed
Mar 21, 2019
Member
|
BTW, |
joyeecheung
reviewed
Mar 22, 2019
Member
|
CI: https://ci.nodejs.org/job/node-test-pull-request/21822/ (though it's rather flaky now) |
BridgeAR
approved these changes
Mar 25, 2019
joyeecheung
approved these changes
Mar 27, 2019
addaleax
approved these changes
Mar 27, 2019
When console.log is called for the first time it initializes TTYWrap object. However, if there is not enough space on the V8 stack, creating function template fails and triggers empty maybe local exception.
Contributor
Author
|
CI was failing due to flaky test-worker-prof and the last run timed out for some reason. The failure seems unrelated to this PR. |
Collaborator
BridgeAR
pushed a commit
to BridgeAR/node
that referenced
this pull request
Apr 4, 2019
When console.log is called for the first time it initializes TTYWrap object. However, if there is not enough space on the V8 stack, creating function template fails and triggers empty maybe local exception. PR-URL: nodejs#26832 Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Member
|
Landed in 6fb32ac 🎉 |
BethGriggs
pushed a commit
that referenced
this pull request
Apr 9, 2019
When console.log is called for the first time it initializes TTYWrap object. However, if there is not enough space on the V8 stack, creating function template fails and triggers empty maybe local exception. PR-URL: #26832 Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Signed-off-by: Beth Griggs <Bethany.Griggs@uk.ibm.com>
Merged
BethGriggs
pushed a commit
that referenced
this pull request
Apr 10, 2019
When console.log is called for the first time it initializes TTYWrap object. However, if there is not enough space on the V8 stack, creating function template fails and triggers empty maybe local exception. PR-URL: #26832 Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Signed-off-by: Beth Griggs <Bethany.Griggs@uk.ibm.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
When console.log is called for the first time it initializes
TTYWrap object. However, if there is not enough space on the
V8 stack, creating function template fails and triggers
empty maybe local exception.
Fixes #26829
Checklist
make -j4 test(UNIX), orvcbuild test(Windows) passes