Created
June 6, 2016 14:47
-
-
Save jywarren/c83f582a2c2387cdbfc6925722398881 to your computer and use it in GitHub Desktop.
jasmine-rails phantomjs crash
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ rake spec:javascript | |
Running `"phantomjs" "--debug=true" "/home/warren/.rvm/gems/ruby-2.1.2/gems/jasmine-rails-0.12.2/lib/jasmine_rails/../assets/javascripts/jasmine-runner.js" "file:///home/warren/sites/plots2/tmp/jasmine/runner.html?spec="` | |
2016-06-06T10:45:04 [DEBUG] CookieJar - Created but will not store cookies (use option '--cookies-file=<filename>' to enable persistent cookie storage) | |
2016-06-06T10:45:04 [DEBUG] Set "http" proxy to: "" : 1080 | |
2016-06-06T10:45:04 [DEBUG] Phantom - execute: Configuration | |
2016-06-06T10:45:04 [DEBUG] 0 objectName : "" | |
2016-06-06T10:45:04 [DEBUG] 1 cookiesFile : "" | |
2016-06-06T10:45:04 [DEBUG] 2 diskCacheEnabled : "false" | |
2016-06-06T10:45:04 [DEBUG] 3 maxDiskCacheSize : "-1" | |
2016-06-06T10:45:04 [DEBUG] 4 diskCachePath : "" | |
2016-06-06T10:45:04 [DEBUG] 5 ignoreSslErrors : "false" | |
2016-06-06T10:45:04 [DEBUG] 6 localUrlAccessEnabled : "true" | |
2016-06-06T10:45:04 [DEBUG] 7 localToRemoteUrlAccessEnabled : "false" | |
2016-06-06T10:45:04 [DEBUG] 8 outputEncoding : "UTF-8" | |
2016-06-06T10:45:04 [DEBUG] 9 proxyType : "http" | |
2016-06-06T10:45:04 [DEBUG] 10 proxy : ":1080" | |
2016-06-06T10:45:04 [DEBUG] 11 proxyAuth : ":" | |
2016-06-06T10:45:04 [DEBUG] 12 scriptEncoding : "UTF-8" | |
2016-06-06T10:45:04 [DEBUG] 13 webSecurityEnabled : "true" | |
2016-06-06T10:45:04 [DEBUG] 14 offlineStoragePath : "" | |
2016-06-06T10:45:04 [DEBUG] 15 localStoragePath : "" | |
2016-06-06T10:45:04 [DEBUG] 16 localStorageDefaultQuota : "-1" | |
2016-06-06T10:45:04 [DEBUG] 17 offlineStorageDefaultQuota : "-1" | |
2016-06-06T10:45:04 [DEBUG] 18 printDebugMessages : "true" | |
2016-06-06T10:45:04 [DEBUG] 19 javascriptCanOpenWindows : "true" | |
2016-06-06T10:45:04 [DEBUG] 20 javascriptCanCloseWindows : "true" | |
2016-06-06T10:45:04 [DEBUG] 21 sslProtocol : "default" | |
2016-06-06T10:45:04 [DEBUG] 22 sslCiphers : "ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-SHA:ECDHE-ECDSA-AES128-SHA:ECDHE-RSA-AES128-SHA:ECDHE-RSA-AES256-SHA:ECDHE-ECDSA-RC4-SHA:ECDHE-RSA-RC4-SHA:DHE-RSA-AES128-SHA:DHE-DSS-AES128-SHA:DHE-RSA-AES256-SHA:AES128-GCM-SHA256:AES128-SHA:AES256-SHA:DES-CBC3-SHA:RC4-SHA:RC4-MD5" | |
2016-06-06T10:45:04 [DEBUG] 23 sslCertificatesPath : "" | |
2016-06-06T10:45:04 [DEBUG] 24 sslClientCertificateFile : "" | |
2016-06-06T10:45:04 [DEBUG] 25 sslClientKeyFile : "" | |
2016-06-06T10:45:04 [DEBUG] 26 sslClientKeyPassphrase : "" | |
2016-06-06T10:45:04 [DEBUG] 27 webdriver : ":" | |
2016-06-06T10:45:04 [DEBUG] 28 webdriverLogFile : "" | |
2016-06-06T10:45:04 [DEBUG] 29 webdriverLogLevel : "INFO" | |
2016-06-06T10:45:04 [DEBUG] 30 webdriverSeleniumGridHub : "" | |
2016-06-06T10:45:04 [DEBUG] Phantom - execute: Script & Arguments | |
2016-06-06T10:45:04 [DEBUG] script: "/home/warren/.rvm/gems/ruby-2.1.2/gems/jasmine-rails-0.12.2/lib/jasmine_rails/../assets/javascripts/jasmine-runner.js" | |
2016-06-06T10:45:04 [DEBUG] 0 arg: "file:///home/warren/sites/plots2/tmp/jasmine/runner.html?spec=" | |
2016-06-06T10:45:04 [DEBUG] Phantom - execute: Starting normal mode | |
2016-06-06T10:45:04 [DEBUG] WebPage - setupFrame "" | |
2016-06-06T10:45:04 [DEBUG] FileSystem - _open: ":/modules/fs.js" QMap(("mode", QVariant(QString, "r"))) | |
2016-06-06T10:45:04 [DEBUG] FileSystem - _open: ":/modules/system.js" QMap(("mode", QVariant(QString, "r"))) | |
2016-06-06T10:45:04 [DEBUG] FileSystem - _open: ":/modules/webpage.js" QMap(("mode", QVariant(QString, "r"))) | |
2016-06-06T10:45:04 [DEBUG] WebpageCallbacks - getGenericCallback | |
Running: file:///home/warren/sites/plots2/tmp/jasmine/runner.html?spec= | |
2016-06-06T10:45:04 [DEBUG] WebPage - updateLoadingProgress: 10 | |
2016-06-06T10:45:04 [DEBUG] WebPage - updateLoadingProgress: 50 | |
2016-06-06T10:45:04 [DEBUG] WebPage - setupFrame "" | |
2016-06-06T10:45:04 [DEBUG] WebPage - evaluateJavaScript "(function() { return (function () {\n return window.onload = function() {\n var exitCode = 0,\n originalReportSpecResults = jsApiReporter.reportSpecResults,\n originalJasmineDone = jsApiReporter.reportRunnerResults || jsApiReporter.jasmineDone;\n\n //jasmine 1.x - determine failure by overwriting #reportSpecResults\n jsApiReporter.reportSpecResults = function(spec) {\n originalReportSpecResults.call(jsApiReporter, spec);\n if (spec.results().failedCount > 0) {\n exitCode = 1;\n }\n };\n\n jsApiReporter.reportRunnerResults = jsApiReporter.jasmineDone = function(runner) {\n originalJasmineDone.call(jsApiReporter, runner);\n\n //jasmine 2.x - loop over the specs stored on the reporter to find failures\n if(jsApiReporter.specs) {\n jsApiReporter.specs().forEach(function(spec) {\n if(spec.status === \"failed\") {\n exitCode = 1;\n }\n })\n }\n\n setTimeout(function() {\n window.callPhantom({\n event: 'exit',\n exitCode: exitCode\n });\n }, 1);\n };\n };\n })(); })()" | |
2016-06-06T10:45:04 [DEBUG] WebPage - evaluateJavaScript result QVariant(QVariantMap, QMap()) | |
Starting... | |
Finished | |
----------------- | |
0 specs, 0 failures in 0.004s. | |
ConsoleReporter finished | |
2016-06-06T10:45:04 [DEBUG] WebPage - setupFrame "" | |
2016-06-06T10:45:04 [DEBUG] WebPage - evaluateJavaScript "(function() { return (function () {\n return window.onload = function() {\n var exitCode = 0,\n originalReportSpecResults = jsApiReporter.reportSpecResults,\n originalJasmineDone = jsApiReporter.reportRunnerResults || jsApiReporter.jasmineDone;\n\n //jasmine 1.x - determine failure by overwriting #reportSpecResults\n jsApiReporter.reportSpecResults = function(spec) {\n originalReportSpecResults.call(jsApiReporter, spec);\n if (spec.results().failedCount > 0) {\n exitCode = 1;\n }\n };\n\n jsApiReporter.reportRunnerResults = jsApiReporter.jasmineDone = function(runner) {\n originalJasmineDone.call(jsApiReporter, runner);\n\n //jasmine 2.x - loop over the specs stored on the reporter to find failures\n if(jsApiReporter.specs) {\n jsApiReporter.specs().forEach(function(spec) {\n if(spec.status === \"failed\") {\n exitCode = 1;\n }\n })\n }\n\n setTimeout(function() {\n window.callPhantom({\n event: 'exit',\n exitCode: exitCode\n });\n }, 1);\n };\n };\n })(); })()" | |
2016-06-06T10:45:04 [DEBUG] WebPage - evaluateJavaScript result QVariant(QVariantMap, QMap()) | |
2016-06-06T10:45:04 [DEBUG] WebPage - updateLoadingProgress: 100 | |
2016-06-06T10:45:04 [DEBUG] WebPage - updateLoadingProgress: 10 | |
2016-06-06T10:45:04 [DEBUG] WebPage - setupFrame "" | |
2016-06-06T10:45:04 [DEBUG] WebPage - evaluateJavaScript "(function() { return (function () {\n return window.onload = function() {\n var exitCode = 0,\n originalReportSpecResults = jsApiReporter.reportSpecResults,\n originalJasmineDone = jsApiReporter.reportRunnerResults || jsApiReporter.jasmineDone;\n\n //jasmine 1.x - determine failure by overwriting #reportSpecResults\n jsApiReporter.reportSpecResults = function(spec) {\n originalReportSpecResults.call(jsApiReporter, spec);\n if (spec.results().failedCount > 0) {\n exitCode = 1;\n }\n };\n\n jsApiReporter.reportRunnerResults = jsApiReporter.jasmineDone = function(runner) {\n originalJasmineDone.call(jsApiReporter, runner);\n\n //jasmine 2.x - loop over the specs stored on the reporter to find failures\n if(jsApiReporter.specs) {\n jsApiReporter.specs().forEach(function(spec) {\n if(spec.status === \"failed\") {\n exitCode = 1;\n }\n })\n }\n\n setTimeout(function() {\n window.callPhantom({\n event: 'exit',\n exitCode: exitCode\n });\n }, 1);\n };\n };\n })(); })()" | |
2016-06-06T10:45:04 [DEBUG] WebPage - evaluateJavaScript result QVariant(QVariantMap, QMap()) | |
PhantomJS has crashed. Please read the bug reporting guide at | |
<http://phantomjs.org/bug-reporting.html> and file a bug report. | |
Segmentation fault (core dumped) | |
rake aborted! | |
Error executing command: "phantomjs" "--debug=true" "/home/warren/.rvm/gems/ruby-2.1.2/gems/jasmine-rails-0.12.2/lib/jasmine_rails/../assets/javascripts/jasmine-runner.js" "file:///home/warren/sites/plots2/tmp/jasmine/runner.html?spec=" | |
/home/warren/.rvm/gems/ruby-2.1.2/gems/jasmine-rails-0.12.2/lib/jasmine_rails/runner.rb:73:in `run_cmd' | |
/home/warren/.rvm/gems/ruby-2.1.2/gems/jasmine-rails-0.12.2/lib/jasmine_rails/runner.rb:23:in `block in run' | |
/home/warren/.rvm/gems/ruby-2.1.2/gems/jasmine-rails-0.12.2/lib/jasmine_rails/runner.rb:50:in `override_rails_config' | |
/home/warren/.rvm/gems/ruby-2.1.2/gems/jasmine-rails-0.12.2/lib/jasmine_rails/runner.rb:9:in `run' | |
/home/warren/.rvm/gems/ruby-2.1.2/gems/jasmine-rails-0.12.2/lib/tasks/jasmine-rails_tasks.rake:9:in `block (2 levels) in <top (required)>' | |
/home/warren/.rvm/gems/ruby-2.1.2/bin/ruby_executable_hooks:15:in `eval' | |
/home/warren/.rvm/gems/ruby-2.1.2/bin/ruby_executable_hooks:15:in `<main>' | |
Tasks: TOP => spec:javascript | |
(See full trace by running task with --trace) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment