{"action":"created","issue":{"url":"https://api.github.com/repos/jaredhanson/passport/issues/444","labels_url":"https://api.github.com/repos/jaredhanson/passport/issues/444/labels{/name}","comments_url":"https://api.github.com/repos/jaredhanson/passport/issues/444/comments","events_url":"https://api.github.com/repos/jaredhanson/passport/issues/444/events","html_url":"https://github.com/jaredhanson/passport/issues/444","id":120456014,"number":444,"title":"uncaughtException: Maximum call stack size exceeded","user":{"login":"kauegimenes","id":7304741,"avatar_url":"https://avatars.githubusercontent.com/u/7304741?v=3","gravatar_id":"","url":"https://api.github.com/users/kauegimenes","html_url":"https://github.com/kauegimenes","followers_url":"https://api.github.com/users/kauegimenes/followers","following_url":"https://api.github.com/users/kauegimenes/following{/other_user}","gists_url":"https://api.github.com/users/kauegimenes/gists{/gist_id}","starred_url":"https://api.github.com/users/kauegimenes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kauegimenes/subscriptions","organizations_url":"https://api.github.com/users/kauegimenes/orgs","repos_url":"https://api.github.com/users/kauegimenes/repos","events_url":"https://api.github.com/users/kauegimenes/events{/privacy}","received_events_url":"https://api.github.com/users/kauegimenes/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-12-04T18:13:54Z","updated_at":"2016-01-21T01:52:01Z","closed_at":"2015-12-08T00:36:24Z","body":"passport v0.3.2\r\nNode.js v0.10.37\r\n\r\nI am getting a Maximum call stack size exceeded exception everytime i use the function `req.login`\r\n\r\n````\r\nuncaughtException: Maximum call stack size exceeded\r\n{  \r\n  \"process\": {\r\n    \"execPath\": \"/usr/local/bin/node\",\r\n    \"version\": \"v0.10.37\",\r\n    \"argv\": [\r\n      \"/usr/local/bin/node\",\r\n      \"/usr/lib/node_modules/pm2/lib/ProcessContainer.js\"\r\n    ],\r\n    \"memoryUsage\": {\r\n      \"rss\": 129265664,\r\n      \"heapTotal\": 114848000,\r\n      \"heapUsed\": 88313120\r\n    }\r\n  },\r\n  \"os\": {\r\n    \"loadavg\": [\r\n      0.14013671875,\r\n      0.12353515625,\r\n      0.091796875\r\n    ],\r\n    \"uptime\": 3951782.155162147\r\n  },\r\n  \"trace\": [],\r\n  \"stack\": null\r\n}\r\n\r\n`````\r\n\r\nThere is no stacktrace, but i was able to reproduce and the problem is related with `req.login`\r\n\r\nhttps://github.com/jaredhanson/passport/blob/master/lib/http/request.js#L31\r\n\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/jaredhanson/passport/issues/comments/173425856","html_url":"https://github.com/jaredhanson/passport/issues/444#issuecomment-173425856","issue_url":"https://api.github.com/repos/jaredhanson/passport/issues/444","id":173425856,"user":{"login":"lifasky","id":4081794,"avatar_url":"https://avatars.githubusercontent.com/u/4081794?v=3","gravatar_id":"","url":"https://api.github.com/users/lifasky","html_url":"https://github.com/lifasky","followers_url":"https://api.github.com/users/lifasky/followers","following_url":"https://api.github.com/users/lifasky/following{/other_user}","gists_url":"https://api.github.com/users/lifasky/gists{/gist_id}","starred_url":"https://api.github.com/users/lifasky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lifasky/subscriptions","organizations_url":"https://api.github.com/users/lifasky/orgs","repos_url":"https://api.github.com/users/lifasky/repos","events_url":"https://api.github.com/users/lifasky/events{/privacy}","received_events_url":"https://api.github.com/users/lifasky/received_events","type":"User","site_admin":false},"created_at":"2016-01-21T01:52:01Z","updated_at":"2016-01-21T01:52:01Z","body":"I m getting the same Maximum call stack size exceeded issue too. Can not find out why yet."}}