{"action":"created","issue":{"url":"https://api.github.com/repos/GoogleChrome/puppeteer/issues/1409","repository_url":"https://api.github.com/repos/GoogleChrome/puppeteer","labels_url":"https://api.github.com/repos/GoogleChrome/puppeteer/issues/1409/labels{/name}","comments_url":"https://api.github.com/repos/GoogleChrome/puppeteer/issues/1409/comments","events_url":"https://api.github.com/repos/GoogleChrome/puppeteer/issues/1409/events","html_url":"https://github.com/GoogleChrome/puppeteer/issues/1409","id":274860460,"number":1409,"title":"browser.newPage freezes","user":{"login":"sylvainlap","id":8457604,"avatar_url":"https://avatars0.githubusercontent.com/u/8457604?v=4","gravatar_id":"","url":"https://api.github.com/users/sylvainlap","html_url":"https://github.com/sylvainlap","followers_url":"https://api.github.com/users/sylvainlap/followers","following_url":"https://api.github.com/users/sylvainlap/following{/other_user}","gists_url":"https://api.github.com/users/sylvainlap/gists{/gist_id}","starred_url":"https://api.github.com/users/sylvainlap/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sylvainlap/subscriptions","organizations_url":"https://api.github.com/users/sylvainlap/orgs","repos_url":"https://api.github.com/users/sylvainlap/repos","events_url":"https://api.github.com/users/sylvainlap/events{/privacy}","received_events_url":"https://api.github.com/users/sylvainlap/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2017-11-17T13:10:39Z","updated_at":"2018-03-22T23:08:19Z","closed_at":"2017-11-21T09:23:10Z","author_association":"NONE","body":"### Steps to reproduce\r\n\r\n* Puppeteer version: 0.13.0\r\n* Platform / OS version: Clever Cloud scaler (linux exherbo)\r\n\r\n**What steps will reproduce the problem?**\r\n\r\nHere is the code:\r\n```\r\nconst puppeteer = require('puppeteer');\r\n\r\nconst browser = await puppeteer.launch({ executablePath = '/usr/bin/chromium' });\r\nconsole.log(browser);\r\nconst page = await browser.newPage();\r\nconsole.log(page);\r\n```\r\n\r\nThe code never reaches the `console.log(page)`.\r\n\r\nHere is the logs, with `DEBUG=puppeteer:*`\r\n\r\n```\r\n2017-11-17T13:00:51.063Z: Fri, 17 Nov 2017 13:00:50 GMT puppeteer:protocol SEND ► {\"id\":1,\"method\":\"Target.setDiscoverTargets\",\"params\":{\"discover\":true}}\r\n2017-11-17T13:00:51.063Z: Fri, 17 Nov 2017 13:00:50 GMT puppeteer:protocol ◀ RECV {\"method\":\"Target.targetCreated\",\"params\":{\"targetInfo\":{\"targetId\":\"4c5efd2b-a8b4-449e-bdb8-5c33dae85332\",\"type\":\"browser\",\"title\":\"\",\"url\":\"\",\"attached\":true}}}\r\n2017-11-17T13:00:51.063Z: Fri, 17 Nov 2017 13:00:50 GMT puppeteer:protocol ◀ RECV {\"method\":\"Target.targetCreated\",\"params\":{\"targetInfo\":{\"targetId\":\"5518b1d4-c7e9-4162-a914-6398a1516d22\",\"type\":\"page\",\"title\":\"\",\"url\":\"about:blank\",\"attached\":false}}}\r\n2017-11-17T13:00:51.064Z:  _maxListeners: undefined,\r\n2017-11-17T13:00:51.064Z: Fri, 17 Nov 2017 13:00:50 GMT puppeteer:protocol ◀ RECV {\"method\":\"Target.targetCreated\",\"params\":{\"targetInfo\":{\"targetId\":\"cbd9d93e-643a-4f4c-a6df-55f15f85c1cf\",\"type\":\"browser\",\"title\":\"\",\"url\":\"\",\"attached\":false}}}\r\n2017-11-17T13:00:51.064Z: Fri, 17 Nov 2017 13:00:50 GMT puppeteer:protocol ◀ RECV {\"id\":1,\"result\":{}}\r\n2017-11-17T13:00:51.064Z: Browser {\r\n2017-11-17T13:00:51.064Z:  domain: null,\r\n2017-11-17T13:00:51.064Z:  _events: {},\r\n2017-11-17T13:00:51.064Z:  _eventsCount: 0,\r\n2017-11-17T13:00:51.065Z:  _ignoreHTTPSErrors: false,\r\n2017-11-17T13:00:51.065Z:  _appMode: false,\r\n2017-11-17T13:00:51.065Z:  _screenshotTaskQueue: TaskQueue { _chain: Promise { undefined } },\r\n2017-11-17T13:00:51.065Z:  _connection:\r\n2017-11-17T13:00:51.065Z:   Connection {\r\n2017-11-17T13:00:51.065Z:     domain: null,\r\n2017-11-17T13:00:51.066Z:        'Target.targetInfoChanged': [Function: bound _targetInfoChanged] },\r\n2017-11-17T13:00:51.066Z:     _eventsCount: 3,\r\n2017-11-17T13:00:51.066Z:     _maxListeners: undefined,\r\n2017-11-17T13:00:51.066Z:     _url: 'ws://127.0.0.1:44123/devtools/browser/3c769f8c-7e3a-4eaf-b662-9cea95339100',\r\n2017-11-17T13:00:51.066Z:     _events:\r\n2017-11-17T13:00:51.066Z:      { 'Target.targetCreated': [AsyncFunction: bound _targetCreated],\r\n2017-11-17T13:00:51.066Z:        'Target.targetDestroyed': [AsyncFunction: bound _targetDestroyed],\r\n2017-11-17T13:00:51.067Z:     _delay: 0,\r\n2017-11-17T13:00:51.067Z:     _ws:\r\n2017-11-17T13:00:51.067Z:      WebSocket {\r\n2017-11-17T13:00:51.067Z:     _lastId: 1,\r\n2017-11-17T13:00:51.067Z:        domain: null,\r\n2017-11-17T13:00:51.067Z:     _callbacks: Map {},\r\n2017-11-17T13:00:51.067Z:        _events: [Object],\r\n2017-11-17T13:00:51.068Z:        extensions: {},\r\n2017-11-17T13:00:51.068Z:        _eventsCount: 4,\r\n2017-11-17T13:00:51.068Z:        _maxListeners: undefined,\r\n2017-11-17T13:00:51.068Z:        readyState: 1,\r\n2017-11-17T13:00:51.068Z:        protocol: '',\r\n2017-11-17T13:00:51.068Z:        bytesReceived: 530,\r\n2017-11-17T13:00:51.069Z:        _finalize: [Object],\r\n2017-11-17T13:00:51.069Z:        _closeTimer: null,\r\n2017-11-17T13:00:51.069Z:        _finalizeCalled: false,\r\n2017-11-17T13:00:51.069Z:        _binaryType: 'nodebuffer',\r\n2017-11-17T13:00:51.069Z:        _closeMessage: null,\r\n2017-11-17T13:00:51.070Z:        _socket: [Object],\r\n2017-11-17T13:00:51.070Z:        _receiver: [Object],\r\n2017-11-17T13:00:51.070Z:        _sender: [Object],\r\n2017-11-17T13:00:51.070Z:        _closeCode: null,\r\n2017-11-17T13:00:51.071Z:        protocolVersion: 13,\r\n2017-11-17T13:00:51.071Z:        _isServer: false,\r\n2017-11-17T13:00:51.071Z:        _ultron: [Object],\r\n2017-11-17T13:00:51.071Z:        url: 'ws://127.0.0.1:44123/devtools/browser/3c769f8c-7e3a-4eaf-b662-9cea95339100',\r\n2017-11-17T13:00:51.072Z:     _sessions: Map {},\r\n2017-11-17T13:00:51.072Z:     _closeCallback: [Function] },\r\n2017-11-17T13:00:51.072Z:        _req: null },\r\n2017-11-17T13:00:51.073Z:  _closeCallback: [Function: killChrome],\r\n2017-11-17T13:00:51.073Z:     '4c5efd2b-a8b4-449e-bdb8-5c33dae85332' => Target {\r\n2017-11-17T13:00:51.073Z:  _targets:\r\n2017-11-17T13:00:51.073Z:   Map {\r\n2017-11-17T13:00:51.073Z:     _browser: [Circular],\r\n2017-11-17T13:00:51.074Z:     _pagePromise: null,\r\n2017-11-17T13:00:51.074Z:     _initializedCallback: [Function],\r\n2017-11-17T13:00:51.074Z:     _initializedPromise: [Object],\r\n2017-11-17T13:00:51.074Z:     _targetInfo: [Object],\r\n2017-11-17T13:00:51.075Z:     _isInitialized: true },\r\n2017-11-17T13:00:51.075Z:     '5518b1d4-c7e9-4162-a914-6398a1516d22' => Target {\r\n2017-11-17T13:00:51.075Z:     _browser: [Circular],\r\n2017-11-17T13:00:51.075Z:     _targetInfo: [Object],\r\n2017-11-17T13:00:51.075Z:     _pagePromise: null,\r\n2017-11-17T13:00:51.075Z:     _initializedCallback: [Function],\r\n2017-11-17T13:00:51.076Z:     _initializedPromise: [Object],\r\n2017-11-17T13:00:51.076Z:     _isInitialized: true },\r\n2017-11-17T13:00:51.076Z:     'cbd9d93e-643a-4f4c-a6df-55f15f85c1cf' => Target {\r\n2017-11-17T13:00:51.076Z:     _browser: [Circular],\r\n2017-11-17T13:00:51.076Z:     _targetInfo: [Object],\r\n2017-11-17T13:00:51.077Z: Fri, 17 Nov 2017 13:00:50 GMT puppeteer:browser browser.newPage()\r\n2017-11-17T13:00:51.077Z: Fri, 17 Nov 2017 13:00:50 GMT puppeteer:protocol SEND ► {\"id\":2,\"method\":\"Target.createTarget\",\"params\":{\"url\":\"about:blank\"}}\r\n2017-11-17T13:00:51.077Z:     _pagePromise: null,\r\n2017-11-17T13:00:51.077Z:     _initializedCallback: [Function],\r\n2017-11-17T13:00:51.077Z:     _initializedPromise: [Object],\r\n2017-11-17T13:00:51.077Z:     _isInitialized: true } } }\r\n2017-11-17T13:00:51.078Z: Fri, 17 Nov 2017 13:00:50 GMT puppeteer:protocol ◀ RECV {\"method\":\"Target.targetCreated\",\"params\":{\"targetInfo\":{\"targetId\":\"b173b49e-99c7-4165-885f-0745f2aa21eb\",\"type\":\"page\",\"title\":\"\",\"url\":\"\",\"attached\":false}}}\r\n2017-11-17T13:00:51.078Z: Fri, 17 Nov 2017 13:00:50 GMT puppeteer:protocol ◀ RECV {\"id\":2,\"result\":{\"targetId\":\"b173b49e-99c7-4165-885f-0745f2aa21eb\"}}\r\n2017-11-17T13:01:49.812Z: ::ffff:62.210.92.244 - GET /export_to_pdf HTTP/1.1 - - - - ms\r\n```"},"comment":{"url":"https://api.github.com/repos/GoogleChrome/puppeteer/issues/comments/375486849","html_url":"https://github.com/GoogleChrome/puppeteer/issues/1409#issuecomment-375486849","issue_url":"https://api.github.com/repos/GoogleChrome/puppeteer/issues/1409","id":375486849,"user":{"login":"v1nc","id":15369688,"avatar_url":"https://avatars1.githubusercontent.com/u/15369688?v=4","gravatar_id":"","url":"https://api.github.com/users/v1nc","html_url":"https://github.com/v1nc","followers_url":"https://api.github.com/users/v1nc/followers","following_url":"https://api.github.com/users/v1nc/following{/other_user}","gists_url":"https://api.github.com/users/v1nc/gists{/gist_id}","starred_url":"https://api.github.com/users/v1nc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/v1nc/subscriptions","organizations_url":"https://api.github.com/users/v1nc/orgs","repos_url":"https://api.github.com/users/v1nc/repos","events_url":"https://api.github.com/users/v1nc/events{/privacy}","received_events_url":"https://api.github.com/users/v1nc/received_events","type":"User","site_admin":false},"created_at":"2018-03-22T23:08:19Z","updated_at":"2018-03-22T23:08:19Z","author_association":"NONE","body":"I installed the latest npm package (1.2.0) and `browser.newPage()`  freezes everytime after ~1k visited pages with the bundled chrome.  "}}
{"actor":{"display_login":"v1nc"}}