Missing network printers on Fedora 35
Categories
(Core :: Printing: Setup, defect, P2)
Tracking
()
People
(Reporter: jwatt, Assigned: jwatt)
References
(Regression)
Details
(Keywords: regression)
Attachments
(1 file)
I'm sure I can't be the only person to be experiencing this, but my network printer is missing from Firefox on Fedora 35. This seems to be down to us filtering out CUPS_PRINTER_DISCOVERED printers. We started doing that in bug 1667978 to avoid long pauses waiting for the printer list to be generated. Instead of doing that we should probably include them and set a sensible timeout time. For my printer (connected to wifi), a timeout of 25 ms is enough for CUPS to add it to the list of enumerated print destinations. We should probably also make this value configurable via a pref to allow easier debugging and control for anyone else experiencing missing printers.
Assignee | ||
Comment 1•2 years ago
|
||
The timeout is configurable via the pref print.cups_enum_dests_timeout_ms.
Updated•2 years ago
|
Comment 2•2 years ago
|
||
Set release status flags based on info from the regressing bug 1667978
Updated•2 years ago
|
Pushed by jwatt@jwatt.org: https://hg.mozilla.org/integration/autoland/rev/df442e234a16 Include discovered/network printers in the CUPS list, with a timeout. r=emilio
Comment 4•2 years ago
|
||
Backed out for causing leaks at cupsArrayNew3.
Failure log: https://treeherder.mozilla.org/logviewer?job_id=362687699&repo=autoland
Backout link: https://hg.mozilla.org/integration/autoland/rev/675825687d035844c22168dcae1cb47a0ecde0c2
Assignee | ||
Comment 5•2 years ago
|
||
Interesting. I guess we had a pre-existing leak here but never hit the error case in CI to expose it.
Pushed by jwatt@jwatt.org: https://hg.mozilla.org/integration/autoland/rev/d69272c85ef1 Include discovered/network printers in the CUPS list, with a timeout. r=emilio
Comment 7•2 years ago
|
||
Backed out for causing mochitest failures(leak at cupsArrayNew3)
- Backout link
- Push with failures
- Failure Log
- Failure line: TEST-UNEXPECTED-FAIL | LeakSanitizer | leak at cupsArrayNew3
Assignee | ||
Comment 8•2 years ago
|
||
Gah. The failure moved from c1 to c3, so my Try push missed this is still failing.
https://treeherder.mozilla.org/jobs?repo=try&revision=ade0261d9d07eda761da9a74c9b8996a3e97e0b0
Assignee | ||
Comment 9•2 years ago
•
|
||
Seems this is a leak in the cups library. I've filed an upstream pull request at https://github.com/OpenPrinting/cups/pull/317
Assignee | ||
Comment 10•2 years ago
•
|
||
And for the record, any of the following tests in https://searchfox.org/mozilla-central/source/layout/base/tests/chrome/ will trigger this in Linux ASAN builds on CI (it doesn't repro locally on Fedora 35):
- test_printer_default_settings.html
- test_get_printer_basic_attributes.html
- test_get_printer_paper_sizes.html
- test_get_printer_orientation.html
Updated•2 years ago
|
Comment 11•2 years ago
|
||
Pushed by jwatt@jwatt.org: https://hg.mozilla.org/integration/autoland/rev/fcbcac27e338 Include discovered/network printers in the CUPS list, with a timeout. r=emilio,decoder
Comment 12•2 years ago
|
||
bugherder |
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Comment 13•2 years ago
|
||
Hello,
I have attempted to reproduce this issue with the STR provided in description and did not succeed.
STR were performed on KDE Neon, Fedora 35 as well as Ubuntu 20 using the affected build 97.0a1(20211229214859) as well as the latest Nightly 101.0a1(20220414092955) .
Jwatt , If you have access to this OS and configuration, please let us know if this issue still occurs.
Thank you.
Description
•