gifsicle crashed with asserion failure in optimize.c:470

Bug #647905 reported by Volodymyr Kolesnykov
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gifsicle (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: gifsicle

gifsicle crashedwhen processing the attached file:

gifsicle: optimize.c:470: fix_difference_bounds: Assertion `bounds->top < screen_height && bounds->left < screen_width && bounds->top + bounds->height - 1 < screen_height && bounds->left + bounds->width - 1 < screen_width' failed.

Command line was

gifsicle -O2 -b angry.gif

# lsb_release -rd
Description: Ubuntu 10.04.1 LTS
Release: 10.04

# apt-cache policy gifsicle
gifsicle:
  Installed: 1.58-1
  Candidate: 1.58-1
  Version table:
 *** 1.58-1 0
        500 http://ua.archive.ubuntu.com/ubuntu/ lucid/universe Packages
        100 /var/lib/dpkg/status

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: gifsicle 1.58-1
ProcVersionSignature: Ubuntu 2.6.32-25.44-server 2.6.32.21+drm33.7
Uname: Linux 2.6.32-25-server x86_64
NonfreeKernelModules: fglrx
Architecture: amd64
Date: Sun Sep 26 08:14:44 2010
ProcEnviron:
 LANGUAGE=ru_RU:ru
 LANG=ru_RU.UTF-8
 SHELL=/bin/bash
SourcePackage: gifsicle

Revision history for this message
Volodymyr Kolesnykov (sjinks) wrote :
Revision history for this message
Volodymyr Kolesnykov (sjinks) wrote :

This is the file on which gifsicle crashes.

Revision history for this message
Volodymyr Kolesnykov (sjinks) wrote :

GDB Debug Log

Revision history for this message
Volodymyr Kolesnykov (sjinks) wrote :

Forgot to mention that to generate the backtrace I recompiled gifsicle with -O0 -g3

Revision history for this message
Lenin (gagarin) wrote :

Could you test if it also happens with 1.60 of gifsicle?

Revision history for this message
Volodymyr Kolesnykov (sjinks) wrote :

Yes, the error is still there

$ apt-cache policy gifsicle
gifsicle:
  Installed: 1.60-1
  Candidate: 1.60-1
  Version table:
 *** 1.60-1 0
        500 http://ua.archive.ubuntu.com/ubuntu/ maverick/universe amd64 Packages
        100 /var/lib/dpkg/status

$ gifsicle -O2 -b angry.gif
gifsicle: optimize.c:470: fix_difference_bounds: Assertion `bounds->top < screen_height && bounds->left < screen_width && bounds->top + bounds->height - 1 < screen_height && bounds->left + bounds->width - 1 < screen_width' failed.
Aborted (core dumped)

Revision history for this message
Lenin (gagarin) wrote :

Version 1.61 of gifsicle fixes this problem.

Revision history for this message
François Marier (fmarier) wrote :

Fixed in oneiric and later Ubuntu releases.

Changed in gifsicle (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.