Closed
Bug 1490828
Opened 6 years ago
Closed 6 years ago
UBSan: load of value 228, which is not a valid value for type 'bool' in /builds/worker/workspace/build/src/docshell/shistory/nsSHEntry.cpp:1011:15
Categories
(Firefox :: Session Restore, defect)
Firefox
Session Restore
Tracking
()
RESOLVED
FIXED
Firefox 64
Tracking | Status | |
---|---|---|
firefox64 | --- | fixed |
People
(Reporter: tsmith, Assigned: n.nethercote)
References
Details
(Keywords: csectype-undefined)
Attachments
(1 file)
1.01 KB,
patch
|
nika
:
review+
tsmith
:
feedback+
|
Details | Diff | Splinter Review |
task 2018-09-11T07:55:15.998Z] 07:55:15 INFO - TEST-START | browser/components/sessionstore/test/browser_frame_history.js [task 2018-09-11T07:55:16.583Z] 07:55:16 INFO - GECKO(1075) | /builds/worker/workspace/build/src/docshell/shistory/nsSHEntry.cpp:1011:15: runtime error: load of value 228, which is not a valid value for type 'bool' This is triggered by a test (browser/components/sessionstore/test/browser_frame_history.js) when the browser is built with undefined behavior sanitizer, specifically the "bool" check (-fasanitize=bool). This is likely due to the use of uninitialized memory.
A temporary "fix" might be to add it to suppressions, which appears to be separate for testing. https://dxr.mozilla.org/mozilla-central/source/testing/mozbase/mozrunner/mozrunner/utils.py#224
Reporter | ||
Comment 2•6 years ago
|
||
Nick do you know who might be able to help with this?
Flags: needinfo?(n.nethercote)
Assignee | ||
Comment 3•6 years ago
|
||
I can look at this.
Assignee: nobody → n.nethercote
Flags: needinfo?(n.nethercote)
Assignee | ||
Comment 4•6 years ago
|
||
Very likely to be caused by patch 5 in bug 1488321: https://hg.mozilla.org/mozilla-central/rev/afb85694d4ff. I will post a fix shortly.
Assignee | ||
Comment 5•6 years ago
|
||
Tyson, there's a good chance this will fix the problem.
Attachment #9008871 -
Flags: review?(nika)
Attachment #9008871 -
Flags: feedback?(twsmith)
Reporter | ||
Comment 6•6 years ago
|
||
I pushed a commit with this patch and the UBSan patches to try: https://treeherder.mozilla.org/#/jobs?repo=try&revision=48b05f6870797fc310ec51555b0878f1d3161401
Reporter | ||
Updated•6 years ago
|
Attachment #9008871 -
Flags: feedback?(twsmith) → feedback+
Updated•6 years ago
|
Attachment #9008871 -
Flags: review?(nika) → review+
Pushed by nnethercote@mozilla.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/314994bc7f3f Handle mPersist in the nsSHEntry copy constructor. r=nika
Comment 8•6 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/314994bc7f3f
Status: NEW → RESOLVED
Closed: 6 years ago
status-firefox64:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 64
You need to log in
before you can comment on or make changes to this bug.
Description
•