Closed
Bug 1447137
Opened 7 years ago
Closed 7 years ago
Valgrind errors building with rust 1.25: Conditional jump or move depends on uninitialised value in various parsing functions
Categories
(Firefox Build System :: General, defect)
Tracking
(firefox61 fixed)
RESOLVED
FIXED
mozilla61
Tracking | Status | |
---|---|---|
firefox61 | --- | fixed |
People
(Reporter: chmanchester, Assigned: jseward)
References
Details
Attachments
(2 files, 1 obsolete file)
(deleted),
patch
|
n.nethercote
:
review+
|
Details | Diff | Splinter Review |
(deleted),
patch
|
n.nethercote
:
review+
|
Details | Diff | Splinter Review |
Reporter | ||
Comment 1•7 years ago
|
||
Julian, can you point us in the right direction for determining whether this is a false positive? Thanks!
Flags: needinfo?(jseward)
Comment 2•7 years ago
|
||
Try this patch:
https://hg.mozilla.org/try/rev/88e57127fbe2499f2ba76045878c5e1c9ada9ded
(you can also change the git date and sha1 to try current valgrind master, although I don't know if it has more changes related to these things)
Reporter | ||
Comment 3•7 years ago
|
||
(In reply to Mike Hommey [:glandium] from comment #2)
> Try this patch:
> https://hg.mozilla.org/try/rev/88e57127fbe2499f2ba76045878c5e1c9ada9ded
> (you can also change the git date and sha1 to try current valgrind master,
> although I don't know if it has more changes related to these things)
This yields a similar set of failures: https://treeherder.mozilla.org/#/jobs?repo=try&revision=738101ecd14efe19d132fb631cb57d19d18dad0a&selectedJob=169318348
Assignee | ||
Comment 4•7 years ago
|
||
I chased these around for a while, but I cannot see why they are happening
nor a way to avoid them. I assume they are false errors. Without a smaller
test case, it's difficult to say more.
Flags: needinfo?(jseward)
Assignee | ||
Comment 5•7 years ago
|
||
WIP: a set of suppressions for Stylo as compiled by rustc 1.25. These
seem to make it run mostly clean, and would be a good starting point
for a fix for this bug. It's not my preferred solution -- that being, V
reporting no errors at all -- but per the previous comment I am not
confident that that's actually achievable.
Assignee | ||
Comment 6•7 years ago
|
||
Here's a run that uses the suppressions in comment 5 plus Chris's rustc-1.25 patch,
and runs clean on V:
https://treeherder.mozilla.org/#/jobs?repo=try&revision=a90062b2df22f87649aa6d1755f3116811ed86a4
By looking at the raw log
https://taskcluster-artifacts.net/HMA-Ou0USVOx_KcbV_saBA/0/public/logs/live_backing.log
its clear that the suppressions are getting used -- 15 different supps getting
used about 2000 times in total.
Assignee | ||
Updated•7 years ago
|
Attachment #8962275 -
Flags: review?(n.nethercote)
Comment 8•7 years ago
|
||
Comment on attachment 8962275 [details] [diff] [review]
bug1447137-2.diff
Review of attachment 8962275 [details] [diff] [review]:
-----------------------------------------------------------------
Bleargh.
Attachment #8962275 -
Flags: review?(n.nethercote) → review+
Assignee | ||
Comment 9•7 years ago
|
||
(In reply to Nicholas Nethercote [:njn] from comment #8)
> Bleargh.
I completely agree. At some point this approach is going to become
infeasible. But for now I don't see any other option.
Reporter | ||
Comment 10•7 years ago
|
||
Something in the last two days landed some new instances of this involving Servo_StyleSheet_FromUTF8Bytes / mozilla::ServoStyleSheet::ParseSheetSync: https://treeherder.mozilla.org/#/jobs?repo=try&revision=c5104c4748dacd9c8e73ada0b24c8c4c65db5f41&selectedJob=171111429
Reporter | ||
Comment 11•7 years ago
|
||
It looks like Julian is on PTO, I will post the updated suppressions for review.
Reporter | ||
Comment 12•7 years ago
|
||
Attachment #8963868 -
Flags: review?(n.nethercote)
Updated•7 years ago
|
Attachment #8963868 -
Flags: review?(n.nethercote) → review+
Comment 13•7 years ago
|
||
Pushed by cmanchester@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/35ffa0aa963b
Valgrind errors building with rust 1.25: Conditional jump or move depends on uninitialised value in various parsing functions. r=njn
Comment 14•7 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 7 years ago
status-firefox61:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla61
Updated•6 years ago
|
Assignee: nobody → jseward
Updated•6 years ago
|
Version: Version 3 → 3 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•