Crashes due to AMD OpenCL when working with pictures
Categories
(External Software Affecting Firefox :: Other, defect, P3)
Tracking
(firefox-esr45 wontfix, relnote-firefox 122+, firefox50 wontfix, firefox51 wontfix, firefox52 wontfix, firefox-esr52 wontfix, firefox-esr91 wontfix, firefox53 wontfix, firefox-esr115 wontfix, firefox56 wontfix, firefox57 wontfix, firefox58 wontfix, firefox120 wontfix, firefox121 wontfix, firefox122 fixed)
Tracking | Status | |
---|---|---|
firefox-esr45 | --- | wontfix |
relnote-firefox | --- | 122+ |
firefox50 | --- | wontfix |
firefox51 | --- | wontfix |
firefox52 | --- | wontfix |
firefox-esr52 | --- | wontfix |
firefox-esr91 | --- | wontfix |
firefox53 | --- | wontfix |
firefox-esr115 | --- | wontfix |
firefox56 | --- | wontfix |
firefox57 | --- | wontfix |
firefox58 | --- | wontfix |
firefox120 | --- | wontfix |
firefox121 | --- | wontfix |
firefox122 | --- | fixed |
People
(Reporter: philipp, Assigned: gstoll)
References
Details
(Keywords: crash)
Crash Data
Attachments
(1 file)
Comment 1•8 years ago
|
||
Comment 2•8 years ago
|
||
Comment 3•8 years ago
|
||
![]() |
||
Comment 4•7 years ago
|
||
Updated•7 years ago
|
Comment 6•7 years ago
|
||
Comment 7•7 years ago
|
||
Comment 8•7 years ago
|
||
Reporter | ||
Updated•7 years ago
|
Reporter | ||
Updated•7 years ago
|
Reporter | ||
Updated•6 years ago
|
Reporter | ||
Updated•5 years ago
|
Comment 9•3 years ago
|
||
Cleaning up the signatures as many report no crashes anymore. This is still happening and it's still strongly correlated with AMD graphics hardware. I couldn't find crashes with different graphics vendors under these signatures.
Comment 10•3 years ago
|
||
The correlation was a little too strong: this isn't an issue with the graphics driver, it's a CPU bug. The vast majority of the crashes comes from AMD Family 22 processors (i.e. Jaguar and friends) which have been a never-ending source of CPU-related issues. The rest of the crashes are coming from AMD Family 21 processors (Bulldozer derivatives) and those have also popped up from time to time. Long story short: don't try to fix this bug, it's not our fault.
Updated•3 years ago
|
Comment 11•3 years ago
|
||
(In reply to Gabriele Svelto [:gsvelto] from comment #10)
The correlation was a little too strong: this isn't an issue with the graphics driver, it's a CPU bug. The vast majority of the crashes comes from AMD Family 22 processors (i.e. Jaguar and friends) which have been a never-ending source of CPU-related issues. The rest of the crashes are coming from AMD Family 21 processors (Bulldozer derivatives) and those have also popped up from time to time. Long story short: don't try to fix this bug, it's not our fault.
With this pattern, it is likely a GPU driver related problem. The affected systems mentioned typically are matched with integrated or discrete AMD GPUs that are supported by the (now legacy for years) driver with the aforementioned OpenCL image processing. The last released driver for these products has that removed and is the recommended approach to address the issue as mentioned earlier in the bug list. I suspect the reports are from systems that have not updated to the last supported driver for these legacy products. I'd expect if affected systems are upgraded then the issue is addressed.
Comment 12•3 years ago
|
||
I thought about that given the modules on the stacks but there's two things that don't match the idea of a driver bug:
- We have crashes with very recent driver versions such as this one which is for version 21.5.2 released in 2021
- We don't have crashes from users with a combination of newer processors and older graphics cards
If it were purely a driver issue we'd see the crashes clump to a subset of driver versions and not include recent ones. Additionally we'd see more combinations of hardware being affected, not just two specific CPU families.
Updated•2 years ago
|
Assignee | ||
Comment 13•1 year ago
|
||
This crash still has a decent volume, and the user comments on the crashes are pretty angry...
:gsvelto, do you think if we blocked this DLL just for AMD Family 21 or 22 this would fix these crashes? Or would it just crash somewhere else? (note that I don't know how possible this is to do, just want to explore some options)
Note for the future - this would also be a candidate for user notification of crashes and directing them to a SUMO page, although unless we have a workaround this won't be very helpful...
Comment 14•1 year ago
|
||
Many comments mention that this crash happens when attaching a file... they don't say it explicitly but I suppose that this means that they happen within the file picker. That would explain why we crash on a thread that doesn't appear to be ours, maybe the Windows shell is spawning a thread on our behalf to create a preview of the picture or something like that and invoking this DLL in the process? If that's the case then I suppose that blocking it shouldn't affect users, but we cannot be certain unless we try.
Comment 15•1 year ago
|
||
This comment suggest that we can probably safely block the DLL and users will get a black preview - which we don't care about. The solution is to upgrade the driver so yeah, this would be a great candidate for a "smart" crash reporter to inform the user about the fix. Anyway, I agree we should block it (both the 64- and 32-bit versions).
Assignee | ||
Comment 16•1 year ago
|
||
Windows DLLBlocklist request form
-
How were we aware of the problem?
Crash reports -
What is a suspicious product causing the problem?
AMD JPEG decoder -
Is the product downloadable? If so, do we have a local repro?
It requires a few specific AMD CPUs, so I haven't tried reproing -
Which OS versions does the problem occur on?
Happens on Windows 10. -
Which process types does the problem occur on?
Just in the parent process. Although with the out-of-process file picker turned on, we may need to come back and block this in that process as well. -
What is the maximum version of the module in the crash reports?
1.1.0.0 for the 64-bit version; however based on AMD comments we should block all versions of these. -
Is the issue fixed by a newer version of the product?
No -
Do we have data about the module in the third-party-module ping?
We don't seem to. -
Do we know how the module is loaded?
No. -
Describe your conclusion.
We should block all versions of these two DLLs in the parent process.
Assignee | ||
Comment 17•1 year ago
|
||
Updated•1 year ago
|
Comment 18•1 year ago
|
||
An idle suggestion: in lieu of a "smart" crash reporter, might we want to add a release note telling people to update their driver if they see these blank image previews?
Assignee | ||
Comment 19•1 year ago
|
||
Yes, that's a great idea, thanks!
Release Note Request (optional, but appreciated)
[Why is this notable]: It may cause image previews in the file dialog to show up black.
[Affects Firefox for Android]: No
[Suggested wording]: "Some machines with older AMD CPUs may see image thumbnails incorrectly render as all black in file dialogs. If this is the case, updating the graphics driver should address this issue."
[Links (documentation, blog post, etc)]:
Comment 20•1 year ago
|
||
Comment 21•1 year ago
|
||
Backed out for causing build bustages in WindowsDllBlocklistA11yDefs.h.stub
- Backout link
- Push with failures
- Failure Log
- Failure line: NameError: name 'DllBLocklistEntry' is not defined
Comment 23•1 year ago
|
||
Comment 24•1 year ago
|
||
bugherder |
Updated•1 year ago
|
Comment 25•1 year ago
|
||
Thanks, added the relnote as a known issue to the Fx122 nightly release notes, please allow 30 minutes for the site to update.
Keeping the relnote-firefox flag as ? to keep it on the radar for inclusion in the final Fx122 release notes
Updated•1 year ago
|
Updated•1 year ago
|
Description
•