payload: {"action":"created","issue":{"url":"https://api.github.com/repos/elastic/apm-agent-nodejs/issues/1261","repository_url":"https://api.github.com/repos/elastic/apm-agent-nodejs","labels_url":"https://api.github.com/repos/elastic/apm-agent-nodejs/issues/1261/labels{/name}","comments_url":"https://api.github.com/repos/elastic/apm-agent-nodejs/issues/1261/comments","events_url":"https://api.github.com/repos/elastic/apm-agent-nodejs/issues/1261/events","html_url":"https://github.com/elastic/apm-agent-nodejs/issues/1261","id":477592960,"node_id":"MDU6SXNzdWU0Nzc1OTI5NjA=","number":1261,"title":"NodeJS v10.16.1 crash while using elastic-apm-node","user":{"login":"ronkorland","id":1866339,"node_id":"MDQ6VXNlcjE4NjYzMzk=","avatar_url":"https://avatars0.githubusercontent.com/u/1866339?v=4","gravatar_id":"","url":"https://api.github.com/users/ronkorland","html_url":"https://github.com/ronkorland","followers_url":"https://api.github.com/users/ronkorland/followers","following_url":"https://api.github.com/users/ronkorland/following{/other_user}","gists_url":"https://api.github.com/users/ronkorland/gists{/gist_id}","starred_url":"https://api.github.com/users/ronkorland/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ronkorland/subscriptions","organizations_url":"https://api.github.com/users/ronkorland/orgs","repos_url":"https://api.github.com/users/ronkorland/repos","events_url":"https://api.github.com/users/ronkorland/events{/privacy}","received_events_url":"https://api.github.com/users/ronkorland/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":10,"created_at":"2019-08-06T21:03:13Z","updated_at":"2019-08-11T19:46:00Z","closed_at":null,"author_association":"NONE","body":"**Describe the bug**\r\nSince I have started using elastic-apm-node, it has started throwing `Could not process callsites` errors and node process to crash :\r\n\r\nErrors:\r\n```\r\ncould not capture stack trace for span { span: '627f2bf485604de9',\r\n  parent: '5c26008e6557b10e',\r\n  trace: '5d8bc7df6238f7bf83bccf7a95c8ce0f',\r\n  name: 'GET',\r\n  type: 'cache.redis',\r\n  err: 'Could not process callsites' }\r\n\r\ncould not capture stack trace for span { span: 'e1e0625c65b656ca',\r\n  parent: '6ed44490829eabca',\r\n  trace: 'c4f78b304cf844d368b5830712c5c88f',\r\n  name: 'SELECT FROM `XXXX`',\r\n  type: 'db.mysql.query',\r\n  err: 'Could not process callsites' }\r\n```\r\n\r\nCrash error:\r\n```\r\n13 verbose stack Exit status 1\r\n13 verbose stack     at EventEmitter.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/index.js:301:16)\r\n13 verbose stack     at EventEmitter.emit (events.js:198:13)\r\n13 verbose stack     at ChildProcess.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:55:14)\r\n13 verbose stack     at ChildProcess.emit (events.js:198:13)\r\n13 verbose stack     at maybeClose (internal/child_process.js:982:16)\r\n13 verbose stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:259:5)\r\n```\r\n\r\n**To Reproduce**\r\nSteps to reproduce the behavior:\r\nUse this config \r\nnode v10.16.1 + npm v6.9.0 (docker base image: node:10-slim)\r\nelastic-apm-node v2.13.0\r\napm-server v6.5.4\r\nmongoose v5.6.2\r\nioredis v4.3.0\r\nmysql v2.16.0\r\nmysql2 v1.6.4 \r\n\r\n**Environment (please complete the following information)**\r\n- Docker base image: node:10-slim\r\n- OS: Debian\r\n- Node.js version: 10.16.1\r\n- APM Server version: 6.5.4\r\n- Agent version: 2.13.0\r\n\r\n**How are you starting the agent? (please tick one of the boxes)**\r\n- [x] Calling `agent.start()` directly (e.g. `require('elastic-apm-node').start(...)`)\r\n- [ ] Requiring `elastic-apm-node/start` from within the source code\r\n- [ ] Starting node with `-r elastic-apm-node/start`"},"comment":{"url":"https://api.github.com/repos/elastic/apm-agent-nodejs/issues/comments/520254954","html_url":"https://github.com/elastic/apm-agent-nodejs/issues/1261#issuecomment-520254954","issue_url":"https://api.github.com/repos/elastic/apm-agent-nodejs/issues/1261","id":520254954,"node_id":"MDEyOklzc3VlQ29tbWVudDUyMDI1NDk1NA==","user":{"login":"ronkorland","id":1866339,"node_id":"MDQ6VXNlcjE4NjYzMzk=","avatar_url":"https://avatars0.githubusercontent.com/u/1866339?v=4","gravatar_id":"","url":"https://api.github.com/users/ronkorland","html_url":"https://github.com/ronkorland","followers_url":"https://api.github.com/users/ronkorland/followers","following_url":"https://api.github.com/users/ronkorland/following{/other_user}","gists_url":"https://api.github.com/users/ronkorland/gists{/gist_id}","starred_url":"https://api.github.com/users/ronkorland/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ronkorland/subscriptions","organizations_url":"https://api.github.com/users/ronkorland/orgs","repos_url":"https://api.github.com/users/ronkorland/repos","events_url":"https://api.github.com/users/ronkorland/events{/privacy}","received_events_url":"https://api.github.com/users/ronkorland/received_events","type":"User","site_admin":false},"created_at":"2019-08-11T19:46:00Z","updated_at":"2019-08-11T19:46:00Z","author_association":"NONE","body":"I run my self-test with and without this module.\r\nWhen the module enabled (required) my application crashed "}}
other: {"actor":{"display_login":"ronkorland"}}