On Saturday, 14 January 2017 11:55:56 PM AEDT Petter Reinholdtsen wrote: > Package: phantomjs > Version: 2.1.1+dfsg-2 > > When trying to render geotraceroute.com as PDF, I get this crash in > phantomjs: > > 2017-01-14T23:48:10 [FATAL] Could not initialize GLX > PhantomJS has crashed. Please read the bug reporting guide at > <http://phantomjs.org/bug-reporting.html> and file a bug report. > Aborted > > I expected it to render the web page to file instead of crashing.
As I can see from your reproducer example you did not read "README.Debian" where you could find information how to invoke "phantomjs" with "xvfb-run"... It is essential to pass the following option to "xvfb-run": --server-args="-screen 0 640x480x16" because by default Xvfb starts at 8bpp and GLX doesn't work at 8bpp. Read more at https://bugzilla.redhat.com/show_bug.cgi?id=904851 -- All the best, Dmitry Smirnov. --- It is impossible to imagine Goethe or Beethoven being good at billiards or golf. -- H. L. Mencken
signature.asc
Description: This is a digitally signed message part.