Comment 36 for bug 367372

Revision history for this message
Chris Katko (ckatko) wrote :

This explodes on Gedit any time I try to edit a file with sudo under the /etc/ directory. The entire computer freezes as CPU load average hits over 4.

gedit --version

3.28.1

uname -a

Linux _ 4.10.0-041000-generic #201702191831 SMP Sun Feb 19 23:33:19 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

simple way to reproduce:

sudo gedit /etc/hosts

enjoy your computer freezing. To the point even htop can't update except once every 10 seconds. (Note: My hosts file is almost default and maybe 20 lines long including comments. This is NOT a big file.)

ibus-x11
  and
ibus/ui-gtk3

both go wide open with CPU usage.

After ~5 minutes, if you leave it alone, Gedit will then explode and all text turns into squares (ala font glyph not found).

Soon after that, it'll crash, and Ubuntu will say "system program problem detected".

In the terminal window, I got the following output upon crash:

sudo gedit /etc/hosts

(gedit:5521): Pango-WARNING **: 00:28:01.739: failed to create cairo scaled font, expect ugly output. the offending font is 'DejaVu Sans 11'

(gedit:5521): Pango-WARNING **: 00:28:01.748: font_face status is: out of memory

(gedit:5521): Pango-WARNING **: 00:28:01.748: scaled_font status is: out of memory

(gedit:5521): Pango-WARNING **: 00:28:01.748: shaping failure, expect ugly output. shape-engine='PangoFcShapeEngine', font='DejaVu Sans 11', text='●'

(gedit:5521): Pango-WARNING **: 00:28:01.763: failed to create cairo scaled font, expect ugly output. the offending font is 'DejaVu Sans Bold 11'

(gedit:5521): Pango-WARNING **: 00:28:01.763: font_face status is: out of memory

(gedit:5521): Pango-WARNING **: 00:28:01.763: scaled_font status is: out of memory

(gedit:5521): Pango-WARNING **: 00:28:01.763: shaping failure, expect ugly output. shape-engine='PangoFcShapeEngine', font='DejaVu Sans Bold 11', text='hosts'

(gedit:5521): Pango-WARNING **: 00:28:01.768: failed to create cairo scaled font, expect ugly output. the offending font is 'DejaVu Sans 9.1669921875'

(gedit:5521): Pango-WARNING **: 00:28:01.772: font_face status is: <unknown error status>

(gedit:5521): Pango-WARNING **: 00:28:01.772: scaled_font status is: out of memory

(gedit:5521): Pango-WARNING **: 00:28:01.772: shaping failure, expect ugly output. shape-engine='PangoFcShapeEngine', font='DejaVu Sans 9.1669921875', text='/etc'
Fontconfig error: Cannot load default config file

(gedit:5521): Gtk-WARNING **: 00:29:07.962: Could not load a pixbuf from icon theme.
This may indicate that pixbuf loaders or the mime database could not be found.
**
Gtk:ERROR:../../../../gtk/gtkiconhelper.c:494:ensure_surface_for_gicon: assertion failed (error == NULL): Failed to load /usr/share/icons/Humanity/status/16/image-missing.svg: Error opening file /usr/share/icons/Humanity/status/16/image-missing.svg: Too many open files (g-io-error-quark, 31)
Aborted