error about 'art_render_gradient.c' when opening some files

Bug #23114 reported by Alexandre Otto Strube
6
Affects Status Importance Assigned to Milestone
librsvg2 (Ubuntu)
Fix Released
High
Sebastien Bacher

Bug Description

rsvg-view trashcan_empty.svg
rsvg-view: art_render_gradient.c:334: art_render_gradient_linear_render_8:
Assertion `ix > 0' failed.
Aborted

Attaching the file - the lib should not hang anyway

Revision history for this message
Alexandre Otto Strube (surak) wrote :

Created an attachment (id=4304)
This file produces this message

This file seems to break libsvg.

Revision history for this message
Alexandre Otto Strube (surak) wrote :
Download full text (25.3 KiB)

gdb nautilus 4924
GNU gdb 6.3-debian
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i486-linux-gnu"...(no debugging symbols found)
Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".

Attaching to program: /usr/bin/nautilus, process 4924
Failed to read a valid object file image from memory.
Reading symbols from /usr/lib/libnautilus-private.so.2...(no debugging symbols
found)...done.
Loaded symbols for /usr/lib/libnautilus-private.so.2
Reading symbols from /usr/lib/libnautilus-extension.so.1...(no debugging symbols
found)...done.
Loaded symbols for /usr/lib/libnautilus-extension.so.1
Reading symbols from /usr/lib/libeel-2.so.2...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libeel-2.so.2
Reading symbols from /usr/lib/libglade-2.0.so.0...(no debugging symbols
found)...done.
Loaded symbols for /usr/lib/libglade-2.0.so.0
Reading symbols from /usr/lib/librsvg-2.so.2...
(no debugging symbols found)...done.
Loaded symbols for /usr/lib/librsvg-2.so.2
Reading symbols from /usr/lib/liblaunchpad-integration.so.0...(no debugging
symbols found)...done.
Loaded symbols for /usr/lib/liblaunchpad-integration.so.0
Reading symbols from /usr/lib/libgnome-desktop-2.so.2...(no debugging symbols
found)...done.
Loaded symbols for /usr/lib/libgnome-desktop-2.so.2
Reading symbols from /usr/lib/libgnomeui-2.so.0...(no debugging symbols
found)...done.
Loaded symbols for /usr/lib/libgnomeui-2.so.0
Reading symbols from /usr/lib/libgnome-2.so.0...
(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libgnome-2.so.0
Reading symbols from /usr/lib/libesd.so.0...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libesd.so.0
Reading symbols from /usr/lib/libgtk-x11-2.0.so.0...(no debugging symbols
found)...done.
Loaded symbols for /usr/lib/libgtk-x11-2.0.so.0
Reading symbols from /usr/lib/libgdk-x11-2.0.so.0...(no debugging symbols
found)...done.
Loaded symbols for /usr/lib/libgdk-x11-2.0.so.0
Reading symbols from /usr/lib/libatk-1.0.so.0...
(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libatk-1.0.so.0
Reading symbols from /usr/lib/libgdk_pixbuf-2.0.so.0...(no debugging symbols
found)...done.
Loaded symbols for /usr/lib/libgdk_pixbuf-2.0.so.0
Reading symbols from /usr/lib/libpango-1.0.so.0...(no debugging symbols
found)...done.
Loaded symbols for /usr/lib/libpango-1.0.so.0
Reading symbols from /usr/lib/libgnomevfs-2.so.0...(no debugging symbols
found)...done.
Loaded symbols for /usr/lib/libgnomevfs-2.so.0
Reading symbols from /usr/lib/libxml2.so.2...
(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libxml2.so.2
Reading symbols from /usr/lib/libbonobo-2.so.0...(no debugging symbols
found)...done.
Loaded symbols for /usr/lib/libbonobo-2.so.0
Reading symbols from /usr/lib/libgconf-2.so.4...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libgconf-2.so.4
Reading symbols fr...

Revision history for this message
Alexandre Otto Strube (surak) wrote :

However, librsvg2-2_2.9.5-0ubuntu1_i386.deb and
librsvg2-common_2.9.5-0ubuntu1_i386.deb are fine. As it's too late to provide a
fix, should I suggest to revert this library to a working state?

Revision history for this message
Sebastien Bacher (seb128) wrote :

Thanks for your bug. I've forwarded the issue upstream:
http://bugzilla.gnome.org/show_bug.cgi?id=317871

Revision history for this message
Sebastien Bacher (seb128) wrote :

This upload fixes the issue:

 librsvg2 (2.12.5-0ubuntu1) breezy; urgency=low
 .
   * New upstream version:
     - fix a crash with some gradients (Ubuntu: #16930).
     - fix a issue with some locales (Ubuntu: #16692).

Revision history for this message
Alexandre Otto Strube (surak) wrote :

Another bug for something very similar:

http://bugzilla.gnome.org/show_bug.cgi?id=318483

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.