Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
gdk-pixbuf
gdk-pixbuf
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 73
    • Issues 73
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 7
    • Merge Requests 7
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • GNOME
  • gdk-pixbufgdk-pixbuf
  • Issues
  • #62

Closed
Open
Opened Feb 06, 2017 by bugzilla-migration@bugzilla-migrationReporter

size_prepared_cb will always fail with WMF files

Submitted by Ariel Zelivansky

Link to original bug (#778241)

Description

On gdk-pixbuf-thumbnailer.c:43 (size_prepared_cb) there is the following assertion: g_return_if_fail (width > 0 && height > 0)

But with WMF files, io-wmf.c (from libwmf) will always call the size callback function with a height and width of -1 and not with the actual dimensions of the image.

The function then fails and an error is printed ("CRITICAL **: size_prepared_cb: assertion 'width > 0 && height > 0' failed").

Version: git master

To upload designs, you'll need to enable LFS and have admin enable hashed storage. More information
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: GNOME/gdk-pixbuf#62