Title: Assertion error thrown in internal/child_process.js on Linux · Issue #4205 · nodejs/node · GitHub
Open Graph Title: Assertion error thrown in internal/child_process.js on Linux · Issue #4205 · nodejs/node
X Title: Assertion error thrown in internal/child_process.js on Linux · Issue #4205 · nodejs/node
Description: On Linux using current master, this code: 'use strict'; const common = require('../common'); const net = require('net'); const cluster = require('cluster'); cluster.schedulingPolicy = cluster.SCHED_NONE; if (cluster.isMaster) { var worke...
Open Graph Description: On Linux using current master, this code: 'use strict'; const common = require('../common'); const net = require('net'); const cluster = require('cluster'); cluster.schedulingPolicy = cluster.SCHED...
X Description: On Linux using current master, this code: 'use strict'; const common = require('../common'); const net = require('net'); const cluster = require('cluster'); cluster....
Opengraph URL: https://github.com/nodejs/node/issues/4205
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Assertion error thrown in internal/child_process.js on Linux","articleBody":"On Linux using current master, this code:\n\n``` js\n'use strict';\nconst common = require('../common');\nconst net = require('net');\nconst cluster = require('cluster');\ncluster.schedulingPolicy = cluster.SCHED_NONE;\n\nif (cluster.isMaster) {\n var worker1, worker2;\n\n worker1 = cluster.fork();\n worker1.on('message', common.mustCall(function() {\n worker2 = cluster.fork();\n worker1.disconnect();\n worker2.disconnect();\n }));\n\n return;\n}\n\nvar server = net.createServer();\n\nserver.listen(common.PORT, function() {\n process.send('listening');\n});\n```\n\n...results in this output...\n\n```\nassert.js:90\n throw new assert.AssertionError({\n ^\nAssertionError: null == true\n at process.target._send (internal/child_process.js:520:5)\n at process.\u003canonymous\u003e (internal/child_process.js:486:12)\n at emitTwo (events.js:94:20)\n at process.emit (events.js:174:7)\n at handleMessage (internal/child_process.js:687:10)\n at Pipe.channel.onread (internal/child_process.js:439:11)\n```\n\n(The script still exits with a successful return code so the script above is not sufficient for testing on the Node CI infrastructure.)\n","author":{"url":"https://github.com/Trott","@type":"Person","name":"Trott"},"datePublished":"2015-12-08T22:58:37.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":3},"url":"https://github.com/4205/node/issues/4205"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:9eedd501-e831-d2b5-4ca2-358b4438bd34 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D814:102756:155A7D8:1D1F345:6A4F23BC |
| html-safe-nonce | a11d53e844ea35c7cf7fba91d760a85aceab1e814423d6f52924a16d4f1157f4 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEODE0OjEwMjc1NjoxNTVBN0Q4OjFEMUYzNDU6NkE0RjIzQkMiLCJ2aXNpdG9yX2lkIjoiNzM3NjI1Nzc0MDIzMjkyNjE0MSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 7a9d679f2a669432ba453bc549111b43b5112783e963bb9723a377da09dd4d39 |
| hovercard-subject-tag | issue:121120108 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/nodejs/node/4205/issue_layout |
| twitter:image | https://opengraph.githubassets.com/12c2bc5e8cd9fb8d937a5dcfa527c3e20a4e5e53a029d257e4245067f1e0c991/nodejs/node/issues/4205 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/12c2bc5e8cd9fb8d937a5dcfa527c3e20a4e5e53a029d257e4245067f1e0c991/nodejs/node/issues/4205 |
| og:image:alt | On Linux using current master, this code: 'use strict'; const common = require('../common'); const net = require('net'); const cluster = require('cluster'); cluster.schedulingPolicy = cluster.SCHED... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | Trott |
| hostname | github.com |
| expected-hostname | github.com |
| None | b92d11c0aa4a77d54ef4af1078b6a15fb5a70a215b30c4ecf28889d5a8e656d9 |
| turbo-cache-control | no-preview |
| go-import | github.com/nodejs/node git https://github.com/nodejs/node.git |
| octolytics-dimension-user_id | 9950313 |
| octolytics-dimension-user_login | nodejs |
| octolytics-dimension-repository_id | 27193779 |
| octolytics-dimension-repository_nwo | nodejs/node |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 27193779 |
| octolytics-dimension-repository_network_root_nwo | nodejs/node |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 2b8f23afb982271f1b22258a94aede67a6b77760 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width