Closed
Bug 1358288
Opened 7 years ago
Closed 7 years ago
js-ctypes call to GetVersionEx is using the wrong ABI
Categories
(Toolkit :: Telemetry, defect, P1)
Tracking
()
RESOLVED
FIXED
mozilla55
People
(Reporter: bugzilla, Assigned: bugzilla)
References
Details
(Keywords: regression, Whiteboard: [measurement:client][ctypes.abi])
Attachments
(1 file)
59 bytes,
text/x-review-board-request
|
gfritzsche
:
review+
gchang
:
approval-mozilla-beta+
|
Details |
The ABI needs to be winapi_abi, not default_abi!
Assignee | ||
Comment 1•7 years ago
|
||
(This is in TelemetryEnvironment.jsm)
Comment hidden (mozreview-request) |
Updated•7 years ago
|
Assignee: nobody → aklotz
Updated•7 years ago
|
Priority: -- → P1
Whiteboard: [measurement:client]
Comment 3•7 years ago
|
||
mozreview-review |
Comment on attachment 8860183 [details] Bug 1358288: Fix incorrect ABI specification for js-ctypes declaration of GetVersionExW; https://reviewboard.mozilla.org/r/132212/#review135268 Thanks! A look through dxr shows that other code does this as well: https://dxr.mozilla.org/mozilla-central/search?q=kernel32.declare&redirect=false Do we have bugs on those?
Attachment #8860183 -
Flags: review?(gfritzsche) → review+
Pushed by aklotz@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/ce93446fe101 Fix incorrect ABI specification for js-ctypes declaration of GetVersionExW; r=gfritzsche
Comment 5•7 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/ce93446fe101
Status: NEW → RESOLVED
Closed: 7 years ago
status-firefox55:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla55
Assignee | ||
Updated•7 years ago
|
Whiteboard: [measurement:client] → [measurement:client][ctypes.abi]
Assignee | ||
Comment 6•7 years ago
|
||
(In reply to Georg Fritzsche [:gfritzsche] from comment #3) > A look through dxr shows that other code does this as well: > https://dxr.mozilla.org/mozilla-central/search?q=kernel32. > declare&redirect=false > > Do we have bugs on those? In progress...
Assignee | ||
Comment 7•7 years ago
|
||
Comment on attachment 8860183 [details] Bug 1358288: Fix incorrect ABI specification for js-ctypes declaration of GetVersionExW; Approval Request Comment [Feature/Bug causing the regression]: JS code in Telemetry [User impact if declined]: Potential for crashes and/or data corruption [Is this code covered by automated tests?]: Yes [Has the fix been verified in Nightly?]: Yes [Needs manual test from QE? If yes, steps to reproduce]: No [List of other uplifts needed for the feature/fix]: None [Is the change risky?]: No [Why is the change risky/not risky?]: Trivial patch [String changes made/needed]: None
Attachment #8860183 -
Flags: approval-mozilla-beta?
Assignee | ||
Comment 8•7 years ago
|
||
Comment on attachment 8860183 [details] Bug 1358288: Fix incorrect ABI specification for js-ctypes declaration of GetVersionExW; [Approval Request Comment] If this is not a sec:{high,crit} bug, please state case for ESR consideration: This is a stability issue User impact if declined: Potential for crashing / data corruption Fix Landed on Version: 55, 54 requested Risk to taking this patch (and alternatives if risky): None. Trivial patch String or UUID changes made by this patch: None See https://wiki.mozilla.org/Release_Management/ESR_Landing_Process for more info.
Attachment #8860183 -
Flags: approval-mozilla-esr52?
Updated•7 years ago
|
Blocks: 1122052
status-firefox53:
--- → wontfix
status-firefox54:
--- → affected
status-firefox-esr45:
--- → wontfix
status-firefox-esr52:
--- → affected
Keywords: regression
Version: unspecified → 39 Branch
Comment 9•7 years ago
|
||
Comment on attachment 8860183 [details] Bug 1358288: Fix incorrect ABI specification for js-ctypes declaration of GetVersionExW; Fix a potential crash. Beta54+. Should be in 54 beta 3.
Attachment #8860183 -
Flags: approval-mozilla-beta? → approval-mozilla-beta+
Comment 10•7 years ago
|
||
bugherder uplift |
https://hg.mozilla.org/releases/mozilla-beta/rev/b5526172339c
Comment 11•7 years ago
|
||
(In reply to Aaron Klotz [:aklotz] (a11y work receiving priority right now) from comment #7) > [Is this code covered by automated tests?]: Yes > [Has the fix been verified in Nightly?]: Yes > [Needs manual test from QE? If yes, steps to reproduce]: No Setting qe-verify- based on Aaron's assessment on manual testing needs and the fact that this fix has automated coverage.
Flags: qe-verify-
Assignee | ||
Comment 12•7 years ago
|
||
Comment on attachment 8860183 [details] Bug 1358288: Fix incorrect ABI specification for js-ctypes declaration of GetVersionExW; Cancelling ESR52 request. I have looked at the libffi code and there is no chance of crashing given the way it is implemented.
Attachment #8860183 -
Flags: approval-mozilla-esr52?
Updated•7 years ago
|
You need to log in
before you can comment on or make changes to this bug.
Description
•