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

codegen: Fix dictionary handling and semantics #11155

Merged
merged 6 commits into from May 13, 2016

Conversation

@emilio
Copy link
Member

emilio commented May 12, 2016

Thank you for contributing to Servo! Please replace each [ ] by [X] when the step is complete, and replace __ with appropriate data:

  • ./mach build -d does not report any errors
  • ./mach test-tidy does not report any errors
  • These changes fix #11152 (github issue number if applicable).

Either:

  • There are tests for these changes OR
  • These changes do not require tests because _____

Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process.

Fixes #11152


This change is Reviewable

Fixes #11152
@highfive
Copy link

highfive commented May 12, 2016

Heads up! This PR modifies the following files:

  • @KiChjang: components/script/dom/bindings/codegen/CodegenRust.py
@highfive
Copy link

highfive commented May 12, 2016

warning Warning warning

  • These commits modify script code, but no tests are modified. Please consider adding a test!
@emilio
Copy link
Member Author

emilio commented May 12, 2016

r? @asajeffrey

Not sure about how to test it, since we only trigger mozbrowser errors on panics... I'll look for some other reserved keyword in the idls.

@highfive highfive assigned asajeffrey and unassigned glennw May 12, 2016
@asajeffrey
Copy link
Member

asajeffrey commented May 12, 2016

Indeed, testing is going to be tricky.

@asajeffrey
Copy link
Member

asajeffrey commented May 12, 2016

r=me once the testing story is worked out.

@highfive
Copy link

highfive commented May 12, 2016

New code was committed to pull request.

@emilio
Copy link
Member Author

emilio commented May 12, 2016

I'm having local problems with the test I've just written, so I'm going to do a try run.

The problem is that for some reason even when the isKeywordTypeSuccess function in the bindings output is called, the rust function IsKeywordTypeSuccess isn't, and the script thread goes into an idle state before finishing to execute the script.

So the only output I'm seeing is:

created
received: 
success

I'm fearing this is a bug in our conversions for TestDictionary that somehow corrupts the stack, but I'm not sure. Running this with debug-mozjs gives no clues, and the same result. (See jdm's comment below)

@emilio
Copy link
Member Author

emilio commented May 12, 2016

@bors-servo
Copy link
Contributor

bors-servo commented May 12, 2016

Trying commit a7748c8 with merge fbb6b30...

bors-servo added a commit that referenced this pull request May 12, 2016
codegen: Use the non-mangled name in set_dictionary_property

Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data:
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #11152 (github issue number if applicable).

Either:
- [ ] There are tests for these changes OR
- [ ] These changes do not require tests because _____

Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process.

Fixes #11152

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11155)
<!-- Reviewable:end -->
@emilio emilio force-pushed the emilio:codegen-dict-keyword branch from a7748c8 to 76740e3 May 12, 2016
@highfive
Copy link

highfive commented May 12, 2016

New code was committed to pull request.

@emilio
Copy link
Member Author

emilio commented May 12, 2016

@bors-servo: try- clean try

(Fixed tidy)

@jdm
Copy link
Member

jdm commented May 12, 2016

Rather than corrupting the stack, I suspect that a generated binding function is returning false at some point which silently suspends JS execution.

@emilio emilio force-pushed the emilio:codegen-dict-keyword branch from 76740e3 to 35e7843 May 12, 2016
@highfive
Copy link

highfive commented May 12, 2016

New code was committed to pull request.

@emilio emilio force-pushed the emilio:codegen-dict-keyword branch from 35e7843 to 0edf400 May 12, 2016
@highfive
Copy link

highfive commented May 12, 2016

New code was committed to pull request.

@emilio emilio force-pushed the emilio:codegen-dict-keyword branch from 0edf400 to 016b3ad May 12, 2016
@highfive
Copy link

highfive commented May 12, 2016

New code was committed to pull request.

@emilio emilio force-pushed the emilio:codegen-dict-keyword branch from 016b3ad to 45e5781 May 12, 2016
@highfive
Copy link

highfive commented May 12, 2016

New code was committed to pull request.

1 similar comment
@highfive
Copy link

highfive commented May 12, 2016

New code was committed to pull request.

@emilio
Copy link
Member Author

emilio commented May 12, 2016

This should be ready for re-review.

The problem was that when we convert a rust dictionary to js, we setted the properties even when they were None (that is the value we use to represent that a prop isn't setted in JS). It seems this was not the correct behaviour per http://heycam.github.io/webidl/#es-dictionary, and the PR changes it.

Going to do a try run to check if we rely on the old semantics:

@bors-servo: try

@bors-servo
Copy link
Contributor

bors-servo commented May 13, 2016

Testing commit 85cc140 with merge 669420e...

bors-servo added a commit that referenced this pull request May 13, 2016
codegen: Fix dictionary handling and semantics

Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data:
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #11152 (github issue number if applicable).

Either:
- [x] There are tests for these changes OR
- [ ] These changes do not require tests because _____

Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process.

Fixes #11152

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11155)
<!-- Reviewable:end -->
@bors-servo
Copy link
Contributor

