Closed
Bug 947671
Opened 11 years ago
Closed 11 years ago
Valgrind-on-TBPL: Valgrind sometimes crashes in JIT code
Categories
(Testing :: General, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: n.nethercote, Unassigned)
References
Details
Attachments
(1 file)
3.46 KB,
text/plain
|
Details |
Valgrind crashed during this TBPL run: https://tbpl.mozilla.org/php/getParsedLog.php?id=31614621&tree=Mozilla-Central&full=1 The relevant part of the log is attached. There is an invalid read of size 4 in js::jit::Assembler::CodeFromJump, and then immediately afterwards Valgrind fails with "Unsupported clone() flags: 0x800600". This is because a crash occurs and breakpad is entered, and breakpad does a clone that Valgrind can't handle. I've seen crashes like this locally. I suspect that nothing notable changed in the past 24 hours, but that it occurs non-deterministically. It smells a lot like imprecise exceptions are the cause, as we've seen in some other bugs recently.
Comment 1•11 years ago
|
||
> The relevant part of the log is attached. There is an invalid read of size > 4 in js::jit::Assembler::CodeFromJump There was bug 914511, which also had js::jit::Assembler::TraceJumpRelocations on that stack, but that bug seemed fixed.
Reporter | ||
Comment 2•11 years ago
|
||
Happened again: https://tbpl.mozilla.org/php/getParsedLog.php?id=31693450&tree=Mozilla-Central
Reporter | ||
Comment 4•11 years ago
|
||
I tried turning on --vex-iropt-register-updates=allregs-at-each-insn to see if it helps: https://hg.mozilla.org/build/tools/rev/c46f324a8b46
Reporter | ||
Comment 5•11 years ago
|
||
> I tried turning on --vex-iropt-register-updates=allregs-at-each-insn
And it does seem to be working. I don't think I've seen a crash since I pushed that change...
Comment 6•11 years ago
|
||
(In reply to Nicholas Nethercote [:njn] from comment #5) > And it does seem to be working. I don't think I've seen a crash since I > pushed that change... Great, clearing needinfo then.
Flags: needinfo?(jdemooij)
Reporter | ||
Comment 7•11 years ago
|
||
I'm going to declare victory here.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Assignee | ||
Updated•6 years ago
|
Component: New Frameworks → General
You need to log in
before you can comment on or make changes to this bug.
Description
•