Project: chromium Issues People Development process History Sign in
New issue
Advanced search Search tips
Issue 175514 Crash at webkit::ppapi::PluginInstance::PrintPDFOutput when printing a PDF
Starred by 5 users Project Member Reported by mbollu@chromium.org, Feb 11 2013 Back to list
Status: Verified
Owner: vitalyb...@chromium.org
Closed: Feb 2013
Cc: dharani@chromium.org, vivianz@chromium.org
Components:
OS: Linux, Chrome
Pri: 2
Type: Bug


Sign in to add a comment
Chrome Version: 26.0.1408.1 (Official Build 181614) dev
Chrome OS Version: 3690.0.0 (Official Build) dev-channel link
Network info: Ethernet

Please specify Area-* of the system to which this bug/feature applies (add
the label below).

Steps To Reproduce:
1. Start Chrome.
2. Open w2 pdf.
3. Press Ctrl+P. Print Preview opens.
4. Click on "Print using Google Cloud Print dialog...(Shift+Ctrl+P)"

Expected Result:

Actual Result:
Chrome crashes in background. Cloud Print window doesn't crash.
Crash id: e2f0643aed2e115d, 78a420050b24b200, fe493861de940e25

How frequently does this problem reproduce? Always
 
Comment 1 by mbollu@chromium.org, Feb 11 2013
Labels: Stability-Crash
Stack Trace:

Thread 0 *CRASHED* ( SIGSEGV @ 0x100046f7e )

0x100046f7e			
0x7feb7dc15c7e	 [chrome]	 - webkit/plugins/ppapi/ppapi_plugin_instance.cc:1639]	webkit::ppapi::PluginInstance::PrintPDFOutput(int, SkCanvas*)
0x7feb7dc15d5c	 [chrome]	 - webkit/plugins/ppapi/ppapi_plugin_instance.cc:1372]	webkit::ppapi::PluginInstance::PrintPageHelper(PP_PrintPageNumberRange_Dev*, int, SkCanvas*)
0x7feb7dc15db5	 [chrome]	 - webkit/plugins/ppapi/ppapi_plugin_instance.cc:1385]	webkit::ppapi::PluginInstance::PrintEnd()
0x7feb7cd9fbc0	 [chrome]	 - third_party/WebKit/Source/WebKit/chromium/src/WebFrameImpl.cpp:1491]	WebKit::WebFrameImpl::printEnd()
0x7feb7c7eddc3	 [chrome]	 - chrome/renderer/printing/print_web_view_helper.cc:683]	printing::PrepareFrameAndViewForPrint::FinishPrinting()
0x7feb7c7ede2d	 [chrome]	 - chrome/renderer/printing/print_web_view_helper.cc:577]	printing::PrepareFrameAndViewForPrint::~PrepareFrameAndViewForPrint()
0x7feb7c7ede88	 [chrome]	 - chrome/renderer/printing/print_web_view_helper.cc:578]	printing::PrepareFrameAndViewForPrint::~PrepareFrameAndViewForPrint()
0x7feb7c7f09c0	 [chrome]	 - ./base/memory/scoped_ptr.h:138]	printing::PrintWebViewHelper::PrintPages()
0x7feb7f13f875	 [chrome]	 - ./base/callback.h:396]	MessageLoop::RunTask(base::PendingTask const&)
0x7feb7f13f777	 [chrome]	 - base/message_loop.cc:488]	MessageLoop::DeferOrRunPendingTask(base::PendingTask const&)
0x7feb7f11634f	 [chrome]	 - base/message_loop.cc:671]	MessageLoop::DoWork()
0x7feb7f116178	 [chrome]	 - base/message_pump_default.cc:29]	base::MessagePumpDefault::Run(base::MessagePump::Delegate*)
0x7feb7f115f9c	 [chrome]	 - base/run_loop.cc:45]	base::RunLoop::Run()
0x7feb7f115ee3	 [chrome]	 - base/message_loop.cc:313]	MessageLoop::Run()
0x7feb7f3fdb2c	 [chrome]	 - content/renderer/renderer_main.cc:226]	content::RendererMain(content::MainFunctionParams const&)
0x7feb7f130846	 [chrome]	 - content/app/content_main_runner.cc:402]	content::RunZygote(content::MainFunctionParams const&, content::ContentMainDelegate*)
0x7feb7f102040	 [chrome]	 - content/app/content_main_runner.cc:754]	content::ContentMainRunnerImpl::Run()
0x7feb7f0f7930	 [chrome]	 - content/app/content_main.cc:35]	content::ContentMain(int, char const**, content::ContentMainDelegate*)
0x7feb7f0f76f7	 [chrome]	 - chrome/app/chrome_main.cc:32]	ChromeMain
0x7feb7a0c9474	 [libc-2.15.so]	 - libc-start.c:234]	__libc_start_main
0x7feb7c3c5fb8	 [chrome]	 + 0x008fdfb8]	


