Crash in [@ (anonymous namespace)::DarwinGamepadService::ReportChangedCallback]
Categories
(Core :: DOM: Device Interfaces, defect)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox-esr60 | --- | unaffected |
| firefox-esr68 | --- | unaffected |
| firefox69 | --- | unaffected |
| firefox70 | --- | fixed |
| firefox71 | --- | fixed |
| firefox72 | --- | fixed |
| firefox73 | --- | fixed |
People
(Reporter: marcia, Assigned: daoshengmu)
References
(Regression, )
Details
(Keywords: crash, regression)
Crash Data
Attachments
(2 files)
|
47 bytes,
text/x-phabricator-request
|
lizzard
:
approval-mozilla-beta+
|
Details | Review |
|
47 bytes,
text/x-phabricator-request
|
Details | Review |
This bug is for crash report bp-5b0b7d03-9e77-4272-a82b-0f4900190906.
Seen while looking at nightly crash stats: https://bit.ly/2kyGTkR. Crashes started in 70 beta. Code was touched in Bug 1523353 in the 70 timeframe. One URL that is crashing is https://html5gamepad.com/.
ni on dmu
Top 10 frames of crashing thread:
0 XUL dom/gamepad/cocoa/CocoaGamepad.cpp:343
1 IOKit __IOHIDDeviceInputReportApplier
2 CoreFoundation __CFBasicHashIncSlotCount
3 CoreFoundation -[CFPrefsSource alreadylocked_copyDictionary]
4 CoreFoundation __CFBasicHashIncSlotCount
5 IOKit __IOHIDDeviceInputReportWithTimeStampCallback
6 IOHIDLib IOHIDLib@0x5135
7 CoreFoundation __CFRunLoopDoSource1
8 CoreFoundation __CFRunLoopDoSource1
9 CoreFoundation __CFRunLoopDoSource1
| Assignee | ||
Comment 1•6 years ago
|
||
Comment 4•6 years ago
|
||
| bugherder | ||
Updated•6 years ago
|
Comment 5•6 years ago
|
||
Please nominate this for Beta approval when you get a chance.
| Assignee | ||
Comment 6•6 years ago
|
||
Comment on attachment 9091273 [details]
Bug 1579492 - Check if nullptr in DarwinGamepadService::ReportChangedCallback().
Beta/Release Uplift Approval Request
- User impact if declined: The crash will continue to happen when using Gamepad on Mac OS.
- Is this code covered by automated tests?: No
- Has the fix been verified in Nightly?: Yes
- Needs manual test from QE?: No
- If yes, steps to reproduce:
- List of other uplifts needed: None
- Risk to taking this patch: Low
- Why is the change risky/not risky? (and alternatives if risky): It just adds a nullptr check to avoid access 0x0 address.
- String changes made/needed:
Comment 7•6 years ago
|
||
Comment on attachment 9091273 [details]
Bug 1579492 - Check if nullptr in DarwinGamepadService::ReportChangedCallback().
Fix for a new Mac crash in 70, let's uplift for beta 7.
Comment 8•6 years ago
|
||
| bugherder uplift | ||
Updated•6 years ago
|
Updated•6 years ago
|
Comment 9•6 years ago
|
||
Clearing the QE+ flag since with our devices, we are unable to reproduce the crash.
Comment 10•6 years ago
|
||
we still see crash reports from beta builds containing the uplifted patch:
https://crash-stats.mozilla.org/signature/?build_id=%3E%3D20190916074538&product=Firefox&signature=%28anonymous%20namespace%29%3A%3ADarwinGamepadService%3A%3AReportChangedCallback#reports
| Assignee | ||
Comment 11•6 years ago
|
||
I think the original fix is unharmful and makes it more safe.
I do not have clear STR to reproduce it so far. Currently, I only can suspect it is because we didn't unregister IOHIDDeviceRegisterInputReportCallback [1] while DeviceRemoved().
[1] https://stackoverflow.com/questions/38149072/how-do-i-unregister-an-iokit-hid-callback
Comment 12•5 years ago
|
||
https://crash-stats.mozilla.org/report/index/32a9e84a-86ff-4ddd-81ba-351a00191205 points to this signature (from Firefox Dev Edition 72).
The problem surfaced live on-stage, crashing the browser, Wei referred to it as "when I try to use my Joycon controllers from separate tabs, it pretty consistently crashes Firefox". She was using the Joycon controllers (connecting over Bluetooth) to control a slide deck in one tab, and wanted to showcase further opportunities for querying the gamepads with a second tab.
https://twitter.com/reknowledgeable/status/1202583937647689728
| Assignee | ||
Updated•5 years ago
|
| Assignee | ||
Comment 13•5 years ago
|
||
Comment 14•5 years ago
|
||
Comment 15•5 years ago
|
||
| bugherder | ||
Comment 16•5 years ago
|
||
Change the status for beta to have the same as nightly and release.
For more information, please visit auto_nag documentation.
Updated•3 years ago
|
Description
•