Cannot import bitmaps (tried jpeg and png)

Bug #996602 reported by Alex Valavanis
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Inkscape
Invalid
Undecided
Unassigned
inkscape (Debian)
Fix Released
Unknown

Bug Description

Forwarded from Debian

Reported by: Sylvain Joyeux <email address hidden>
Date: Tue, 8 May 2012 15:45:07 UTC
Severity: normal
Found in version inkscape/0.48.3.1-1

Package: inkscape
Version: 0.48.3.1-1+b1
Severity: normal

Dear Maintainer,

Trying to import either a PNG or Jpeg in Inkscape, using both the command line
and File>Import leads to an error message box saying "Failed to load the
requested file flavors.png" and a lot of error messages on the console of the
form:

  (inkscape:13982): GdkPixbuf-CRITICAL **: gdk_pixbuf_loader_write: assertion
  `priv->closed == FALSE' failed

Googling it a bit, it seems to be a rare issue that happened on Windows and that
still affects versions > 0.48.1. However, I tried installing inkscape from
stable (0.47) and the issue was still there. This is why I wonder whether this
is an inkscape issue at all, or a bad interaction between inkscape and
gdk-pixbuf (or another library)

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (200, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages inkscape depends on:
ii gconf-service 3.2.5-1
ii libaspell15 0.60.7~20110707-1
ii libatk1.0-0 2.4.0-2
ii libatkmm-1.6-1 2.22.6-1
ii libc6 2.13-32
ii libcairo2 1.12.2-1
ii libcairomm-1.0-1 1.10.0-1
ii libfontconfig1 2.9.0-3
ii libfreetype6 2.4.9-1
ii libgc1c2 1:7.1-8
ii libgcc1 1:4.7.0-7
ii libgconf-2-4 3.2.5-1
ii libgdk-pixbuf2.0-0 2.26.1-1
ii libglib2.0-0 2.32.2-1
ii libglibmm-2.4-1c2a 2.32.0-1
ii libgnomevfs2-0 1:2.24.4-1
ii libgomp1 4.7.0-7
ii libgsl0ldbl 1.15+dfsg-1
ii libgtk2.0-0 2.24.10-1
ii libgtkmm-2.4-1c2a 1:2.24.2-1
ii libgtkspell0 2.0.16-1
ii liblcms1 1.19.dfsg-1+b2
ii libmagick++5 8:6.7.4.0-5
ii libmagickcore5 8:6.7.4.0-5
ii libpango1.0-0 1.30.0-1
ii libpangomm-1.4-1 2.28.4-1
ii libpng12-0 1.2.49-1
ii libpoppler-glib6 0.16.7-3
ii libpoppler13 0.16.7-3
ii libpopt0 1.16-4
ii libsigc++-2.0-0c2a 2.2.10-0.1
ii libstdc++6 4.7.0-7
ii libwpd-0.9-9 0.9.4-3
ii libwpg-0.2-2 0.2.1-1
ii libx11-6 2:1.4.99.901-2
ii libxml2 2.7.8.dfsg-9
ii libxslt1.1 1.1.26-11
ii zlib1g 1:1.2.7.dfsg-1

Versions of packages inkscape recommends:
ii aspell 0.60.7~20110707-1
ii imagemagick 8:6.7.4.0-5
ii libwmf-bin 0.2.8.4-10
ii perlmagick <none>
ii pstoedit 3.60-2+b1

Versions of packages inkscape suggests:
pn dia | dia-gnome <none>
pn libgnomevfs2-extra 1:2.24.4-1
pn libsvg-perl <none>
pn libxml-xql-perl <none>
pn python 2.7.2-10
pn python-lxml 2.3.2-1
pn python-numpy 1:1.6.1-8
pn python-uniconvertor <none>
pn ruby 4.8
pn ruby1.8 [ruby] 1.8.7.358-2
pn skencil <none>

-- no debconf information

tags: added: bitmap importing
Revision history for this message
jazzynico (jazzynico) wrote :

Not reproduced on Ubuntu 11.04, Inkscape trunk revision 11347 and 0.48.x branch revision 9898.

Revision history for this message
su_v (suv-lp) wrote :

Not reproduced on OS X 10.7.3 (64bit) with Inkscape 0.48.2, 0.48.3.1 and 0.48+devel r11346
- Gtk2/X11 2.24.10, gdk-pixbuf 2.24.1, glib 2.32.2
- Gtk2/Quartz 2.24.10, gdk-pixbuf 2.26.1, glib 2.32.2

Changed in inkscape (Debian):
status: Unknown → Confirmed
Revision history for this message
jazzynico (jazzynico) wrote :

According to the Debian bug report, it fails with libgdk-pixbuf2.0-0 2.26.1-1 (current stable version) but:
"The problem vanishes if I downgrade libgdk-pixbuf2.0-0 to 2.23.0-1"

Revision history for this message
jazzynico (jazzynico) wrote :

Not reproduced on Crunchbang Waldorf (based on Debian Wheezy), Inkscape 0.48.3.1 and trunk revision 12397.

Revision history for this message
jazzynico (jazzynico) wrote :

 @Sylvain - Are you still affected by that bug?
If our tests are correct, it could be due to a bug in libgdk-pixbuf, and thus it's probably fixed in recent versions (the current Debian package for Jessie is libgdk-pixbuf2.0-0 2.31.1-2+deb8u4). Could you please confirm?

Changed in inkscape:
status: New → Incomplete
Revision history for this message
Qantas94Heavy (qantas94heavy) wrote :

As this has not been able to be reproduced for many years now, this bug will be closed. If you still are having this problem, please open a new bug with specific details. Thank you!

Changed in inkscape:
status: Incomplete → Invalid
Changed in inkscape (Debian):
status: Confirmed → 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.