Printing to a debug build cloud print proxy results in abort/retry/ignore error |
|||||||||
Issue descriptionVersion: r388121 ToT OS: Windows What steps will reproduce the problem? (1) Run Chrome, or Chromium with API keys and --enable-cloud-print-proxy (2) Go to chrome://devices (3) Click Add printers (4) Complete the cloud printer proxy set up. (5) Go to a webpage (6) Try to print the webpage to a newly added printer What is the expected output? Using the built-in XPS virtual printer as an example - a dialog pops up to ask for a file name. Shortly after, the .xps file with that name appears and it contains the print out. What do you see instead? Using the built-in XPS virtual printer as an example - a dialog pops up to ask for a file name. Shortly after, the .xps file appears without the print out. An abort/retry/ignore dialog pops up.
,
Apr 19 2016
,
Apr 19 2016
,
Apr 20 2016
Well, my local debug build at 378647 is bad too, so I wasted some time bisecting today. Sometimes it takes a few print jobs to repro. :\
,
Apr 20 2016
It seems to only happen if the service process is from a debug build. Canary seems to work fine. Lowering priority, +wfh for reinforcement.
,
Apr 20 2016
,
May 13 2016
Can you provide a quick update on this issue?
,
May 13 2016
Still happening, even for regular print to XPS. No idea why.
,
May 17 2016
Just to confirm, this only occurs with a debug build, and is not out in the wild (or in Canary)?
,
Jun 27 2016
Sometimes it takes a couple tries to reproduce. It seems to happen when printing, period. When I run with --no-sandbox, I get more details: fxjs_v8.cpp / line 158 / g_isolate == pIsolate.
,
Jun 27 2016
It looks like we are calling chrome_pdf::InitializeSDK() / chrome_pdf::ShutdownSDK() / chrome_pdf::InitializeSDK(), and it fails the second time inside InitializeSDK() -> FPDF_InitLibraryWithConfig() -> IJS_Runtime::Initialize() -> FXJS_Initialize(). I suspect ShutdownSDK() should somehow call FXJS_Release(), but isn't doing that right now.
,
Jun 27 2016
,
Jun 29 2016
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/1530a0e1a9408e3caa17cfdc2cdd77b527eec3a3 commit 1530a0e1a9408e3caa17cfdc2cdd77b527eec3a3 Author: thestig <thestig@chromium.org> Date: Wed Jun 29 14:57:23 2016 Roll PDFium afe3e46..017052a https://pdfium.googlesource.com/pdfium.git/+log/afe3e46..017052a BUG= 604587 ,617365 TBR=ochang@chromium.org Review-Url: https://codereview.chromium.org/2100403004 Cr-Commit-Position: refs/heads/master@{#402807} [modify] https://crrev.com/1530a0e1a9408e3caa17cfdc2cdd77b527eec3a3/DEPS
,
Jun 29 2016
,
Sep 30 2016
Issue 622179 has been merged into this issue. |
|||||||||
►
Sign in to add a comment |
|||||||||
Comment 1 by thestig@chromium.org
, Apr 19 2016