Default Print Dialog Preferences Locks Up
Reported by
zhouyang...@gmail.com,
Mar 2 2016
|
||||
Issue descriptionUserAgent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/48.0.2564.116 Safari/537.36 Steps to reproduce the problem: 1. Open command prompt, go to the directory of chromium 45.0.2454.0, run "chrome.exe --disable-print-preview" 2. Since the issue is transient, try to navigate to sth like "google.com", repeat the steps below for several times 3. Right click and choose print 4. With cutePDF(I have never been able to reproduce it with regular printers, it happens to cutePDF, Send To OneNote, Fax ) selected as your printer, click the Preferences button 5. Change the orientation to Rotated Landscape 6. Click OK in the preferences dialog What is the expected behavior? Click Print(or Cancel) in the main print dialog, the dialog will disappear, and the printing(or cancel) action will be processed. What went wrong? Click Print(or Cancel) in the main print dialog, the dialog will not disappear, the browser and print dialog is locks up. Can only use task manager to kill the process. Did this work before? N/A Chrome version: 45.0.2454.0 Channel: n/a OS Version: 6.1 (Windows 7, Windows Server 2008 R2) Flash Version: Shockwave Flash 20.0 r0 I met a transient issue about print dialog locking up in CEF3. Since the issue is not happening every time, I have done lots of testing to reproduce it. After all the testing, I have narrowed it down that the bug is in Chromium. I found out that the issue is much more likely to reproduce with VM. I know that Chromium is displaying print dialog with preview, but CEF is not support that yet. CEF is still using the Microsoft print dialog without preview. I am not sure if Chromium is still maintaining the print dialog without preview. But it seems to have bugs with the print dialog. We are using CEF3 with our product. And some clients reported the freezing print dialog issue, when they make preference changes. The issue has been reported with CEF2272 and CEF2454 in windows 7. I also noticed that there used to be some developers reported similar bugs https://bitbucket.org/chromiumembedded/cef/issues/1613/print-dialog-preferences-locks-up-when-osr But it has been closed since it's not been reproduced successfully. When clients report this bug, I also spend long time trying to reproduce it. Then I found out it's transient, not happening every time. I got more success when reproducing it with VM in Classic theme. But I also reproduced it serveral times with my local machine in windows 7. I am not sure the issue starts from which version of Chromium. Since it's not happening every time. But the issue has been happened with Chromium 41.0.2272.0 and Chromium 45.0.2454.0. Thanks, Yang Zhou
,
Oct 6 2016
Does this still happen? What are the chances of reproducing it if one tries? Maybe try something like https://www.chromium.org/for-testers/bug-reporting-guidelines/hanging-tabs to capture a minidump with the state of the process when it's stuck? That might shine some light on the issue.
,
Oct 6 2016
Steps to reproduce the problem: 1. Open command prompt, go to the directory of chromium 45.0.2454.0, run "chrome.exe --disable-print-preview" 2. Since the issue is transient, try to navigate to sth like "google.com", repeat the steps below for several times 3. Right click and choose print 4. With cutePDF(I have never been able to reproduce it with regular printers, it happens to cutePDF, Send To OneNote, Fax ) selected as your printer, click the Preferences button 5. Change the orientation to Rotated Landscape 6. Click OK in the preferences dialog I have created a minidump before, but it's too big to upload it here.
,
Oct 6 2016
- There's no need to copy + paste the repro steps. What I'm asking is how frequently it occurs. e.g. if you try 10 times, you can reproduce the bug ___ times. - Chromium 45.x is rather old. We are never going to go back and fix problems there. Is this a problem with Chromium 53+ ? - If you have a minidump, but it's too large, upload it to some file sharing service?
,
Oct 18 2016
It was reproduced with 3-4 tries with Chromium 53. Reproduced twice in about 6-7 tries.
,
Oct 19 2016
I tried 6 times with Chromium 56. I successfully printed to "CutePDF Writer" every time. No hangs. This is on Windows 7.
,
Oct 28 2016
I have saved the dump files in google shared drive: https://drive.google.com/file/d/0BzzfjMYD9YcXRWYzYWpIei1uWFk/view?usp=sharing
,
Nov 28 2016
Hi thestig, Have you had a chance to look at Yang's dmp files?
,
Dec 20 2016
Hey thestig, were the dump files provided by zhouyang helpful in identifying the source of the problem?
,
May 30 2017
+brucedawson for Windows minidump expertise. FWIW, I was on leave for a while and never had a chance to look at this.
,
May 31 2017
Apologies for the delay in looking at the crash dump files. Unfortunately the .dmp files seem to be corrupted, or to have recorded state from corrupted processes. When loading them into windbg I get lots of these types of messages: .WARNING: api_ms_win_core_synch_l1_2_0 overlaps wtsapi32 .WARNING: apphelp overlaps version ................WARNING: credui overlaps chrome_elf ...WARNING: srvcli overlaps netapi32 .WARNING: wkscli overlaps webio Probably because of that the symbols don't load for ntdll.dll, kernel32.dll, kernelbase.dll, and other Microsoft binaries which makes analysis very difficult. I did notice that the process has modules loaded for ieframe.dll, ieframe.dll, iertutil.dll, office.dll, grooveex.dll, explorerframe.dll, and a lot of other non-Chrome modules which might be causing issues - they might be the cause of the hang. It wasn't clear to me what the five modules were - was that five different Chrome processes, or five different hangs? I'm assuming that was five different Chrome processes that were running at the time of the hang but it would be good to clarify that. When trying to force-load the symbols I got a lot of warnings about timestamp mismatches. That is, in the cases where the debugger was able to find symbols they had incorrect timestamps. The overlap warnings may be benign but the symbol problems are real. In the past I've seen those overlap warnings caused by using a 32-bit program to record a crash dump for a 64-bit process. Since you appear to be running 64-bit Chrome you should make sure that you use a 64-bit version of procdump or process explorer to record the crash dumps. This should happen automatically - just makes sure you are running the latest version of these tools. Running the latest version of Chrome, and having Windows fully patched, will also help. You should also see if you can reproduce the problem in Incognito mode, or with extensions otherwise disabled, because it is likely that some of the third-party DLLs that are being injected are the problem.
,
Jun 6 2017
Are the hangs still happening? If so, please try following Bruce's advice and see if either the problems go away, or see if you can get a better dump in case the hang persists.
,
May 23 2018
Closing issue as Wontfix due to lack of feedback requested but not provided. If the issue still exists please open a new issue with the details requested. Thanks..! |
||||
►
Sign in to add a comment |
||||
Comment 1 by b...@chromium.org
, Mar 3 2016