Closed Bug 1405154 Opened 7 years ago Closed 7 years ago

fsanitize=enum (ubsan) runtime error for JSExnType

Categories

(Core :: JavaScript Engine, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla58
Tracking Status
firefox58 --- fixed

People

(Reporter: arthur, Assigned: arthur)

References

Details

(Whiteboard: [tor])

Attachments

(1 file)

When I run linux64-asan automated tests with clang -fsanitize=enum, I see the following ubsan error:

/builds/worker/workspace/build/src/js/src/jsexn.h:101:12: runtime error: load of value 4294967286, which is not a valid value for type 'JSExnType'

A stack trace isn't printed even though I requested one, but the errors seems to happen with every application startup.
try results:
https://treeherder.mozilla.org/#/jobs?repo=try&revision=89882c1c5243&selectedJob=134528150
(fourth patch from top; talos failures are presumably unrelated)
Attachment #8914593 - Flags: review?(evilpies)
Attachment #8914593 - Flags: review?(evilpies) → review+
Thanks for the review!
Assignee: nobody → arthuredelstein
Keywords: checkin-needed
Pushed by ryanvm@gmail.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/8e8406f7cbc9
Fix ubsan runtime error for JSExnType. r=evilpies
Keywords: checkin-needed
https://hg.mozilla.org/mozilla-central/rev/8e8406f7cbc9
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla58
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: