Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Servo on Windows is sometimes failing with return value 127 #9541

Closed
jasonwilliams opened this issue Feb 4, 2016 · 4 comments
Closed

Servo on Windows is sometimes failing with return value 127 #9541

jasonwilliams opened this issue Feb 4, 2016 · 4 comments
Labels

Comments

@jasonwilliams
Copy link
Contributor

@jasonwilliams jasonwilliams commented Feb 4, 2016

On my host machine
RUST_BACKTRACE=1 target/debug/servo.exe tests/html/about-mozilla.html
works, loads up the window and shows the book of mozilla.
However, when i run via ./mach i get

Jason@DESKTOP-P2J3G0V MINGW64 ~/servo
$ ./mach run tests/html/about-mozilla.html
Servo exited with return value 127

When running without the rust backtrace Env i get....

$ target/debug/servo.exe tests/html/about-mozilla.html
thread '<main>' panicked at 'called `Option::unwrap()` on a `None` value', ../src/libcore\option.rs:330

This is a bit hard to debug without a backtrace, whats the difference between the 2?

@jasonwilliams
Copy link
Contributor Author

@jasonwilliams jasonwilliams commented Feb 4, 2016

I've moved the conversation from #9468 to this ticket as the previous ticket was about a separate issue

@jasonwilliams
Copy link
Contributor Author

@jasonwilliams jasonwilliams commented Feb 4, 2016

Here is whats outputted when i run ./mach env

Jason@DESKTOP-P2J3G0V MINGW64 ~/servo
$ ./mach env
export PATH=/home/Jason/servo/.servo/rust/2015-12-27/rustc-nightly-x86_64-pc-win dows-gnu/rustc/bin:/home/Jason/servo/.servo/rust/2015-12-27/rustc-nightly-x86_64 -pc-windows-gnu/bin:/home/Jason/servo/.servo/cargo/2015-10-01/cargo/bin:/home/Ja son/servo/.servo/cargo/2015-10-01/bin:/home/Jason/servo/python/_virtualenv/bin:/ mingw64/bin:/usr/local/bin:/usr/bin:/bin:/c/ProgramData/Oracle/Java/javapath:/c/ WINDOWS/system32:/c/WINDOWS:/c/WINDOWS/System32/Wbem:/c/WINDOWS/System32/Windows PowerShell/v1.0:/c/Program Files (x86)/Git/bin:/c/Program Files/nodejs:/c/php:/c /ProgramData/ComposerSetup/bin:/c/Program Files/Microsoft Windows Performance To olkit:/c/Program Files (x86)/Windows Kits/10/Windows Performance Toolkit:/c/Prog ram Files/Microsoft SQL Server/110/Tools/Binn:/c/Program Files (x86)/Microsoft S DKs/TypeScript/1.0:/c/Go/bin:/c/HashiCorp/Vagrant/bin:/c/ProgramData/chocolatey/ bin:/c/Program Files (x86)/vim/vim74:/c/Program Files/TortoiseSVN/bin:/c/ProgramFiles (x86)/Skype/Phone:/c/Ruby22-x64/bin:/c/Users/Jason/.dnx/bin:/c/WINDOWS/sy stem32:/c/WINDOWS:/c/WINDOWS/System32/Wbem:/c/WINDOWS/System32/WindowsPowerShell /v1.0:/c/Go/bin:/c/Program Files (x86)/Git/bin:/c/Program Files/nodejs:/c/php:/c /Users/Jason/AppData/Roaming/npm:/c/Python27:/c/Python27/Scripts:/c/Program File s (x86)/Microsoft Visual Studio 10.0/VC/bin:/c/Program Files/Oracle/VirtualBox:/ c/Program Files/Rust stable 1.4/bin:/c/Program Files (x86)/Nmap:/c/Program Files /Sublime Text 3:/c/Users/Jason/AppData/Local/atom/bin:/usr/bin/site_perl:/usr/bi n/vendor_perl:/usr/bin/core_perl
export LD_LIBRARY_PATH=/home/Jason/servo/.servo/rust/2015-12-27/rustc-nightly-x8 6_64-pc-windows-gnu/rustc/lib:/home/Jason/servo/.servo/rust/2015-12-27/rustc-nig htly-x86_64-pc-windows-gnu/lib:

And my echo $PATH

$ echo $PATH
/mingw64/bin:/usr/local/bin:/usr/bin:/bin:/c/ProgramData/Oracle/Java/javapath:/c/WINDOWS/system32:/c/WINDOWS:/c/WINDOWS/System32/Wbem:/c/WINDOWS/System32/WindowsPowerShell/v1.0:/c/Program Files (x86)/Git/bin:/c/Program Files/nodejs:/c/php:/c/ProgramData/ComposerSetup/bin:/c/Program Files/Microsoft Windows Performance Toolkit:/c/Program Files (x86)/Windows Kits/10/Windows Performance Toolkit:/c/Program Files/Microsoft SQL Server/110/Tools/Binn:/c/Program Files (x86)/Microsoft SDKs/TypeScript/1.0:/c/Go/bin:/c/HashiCorp/Vagrant/bin:/c/ProgramData/chocolatey/bin:/c/Program Files (x86)/vim/vim74:/c/Program Files/TortoiseSVN/bin:/c/Program Files (x86)/Skype/Phone:/c/Ruby22-x64/bin:/c/Users/Jason/.dnx/bin:/c/WINDOWS/system32:/c/WINDOWS:/c/WINDOWS/System32/Wbem:/c/WINDOWS/System32/WindowsPowerShell/v1.0:/c/Go/bin:/c/Program Files (x86)/Git/bin:/c/Program Files/nodejs:/c/php:/c/Users/Jason/AppData/Roaming/npm:/c/Python27:/c/Python27/Scripts:/c/Program Files (x86)/Microsoft Visual Studio 10.0/VC/bin:/c/Program Files/Oracle/VirtualBox:/c/Program Files/Rust stable 1.4/bin:/c/Program Files (x86)/Nmap:/c/Program Files/Sublime Text 3:/c/Users/Jason/AppData/Local/atom/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl

@jdm here is a comparison of the two

@jdm jdm added the P-windows label Feb 4, 2016
@jasonwilliams
Copy link
Contributor Author

@jasonwilliams jasonwilliams commented Feb 4, 2016

Looks like this issue is a duplicate of #9465

@frewsxcv
Copy link
Member

@frewsxcv frewsxcv commented May 7, 2016

#9465 was resolved by #10223, so closing this.

@frewsxcv frewsxcv closed this May 7, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants
You can’t perform that action at this time.