New issue
Advanced search Search tips

Issue 918110 link

Starred by 4 users

Issue metadata

Status: Unconfirmed
Owner: ----
Components:
EstimatedDays: ----
NextAction: ----
OS: Windows
Pri: 2
Type: Bug



Sign in to add a comment

Crash when using the headless_shell to convert a specified web page(poc.html,see testfile.zip) to pdf

Reported by kim_e...@qq.com, Dec 28

Issue description

UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36

Steps to reproduce the problem:
1.get chromium code and build headless_shell Module:
ninja -C out\Release headless_shell
2.open gflags.exe,on tab page 'Image file',input 'headless_shell.exe' and press key 'Tab',select ‘enable page head',preess button ok.
3.open cmd.exe,go to File Directory of headless_shell.exe,copy poc.html to here and input command:
headless_shell --no-sandbox --headless --disable-gpu --print-to-pdf=123.pdf poc.html.
then crash:
'[1228/153436.026:ERROR:headless_shell.cc(315)] Abnormal renderer termination.'

What is the expected behavior?
shell_headless.exe Can convert html to pdf(poc.html) normally

What went wrong?
shell_headless.exe crash.
Using windbg tracking will find:
Access violation - code c0000005 (!!! second chance !!!)
eax=00000005 ebx=010fa5e8 ecx=138eefe8 edx=73a711f0 esi=010fa3f4 edi=010fa398
eip=0714a314 esp=010fa310 ebp=010fa45c iopl=0         nv up ei pl nz na po nc
cs=0023  ss=002b  ds=002b  es=002b  fs=0053  gs=002b             efl=00010202
skia!SkDashPath::InternalFilter+0x5a4:
0714a314 f30f104c8104    movss   xmm1,dword ptr [ecx+eax*4+4] ds:002b:138ef000=????????

Did this work before? N/A 

Chrome version: 71.0.3578.98  Channel: canary
OS Version: 10.0
Flash Version: 

There are files in the attachment that need to be used.
 
testfile.zip
414 KB Download
Components: Internals>Headless Build
Labels: Stability-Crash
Labels: TE-NeedsTriageHelp
Unable to triage this issue from TE end, hence adding TE-NeedsTriageHelp label for further triage from dev team.

Sign in to add a comment