Closed Bug 1266274 Opened 8 years ago Closed 8 years ago

setting print.always_print_silent causes firefox to crash/become non-responsive

Categories

(Toolkit :: Printing, defect)

44 Branch
x86_64
Linux
defect
Not set
normal

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: nlanesmith, Unassigned)

Details

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2623.112 Safari/537.36 Steps to reproduce: 1. Open about:config 2. Create new key/value (print.always_print_silent = true) 3. navigate to a random website 4. open console, JS print (window.print();) Actual results: firefox UI works but clicking on links no longer works doing step #4 a second time gives a popup: "Some printing functionality is not currently available." A 500MB core file shows up in my home folder. Expected results: A document should have been printed
OS: Unspecified → Linux
Hardware: Unspecified → x86_64
Component: Untriaged → Printing
Product: Firefox → Toolkit
Hardware: Unspecified → x86_64 OS: Windows → XP-7
This is also causing issues with extensions that rely on this flag: https://github.com/edabg/jsprintsetup/issues/9
Hi, on what version of Firefox were you experiencing this problem? Would you mind attaching the text from "Copy text to clipboard" from the about:support page. The bug Version says 44 Branch, but I can't reproduce on 44.0.2 or 46.0.1 on Ubuntu 12.04.
Flags: needinfo?(nlanesmith)
(In reply to Bob Owen (:bobowen) from comment #3) > Hi, on what version of Firefox were you experiencing this problem? > Would you mind attaching the text from "Copy text to clipboard" from the > about:support page. > > The bug Version says 44 Branch, but I can't reproduce on 44.0.2 or 46.0.1 on > Ubuntu 12.04. Hi, This is the information: ************************************ Application Basics ------------------ Name: Firefox Version: 46.0.1 Build ID: 20160502172042 Update Channel: release User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:46.0) Gecko/20100101 Firefox/46.0 Multiprocess Windows: 0/1 (Disabled) Safe Mode: false Crash Reports for the Last 3 Days --------------------------------- All Crash Reports Extensions ---------- Name: Copy HTML Version: 0.2.5.1-signed.1-signed Enabled: true ID: jid0-lqtsBMO4PkjAOFcCt6zDcWsAXCU@jetpack Name: DownThemAll! Version: 2.0.19 Enabled: true ID: {DDC359D1-844A-42a7-9AA1-88A850A938A8} Name: Firefox Hello Version: 1.2.6 Enabled: true ID: loop@mozilla.org Name: IE Tab 2 (FF 3.6+) Version: 6.2.18.1 Enabled: true ID: {1BC9BA34-1EED-42ca-A505-6D2F1A935BBB} Name: Multi-process staged rollout Version: 1.0 Enabled: true ID: e10srollout@mozilla.org Name: Pocket Version: 1.0 Enabled: true ID: firefox@getpocket.com Name: Skype Version: 8.1.0.9134 Enabled: true ID: {82AF8DCA-6DE9-405D-BD5E-43525BDAD38A} Name: Tamper Data Version: 11.0.1.1-signed.1-signed Enabled: true ID: {9c51bd27-6ed8-4000-a2bf-36cb95c0c947} Name: View Cookies Version: 1.13 Enabled: true ID: {8F6A6FD9-0619-459f-B9D0-81DE065D4E21} Name: Web Developer Version: 1.2.5.1-signed.1-signed Enabled: true ID: {c45c406e-ab73-11d8-be73-000a95be3b12} Name: Firebug Version: 2.0.16 Enabled: false ID: firebug@software.joehewitt.com Graphics -------- Adapter Description: ATI Radeon HD 5450 Adapter Drivers: aticfx64 aticfx64 aticfx64 aticfx32 aticfx32 aticfx32 atiumd64 atidxx64 atidxx64 atiumdag atidxx32 atidxx32 atiumdva atiumd6a atitmm64 Adapter RAM: 1024 Asynchronous Pan/Zoom: none Device ID: 0x68f9 DirectWrite Enabled: false (6.2.9200.17568) Driver Date: 1-26-2011 Driver Version: 8.821.0.0 GPU #2 Active: false GPU Accelerated Windows: 0/1 Basic (OMTC) Subsys ID: 23401462 Supports Hardware H264 Decoding: No; Hardware video decoding disabled or blacklisted Vendor ID: 0x1002 WebGL Renderer: Google Inc. -- ANGLE (ATI Radeon HD 5450 Direct3D11 vs_5_0 ps_5_0) windowLayerManagerRemote: true AzureCanvasBackend: skia AzureContentBackend: cairo AzureFallbackCanvasBackend: cairo AzureSkiaAccelerated: 0 Important Modified Preferences ------------------------------ accessibility.typeaheadfind.flashBar: 0 browser.cache.disk.capacity: 358400 browser.cache.disk.filesystem_reported: 1 browser.cache.disk.hashstats_reported: 1 browser.cache.disk.smart_size_cached_value: 358400 browser.cache.disk.smart_size.first_run: false browser.cache.disk.smart_size.use_old_max: false browser.cache.frecency_experiment: 3 browser.download.importedFromSqlite: true browser.download.manager.alertOnEXEOpen: true browser.places.smartBookmarksVersion: 7 browser.sessionstore.upgradeBackup.latestBuildID: 20160502172042 browser.startup.homepage_override.buildID: 20160502172042 browser.startup.homepage_override.mstone: 46.0.1 browser.urlbar.userMadeSearchSuggestionsChoice: true dom.allow_scripts_to_close_windows: true dom.apps.reset-permissions: true dom.ipc.plugins.enabled.npietab2.dll: true dom.mozApps.used: true dom.successive_dialog_time_limit: 0 dom.w3c_touch_events.expose: false extensions.lastAppVersion: 46.0.1 font.internaluseonly.changed: false gfx.crash-guard.glcontext.appVersion: 45.0.2 gfx.crash-guard.glcontext.deviceID: 0x68f9 gfx.crash-guard.glcontext.driverVersion: 8.821.0.0 gfx.crash-guard.glcontext.gfx.driver-init.direct3d11-angle: true gfx.crash-guard.glcontext.gfx.driver-init.webgl-angle: true gfx.crash-guard.glcontext.gfx.driver-init.webgl-angle-force-d3d11: false gfx.crash-guard.glcontext.gfx.driver-init.webgl-angle-force-warp: false gfx.crash-guard.glcontext.gfx.driver-init.webgl-angle-try-d3d11: true gfx.crash-guard.status.glcontext: 2 gfx.direct2d.disabled: true gfx.direct3d.last_used_feature_level_idx: 0 gfx.direct3d.prefer_10_1: true gfx.driver-init.appVersion: 41.0.2 gfx.driver-init.deviceID: 0x68f9 gfx.driver-init.driverVersion: 8.821.0.0 gfx.driver-init.feature-d2d: false gfx.driver-init.feature-d3d11: true gfx.driver-init.status: 2 layers.acceleration.disabled: true media.gmp-eme-adobe.abi: x86-msvc-x64 media.gmp-eme-adobe.lastUpdate: 1461783856 media.gmp-eme-adobe.version: 17 media.gmp-gmpopenh264.abi: x86-msvc-x64 media.gmp-gmpopenh264.lastUpdate: 1455543321 media.gmp-gmpopenh264.version: 1.5.3 media.gmp-manager.buildID: 20160502172042 media.gmp-manager.lastCheck: 1462799121 media.hardware-video-decoding.failed: false media.youtube-ua.override.to: 43 network.auth.allow-subresource-auth: 2 network.cookie.prefsMigrated: true network.predictor.cleaned-up: true places.database.lastMaintenance: 1462799824 places.history.expiration.transient_current_max_pages: 104858 places.history.expiration.transient_optimal_database_size: 167772160 plugin.disable_full_page_plugin_for_types: application/pdf plugin.importedState: true plugin.load_in_parent_process.application/ietab2: true plugin.state.java: 2 print. show_print_progress: false print.always_print_silent: true print.printer_Microsoft_XPS_Document_Writer.print_bgcolor: false print.printer_Microsoft_XPS_Document_Writer.print_bgimages: false print.printer_Microsoft_XPS_Document_Writer.print_colorspace: print.printer_Microsoft_XPS_Document_Writer.print_command: print.printer_Microsoft_XPS_Document_Writer.print_downloadfonts: false print.printer_Microsoft_XPS_Document_Writer.print_duplex: 819474 print.printer_Microsoft_XPS_Document_Writer.print_edge_bottom: 0 print.printer_Microsoft_XPS_Document_Writer.print_edge_left: 0 print.printer_Microsoft_XPS_Document_Writer.print_edge_right: 0 print.printer_Microsoft_XPS_Document_Writer.print_edge_top: 0 print.printer_Microsoft_XPS_Document_Writer.print_evenpages: true print.printer_Microsoft_XPS_Document_Writer.print_footercenter: print.printer_Microsoft_XPS_Document_Writer.print_footerleft: &PT print.printer_Microsoft_XPS_Document_Writer.print_footerright: &D print.printer_Microsoft_XPS_Document_Writer.print_headercenter: print.printer_Microsoft_XPS_Document_Writer.print_headerleft: &T print.printer_Microsoft_XPS_Document_Writer.print_headerright: &U print.printer_Microsoft_XPS_Document_Writer.print_in_color: true print.printer_Microsoft_XPS_Document_Writer.print_margin_bottom: 0 print.printer_Microsoft_XPS_Document_Writer.print_margin_left: 0 print.printer_Microsoft_XPS_Document_Writer.print_margin_right: 0 print.printer_Microsoft_XPS_Document_Writer.print_margin_top: 0 print.printer_Microsoft_XPS_Document_Writer.print_oddpages: true print.printer_Microsoft_XPS_Document_Writer.print_orientation: 0 print.printer_Microsoft_XPS_Document_Writer.print_page_delay: 50 print.printer_Microsoft_XPS_Document_Writer.print_paper_data: 1 print.printer_Microsoft_XPS_Document_Writer.print_paper_height: 11.00 print.printer_Microsoft_XPS_Document_Writer.print_paper_name: print.printer_Microsoft_XPS_Document_Writer.print_paper_size_type: 0 print.printer_Microsoft_XPS_Document_Writer.print_paper_size_unit: 0 print.printer_Microsoft_XPS_Document_Writer.print_paper_width: 8.50 print.printer_Microsoft_XPS_Document_Writer.print_plex_name: print.printer_Microsoft_XPS_Document_Writer.print_resolution: -2126741248 print.printer_Microsoft_XPS_Document_Writer.print_resolution_name: print.printer_Microsoft_XPS_Document_Writer.print_reversed: false print.printer_Microsoft_XPS_Document_Writer.print_scaling: 1.00 print.printer_Microsoft_XPS_Document_Writer.print_shrink_to_fit: true print.printer_Microsoft_XPS_Document_Writer.print_to_file: false print.printer_Microsoft_XPS_Document_Writer.print_unwriteable_margin_bottom: 0 print.printer_Microsoft_XPS_Document_Writer.print_unwriteable_margin_left: 0 print.printer_Microsoft_XPS_Document_Writer.print_unwriteable_margin_right: 0 print.printer_Microsoft_XPS_Document_Writer.print_unwriteable_margin_top: 0 print.printer_PDF24_PDF.print_bgcolor: false print.printer_PDF24_PDF.print_bgimages: false print.printer_PDF24_PDF.print_colorspace: print.printer_PDF24_PDF.print_command: print.printer_PDF24_PDF.print_downloadfonts: false print.printer_PDF24_PDF.print_duplex: 819474 print.printer_PDF24_PDF.print_edge_bottom: 0 print.printer_PDF24_PDF.print_edge_left: 0 print.printer_PDF24_PDF.print_edge_right: 0 print.printer_PDF24_PDF.print_edge_top: 0 print.printer_PDF24_PDF.print_evenpages: true print.printer_PDF24_PDF.print_footercenter: print.printer_PDF24_PDF.print_footerleft: &PT print.printer_PDF24_PDF.print_footerright: &D print.printer_PDF24_PDF.print_headercenter: print.printer_PDF24_PDF.print_headerleft: &T print.printer_PDF24_PDF.print_headerright: &U print.printer_PDF24_PDF.print_in_color: true print.printer_PDF24_PDF.print_margin_bottom: 0 print.printer_PDF24_PDF.print_margin_left: 0 print.printer_PDF24_PDF.print_margin_right: 0 print.printer_PDF24_PDF.print_margin_top: 0 print.printer_PDF24_PDF.print_oddpages: true print.printer_PDF24_PDF.print_orientation: 0 print.printer_PDF24_PDF.print_page_delay: 50 print.printer_PDF24_PDF.print_paper_data: 1 print.printer_PDF24_PDF.print_paper_height: 11.00 print.printer_PDF24_PDF.print_paper_name: print.printer_PDF24_PDF.print_paper_size_type: 0 print.printer_PDF24_PDF.print_paper_size_unit: 0 print.printer_PDF24_PDF.print_paper_width: 8.50 print.printer_PDF24_PDF.print_plex_name: print.printer_PDF24_PDF.print_resolution: -2126741248 print.printer_PDF24_PDF.print_resolution_name: print.printer_PDF24_PDF.print_reversed: false print.printer_PDF24_PDF.print_scaling: 1.00 print.printer_PDF24_PDF.print_shrink_to_fit: true print.printer_PDF24_PDF.print_to_file: false print.printer_PDF24_PDF.print_unwriteable_margin_bottom: 0 print.printer_PDF24_PDF.print_unwriteable_margin_left: 0 print.printer_PDF24_PDF.print_unwriteable_margin_right: 0 print.printer_PDF24_PDF.print_unwriteable_margin_top: 0 print.printer_PDF995.print_bgcolor: false print.printer_PDF995.print_bgimages: false print.printer_PDF995.print_colorspace: print.printer_PDF995.print_command: print.printer_PDF995.print_downloadfonts: false print.printer_PDF995.print_duplex: 819474 print.printer_PDF995.print_edge_bottom: 0 print.printer_PDF995.print_edge_left: 0 print.printer_PDF995.print_edge_right: 0 print.printer_PDF995.print_edge_top: 0 print.printer_PDF995.print_evenpages: true print.printer_PDF995.print_footercenter: print.printer_PDF995.print_footerleft: &PT print.printer_PDF995.print_footerright: &D print.printer_PDF995.print_headercenter: print.printer_PDF995.print_headerleft: &T print.printer_PDF995.print_headerright: &U print.printer_PDF995.print_in_color: true print.printer_PDF995.print_margin_bottom: 0 print.printer_PDF995.print_margin_left: 0 print.printer_PDF995.print_margin_right: 0 print.printer_PDF995.print_margin_top: 0 print.printer_PDF995.print_oddpages: true print.printer_PDF995.print_orientation: 0 print.printer_PDF995.print_page_delay: 50 print.printer_PDF995.print_paper_data: 1 print.printer_PDF995.print_paper_height: 11.00 print.printer_PDF995.print_paper_name: print.printer_PDF995.print_paper_size_type: 0 print.printer_PDF995.print_paper_size_unit: 0 print.printer_PDF995.print_paper_width: 8.50 print.printer_PDF995.print_plex_name: print.printer_PDF995.print_resolution: -2126741248 print.printer_PDF995.print_resolution_name: print.printer_PDF995.print_reversed: false print.printer_PDF995.print_scaling: 1.00 print.printer_PDF995.print_shrink_to_fit: true print.printer_PDF995.print_to_file: false print.printer_PDF995.print_unwriteable_margin_bottom: 0 print.printer_PDF995.print_unwriteable_margin_left: 0 print.printer_PDF995.print_unwriteable_margin_right: 0 print.printer_PDF995.print_unwriteable_margin_top: 0 print.show_print_progress: false privacy.cpd.downloads: false privacy.cpd.formdata: false privacy.cpd.history: false privacy.cpd.sessions: false privacy.donottrackheader.enabled: true privacy.sanitize.migrateClearSavedPwdsOnExit: true privacy.sanitize.migrateFx3Prefs: true privacy.sanitize.timeSpan: 0 security.warn_viewing_mixed: false services.sync.declinedEngines: storage.vacuum.last.index: 1 storage.vacuum.last.places.sqlite: 1462547519 Important Locked Preferences ---------------------------- JavaScript ---------- Incremental GC: true Accessibility ------------- Activated: false Prevent Accessibility: 0 Library Versions ---------------- NSPR Expected minimum version: 4.12 Version in use: 4.12 NSS Expected minimum version: 3.22.3 Basic ECC Version in use: 3.22.3 Basic ECC NSSSMIME Expected minimum version: 3.22.3 Basic ECC Version in use: 3.22.3 Basic ECC NSSSSL Expected minimum version: 3.22.3 Basic ECC Version in use: 3.22.3 Basic ECC NSSUTIL Expected minimum version: 3.22.3 Version in use: 3.22.3 Experimental Features --------------------- *****************************************
(In reply to Jose from comment #4) > (In reply to Bob Owen (:bobowen) from comment #3) > > Hi, on what version of Firefox were you experiencing this problem? > > Would you mind attaching the text from "Copy text to clipboard" from the > > about:support page. > > > > The bug Version says 44 Branch, but I can't reproduce on 44.0.2 or 46.0.1 on > > Ubuntu 12.04. > > Hi, This is the information: I think the issue you are seeing is probably bug 1255336, which is on Windows and has a fix. To work around it on current release you can set print.always_print_silent to false, then print for each printer you use (to set the resolution in the prefs) and then set print.always_print_silent back to true. The original reporter for this bug, was experiencing an issue on Linux I believe.
Firefox 44.0 on Ubuntu 15.10. Application Basics ------------------ Name: Firefox Version: 44.0 Build ID: 20160125133825 User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:44.0) Gecko/20100101 Firefox/44.0 Multiprocess Windows: 0/2 (default: false) Safe Mode: false Crash Reports for the Last 3 Days --------------------------------- All Crash Reports Extensions ---------- Graphics -------- Adapter Description: VMware, Inc. -- Gallium 0.4 on llvmpipe (LLVM 3.6, 256 bits) Asynchronous Pan/Zoom: none Device ID: Gallium 0.4 on llvmpipe (LLVM 3.6, 256 bits) Driver Version: 3.0 Mesa 10.5.9 GPU Accelerated Windows: 0/2 Basic (OMTC) Supports Hardware H264 Decoding: No; Failed to create H264 decoder Vendor ID: VMware, Inc. WebGL Renderer: VMware, Inc. -- Gallium 0.4 on llvmpipe (LLVM 3.6, 256 bits) windowLayerManagerRemote: true AzureCanvasBackend: cairo AzureContentBackend: cairo AzureFallbackCanvasBackend: none AzureSkiaAccelerated: 0 CairoUseXRender: 1 Important Modified Preferences ------------------------------ browser.cache.disk.capacity: 358400 browser.cache.disk.filesystem_reported: 1 browser.cache.disk.smart_size.first_run: false browser.cache.frecency_experiment: 2 browser.download.importedFromSqlite: true browser.places.smartBookmarksVersion: 7 browser.startup.homepage_override.buildID: 20160125133825 browser.startup.homepage_override.mstone: 44.0 dom.apps.reset-permissions: true dom.mozApps.used: true extensions.lastAppVersion: 44.0 media.gmp-gmpopenh264.abi: x86_64-gcc3 media.gmp-gmpopenh264.lastUpdate: 1461205838 media.gmp-gmpopenh264.version: 1.5.3 media.gmp-manager.buildID: 20160125133825 media.gmp-manager.lastCheck: 1462870284 network.cookie.prefsMigrated: true network.predictor.cleaned-up: true places.history.expiration.transient_current_max_pages: 44681 plugin.disable_full_page_plugin_for_types: application/pdf print.always_print_silent: true print.print_bgcolor: false print.print_bgimages: false print.print_duplex: 0 print.print_evenpages: true print.print_in_color: true print.print_margin_bottom: 0.5 print.print_margin_left: 0.5 print.print_margin_right: 0.5 print.print_margin_top: 0.5 print.print_oddpages: true print.print_orientation: 0 print.print_page_delay: 50 print.print_paper_data: 0 print.print_paper_height: 11.00 print.print_paper_name: na_letter print.print_paper_size_type: 1 print.print_paper_size_unit: 0 print.print_paper_width: 8.50 print.print_scaling: 1.00 print.print_shrink_to_fit: true print.print_to_file: false print.print_unwriteable_margin_bottom: 56 print.print_unwriteable_margin_left: 25 print.print_unwriteable_margin_right: 25 print.print_unwriteable_margin_top: 25 privacy.sanitize.migrateClearSavedPwdsOnExit: true storage.vacuum.last.index: 0 Important Locked Preferences ---------------------------- JavaScript ---------- Incremental GC: true Accessibility ------------- Activated: false Prevent Accessibility: 0 Library Versions ---------------- NSPR Expected minimum version: 4.11 Version in use: 4.11 NSS Expected minimum version: 3.21 Basic ECC Version in use: 3.21 Basic ECC NSSSMIME Expected minimum version: 3.21 Basic ECC Version in use: 3.21 Basic ECC NSSSSL Expected minimum version: 3.21 Basic ECC Version in use: 3.21 Basic ECC NSSUTIL Expected minimum version: 3.21 Version in use: 3.21 Experimental Features --------------------- Sandbox ------- Seccomp-BPF (System Call Filtering): true Seccomp Thread Synchronization: false User Namespaces for privileged processes: true User Namespaces: false Media Plugin Sandboxing: true
(In reply to nlanesmith from comment #6) > Firefox 44.0 on Ubuntu 15.10. I've tried a couple of different locale versions of 44.0 and I can't reproduce. My about:support looks similar to yours, so I'm out of ideas. You could try updating to the latest version, which would probably be a good idea anyway.
I just reproduced the bug on 45.0.2, same settings. I'll try the latest FF next. I could send you a docker image to reproduce it, or setup VNC into a box with the image. Alternatively, are there pre-compiled firefox binaries I can get a stacktrace from? or should I build one?
(In reply to nlanesmith from comment #8) > Alternatively, are there pre-compiled firefox binaries I can get a > stacktrace from? or should I build one? Firefox has built in crash reporting, do you see anything in the about:crashes page? Also, there is a symbol server, but I've never tried using it for Linux version: https://developer.mozilla.org/en-US/docs/Mozilla/Using_the_Mozilla_symbol_server I don't work much on Linux, but maybe you could try analysing the core file with gdb (as long as you still have the exact same binaries). Something like: gdb <path-to-firefox> <path-to-core>
Any update here, nlanesmith?
No luck reproducing, and it's been 3 months with no word from the reporter. Closing INCOMPLETE.
Status: UNCONFIRMED → RESOLVED
Closed: 8 years ago
Resolution: --- → INCOMPLETE
Flags: needinfo?(nlanesmith)
You need to log in before you can comment on or make changes to this bug.