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

Python crashes when running mach test #3854

Closed
TileHalo opened this issue Oct 30, 2014 · 10 comments
Closed

Python crashes when running mach test #3854

TileHalo opened this issue Oct 30, 2014 · 10 comments

Comments

@TileHalo
Copy link
Contributor

@TileHalo TileHalo commented Oct 30, 2014

Hi!
When i run $ ./mach run tests/html/about-mozilla.html It prints following

ERROR:script::parse::html: Parse error: Unexpected token Error running mach:
['run', 'tests/html/about-mozilla.html']

The error occurred in code that was called by the mach command. This is either
a bug in the called code itself or in the way that mach is calling it.

You should consider filing a bug for this issue.

If filing a bug, please include the full output of mach, including this error
message.

The details of the failure are as follows:

CalledProcessError: Command '[u'target/servo', 'tests/html/about-mozilla.html']' returned non-zero exit status -11

File "/home/leo/code/job/mozilla/servo/python/servo/post_build_commands.py", line 26, in run
env=self.build_env())
File "/usr/lib/python2.7/subprocess.py", line 540, in check_call
raise CalledProcessError(retcode, cmd)

(edit) I pulled and now it says this. It was also the original message, but it printed the odd one once
@Ms2ger
Copy link
Contributor

@Ms2ger Ms2ger commented Oct 30, 2014

Did you succeed to build first?

@TileHalo
Copy link
Contributor Author

@TileHalo TileHalo commented Oct 30, 2014

Yes.

@jdm
Copy link
Member

@jdm jdm commented Nov 2, 2014

Any difference if you use target/servo tests/html/about-mozilla.html instead?

@TileHalo
Copy link
Contributor Author

@TileHalo TileHalo commented Nov 3, 2014

Issue #3867 seems to tell what happens. Im also running Arch Linux.

@agilob
Copy link

@agilob agilob commented Nov 5, 2014

Same error here, also Arch Linux. https://gist.github.com/agilob/aac801fd3bcba48743db

https://upload.agilob.net/qtox.webm
@jdm

:: ~/Projects/servo ‹master› » ./target/servo tests/html/about-mozilla.html
ERROR:script::parse::html: Parse error: Unexpected token
[1]    13269 segmentation fault (core dumped)  ./target/servo tests/html/about-mozilla.html

How can I help you debug it?

@jdm
Copy link
Member

@jdm jdm commented Nov 5, 2014

gdb --args target/servo tests/html/about-mozilla.html
(gdb) run
(gdb) backtrace

And paste the result here, please :)

@agilob
Copy link

@agilob agilob commented Nov 5, 2014

https://gist.github.com/agilob/6cd10419c865cce2b453

Window wasn't closed after SEGFAULT, I had to kill application

@jdm
Copy link
Member

@jdm jdm commented Nov 5, 2014

Looks like #3867 as well. Whee.

@agilob
Copy link

@agilob agilob commented Mar 18, 2015

It works here.

@jdm
Copy link
Member

@jdm jdm commented Mar 19, 2015

Great!

@jdm jdm closed this Mar 19, 2015
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
4 participants
You can’t perform that action at this time.