{"action":"opened","issue":{"url":"https://api.github.com/repos/restify/node-restify/issues/1724","repository_url":"https://api.github.com/repos/restify/node-restify","labels_url":"https://api.github.com/repos/restify/node-restify/issues/1724/labels{/name}","comments_url":"https://api.github.com/repos/restify/node-restify/issues/1724/comments","events_url":"https://api.github.com/repos/restify/node-restify/issues/1724/events","html_url":"https://github.com/restify/node-restify/issues/1724","id":383201648,"node_id":"MDU6SXNzdWUzODMyMDE2NDg=","number":1724,"title":"dyld: _usdt_create_provider - program abort on macOS 10.14.1","user":{"login":"onionyst","id":14269397,"node_id":"MDQ6VXNlcjE0MjY5Mzk3","avatar_url":"https://avatars0.githubusercontent.com/u/14269397?v=4","gravatar_id":"","url":"https://api.github.com/users/onionyst","html_url":"https://github.com/onionyst","followers_url":"https://api.github.com/users/onionyst/followers","following_url":"https://api.github.com/users/onionyst/following{/other_user}","gists_url":"https://api.github.com/users/onionyst/gists{/gist_id}","starred_url":"https://api.github.com/users/onionyst/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/onionyst/subscriptions","organizations_url":"https://api.github.com/users/onionyst/orgs","repos_url":"https://api.github.com/users/onionyst/repos","events_url":"https://api.github.com/users/onionyst/events{/privacy}","received_events_url":"https://api.github.com/users/onionyst/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-11-21T16:35:31Z","updated_at":"2018-11-21T16:35:31Z","closed_at":null,"author_association":"NONE","body":"- [x] Used appropriate template for the issue type\r\n- [x] Searched both open and closed issues for duplicates of this issue\r\n- [x] Title adequately and _concisely_ reflects the feature or the bug\r\n\r\n# Bug Report\r\n\r\n## Restify Version\r\n\r\n7.2.3\r\n\r\n## Node.js Version\r\n\r\n11.2.0\r\n\r\n## Expected behaviour\r\n\r\n> When I run `npm run dev` using RESTify, it should start the engine successfully. \r\n\r\n## Actual behaviour\r\n\r\n> I get the following output and the application quits. \r\n\r\n~~~\r\n> backend@1.0.0 dev /Users/onionyst/develops/backend\r\n> node src/index.js\r\n\r\ndyld: lazy symbol binding failed: Symbol not found: _usdt_create_provider\r\n  Referenced from: /Users/onionyst/develops/backend/node_modules/dtrace-provider/src/build/Release/DTraceProviderBindings.node\r\n  Expected in: flat namespace\r\n\r\ndyld: Symbol not found: _usdt_create_provider\r\n  Referenced from: /Users/onionyst/develops/backend/node_modules/dtrace-provider/src/build/Release/DTraceProviderBindings.node\r\n  Expected in: flat namespace\r\n\r\n[1]    23424 abort      npm run dev\r\n~~~\r\n\r\n## Repro case\r\n\r\n~~~javascript\r\nvar RESTify = require('restify');\r\n\r\nvar server = RESTify.createServer({\r\n  name: 'Test Server'\r\n})\r\n\r\nserver.listen(8081, () => {\r\n  console.log('%s listening at %s', server.name, server.url)\r\n})\r\n~~~\r\n\r\n> The program above will cause the problem. \r\n\r\n## Cause\r\n\r\n> I don't know how to trace a bug like this. \r\n> \r\n> The [hexojs/hexo](https://github.com/hexojs/hexo) project also crashes on [this](https://github.com/hexojs/hexo/issues/2803). Therefore, it seems not really a RESTify bug, but rather one under **dtrace-provider** used on a macOS 10.14.1 computer using HomeBrew, where the **dtrace-provider** is used by **bunyan**, which is then used by **restify**. Using `npm install --no-optional` will mitigate the error, but will involve other issues, i.e. using node-mongo-native will cause password strategy problems. \r\n\r\n## Are you willing and able to fix this?\r\n\r\n> No, I don't know how. \r\n> \r\n> I would be very delighted if you can confirm the cause of this problem, and give me a respond if you decide not to fix this for only rare situations, or to prevent it from happening in any directions. \r\n"}}
{"actor":{"display_login":"onionyst"}}