Uh oh!
There was an error while loading. Please reload this page.
debugger: guard against call from non-node context - #4328
Conversation
Fix a segmentation fault when the debug message handler was called from a context without an associated `node::Environment`. Fixes: nodejs#4261Fixes: nodejs#4322
evanlucas
commented
Dec 17, 2015
CI looks happy minus a flaky ubuntu test. LGTM |
jasnell
commented
Dec 17, 2015
LGTM |
jasnell
commented
Dec 17, 2015
Landed in 25776f3 |
indutny
commented
Dec 17, 2015
Belated LGTM |
Fix a segmentation fault when the debug message handler was called from a context without an associated `node::Environment`. Fixes: nodejs#4261Fixes: nodejs#4322 PR-URL: nodejs#4328 Reviewed-By: Evan Lucas <evanlucas@me.com> Reviewed-By: James M Snell <jasnell@gmail.com>
Fix a segmentation fault when the debug message handler was called from a context without an associated `node::Environment`. Fixes: nodejs#4261Fixes: nodejs#4322 PR-URL: nodejs#4328 Reviewed-By: Evan Lucas <evanlucas@me.com> Reviewed-By: James M Snell <jasnell@gmail.com>
MylesBorins
commented
Jan 7, 2016
Is this critical enough to be rushed into 4.2.5? |
Trott
commented
Jan 7, 2016
FWIW, the test is flaky on Windows 10 in CI. Not sure why or what the fix might be. See #4343. |
bnoordhuis
commented
Jan 7, 2016
The change itself is low risk and quite a few people reported it so I'd say it's a good candidate for LTS. I'll take a look at #4343. |
andyburke
commented
Feb 10, 2016
I believe I am seeing this crash in 4.3.0: Any expected version that a patch will land in? This is concerning to me since it is blocking my upgrade to 4.3.0, which is recommended as a security upgrade. |
Trott
commented
Feb 10, 2016
@andyburke I totally understand if you want to stick with LTS release and not stable release, but if that doesn't make a difference to you, I believe this is fixed is in 5.4.0 and up. |
thefourtheye
commented
Feb 10, 2016
Is this the only place |
jasnell
commented
Feb 10, 2016
@andyburke ... since 4.3.0 was a security release all other commits were bumped to the next round. We'll be preparing another LTS update in the coming week or two. We'll try to get this into that batch. |
andyburke
commented
Feb 10, 2016
@Trott thanks, but yes, would like to stick with LTS release. @jasnell hmm, I am trying to upgrade from 4.2.3, so was this issue somehow introduced in the interim? I understand bumping the commits and am glad this will land relatively soon, but shouldn't this have been pretty high priority as a bug/regression? |
Trott
commented
Feb 10, 2016
@andyburke This bug exists in 4.2.3 (and every other 4.x version of Node). |
andyburke
commented
Feb 10, 2016
Somehow I am not seeing this in 4.2.3. Rolling my docker container back to 4.2.3 alleviates this issue. Perhaps there is some module interaction that is different, but rolling back fixed this for me. |
jasnell
commented
Feb 10, 2016
Interesting. Ok. I can understand the frustration @andyburke. The original plan had been to get a regular 4.x update out this week but the security release came up and pushed the schedule off just a bit. I'm going to be spinning up work on the next 4.x maintenance release (which is actually going to be quite large I'm afraid, there are quite a few stacked up commits) later on this week. We're going to have a Release Candidate cycle on this one so once the first RC is available let's see if the issue is resolved for you. |
Fix a segmentation fault when the debug message handler was called from a context without an associated `node::Environment`. Fixes: nodejs#4261Fixes: nodejs#4322 PR-URL: nodejs#4328 Reviewed-By: Evan Lucas <evanlucas@me.com> Reviewed-By: James M Snell <jasnell@gmail.com>
Notable changes: * buffer: make byteLength work with Buffer correctly (Jackson Tian) - nodejs#4738 * debugger: guard against call from non-node context (Ben Noordhuis) - nodejs#4328 * node_contextify: do not incept debug context (Myles Borins) - nodejs#4815
Fix a segmentation fault when the debug message handler was called from a context without an associated `node::Environment`. Fixes: nodejs#4261Fixes: nodejs#4322 PR-URL: nodejs#4328 Reviewed-By: Evan Lucas <evanlucas@me.com> Reviewed-By: James M Snell <jasnell@gmail.com>
Notable changes: * buffer: make byteLength work with Buffer correctly (Jackson Tian) - nodejs#4738 * debugger: guard against call from non-node context (Ben Noordhuis) - nodejs#4328 * node_contextify: do not incept debug context (Myles Borins) - nodejs#4819 * deps: update to http-parser 2.5.2 (James Snell) - nodejs#5238
Notable changes: * buffer: make byteLength work with Buffer correctly (Jackson Tian) - #4738 * debugger: guard against call from non-node context (Ben Noordhuis) - #4328 * node_contextify: do not incept debug context (Myles Borins) - #4819 * deps: update to http-parser 2.5.2 (James Snell) - #5238 PR-URL: #5200 (comment)
Fix a segmentation fault when the debug message handler was called from a context without an associated `node::Environment`. Fixes: nodejs#4261Fixes: nodejs#4322 PR-URL: nodejs#4328 Reviewed-By: Evan Lucas <evanlucas@me.com> Reviewed-By: James M Snell <jasnell@gmail.com>
Fix a segmentation fault when the debug message handler was called from
a context without an associated
node::Environment.Fixes: #4261
Fixes: #4322
R=@indutny?
CI: https://ci.nodejs.org/job/node-test-pull-request/1017/