Print preview generation fails for a large document |
||||
Issue descriptionChrome Version: r581818 developer build OS: Linux What steps will reproduce the problem? (1) Open https://www.gmbinder.com/share/-LFhhtssjN-teWCOregn (2) Print preview with the following settings: Destination: Save as PDF Paper size: A4 Leave other settings on default. (3) Wait for the print preview to generate... What is the expected result? 100+ page print preview appears. What happens instead? Print preview fails. In my debug build, I get: [1:1:0809/142306.190923:ERROR:print_render_frame_helper.cc(1341)] CopyMetafileDataToReadOnlySharedMem failed [1:1:0809/142306.191087:ERROR:print_render_frame_helper.cc(1624)] CreatePreviewDocument failed [1:1:0809/142306.191201:FATAL:print_render_frame_helper.cc(2309)] Check failed: state_ == INITIALIZED || state_ == RENDERING. <-- this should be a separate issue. This is split off from bug 871678. I bisected this to r546111, so it has to do with print compositing. Maybe the MSKP we are trying to send is too big?
,
Aug 9
Chrome 66 generates a 139 MB PDF. So presumably without compositing, it sends a lot less data over IPC.
,
Aug 9
BTW, I filed bug 872980 and bug 872983 for some of the bad failure handling issues I found.
,
Nov 2
We can fix this if the compositor accumulates data for the "print ready" document instead of the renderer.
,
Dec 5
Any updates on this?
,
Dec 5
I prototyped a fix last month, but haven't gotten around to making it good enough to check in yet.
,
Dec 7
Fair enough. May have to use a standalone version of v60.0.3112.113-r474897-win64, as I have tested versions prior to this particular version, and they had issues to GMBinder, as I have posted in https://bugs.chromium.org/p/chromium/issues/detail?id=871678#c19. Whereas v60.0.3112.113-r474897-win64 is the first released version that seems to work with GMBinder's content. It appears to render correctly, fast, and most of all, doesn't fail to load print preview.
,
Today
(15 hours ago)
|
||||
►
Sign in to add a comment |
||||
Comment 1 by thestig@chromium.org
, Aug 9