Owner: vitalyb...@chromium.org
Status: Started
Comment 3 by falken@chromium.org, Feb 15 2013
Labels: OS-Linux
Summary: Crash at webkit::ppapi::PluginInstance::PrintPDFOutput when printing a PDF (was: Click on "Print using Google Cloud Print dialog...". Chrome crashes in background.)
I don't think it has to do with cloud print. I get a crash with the same stack trace if I try to print a PDF from the "Print using system dialog..." dialog on Linux.

Crash ids: f5e1d7b3adf2feda, 21af9472f2620ec0
Cc: dharani@chromium.org
Labels: Merge-Requested
Status: Fixed
Project Member Comment 5 by bugdroid1@chromium.org, Feb 16 2013
The following revision refers to this bug:
    http://src.chromium.org/viewvc/chrome?view=rev&revision=182959

------------------------------------------------------------------------
r182959 | vitalybuka@chromium.org | 2013-02-16T08:03:44.037748Z

Changed paths:
   M http://src.chromium.org/viewvc/chrome/trunk/src/chrome/renderer/printing/print_web_view_helper_linux.cc?r1=182959&r2=182958&pathrev=182959
   M http://src.chromium.org/viewvc/chrome/trunk/src/chrome/renderer/printing/print_web_view_helper.cc?r1=182959&r2=182958&pathrev=182959
   M http://src.chromium.org/viewvc/chrome/trunk/src/chrome/renderer/printing/print_web_view_helper.h?r1=182959&r2=182958&pathrev=182959

WebKit::WebFrame::printEnd on linux should be called before metafile is closed.

BUG= 175514 

Review URL: https://chromiumcodereview.appspot.com/12288011
------------------------------------------------------------------------
Labels: -Merge-Requested Merge-Approved
Project Member Comment 7 by bugdroid1@chromium.org, Feb 16 2013
Labels: -Merge-Approved merge-merged-1410
The following revision refers to this bug:
    http://src.chromium.org/viewvc/chrome?view=rev&revision=183001

------------------------------------------------------------------------
r183001 | vitalybuka@chromium.org | 2013-02-16T19:58:41.455670Z

Changed paths:
   M http://src.chromium.org/viewvc/chrome/branches/1410/src/chrome/renderer/printing/print_web_view_helper_linux.cc?r1=183001&r2=183000&pathrev=183001
   M http://src.chromium.org/viewvc/chrome/branches/1410/src/chrome/renderer/printing/print_web_view_helper.cc?r1=183001&r2=183000&pathrev=183001
   M http://src.chromium.org/viewvc/chrome/branches/1410/src/chrome/renderer/printing/print_web_view_helper.h?r1=183001&r2=183000&pathrev=183001

Merge 182959
> WebKit::WebFrame::printEnd on linux should be called before metafile is closed.
> 
> BUG= 175514 
> 
> Review URL: https://chromiumcodereview.appspot.com/12288011

TBR=vitalybuka@chromium.org
Review URL: https://codereview.chromium.org/12295002
------------------------------------------------------------------------
Status: Verified
Platform 26.0.1410.10  dev
ChromeOS 3701.16.0     dev-channel
Issue chromium-os:38953 has been merged into this issue.
Project Member Comment 10 by bugdroid1@chromium.org, Mar 10 2013
Labels: -Area-UI -Mstone-26 -Feature-PrintPreview Cr-UI M-26 Cr-UI-Browser-PrintPreview
Sign in to add a comment