bors-servo commented May 13, 2016

💔 Test failed - mac-rel-wpt

@highfive
Copy link

highfive commented May 13, 2016

  ▶ TIMEOUT [expected OK] /cors/redirect-origin.htm
  │ 
  │ thread &#39;http_loader for http://www1.web-platform.test:8000/cors/resources/cors-makeheader.py?origin=http://www1.web-platform.test:8000&amp;location=http%3A%2F%2Fwww1.web-platform.test%3A8000%2Fcors%2Fresources%2Fcors-makeheader.py%3Forigin%3D*%26get_value%3Dlast%2642_1&amp;42_0&#39; panicked at &#39;could not initialize thread_rng: Too many open files (os error 24)&#39;, /Users/servo/.cargo/registry/src/github.com-88ac128001ac3a9a/rand-0.3.14/src/lib.rs:873
  │ stack backtrace:
  │    1:        0x10ada3e08 - std::sys::backtrace::tracing::imp::write::h9fb600083204ae7f
  │    2:        0x10adaa225 - std::panicking::default_hook::_$u7b$$u7b$closure$u7d$$u7d$::hca543c34f11229ac
  │    3:        0x10ada9e3e - std::panicking::default_hook::hc2c969e7453d080c
  │    4:        0x10a514d92 - util::panicking::initiate_panic_hook::_$u7b$$u7b$closure$u7d$$u7d$::_$u7b$$u7b$closure$u7d$$u7d$::h0bad41b0b38a855d
  │    5:        0x10ad914d8 - std::sys_common::unwind::begin_unwind_inner::h30e12d15ce2b2e25
  │    6:        0x10ad92e0e - std::sys_common::unwind::begin_unwind_fmt::hb2de8a9968d38523
  │    7:        0x10ace7abf - rand::thread_rng::THREAD_RNG_KEY::__init::h95086aa3feb19f11
  │ thread &#39;http_loader for http://www1.web-platform.test:8000/cors/resources/cors-makeheader.py?origin=http://web-platform.test:8000&amp;location=http%3A%2F%2Fwww2.web-platform.test%3A8000%2Fcors%2Fresources%2Fcors-makeheader.py%3Forigin%3Dhttp%3A%2F%2Fweb-platform.test%3A8000%26get_value%3Dlast%2635_1&amp;35_0&#39; panicked at &#39;could not initialize thread_rng: Too many open files (os error 24)&#39;, /Users/servo/.cargo/registry/src/github.com-88ac128001ac3a9a/rand-0.3.14/src/lib.rs:873
  │    8:        0x10ace78fc - rand::thread_rng::h685796b33c6d5157
  │    9:        0x10acb0f92 - uuid::Uuid::new_v4::hf5742953332a48bd
  │   10:        0x10989c22b - net::http_loader::load::h68b5ac4fbf09d0a1
  │   11:        0x109897d30 - std::sys_common::unwind::try::try_fn::hf6af0c92daa7bda1
  │   12:        0x10ada306b - __rust_try
  │   13:        0x10ada2ff3 - std::sys_common::unwind::inner_try::h47a4d9cd4a369dcd
  │   14:        0x109899a31 - _&lt;F as std..boxed..FnBox&lt;A&gt;&gt;::call_box::h3f7304fdb410ded0
  │   15:        0x10ada92a8 - std::sys::thread::Thread::new::thread_start::h6f266e069bf4ec2b
  │   16:     0x7fff8c3c2059 - _pthread_body
  │   17:     0x7fff8c3c1fd6 - _pthread_start
  │ stack backtrace:
  │    1:        0x10ada3e08 - std::sys::backtrace::tracing::imp::write::h9fb600083204ae7f
  │    2:        0x10adaa225 - std::panicking::default_hook::_$u7b$$u7b$closure$u7d$$u7d$::hca543c34f11229ac
  │    3:        0x10ada9e3e - std::panicking::default_hook::hc2c969e7453d080c
  │    4:        0x10a514d92 - util::panicking::initiate_panic_hook::_$u7b$$u7b$closure$u7d$$u7d$::_$u7b$$u7b$closure$u7d$$u7d$::h0bad41b0b38a855d
  │    5:        0x10ad914d8 - std::sys_common::unwind::begin_unwind_inner::h30e12d15ce2b2e25
  │    6:        0x10ad92e0e - std::sys_common::unwind::begin_unwind_fmt::hb2de8a9968d38523
  │    7:        0x10ace7abf - rand::thread_rng::THREAD_RNG_KEY::__init::h95086aa3feb19f11
  │    8:        0x10ace78fc - rand::thread_rng::h685796b33c6d5157
  │    9:        0x10acb0f92 - uuid::Uuid::new_v4::hf5742953332a48bd
  │   10:        0x10989c22b - net::http_loader::load::h68b5ac4fbf09d0a1
  │   11:        0x109897d30 - std::sys_common::unwind::try::try_fn::hf6af0c92daa7bda1
  │   12:        0x10ada306b - __rust_try
  │   13:        0x10ada2ff3 - std::sys_common::unwind::inner_try::h47a4d9cd4a369dcd
  │   14:        0x109899a31 - _&lt;F as std..boxed..FnBox&lt;A&gt;&gt;::call_box::h3f7304fdb410ded0
