{"action":"created","issue":{"url":"https://api.github.com/repos/GoogleChrome/puppeteer/issues/2161","repository_url":"https://api.github.com/repos/GoogleChrome/puppeteer","labels_url":"https://api.github.com/repos/GoogleChrome/puppeteer/issues/2161/labels{/name}","comments_url":"https://api.github.com/repos/GoogleChrome/puppeteer/issues/2161/comments","events_url":"https://api.github.com/repos/GoogleChrome/puppeteer/issues/2161/events","html_url":"https://github.com/GoogleChrome/puppeteer/issues/2161","id":303505229,"number":2161,"title":"Sandbox fails on system with Linux 4.15","user":{"login":"bobajeff","id":8573364,"avatar_url":"https://avatars0.githubusercontent.com/u/8573364?v=4","gravatar_id":"","url":"https://api.github.com/users/bobajeff","html_url":"https://github.com/bobajeff","followers_url":"https://api.github.com/users/bobajeff/followers","following_url":"https://api.github.com/users/bobajeff/following{/other_user}","gists_url":"https://api.github.com/users/bobajeff/gists{/gist_id}","starred_url":"https://api.github.com/users/bobajeff/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bobajeff/subscriptions","organizations_url":"https://api.github.com/users/bobajeff/orgs","repos_url":"https://api.github.com/users/bobajeff/repos","events_url":"https://api.github.com/users/bobajeff/events{/privacy}","received_events_url":"https://api.github.com/users/bobajeff/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-03-08T14:47:28Z","updated_at":"2018-04-11T02:27:02Z","closed_at":"2018-04-11T02:27:02Z","author_association":"NONE","body":"### Steps to reproduce\r\n\r\n**Tell us about your environment:**\r\n\r\n* Puppeteer version: puppeteer@1.1.1\r\n* Platform / OS version: Manjaro Linux 17.1.6 with Linux 4.15\r\n* Node.js version: v9.7.1\r\n\r\n**What steps will reproduce the problem?**\r\n\r\nThis fails on the `example.js` from the Getting Started section:\r\n```javascript\r\n\r\nconst puppeteer = require('puppeteer');\r\n\r\n(async () => {\r\n  const browser = await puppeteer.launch();\r\n  const page = await browser.newPage();\r\n  await page.goto('https://example.com');\r\n  await page.screenshot({path: 'example.png'});\r\n\r\n  await browser.close();\r\n})();\r\n```\r\n\r\n1. run node example.js\r\n\r\n**What is the expected result?**\r\nI believe it should use the namespace sandbox since my kernel is well above 3.8.\r\n\r\n**What happens instead?**\r\nHere's the console output:\r\n```\r\n(node:2685) UnhandledPromiseRejectionWarning: Error: Failed to launch chrome!\r\n[0308/081346.497090:FATAL:zygote_host_impl_linux.cc(124)] No usable sandbox! Update your kernel or see https://chromium.googlesource.com/chromium/src/+/master/docs/linux_suid_sandbox_development.md for more information on developing with the SUID sandbox. If you want to live dangerously and need an immediate workaround, you can try using --no-sandbox.\r\n#0 0x556d8e77a8ec base::debug::StackTrace::StackTrace()\r\n#1 0x556d8e792770 logging::LogMessage::~LogMessage()\r\n#2 0x556d8d84cf61 content::ZygoteHostImpl::Init()\r\n#3 0x556d8d4c73b5 content::BrowserMainLoop::EarlyInitialization()\r\n#4 0x556d8d4cd30a content::BrowserMainRunnerImpl::Initialize()\r\n#5 0x556d927348f8 headless::HeadlessContentMainDelegate::RunProcess()\r\n#6 0x556d8e4b4160 content::RunNamedProcessTypeMain()\r\n#7 0x556d8e4b4ab6 content::ContentMainRunnerImpl::Run()\r\n#8 0x556d8e4bdd59 service_manager::Main()\r\n#9 0x556d8e4b3661 content::ContentMain()\r\n#10 0x556d927339f8 headless::(anonymous namespace)::RunContentMain()\r\n#11 0x556d92733a6e headless::HeadlessBrowserMain()\r\n#12 0x556d8e4bac49 headless::HeadlessShellMain()\r\n#13 0x556d8cd6a1c4 ChromeMain\r\n#14 0x7f8b55554f4a __libc_start_main\r\n#15 0x556d8cd6a02a _start\r\n\r\nReceived signal 6\r\n#0 0x556d8e77a8ec base::debug::StackTrace::StackTrace()\r\n#1 0x556d8e77a451 base::debug::(anonymous namespace)::StackDumpSignalHandler()\r\n#2 0x7f8b5b50fdd0 <unknown>\r\n#3 0x7f8b55568860 __GI_raise\r\n#4 0x7f8b55569ec9 __GI_abort\r\n#5 0x556d8e778ee5 base::debug::BreakDebugger()\r\n#6 0x556d8e792bbb logging::LogMessage::~LogMessage()\r\n#7 0x556d8d84cf61 content::ZygoteHostImpl::Init()\r\n#8 0x556d8d4c73b5 content::BrowserMainLoop::EarlyInitialization()\r\n#9 0x556d8d4cd30a content::BrowserMainRunnerImpl::Initialize()\r\n#10 0x556d927348f8 headless::HeadlessContentMainDelegate::RunProcess()\r\n#11 0x556d8e4b4160 content::RunNamedProcessTypeMain()\r\n#12 0x556d8e4b4ab6 content::ContentMainRunnerImpl::Run()\r\n#13 0x556d8e4bdd59 service_manager::Main()\r\n#14 0x556d8e4b3661 content::ContentMain()\r\n#15 0x556d927339f8 headless::(anonymous namespace)::RunContentMain()\r\n#16 0x556d92733a6e headless::HeadlessBrowserMain()\r\n#17 0x556d8e4bac49 headless::HeadlessShellMain()\r\n#18 0x556d8cd6a1c4 ChromeMain\r\n#19 0x7f8b55554f4a __libc_start_main\r\n#20 0x556d8cd6a02a _start\r\n  r8: 0000000000000000  r9: 00007ffdf09a60b0 r10: 0000000000000008 r11: 0000000000000246\r\n r12: 00007ffdf09a67b8 r13: 0000000000000161 r14: 00007ffdf09a67c0 r15: 00007ffdf09a6359\r\n  di: 0000000000000002  si: 00007ffdf09a60b0  bp: 00007ffdf09a6300  bx: 0000000000000006\r\n  dx: 0000000000000000  ax: 0000000000000000  cx: 00007f8b55568860  sp: 00007ffdf09a60b0\r\n  ip: 00007f8b55568860 efl: 0000000000000246 cgf: 002b000000000033 erf: 0000000000000000\r\n trp: 0000000000000000 msk: 0000000000000000 cr2: 0000000000000000\r\n[end of stack trace]\r\nCalling _exit(1). Core file will not be generated.\r\n\r\n\r\nTROUBLESHOOTING: https://github.com/GoogleChrome/puppeteer/blob/master/docs/troubleshooting.md\r\n\r\n    at onClose (/home/megadyne/myapp/fixpuppeteer/node_modules/puppeteer/lib/Launcher.js:239:14)\r\n    at Interface.helper.addEventListener (/home/megadyne/myapp/fixpuppeteer/node_modules/puppeteer/lib/Launcher.js:228:50)\r\n    at Interface.emit (events.js:132:15)\r\n    at Interface.close (readline.js:379:8)\r\n    at Socket.onend (readline.js:152:10)\r\n    at Socket.emit (events.js:132:15)\r\n    at endReadableNT (_stream_readable.js:1101:12)\r\n    at process._tickCallback (internal/process/next_tick.js:114:19)\r\n(node:2685) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)\r\n(node:2685) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.\r\n```\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/GoogleChrome/puppeteer/issues/comments/380306200","html_url":"https://github.com/GoogleChrome/puppeteer/issues/2161#issuecomment-380306200","issue_url":"https://api.github.com/repos/GoogleChrome/puppeteer/issues/2161","id":380306200,"user":{"login":"aslushnikov","id":746130,"avatar_url":"https://avatars3.githubusercontent.com/u/746130?v=4","gravatar_id":"","url":"https://api.github.com/users/aslushnikov","html_url":"https://github.com/aslushnikov","followers_url":"https://api.github.com/users/aslushnikov/followers","following_url":"https://api.github.com/users/aslushnikov/following{/other_user}","gists_url":"https://api.github.com/users/aslushnikov/gists{/gist_id}","starred_url":"https://api.github.com/users/aslushnikov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aslushnikov/subscriptions","organizations_url":"https://api.github.com/users/aslushnikov/orgs","repos_url":"https://api.github.com/users/aslushnikov/repos","events_url":"https://api.github.com/users/aslushnikov/events{/privacy}","received_events_url":"https://api.github.com/users/aslushnikov/received_events","type":"User","site_admin":false},"created_at":"2018-04-11T02:27:02Z","updated_at":"2018-04-11T02:27:02Z","author_association":"CONTRIBUTOR","body":"This is a chromium issue. We don't deal with internals of chromium sandboxing and won't be able to help, please file upstream to the https://crbug.com/new."}}
{"actor":{"display_login":"aslushnikov"}}