Freeze on text entry if background graphic present

Bug #1366508 reported by Paul Lutus
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Inkscape
New
Medium
Unassigned

Bug Description

This is about Inkscape 0.48.4 r9939 running on Ubuntu 14.04 (the most recent available version).

If I load a background graphic image (to create an overlay map), then try to add overlay text labels, everything is normal while entering text until I press the backspace key a few times -- then the GUI freezes and the program has to be killed. BTW this doesn't happen in the current Windows version, which I'm also testing in the same way (The Windows version is Inkscape 0.48.5 r10040). It also doesn't happen unless there's a background graphic present.

I ran a stack trace --

$ strace inkscape | tee stacktrace.txt

-- which looked like it was collecting a lot of useful data, but the fact that the app froze and had to be killed prevented the trace from being captured in the file I directed it to. Even though the tail end of the trace isn't very informative, I copied the contents of the terminal window and put it here:

http://pastebin.com/kw40vfWL

Because of the nature of the freeze, which makes the app completely unresponsive, I can't capture a normal stack trace. Sorry.

Steps to reproduce:

1. Run Inkscape 0.48.4 on Ubuntu or another current Linux version.

2. Load a background graphic (File ... Open), then select the background graphic window that will appear and discard the original document.

3. Select text entry.

4. Type some words.

5. Start hitting the backspace key, erasing your text entry.

6. Item (5) should freeze the app.

jazzynico (jazzynico)
tags: added: performance text
Revision history for this message
jazzynico (jazzynico) wrote :

Could be related to (or duplicate of) bug #1219794 "cpu spikes when editing text in complex SVG files" <https://bugs.launchpad.net/inkscape/+bug/1219794>.

Could you please attach an example SVG file so that we could investigate your issue?

Changed in inkscape:
status: New → Incomplete
Revision history for this message
Paul Lutus (q4-z) wrote :

The problem I report seems to follow importing a large graphic image as a background:

1. Open the generic SVG file attached to this message (its contents shouldn't really matter).

2. Embed or link a large graphic image as a background. For consistency with my experience, use this image:

http://i.imgur.com/572V8QO.jpg

3. Navigate around, try to add text, change scales, and so forth.

4. Within a few seconds, the GUI will become unresponsive and the program will have to be killed.

5. It doesn't matter whether the image is linked or embedded, the problem persists.

Details: Dell XPS 720 desktop machine, 8 GB RAM, Kubuntu 14.04, Inkscape 0.48.4 r9939

6. This bug may be memory-related. After the program becomes unresponsive, I see a memory problem on my system, but one that doesn't prevent other programs from running:

http://i.imgur.com/lhQUB75.png (sorted by memory usage)

7. Again, as reported before, this bug doesn't appear on the current Windows version of Inkscape running on the same system.

(I hope this is helpful, I regard Inkscape as a first-rate program.)

Revision history for this message
Paul Lutus (q4-z) wrote :

Addendum to the above: I was able to configure my environment so that memory was no longer an issue, but the bug described above persists even with plenty of free memory.

jazzynico (jazzynico)
Changed in inkscape:
status: Incomplete → New
importance: Undecided → Medium
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.