</span><span class="stdout">  │   15:        0x10ada92a8 - std::sys::thread::Thread::new::thread_start::h6f266e069bf4ec2b
  │   16:     0x7fff8c3c2059 - _pthread_body
  └   17:     0x7fff8c3c1fd6 - _pthread_start

  ▶ Unexpected subtest result in /cors/redirect-origin.htm:
  │ TIMEOUT [expected PASS] remote (http://web-platform.test:8000) to remote2 (http://web-platform.test:8000), expect to fail
  └   → Test timed out

  ▶ Unexpected subtest result in /cors/redirect-origin.htm:
  └ PASS [expected FAIL] remote (none) to remote2 (*), expect to fail

  ▶ Unexpected subtest result in /cors/redirect-origin.htm:
  │ TIMEOUT [expected FAIL] remote (http://www1.web-platform.test:8000) to remote (*), expect to fail
  └   → Test timed out

  ▶ OK [expected TIMEOUT] /domparsing/DOMParser-parseFromString-xml.html

  ▶ Unexpected subtest result in /domparsing/DOMParser-parseFromString-xml.html:
  │ FAIL [expected PASS] Should return an error document for XML wellformedness errors in type application/xml
  │   → &#39;application/xml&#39; is not a valid enum value for enumeration &#39;SupportedType&#39;.
  │ FAIL [expected PASS] Should return an error document for XML wellformedness errors in type application/xhtml+xml
  │   → &#39;application/xhtml+xml&#39; is not a valid enum value for enumeration &#39;SupportedType&#39;.
  │ FAIL [expected PASS] Should return an error document for XML wellformedness errors in type image/svg+xml
  │   → &#39;image/svg+xml&#39; is not a valid enum value for enumeration &#39;SupportedType&#39;.
  │ 
  │ @http://web-platform.test:8000/domparsing/DOMParser-parseFromString-xml.html:33:15
  │ Test.prototype.step@http://web-platform.test:8000/resources/testharness.js:1397:20
  │ test@http://web-platform.test:8000/resources/testharness.js:495:9
  │ @http://web-platform.test:8000/domparsing/DOMParser-parseFromString-xml.html:31:3
  └ @http://web-platform.test:8000/domparsing/DOMParser-parseFromString-xml.html:14:1

  ▶ Unexpected subtest result in /domparsing/DOMParser-parseFromString-xml.html:
  │ FAIL [expected PASS] XMLDocument interface for incorrectly parsed document with type application/xml
  │   → &#39;application/xml&#39; is not a valid enum value for enumeration &#39;SupportedType&#39;.
  │ FAIL [expected PASS] XMLDocument interface for incorrectly parsed document with type application/xhtml+xml
  │   → &#39;application/xhtml+xml&#39; is not a valid enum value for enumeration &#39;SupportedType&#39;.
  │ FAIL [expected PASS] XMLDocument interface for incorrectly parsed document with type image/svg+xml
  │   → &#39;image/svg+xml&#39; is not a valid enum value for enumeration &#39;SupportedType&#39;.
  │ 
  │ @http://web-platform.test:8000/domparsing/DOMParser-parseFromString-xml.html:42:15
  │ Test.prototype.step@http://web-platform.test:8000/resources/testharness.js:1397:20
  │ test@http://web-platform.test:8000/resources/testharness.js:495:9
  │ @http://web-platform.test:8000/domparsing/DOMParser-parseFromString-xml.html:40:3
  └ @http://web-platform.test:8000/domparsing/DOMParser-parseFromString-xml.html:14:1

  ▶ Unexpected subtest result in /domparsing/DOMParser-parseFromString-xml.html:
  │ FAIL [expected PASS] XMLDocument interface for correctly parsed document with type application/xml
  │   → &#39;application/xml&#39; is not a valid enum value for enumeration &#39;SupportedType&#39;.
  │ FAIL [expected PASS] XMLDocument interface for correctly parsed document with type application/xhtml+xml
  │   → &#39;application/xhtml+xml&#39; is not a valid enum value for enumeration &#39;SupportedType&#39;.
  │ FAIL [expected PASS] XMLDocument interface for correctly parsed document with type image/svg+xml
  │   → &#39;image/svg+xml&#39; is not a valid enum value for enumeration &#39;SupportedType&#39;.
  │ 
  │ @http://web-platform.test:8000/domparsing/DOMParser-parseFromString-xml.html:27:15
  │ Test.prototype.step@http://web-platform.test:8000/resources/testharness.js:1397:20
  │ test@http://web-platform.test:8000/resources/testharness.js:495:9
  │ @http://web-platform.test:8000/domparsing/DOMParser-parseFromString-xml.html:25:3
  └ @http://web-platform.test:8000/domparsing/DOMParser-parseFromString-xml.html:14:1

  ▶ Unexpected subtest result in /domparsing/DOMParser-parseFromString-xml.html:
  │ FAIL [expected TIMEOUT] Should parse correctly in type application/xml
  │   → &#39;application/xml&#39; is not a valid enum value for enumeration &#39;SupportedType&#39;.
  │ FAIL [expected PASS] Should parse correctly in type application/xhtml+xml
  │   → &#39;application/xhtml+xml&#39; is not a valid enum value for enumeration &#39;SupportedType&#39;.
  │ FAIL [expected PASS] Should parse correctly in type image/svg+xml
  │   → &#39;image/svg+xml&#39; is not a valid enum value for enumeration &#39;SupportedType&#39;.
  │ 
  │ @http://web-platform.test:8000/domparsing/DOMParser-parseFromString-xml.html:17:15
  │ Test.prototype.step@http://web-platform.test:8000/resources/testharness.js:1397:20
  │ test@http://web-platform.test:8000/resources/testharness.js:495:9
  │ @http://web-platform.test:8000/domparsing/DOMParser-parseFromString-xml.html:15:3
  └ @http://web-platform.test:8000/domparsing/DOMParser-parseFromString-xml.html:14:1

  ▶ OK [expected TIMEOUT] /html/browsers/the-window-object/Document-defaultView.html

  ▶ Unexpected subtest result in /html/browsers/the-window-object/Document-defaultView.html:
  │ FAIL [expected TIMEOUT] Document created with XML DOMParser
  │   → &#39;application/xml&#39; is not a valid enum value for enumeration &#39;SupportedType&#39;.
  │ 
  │ @http://web-platform.test:8000/html/browsers/the-window-object/Document-defaultView.html:22:11
  │ Test.prototype.step@http://web-platform.test:8000/resources/testharness.js:1397:20
  │ test@http://web-platform.test:8000/resources/testharness.js:495:9
  └ @http://web-platform.test:8000/html/browsers/the-window-object/Document-defaultView.html:20:1

  ▶ Unexpected subtest result in /html/browsers/the-window-object/Document-defaultView.html:
  │ FAIL [expected PASS] Document created with HTML DOMParser
  │   → assert_equals: expected null but got object &#34;[object Window]&#34;
  │ 
  │ @http://web-platform.test:8000/html/browsers/the-window-object/Document-defaultView.html:29:3
  │ Test.prototype.step@http://web-platform.test:8000/resources/testharness.js:1397:20
  │ test@http://web-platform.test:8000/resources/testharness.js:495:9
  └ @http://web-platform.test:8000/html/browsers/the-window-object/Document-defaultView.html:26:1
emilio added 2 commits May 13, 2016
@emilio emilio force-pushed the emilio:codegen-dict-keyword branch from 85cc140 to 91101f6 May 13, 2016
@highfive
Copy link

highfive commented May 13, 2016

New code was committed to pull request.

@emilio
Copy link
Member Author

emilio commented May 13, 2016

Updated test expectations, the cors test seems to be intermittent, the other failures are old expected timeouts uncovered by this patch.

@bors-servo: r=Ms2ger

@bors-servo
Copy link
Contributor

bors-servo commented May 13, 2016

📌 Commit 91101f6 has been approved by Ms2ger

@bors-servo
Copy link
Contributor

bors-servo commented May 13, 2016

Testing commit 91101f6 with merge 221db56...

bors-servo added a commit that referenced this pull request May 13, 2016
codegen: Fix dictionary handling and semantics

Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data:
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #11152 (github issue number if applicable).

Either:
- [x] There are tests for these changes OR
- [ ] These changes do not require tests because _____

Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process.

Fixes #11152

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11155)
<!-- Reviewable:end -->
@bors-servo
Copy link
Contributor

bors-servo commented May 13, 2016

💔 Test failed - mac-rel-wpt

@highfive
Copy link

highfive commented May 13, 2016

  ▶ TIMEOUT [expected OK] /html/dom/reflection-embedded.html
  │ 
  │ thread &#39;http_loader for http://web-platform.test:8000/html/dom/test-valueOf&#39; panicked at &#39;could not initialize thread_rng: Too many open files (os error 24)&#39;, ../src/libstd/rand/mod.rs:159
  │ stack backtrace:
  │ thread &#39;http_loader for http://web-platform.test:8000/html/dom/test-valueOf&#39; panicked at &#39;could not initialize thread_rng: Too many open files (os error 24)&#39;, ../src/libstd/rand/mod.rs:159
  │ thread &#39;http_loader for http://web-platform.test:8000/html/dom/test-valueOf&#39; panicked at &#39;could not initialize thread_rng: Too many open files (os error 24)&#39;, ../src/libstd/rand/mod.rs:159
  │ thread &#39;http_loader for http://web-platform.test:8000/html/dom/test-valueOf&#39; panicked at &#39;could not initialize thread_rng: Too many open files (os error 24)&#39;, /Users/servo/.cargo/registry/src/github.com-88ac128001ac3a9a/rand-0.3.14/src/lib.rs:873
  │    1:        0x10b638e48 - std::sys::backtrace::tracing::imp::write::h9fb600083204ae7f
  │    2:        0x10b63f265 - std::panicking::default_hook::_$u7b$$u7b$closure$u7d$$u7d$::hca543c34f11229ac
  │    3:        0x10b63ee7e - std::panicking::default_hook::hc2c969e7453d080c
  │    4:        0x10ada9dd2 - util::panicking::initiate_panic_hook::_$u7b$$u7b$closure$u7d$$u7d$::_$u7b$$u7b$closure$u7d$$u7d$::h0bad41b0b38a855d
  │    5:        0x10b626518 - std::sys_common::unwind::begin_unwind_inner::h30e12d15ce2b2e25
  │    6:        0x10b627e4e - std::sys_common::unwind::begin_unwind_fmt::hb2de8a9968d38523
  │    7:        0x10b63f889 - std::rand::thread_rng::THREAD_RNG_KEY::__init::h536e3917997a1628
  │ thread &#39;http_loader for http://web-platform.test:8000/html/dom/test-valueOf&#39; panicked at &#39;could not initialize thread_rng: Too many open files (os error 24)&#39;, /Users/servo/.cargo/registry/src/github.com-88ac128001ac3a9a/rand-0.3.14/src/lib.rs:873
  │    8:        0x10b626b1c - std::rand::thread_rng::h789d00d1fce4f79b
  │ thread &#39;http_loader for http://web-platform.test:8000/html/dom/test-valueOf&#39; panicked at &#39;could not initialize thread_rng: Too many open files (os error 24)&#39;, /Users/servo/.cargo/registry/src/github.com-88ac128001ac3a9a/rand-0.3.14/src/lib.rs:873
  │    9:        0x10a0f26bc - _&lt;collections..hash..map..RandomState as core..default..Default&gt;::default::ha847494db5044892
  │   10:        0x10a1305a5 - net::http_loader::load::h68b5ac4fbf09d0a1
  │ thread &#39;http_loader for http://web-platform.test:8000/html/dom/test-valueOf&#39; panicked at &#39;could not initialize thread_rng: Too many open files (os error 24)&#39;, /Users/servo/.cargo/registry/src/github.com-88ac128001ac3a9a/rand-0.3.14/src/lib.rs:873
  │   11:        0x10a12cd70 - std::sys_common::unwind::try::try_fn::hf6af0c92daa7bda1
  │   12:        0x10b6380ab - __rust_try
  │   13:        0x10b638033 - std::sys_common::unwind::inner_try::h47a4d9cd4a369dcd
  │   14:        0x10a12ea71 - _&lt;F as std..boxed..FnBox&lt;A&gt;&gt;::call_box::h3f7304fdb410ded0
  │   15:        0x10b63e2e8 - std::sys::thread::Thread::new::thread_start::h6f266e069bf4ec2b
  │   16:     0x7fff95828059 - _pthread_body
  │   17:     0x7fff95827fd6 - _pthread_start
  │ stack backtrace:
  │    1:        0x10b638e48 - std::sys::backtrace::tracing::imp::write::h9fb600083204ae7f
  │    2:        0x10b63f265 - std::panicking::default_hook::_$u7b$$u7b$closure$u7d$$u7d$::hca543c34f11229ac
  │    3:        0x10b63ee7e - std::panicking::default_hook::hc2c969e7453d080c
  │    4:        0x10ada9dd2 - util::panicking::initiate_panic_hook::_$u7b$$u7b$closure$u7d$$u7d$::_$u7b$$u7b$closure$u7d$$u7d$::h0bad41b0b38a855d
  │ thread &#39;http_loader for http://web-platform.test:8000/html/dom/test-valueOf&#39; panicked at &#39;could not initialize thread_rng: Too many open files (os error 24)&#39;, /Users/servo/.cargo/registry/src/github.com-88ac128001ac3a9a/rand-0.3.14/src/lib.rs:873
  │    5:        0x10b626518 - std::sys_common::unwind::begin_unwind_inner::h30e12d15ce2b2e25
  │    6:        0x10b627e4e - std::sys_common::unwind::begin_unwind_fmt::hb2de8a9968d38523
  │    7:        0x10b63f889 - std::rand::thread_rng::THREAD_RNG_KEY::__init::h536e3917997a1628
  │    8:        0x10b626b1c - std::rand::thread_rng::h789d00d1fce4f79b
  │    9:        0x10a0f26bc - _&lt;collections..hash..map..RandomState as core..default..Default&gt;::default::ha847494db5044892
  │   10:        0x10a1305a5 - net::http_loader::load::h68b5ac4fbf09d0a1
  │   11:        0x10a12cd70 - std::sys_common::unwind::try::try_fn::hf6af0c92daa7bda1
  │   12:        0x10b6380ab - __rust_try
  │   13:        0x10b638033 - std::sys_common::unwind::inner_try::h47a4d9cd4a369dcd
  │   14:        0x10a12ea71 - _&lt;F as std..boxed..FnBox&lt;A&gt;&gt;::call_box::h3f7304fdb410ded0
  │   15:        0x10b63e2e8 - std::sys::thread::Thread::new::thread_start::h6f266e069bf4ec2b
  │   16:     0x7fff95828059 - _pthread_body
  │   17:     0x7fff95827fd6 - _pthread_start
  │ stack backtrace:
  │    1:        0x10b638e48 - std::sys::backtrace::tracing::imp::write::h9fb600083204ae7f
  │    2:        0x10b63f265 - std::panicking::default_hook::_$u7b$$u7b$closure$u7d$$u7d$::hca543c34f11229ac
  │    3:        0x10b63ee7e - std::panicking::default_hook::hc2c969e7453d080c
  │    4:        0x10ada9dd2 - util::panicking::initiate_panic_hook::_$u7b$$u7b$closure$u7d$$u7d$::_$u7b$$u7b$closure$u7d$$u7d$::h0bad41b0b38a855d
  │    5:        0x10b626518 - std::sys_common::unwind::begin_unwind_inner::h30e12d15ce2b2e25
  │    6:        0x10b627e4e - std::sys_common::unwind::begin_unwind_fmt::hb2de8a9968d38523
  │    7:        0x10b63f889 - std::rand::thread_rng::THREAD_RNG_KEY::__init::h536e3917997a1628
  │    8:        0x10b626b1c - std::rand::thread_rng::h789d00d1fce4f79b
  │    9:        0x10a0f26bc - _&lt;collections..hash..map..RandomState as core..default..Default&gt;::default::ha847494db5044892
  │   10:        0x10a1305a5 - net::http_loader::load::h68b5ac4fbf09d0a1
  │   11:        0x10a12cd70 - std::sys_common::unwind::try::try_fn::hf6af0c92daa7bda1
  │   12:        0x10b6380ab - __rust_try
  │   13:        0x10b638033 - std::sys_common::unwind::inner_try::h47a4d9cd4a369dcd
  │   14:        0x10a12ea71 - _&lt;F as std..boxed..FnBox&lt;A&gt;&gt;::call_box::h3f7304fdb410ded0
  │   15:        0x10b63e2e8 - std::sys::thread::Thread::new::thread_start::h6f266e069bf4ec2b
  │   16:     0x7fff95828059 - _pthread_body
  │   17:     0x7fff95827fd6 - _pthread_start
  │ stack backtrace:
  │    1:        0x10b638e48 - std::sys::backtrace::tracing::imp::write::h9fb600083204ae7f
  │    2:        0x10b63f265 - std::panicking::default_hook::_$u7b$$u7b$closure$u7d$$u7d$::hca543c34f11229ac
  │    3:        0x10b63ee7e - std::panicking::default_hook::hc2c969e7453d080c
  │    4:        0x10ada9dd2 - util::panicking::initiate_panic_hook::_$u7b$$u7b$closure$u7d$$u7d$::_$u7b$$u7b$closure$u7d$$u7d$::h0bad41b0b38a855d
  │    5:        0x10b626518 - std::sys_common::unwind::begin_unwind_inner::h30e12d15ce2b2e25
  │    6:        0x10b627e4e - std::sys_common::unwind::begin_unwind_fmt::hb2de8a9968d38523
  │    7:        0x10b57caff - rand::thread_rng::THREAD_RNG_KEY::__init::h95086aa3feb19f11
  │    8:        0x10b57c93c - rand::thread_rng::h685796b33c6d5157
  │    9:        0x10b545fd2 - uuid::Uuid::new_v4::hf5742953332a48bd
  │   10:        0x10a13126b - net::http_loader::load::h68b5ac4fbf09d0a1
  │   11:        0x10a12cd70 - std::sys_common::unwind::try::try_fn::hf6af0c92daa7bda1
  │   12:        0x10b6380ab - __rust_try
  │   13:        0x10b638033 - std::sys_common::unwind::inner_try::h47a4d9cd4a369dcd
  │   14:        0x10a12ea71 - _&lt;F as std..boxed..FnBox&lt;A&gt;&gt;::call_box::h3f7304fdb410ded0
  │   15:        0x10b63e2e8 - std::sys::thread::Thread::new::thread_start::h6f266e069bf4ec2b
  │   16:     0x7fff95828059 - _pthread_body
  │   17:     0x7fff95827fd6 - _pthread_start
  │ stack backtrace:
  │    1:        0x10b638e48 - std::sys::backtrace::tracing::imp::write::h9fb600083204ae7f
  │    2:        0x10b63f265 - std::panicking::default_hook::_$u7b$$u7b$closure$u7d$$u7d$::hca543c34f11229ac
  │    3:        0x10b63ee7e - std::panicking::default_hook::hc2c969e7453d080c
  │    4:        0x10ada9dd2 - util::panicking::initiate_panic_hook::_$u7b$$u7b$closure$u7d$$u7d$::_$u7b$$u7b$closure$u7d$$u7d$::h0bad41b0b38a855d
  │    5:        0x10b626518 - std::sys_common::unwind::begin_unwind_inner::h30e12d15ce2b2e25
  │    6:        0x10b627e4e - std::sys_common::unwind::begin_unwind_fmt::hb2de8a9968d38523
  │    7:        0x10b57caff - rand::thread_rng::THREAD_RNG_KEY::__init::h95086aa3feb19f11
  │    8:        0x10b57c93c - rand::thread_rng::h685796b33c6d5157
  │    9:        0x10b545fd2 - uuid::Uuid::new_v4::hf5742953332a48bd
  │   10:        0x10a13126b - net::http_loader::load::h68b5ac4fbf09d0a1
  │   11:        0x10a12cd70 - std::sys_common::unwind::try::try_fn::hf6af0c92daa7bda1
  │   12:        0x10b6380ab - __rust_try
  │   13:        0x10b638033 - std::sys_common::unwind::inner_try::h47a4d9cd4a369dcd
  │   14:        0x10a12ea71 - _&lt;F as std..boxed..FnBox&lt;A&gt;&gt;::call_box::h3f7304fdb410ded0
  │   15:        0x10b63e2e8 - std::sys::thread::Thread::new::thread_start::h6f266e069bf4ec2b
  │   16:     0x7fff95828059 - _pthread_body
  │   17:     0x7fff95827fd6 - _pthread_start
  │ stack backtrace:
  │    1:        0x10b638e48 - std::sys::backtrace::tracing::imp::write::h9fb600083204ae7f
  │    2:        0x10b63f265 - std::panicking::default_hook::_$u7b$$u7b$closure$u7d$$u7d$::hca543c34f11229ac
  │    3:        0x1</span><span class="stdout">0b63ee7e - std::panicking::default_hook::hc2c969e7453d080c
  │    4:        0x10ada9dd2 - util::panicking::initiate_panic_hook::_$u7b$$u7b$closure$u7d$$u7d$::_$u7b$$u7b$closure$u7d$$u7d$::h0bad41b0b38a855d
  │    5:        0x10b626518 - std::sys_common::unwind::begin_unwind_inner::h30e12d15ce2b2e25
  │    6:        0x10b627e4e - std::sys_common::unwind::begin_unwind_fmt::hb2de8a9968d38523
  │    7:        0x10b57caff - rand::thread_rng::THREAD_RNG_KEY::__init::h95086aa3feb19f11
  │    8:        0x10b57c93c - rand::thread_rng::h685796b33c6d5157
  │    9:        0x10b545fd2 - uuid::Uuid::new_v4::hf5742953332a48bd
  │   10:        0x10a13126b - net::http_loader::load::h68b5ac4fbf09d0a1
  │   11:        0x10a12cd70 - std::sys_common::unwind::try::try_fn::hf6af0c92daa7bda1
  │   12:        0x10b6380ab - __rust_try
  │   13:        0x10b638033 - std::sys_common::unwind::inner_try::h47a4d9cd4a369dcd
  │   14:        0x10a12ea71 - _&lt;F as std..boxed..FnBox&lt;A&gt;&gt;::call_box::h3f7304fdb410ded0
  │   15:        0x10b63e2e8 - std::sys::thread::Thread::new::thread_start::h6f266e069bf4ec2b
  │   16:     0x7fff95828059 - _pthread_body
  │   17:     0x7fff95827fd6 - _pthread_start
  │ stack backtrace:
  │    1:        0x10b638e48 - std::sys::backtrace::tracing::imp::write::h9fb600083204ae7f
  │    2:        0x10b63f265 - std::panicking::default_hook::_$u7b$$u7b$closure$u7d$$u7d$::hca543c34f11229ac
  │    3:        0x10b63ee7e - std::panicking::default_hook::hc2c969e7453d080c
  │    4:        0x10ada9dd2 - util::panicking::initiate_panic_hook::_$u7b$$u7b$closure$u7d$$u7d$::_$u7b$$u7b$closure$u7d$$u7d$::h0bad41b0b38a855d
  │    5:        0x10b626518 - std::sys_common::unwind::begin_unwind_inner::h30e12d15ce2b2e25
  │    6:        0x10b627e4e - std::sys_common::unwind::begin_unwind_fmt::hb2de8a9968d38523
  │    7:        0x10b57caff - rand::thread_rng::THREAD_RNG_KEY::__init::h95086aa3feb19f11
  │    8:        0x10b57c93c - rand::thread_rng::h685796b33c6d5157
  │    9:        0x10b545fd2 - uuid::Uuid::new_v4::hf5742953332a48bd
  │   10:        0x10a13126b - net::http_loader::load::h68b5ac4fbf09d0a1
  │   11:        0x10a12cd70 - std::sys_common::unwind::try::try_fn::hf6af0c92daa7bda1
  │   12:        0x10b6380ab - __rust_try
  │   13:        0x10b638033 - std::sys_common::unwind::inner_try::h47a4d9cd4a369dcd
  │   14:        0x10a12ea71 - _&lt;F as std..boxed..FnBox&lt;A&gt;&gt;::call_box::h3f7304fdb410ded0
  │   15:        0x10b63e2e8 - std::sys::thread::Thread::new::thread_start::h6f266e069bf4ec2b
  │   16:     0x7fff95828059 - _pthread_body
  │   17:     0x7fff95827fd6 - _pthread_start
  │ stack backtrace:
  │    1:        0x10b638e48 - std::sys::backtrace::tracing::imp::write::h9fb600083204ae7f
  │    2:        0x10b63f265 - std::panicking::default_hook::_$u7b$$u7b$closure$u7d$$u7d$::hca543c34f11229ac
  │    3:        0x10b63ee7e - std::panicking::default_hook::hc2c969e7453d080c
  │    4:        0x10ada9dd2 - util::panicking::initiate_panic_hook::_$u7b$$u7b$closure$u7d$$u7d$::_$u7b$$u7b$closure$u7d$$u7d$::h0bad41b0b38a855d
  │    5:        0x10b626518 - std::sys_common::unwind::begin_unwind_inner::h30e12d15ce2b2e25
  │    6:        0x10b627e4e - std::sys_common::unwind::begin_unwind_fmt::hb2de8a9968d38523
  │    7:        0x10b57caff - rand::thread_rng::THREAD_RNG_KEY::__init::h95086aa3feb19f11
  │    8:        0x10b57c93c - rand::thread_rng::h685796b33c6d5157
  │    9:        0x10b545fd2 - uuid::Uuid::new_v4::hf5742953332a48bd
  │   10:        0x10a13126b - net::http_loader::load::h68b5ac4fbf09d0a1
  │   11:        0x10a12cd70 - std::sys_common::unwind::try::try_fn::hf6af0c92daa7bda1
  │   12:        0x10b6380ab - __rust_try
  │   13:        0x10b638033 - std::sys_common::unwind::inner_try::h47a4d9cd4a369dcd
  │   14:        0x10a12ea71 - _&lt;F as std..boxed..FnBox&lt;A&gt;&gt;::call_box::h3f7304fdb410ded0
  │   15:        0x10b63e2e8 - std::sys::thread::Thread::new::thread_start::h6f266e069bf4ec2b
  │   16:     0x7fff95828059 - _pthread_body
  └   17:     0x7fff95827fd6 - _pthread_start
@emilio
Copy link
Member Author

emilio commented May 13, 2016

@bors-servo
Copy link
Contributor

bors-servo commented May 13, 2016

Previous build results for android, arm32, arm64, linux-dev, linux-rel, mac-dev-unit, mac-rel-css, windows are reusable. Rebuilding only mac-rel-wpt...

@bors-servo
Copy link
Contributor

bors-servo commented May 13, 2016

@bors-servo bors-servo merged commit 91101f6 into servo:master May 13, 2016
3 checks passed
3 checks passed
continuous-integration/appveyor/pr AppVeyor build succeeded
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details
homu Test successful
Details
@emilio emilio deleted the emilio:codegen-dict-keyword branch May 14, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

7 participants
You can’t perform that action at this time.