Error on printing [SOLVED]

Bug #634874 reported by Jorge Cacho
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Inkscape
New
High
Unassigned

Bug Description

Hi,

When I try to print any file to my printer or to a pdf file, or when I try to see "print preview" Inkscape crashes always and it always shows this error (in spanish):

"Inkscape ha encontrado un error interno y se cerrará.
Las copias de seguridad automáticas se realizaron en los siguientes lugares:
        /home/jorgecacho/Documento nuevo 1.2010_09_10_14_00_06.0.svg"

Inkscape: 0.48
OS: Ubuntu 10.04

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

Do you have an old devel version of cairo installed?

Most likely same issue as Bug #594144 in Inkscape: “Internal error when printing using Cairo snapshot 1.9.x”:
<https://bugs.launchpad.net/inkscape/+bug/594144>

tags: added: printing
removed: print
Revision history for this message
Jorge Cacho (jorge-cacho-h) wrote :

I have cairo dock installed, version 2.1.3-10.lucid, which it seems to be the newest one.

Who can I see the "devel version"?

Thanks

       Jorge

Revision history for this message
Jorge Cacho (jorge-cacho-h) wrote :

Sorry for the confussion (I have realizaerd now what is cairo-devel)

I have 1.8.8 installed but how can update it?

            Jorge

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

Inkscape printing normally works fine with all stable versions of cairo (including 1.8.8 and 1.8.10) and with cairo devel >= 1.9.12, so the problem on your system must be different. Can you please launch Inkscape from a terminal, reproduced the crash and paste inkscape's console messages here?

su_v (suv-lp)
tags: added: crash
Changed in inkscape:
importance: Undecided → High
Revision history for this message
Jorge Cacho (jorge-cacho-h) wrote :

(inkscape:370): gtkmm-WARNING **: gtkmm: Attempt to call Gtk::manage() on a Gtk::Window, but a Gtk::Window has no parent container to manage its lifetime.

inkscape: /build/buildd/cairo-1.9.6/src/cairo-surface.c:365: _cairo_surface_begin_modification: Afirmación «! surface->finished» fallida.

Emergency save activated!

Emergency save document locations:
  /home/jorgecacho/Documento nuevo 1.2010_09_10_15_41_45.0.svg
Emergency save completed. Inkscape will close now.
If you can reproduce this crash, please file a bug at www.inkscape.org
with a detailed description of the steps leading to the crash, so we can fix it.
Cancelado

Revision history for this message
Jorge Cacho (jorge-cacho-h) wrote :

Just in case, I have:

python-cairo: 1.8.8
libcairo2-dev : 1.9.6

Do I need to update any of that?

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

Jorge Cacho wrote:
> inkscape: /build/buildd/cairo-1.9.6/src/cairo-surface.c:365: _cairo_surface_begin_modification: Afirmación «! surface->finished» fallida.

This report is a duplicate of bug #594144 in Inkscape which in turn is a duplicate of bug #600622 in cairo (Ubuntu).

Jorge Cacho wrote:
> python-cairo: 1.8.8

Not relevant for Inkscape

> libcairo2-dev : 1.9.6

This devel version of the cairo libs causes Inkscape to crash, to print from Inkscape without crash you need to either update to a cairo-devel version >= 1.9.12 or install the stable cairo libs (1.8.8, 1.8.10 or the just released 1.10.0) instead.

Revision history for this message
Jorge Cacho (jorge-cacho-h) wrote :

The issue is that on Synaptic I only see libcairo2-dev 1.9.6 .... how can I update? Do I need to add more repos?

Thanks!!

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

Where did you install Inkscape 0.48 from? AFAIK it is not yet officially distributed on Ubuntu...

> The issue is that on Synaptic I only see libcairo2-dev 1.9.6
I'm sorry, I don't know - that's not an Inkscape issue (and I'm not using Ubuntu myself).

@JazzyNico - do you know more about how to install a stable cairo version or a newer devel version on Ubuntu 10.04?

Revision history for this message
Jorge Cacho (jorge-cacho-h) wrote :

I installed 0.48 from ppa:ricotz/ppa

Anyway I have uninstalled Inkscape 0.48, deleted pa:ricotz/ppa and installed again Inkscape 0.47 from official Ubuntu repo and the printing issue still appears.

I'd be very gratefull if you could help me the fix this.

THANKS

Revision history for this message
jazzynico (jazzynico) wrote :

@~suv - the current stable libcairo2-dev version is 1.8.10-2ubuntu1.
I'm using the default Ubuntu server, with no backports or experimental Ubuntu packages.

Jorge> Do I need to add more repos?
No, it's the opposite: you should remove the repo where the unstable libcairo2-dev version comes from.

Regards.

Revision history for this message
Jorge Cacho (jorge-cacho-h) wrote :

Thanks!

I have solved it by uninstalling libcairo2 and libcairo2-dev and installing libcairo2 (v 1.8.10) and libcairo2-dev (v 1.8.10):

sudo apt-get install libcairo2=1.8.10-2ubuntu1
sudo apt-get install libcairo2-dev=1.8.10-2ubuntu1

THANKS for all your help!

            Jorge

summary: - Error on printing
+ Error on printing [SOLVED]
Revision history for this message
su_v (suv-lp) wrote :

@JazzyNico - thx for helping out ;)
@Jorge - thx for reporting back :)

Linking as duplicate to bug #594144 in Inkscape: “Internal error when printing using Cairo snapshot 1.9.x”. Please add a comment here and revert the duplicate status if you don't agree and think these are different issues.

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

… or rather, linking as duplicate to bug #600622 in cairo (Ubuntu).
(Launchpad still has too limited possibilities for bug relationships)

Revision history for this message
Jorge Cacho (jorge-cacho-h) wrote :

Just in case somebody needs this info: libcairo2-dev 1.9.6 was installed from this repository:

http://ppa.launchpad.net/matthaeus123/mrw-gimp-svn/ubuntu

(it was used to update Gimp)

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.