Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • P poppler
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 664
    • Issues 664
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 46
    • Merge requests 46
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • poppler
  • poppler
  • Issues
  • #503
Closed
Open
Issue created Aug 25, 2017 by Bugzilla Migration User@bugzilla-migration

"Unsupported TilingType:3" Avoiding out-of-memory errors

Submitted by zakiyama01

Assigned to poppler-bugs

Link to original bug (#102401)

Description

Creating images from PDF

Certain pattern filling (TilingType = 3) was not rendered properly.

#/usr/bin/pdftocairo -r 174 -scale-to 3000 -cropbox -jpeg pdftocairo.outofmemory.pdf image

SAMPLE PDF pdftocairo.outofmemory.pdf

And if you set it to a larger image size, you will get out of memory error, rendering will finish with the painting. (Sample PDF is only paint of problem so we can not confirm the stopped image)

#/usr/bin/pdftocairo -r 174 -scale-to 5000 -cropbox -jpeg pdftocairo.outofmemory.pdf image Internal Error: cairo context error: out of memory<0a> cairo error: out of memory cairo error: out of memory

I tried poppler-0.57.0. The same symptoms from before. Because I am in trouble as it is, solve out of memory? Avoidance? I am fixing it.

see patch. https://github.com/zakiyama01/poppler/commit/b35eba51683fd634142b4607496ac1ea37c2311e

thank you

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking