{"action":"created","issue":{"url":"https://api.github.com/repos/servo/servo/issues/10985","repository_url":"https://api.github.com/repos/servo/servo","labels_url":"https://api.github.com/repos/servo/servo/issues/10985/labels{/name}","comments_url":"https://api.github.com/repos/servo/servo/issues/10985/comments","events_url":"https://api.github.com/repos/servo/servo/issues/10985/events","html_url":"https://github.com/servo/servo/issues/10985","id":152692693,"number":10985,"title":"Can't run servo headlessly in Xvfb","user":{"login":"shinglyu","id":3250983,"avatar_url":"https://avatars.githubusercontent.com/u/3250983?v=3","gravatar_id":"","url":"https://api.github.com/users/shinglyu","html_url":"https://github.com/shinglyu","followers_url":"https://api.github.com/users/shinglyu/followers","following_url":"https://api.github.com/users/shinglyu/following{/other_user}","gists_url":"https://api.github.com/users/shinglyu/gists{/gist_id}","starred_url":"https://api.github.com/users/shinglyu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shinglyu/subscriptions","organizations_url":"https://api.github.com/users/shinglyu/orgs","repos_url":"https://api.github.com/users/shinglyu/repos","events_url":"https://api.github.com/users/shinglyu/events{/privacy}","received_events_url":"https://api.github.com/users/shinglyu/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-05-03T03:27:39Z","updated_at":"2016-05-03T20:13:25Z","closed_at":null,"body":"## Step to reproduce\r\nI follow @larsbergstrom 's instruction to start my Xvfb this way:\r\n```\r\nXvfb :10 -screen 0 1280x960x24 +extension RANDR +extension RENDER +extension GLX\r\n```\r\n\r\nThen I run servo in another shell\r\n```\r\nexport DISPLAY=:10\r\n./servo -z -x -o output.png about:blank                                                            \r\n```\r\nbut it crashes and produce the error messages below\r\n\r\nP.S. I copied the `servo` binary and `resources` folder instead of using `./mach run`, because I want to run tests on a specific Servo version in my CI system.\r\n\r\n## Environment\r\nServo version: 074c7e8aa0cdfbd9ff558a0189\r\nOS: Linux slyu-workstation 3.13.0-68-generic #111-Ubuntu SMP Fri Nov 6 18:17:06 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux (Linux Mint)\r\n\r\n## Logs\r\nServo:\r\n```\r\n./servo/servo -z -x -o output.png about:blank                                                            \r\nXlib:  extension \"XFree86-VidModeExtension\" missing on display \":10.0\".\r\nXlib:  extension \"GLX\" missing on display \":10.0\".\r\nXlib:  extension \"GLX\" missing on display \":10.0\".\r\n[1]    5098 segmentation fault (core dumped)  ./servo/servo -z -x -o output.png about:blank\r\n```\r\nXvfb: \r\n```\r\nInitializing built-in extension Generic Event Extension\r\nInitializing built-in extension SHAPE\r\nInitializing built-in extension MIT-SHM\r\nInitializing built-in extension XInputExtension\r\nInitializing built-in extension XTEST\r\nInitializing built-in extension BIG-REQUESTS\r\nInitializing built-in extension SYNC\r\nInitializing built-in extension XKEYBOARD\r\nInitializing built-in extension XC-MISC\r\nInitializing built-in extension SECURITY\r\nInitializing built-in extension XINERAMA\r\nInitializing built-in extension XFIXES\r\nInitializing built-in extension RENDER\r\nInitializing built-in extension RANDR\r\nInitializing built-in extension COMPOSITE\r\nInitializing built-in extension DAMAGE\r\nInitializing built-in extension MIT-SCREEN-SAVER\r\nInitializing built-in extension DOUBLE-BUFFER\r\nInitializing built-in extension RECORD\r\nInitializing built-in extension DPMS\r\nInitializing built-in extension Present\r\nInitializing built-in extension DRI3\r\nInitializing built-in extension X-Resource\r\nInitializing built-in extension XVideo\r\nInitializing built-in extension XVideo-MotionCompensation\r\nInitializing built-in extension SELinux\r\nInitializing built-in extension GLX\r\n[dix] Could not init font path element /usr/share/fonts/X11/cyrillic, removing from list!\r\n[dix] Could not init font path element /usr/share/fonts/X11/100dpi/:unscaled, removing from list!\r\n[dix] Could not init font path element /usr/share/fonts/X11/75dpi/:unscaled, removing from list!\r\n[dix] Could not init font path element /usr/share/fonts/X11/100dpi, removing from list!\r\n[dix] Could not init font path element /usr/share/fonts/X11/75dpi, removing from list!\r\n6 XSELINUXs still allocated at reset\r\nSCREEN: 0 objects of 256 bytes = 0 total bytes 0 private allocs\r\nDEVICE: 0 objects of 96 bytes = 0 total bytes 0 private allocs\r\nCLIENT: 0 objects of 144 bytes = 0 total bytes 0 private allocs\r\nWINDOW: 0 objects of 48 bytes = 0 total bytes 0 private allocs\r\nPIXMAP: 1 objects of 16 bytes = 16 total bytes 0 private allocs\r\nGC: 4 objects of 16 bytes = 64 total bytes 0 private allocs\r\nCURSOR: 1 objects of 8 bytes = 8 total bytes 0 private allocs\r\nTOTAL: 6 objects, 88 bytes, 0 allocs\r\n1 PIXMAPs still allocated at reset\r\nPIXMAP: 1 objects of 16 bytes = 16 total bytes 0 private allocs\r\nGC: 4 objects of 16 bytes = 64 total bytes 0 private allocs\r\nCURSOR: 1 objects of 8 bytes = 8 total bytes 0 private allocs\r\nTOTAL: 6 objects, 88 bytes, 0 allocs\r\n4 GCs still allocated at reset\r\nGC: 4 objects of 16 bytes = 64 total bytes 0 private allocs\r\nCURSOR: 1 objects of 8 bytes = 8 total bytes 0 private allocs\r\nTOTAL: 5 objects, 72 bytes, 0 allocs\r\n1 CURSORs still allocated at reset\r\nCURSOR: 1 objects of 8 bytes = 8 total bytes 0 private allocs\r\nTOTAL: 1 objects, 8 bytes, 0 allocs\r\n1 CURSOR_BITSs still allocated at reset\r\nTOTAL: 0 objects, 0 bytes, 0 allocs\r\n[dix] Could not init font path element /usr/share/fonts/X11/cyrillic, removing from list!\r\n[dix] Could not init font path element /usr/share/fonts/X11/100dpi/:unscaled, removing from list!\r\n[dix] Could not init font path element /usr/share/fonts/X11/75dpi/:unscaled, removing from list!\r\n[dix] Could not init font path element /usr/share/fonts/X11/100dpi, removing from list!\r\n[dix] Could not init font path element /usr/share/fonts/X11/75dpi, removing from list!\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/servo/servo/issues/comments/216650915","html_url":"https://github.com/servo/servo/issues/10985#issuecomment-216650915","issue_url":"https://api.github.com/repos/servo/servo/issues/10985","id":216650915,"user":{"login":"larsbergstrom","id":475847,"avatar_url":"https://avatars.githubusercontent.com/u/475847?v=3","gravatar_id":"","url":"https://api.github.com/users/larsbergstrom","html_url":"https://github.com/larsbergstrom","followers_url":"https://api.github.com/users/larsbergstrom/followers","following_url":"https://api.github.com/users/larsbergstrom/following{/other_user}","gists_url":"https://api.github.com/users/larsbergstrom/gists{/gist_id}","starred_url":"https://api.github.com/users/larsbergstrom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/larsbergstrom/subscriptions","organizations_url":"https://api.github.com/users/larsbergstrom/orgs","repos_url":"https://api.github.com/users/larsbergstrom/repos","events_url":"https://api.github.com/users/larsbergstrom/events{/privacy}","received_events_url":"https://api.github.com/users/larsbergstrom/received_events","type":"User","site_admin":false},"created_at":"2016-05-03T20:13:25Z","updated_at":"2016-05-03T20:13:25Z","body":"Just to confirm, do you have all of the relevant `mesa` packages installed? The list we have on our buildbot instances is here:\r\nhttps://github.com/servo/saltfs/blob/master/servo-build-dependencies/init.sls#L15-L25\r\n\r\nI'm not able to reproduce this problem locally, but my machine is configured identically to the Linux buildbots."}}