Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upUpgrade rust to 58b83e7e740108611ad1e8286ee6b44ea5cbbb0f #5959
Conversation
hoppipolla-critic-bot
commented
May 6, 2015
|
Critic review: https://critic.hoppipolla.co.uk/r/4921 This is an external review system which you may optionally use for the code review of your pull request. In order to help critic track your changes, please do not make in-place history rewrites (e.g. via |
|
@bors-servo r+ |
|
|
|
@bors-servo: p=1 |
|
@Manishearth The libc removal will break the android build. There's a PR in the queue that does it properly. |
a33aae0
to
43a1bc8
|
@bors-servo: r=SimonSapin Undid the libc thingy |
|
|
…onSapin Just edited the hash and ran `./mach update-cargo`, plus some free warning fixes. (Tue May 5 12:55:17 2015 +0000) <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/5959) <!-- Reviewable:end -->
|
|
43a1bc8
to
715a119
|
@bors-servo: r=SimonSapin |
|
|
…onSapin Just edited the hash and ran `./mach update-cargo`, plus some free warning fixes. (Tue May 5 12:55:17 2015 +0000) <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/5959) <!-- Reviewable:end -->
|
|
|
@bors-servo: retry |
|
@bors-servo: r-
|
|
Oh, I thought it had crashed -- I saw a purple |
715a119
to
1cb1631
|
@bors-servo: r=SimonSapin |
|
|
…2:55:17 2015 +0000)
…onSapin Just edited the hash and ran `./mach update-cargo`, plus some free warning fixes. (Tue May 5 12:55:17 2015 +0000) <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/5959) <!-- Reviewable:end -->
|
|
|
Opening wikipedia with gdb on gives me this:
gdb says that the program received a segfault, but when run directly I get "Illegal instruction (core dumped)". O.o |
|
Line 16628 in the generated let inherited_font_style = inherited_style.get_font();
computed::Context {
is_root_element: is_root_element,
viewport_size: viewport_size,
inherited_font_weight: inherited_font_style.font_weight, #### Line 16628
inherited_font_size: inherited_font_style.font_size,In gdb, I get:
All of these pub struct Arc<T> {
_ptr: NonZero<*mut ArcInner<T>>,
}… so we have a |
|
I suspect rust-lang/rust#24917 |
|
If everything is zero (it isn't, it almost is) it might simply be an issue of gdb not doing line numbers correctly and the variable is being accessed before it is initialized. We still have a segfault, though. |
|
I’m skeptical that |
|
I get less zeroes
This is with |
|
On the other hand,
|
|
The first time around, |
|
|
|
Do we need to find somebody on Rust to help us debug this? I'm not sure what our next steps are, but being blocked on an update because rustc is now generating invalid code seems bad. |
|
At the moment; It's blocking me from finalizing the sizeof plugin, but that plugin isn't a blocking one; it just makes stuff easier for njn. So low-pri to fix, but it's going to hit us eventually, so we should get it fixed :) |
|
|
FWIW, the issue was that the layout of |
|
Ohhhhhhhh methinks we need to do another transmute audit |
|
Moved to #6149. |
Manishearth commentedMay 6, 2015
Just edited the hash and ran
./mach update-cargo, plus some free warning fixes.(Tue May 5 12:55:17 2015 +0000)