Inkscape freezes when selecting font

Bug #1633935 reported by volomike
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Inkscape
Invalid
Undecided
Unassigned
inkscape (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

If you perform the following steps, Inkscape freezes. It's a showstopper of using Inkscape at all with fonts.

1. Launch Inkscape.
2. On the new document, click the A on the left toolbar to create a new textbox.
3. Drag a marquee in your document for the size of your textbox.
4. Type the text "This is a test" and then choose Select All to select it all.
5. Click the T in the top toolbar to open the Text and Font control panel.
6. Choose DejaVu Sans.
7. Put another window on top of the current window, such as switch to a web browser.
8. Come back to Inkscape -- it won't repaint the window because it's frozen.

Alternatively, you can also recreate the bug this way too:

1. Launch Inkscape.
2. On the new document, click the A on the left toolbar to create a new textbox.
3. Drag a marquee in your document for the size of your textbox.
4. Type the text "This is a test" and then choose Select All to select it all.
5. Click the T in the top toolbar to open the Text and Font control panel.
6. Choose DejaVu Sans.
7. Set the font size to 48 from the Font Size: selector on that control panel. You'll notice that the dropdown occurs, when you select it, Inkscape freezes.

Note that I'm running Inkscape 0.91 on Lubuntu Desktop 16.04 inside Oracle Virtualbox version 5.0.26 r108824 on a Mac Air 13" running OSX 10.12 (Sierra) and have loaded the Virtualbox extensions. Note that I also tried the following things to see if they fixed the problem:

- full apt-get update; apt-get upgrade; apt-get dist-upgrade, reboot, and tried that again

- apt purge fonts-noto-cjk

- tried briefly the latest stable PPA of Inkscape from Inkscape.org in my apt, and upgrade to the latest Inkscape -- that failed, so I did a purge remove of that version of inkscape, removed the PPA, redid my apt-get update, and installed the version that comes with Ubuntu 16.04 (Inkscape 0.91).

- unset GTK_IM_MODULE && inkscape

All failed to show any fix.

All failed to show any different result.

Revision history for this message
volomike (volomike) wrote :

This may or may not be related to this: https://bugs.launchpad.net/inkscape/+bug/1259100

This is the output I get during usage of Inkscape before the crash:

root@volomike-VirtualBox:/home/volomike# gdb /usr/bin/inkscape
GNU gdb (Ubuntu 7.11.1-0ubuntu1~16.04) 7.11.1
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "i686-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /usr/bin/inkscape...(no debugging symbols found)...done.
(gdb) run
Starting program: /usr/bin/inkscape
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1".
[New Thread 0xb2f7db40 (LWP 6175)]
[New Thread 0xb277cb40 (LWP 6176)]
[New Thread 0xb1f7bb40 (LWP 6177)]
[New Thread 0xb137db40 (LWP 6179)]
[New Thread 0xb080fb40 (LWP 6181)]
[New Thread 0xb000eb40 (LWP 6182)]
[New Thread 0xaf4ffb40 (LWP 6183)]
[Thread 0xb000eb40 (LWP 6182) exited]

(inkscape:6171): Pango-CRITICAL **: pango_font_family_list_faces: assertion 'PANGO_IS_FONT_FAMILY (family)' failed

(inkscape:6171): Gtk-CRITICAL **: IA__gtk_tree_view_scroll_to_cell: assertion 'tree_view->priv->tree != NULL' failed
[Thread 0xb080fb40 (LWP 6181) exited]
bt

(inkscape:6171): Pango-CRITICAL **: pango_font_family_list_faces: assertion 'PANGO_IS_FONT_FAMILY (family)' failed

(inkscape:6171): Gtk-CRITICAL **: IA__gtk_tree_view_scroll_to_cell: assertion 'tree_view->priv->tree != NULL' failed

(inkscape:6171): Pango-CRITICAL **: pango_font_family_list_faces: assertion 'PANGO_IS_FONT_FAMILY (family)' failed

(inkscape:6171): Gtk-CRITICAL **: IA__gtk_tree_view_scroll_to_cell: assertion 'tree_view->priv->tree != NULL' failed
[Thread 0xaf4ffb40 (LWP 6183) exited]
[Thread 0xb1f7bb40 (LWP 6177) exited]
[Thread 0xb277cb40 (LWP 6176) exited]
[Thread 0xb2f7db40 (LWP 6175) exited]
[Thread 0xb2f7f940 (LWP 6171) exited]
[Inferior 1 (process 6171) exited normally]
(gdb) bt
No stack.
(gdb) bt
No stack.
(gdb) quit

Revision history for this message
volomike (volomike) wrote :

I found the fix!

apt-get install ruby-pango

Revision history for this message
volomike (volomike) wrote :

Not so fast. After more testing, the problem seems only intermittently fixed. I can recreate the problem, but then when I click off the popdown listbox for font sizes, switch from DejaVu Sans to FreeSans, and try again, the problem is resolved for FreeSans, then, oddly, when I go back to DejaVu Sans, the problem randomly either goes away or comes back again. It's very bizarre!

Revision history for this message
Simon Quigley (tsimonq2) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. We are sorry that we do not always have the capacity to look at all reported bugs in a timely manner. There have been many changes in Ubuntu since that time you reported the bug and your problem may have been fixed with some of the updates. It would help us a lot if you could test it on a currently supported Ubuntu version. If you test it and it is still an issue, kindly upload the updated logs by running only once:
apport-collect 1633935

and any other logs that are relevant for this particular issue.

Changed in inkscape:
status: New → Incomplete
Changed in inkscape (Ubuntu):
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for inkscape (Ubuntu) because there has been no activity for 60 days.]

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

Closing as there has not been any response for the last 60 days. If you still have an issue with the latest Inkscape version, please go to https://inkscape.org/report. Thanks!

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

Changed in inkscape:
status: Incomplete → Opinion
status: Opinion → Invalid
tbnorth (terry-n-brown)
tags: added: bug-migration
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.