Whole system (ubuntu) freezes when printing

Bug #1632501 reported by Stefan Wagner
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Inkscape
Invalid
Undecided
Unassigned

Bug Description

Ubuntu 15.10, Inkscape 0.91 r13725

I made a page with text, rotated, a semitransparent white rect above, and other text on top. It's supposed to be decoration of the backside of business cards plus the signature of my GPG.

When I try to print, no matter whether I print to my HP4P LaserJet or to a PDF in standard settings, the whole system freezes for minutes, no mouse moves accepted, no keyboard stroke, even the clock freezes after 1-2 seconds.

Hard reboot is the only option.

Exporting as PNG works.

A maybe related error showed up when I started from the command line. Starting Inkscape with:

> LC_ALL=C inkscape visitenkarten-2016-rs-3.svg

to produce an english error message curiously doen't produce an error message at all. So I translate the german message freely, after posting the original:

> (inkscape:3560): Gtk-WARNING **: Failed to set text from markup due to error parsing markup: Fehler in Zeile 1: Entität endete nicht mit einem Semikolon; wahrscheinlich haben Sie ein »&«-Zeichen verwendet, ohne eine Entität beginnen zu wollen - umschreiben Sie das »&« als »&«

The same message appears 2 times. Here my translation:

> (inkscape:3560): Gtk-WARNING **: Failed to set text from markup due to error parsing markup: Error in line 1: Entity did not end in a semicolon; probably you used a »&«-symbol, without wanting to start an entity - rewrite the »&« as »&«

Well, I have plenty of &-Symbols but all as parts of an entity, ">" which shall add to an arrow as such: "=>". (Haha, side note: I'm curious, whether the markup of this site will handle my message well.)

Here is a pattern of the SVG source:

 grep "&" visitenkarten-2016-rs-3.svg
           id="tspan8225"> case aa :: bb :: Nil =&gt; </tspan><tspan
           id="tspan8227"> aa.map (a =&gt; bb.map (b =&gt; List (a, b))).flatten </tspan><tspan
           id="tspan8229"> case aa :: bb :: cc =&gt; </tspan><tspan
           id="tspan8231"> xproduct (bb :: cc).map (li =&gt; aa.map (a =&gt; a :: li)).flatten</tspan><tspan
           id="tspan8233"> case _ =&gt; xx</tspan><tspan

Here is the test for an unclosed &-entity:

grep "&" visitenkarten-2016-rs-3.svg | grep "&gt[^;]"

(No output).

Please note, that the GPG-signature in the file is not secret and needn't be anonymized.

I'm not sure whether it is a security vulnerability, but I think so, since it halts the whole system. Please note further, that the suspect, the ampersant might be the source of the problem, is just a wild guess.

Revision history for this message
Stefan Wagner (wagner-stefan) wrote :
Revision history for this message
Martin Owens (doctormo) wrote :

Closing because not reproduced with Inkscape 1.0 alpha and with Ubuntu 18.04.

Closed by: https://gitlab.com/doctormo

tags: added: bug-migration
Changed in inkscape:
status: New → Invalid
Martin Owens (doctormo)
information type: Private Security → Public
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.