New issue
Advanced search Search tips
Starred by 6 users

Issue metadata

Status: Invalid
Owner:
Closed: Jul 2017
Cc:
Area: PDF
Priority: Medium
Type: Defect



Sign in to add a comment

gm modecolorfilters seems to have bad PDF output

Project Member Reported by reed@chromium.org, Oct 30 2012 Back to list

Issue description

When we try to rasterize (using CG on the mac) the PDF we make from this GM, the Mac seems to get into an infinite recursion loop, and eventually malloc fails.

Did we make bad data, or is this a bug in the Mac's rasterizer?
 
Project Member

Comment 1 by reed@google.com, Oct 30 2012

Cc: vandebo@chromium.org reed@google.com
Owner: edisonn@google.com

Comment 2 by epoger@google.com, Jan 10 2013

Cc: epoger@google.com
Is this bug responsible for the malloc errors I see in this GenerateGMs output on Mac?  (Which seem to go away on their own after a little while... garbage collection???)

http://70.32.156.51:10117/builders/Skia_MacMiniLion_Float_Debug_32/builds/1019/steps/GenerateGMs/logs/stdio

Removing ../../gm/actual/base-macmini-lion-float
Creating ../../gm/actual/base-macmini-lion-float
['out/Debug/gm', '--writePath', '../../gm/actual/base-macmini-lion-float', '--writeJsonSummary', '../../gm/actual/base-macmini-lion-float/actual-results.json', '--serialize', '--exclude-config', 'msaa16', '--modulo', '0', '1']
writing to ../../gm/actual/base-macmini-lion-float
[0.1] drawing... xfermodes [790 640]
[1.1] drawing... verylargebitmap [640 480]
[2.1] drawing... verttext2 [640 480]
...
[46.1] drawing... morphology [640 480]
[47.1] drawing... modecolorfilters [512 1024]
gm(33106,0xacedf2c0) malloc: *** mmap(size=528384) failed (error code=12)
*** error: can't allocate region
*** set a breakpoint in malloc_error_break to debug
gm(33106,0xacedf2c0) malloc: *** mmap(size=528384) failed (error code=12)
*** error: can't allocate region
*** set a breakpoint in malloc_error_break to debug
gm(33106,0xacedf2c0) malloc: *** mmap(size=2101248) failed (error code=12)
*** error: can't allocate region
...
gm(33106,0xacedf2c0) malloc: *** mmap(size=14311424) failed (error code=12)
*** error: can't allocate region
*** set a breakpoint in malloc_error_break to debug
[48.1] drawing... matrixconvolution [400 300]
[49.1] drawing... lineclosepath [1240 390]
...
[135.1] drawing... aarectmodes [640 480]
[136.1] drawing... aaclip [640 480]
Ran 137 tests: 137 passed, 0 failed, 0 missing reference images
program finished with exit code 0
elapsedTime=1057.948502
Project Member

Comment 3 by edisonn@google.com, Oct 24 2013

Labels: Area-PDF
Project Member

Comment 4 by hcm@google.com, Jan 8 2014

Owner: bungeman@google.com

Comment 5 by epoger@google.com, Aug 18 2014

Cc: -epoger@google.com
Project Member

Comment 6 by hcm@google.com, Dec 7 2015

Labels: Hotlist-Fixit
Project Member

Comment 7 by scro...@google.com, Dec 9 2015

Owner: halcanary@google.com
Project Member

Comment 8 by halcanary@google.com, Jul 20 2017

Cc: -vandebo@chromium.org
Project Member

Comment 9 by halcanary@google.com, Jul 20 2017

Status: Invalid
No longer an issue.

Sign in to add a comment