Discussion:
cpu maxed out in some operations after gtk3 upgrade
Geoff
2014-10-18 23:01:24 UTC
Permalink
Hi,

This is a preliminary report of an issue that has arisen today and which I have
not had time fully to investigate yet.

Running Arch, my usual full update today was large and included an upgrade
of gtk3 3.12.2-1 -> 3.14.3-2 - which is the usual suspect.

Since the upgrade copying of files from one directory to another is maxing out
one of my two cpu's. The operation seems to complete, but the cpu stays at 100%
until the instance of emelfm2 is killed. The high cpu usage appears under xorg
rather than being attributed to emelfm2 itself.

I have recompiled against the new library, but to no effect. On one occasion,
running emelfm2 from an xterm, emelfm2 crashed with "resource no longer
available".

Midnight here. Will delve more in due course unless someone suggests an easy
fix (said the optimist).

Geoff
Geoff
2014-10-19 06:46:15 UTC
Permalink
I don't have any debugging symbols in my working emelfm2, but here is the gdb
output of an attempt to copy a batch of files from one directory to another
just now. As before, emelfm2 eventually hung on 100% cpu until I killed it. The
"Busy" indicator was present, but no animation.


gdb) run
Starting program: /gpsys/bin/emelfm2
Got object file from memory but can't read symbols: File truncated.
warning: Could not load shared library symbols for linux-gate.so.1.
Do you need "set solib-search-path" or "set sysroot"?
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[New Thread 0xad200b40 (LWP 12481)]

(emelfm2:12477): GLib-GObject-WARNING **: The property
GtkCellRenderer:cell-background-gdk is deprecated and shouldn't be used
anymore. It will be removed in a future version.

(emelfm2:12477): GLib-GObject-WARNING **: The property
GtkCellRendererText:foreground-gdk is deprecated and shouldn't be used anymore.
It will be removed in a future version. [New Thread 0xac9ffb40 (LWP 12482)]
[Thread 0xad200b40 (LWP 12481) exited] [Thread 0xac9ffb40 (LWP 12482) exited]
[New Thread 0xac9ffb40 (LWP 12484)]
[Thread 0xac9ffb40 (LWP 12484) exited]
[New Thread 0xac9ffb40 (LWP 12486)]
[Thread 0xac9ffb40 (LWP 12486) exited]
[New Thread 0xac9ffb40 (LWP 12488)]
[Thread 0xac9ffb40 (LWP 12488) exited]
[New Thread 0xac9ffb40 (LWP 12490)]
[Thread 0xac9ffb40 (LWP 12490) exited]
[New Thread 0xac9ffb40 (LWP 12491)]
[Thread 0xac9ffb40 (LWP 12491) exited]
[New Thread 0xac9ffb40 (LWP 12494)]
[New Thread 0xad200b40 (LWP 12495)]
[New Thread 0xabfffb40 (LWP 12496)]
[Thread 0xac9ffb40 (LWP 12494) exited]
[Thread 0xad200b40 (LWP 12495) exited]
[Thread 0xabfffb40 (LWP 12496) exited]
[New Thread 0xabfffb40 (LWP 12498)]
[Thread 0xabfffb40 (LWP 12498) exited]

(emelfm2:12477): GLib-GObject-WARNING **: The property
GtkSettings:gtk-menu-popup-delay is deprecated and shouldn't be used anymore.
It will be removed in a future version.
Geoff
2014-10-19 15:47:49 UTC
Permalink
Ok - this may be theme-related. I will post again only if changing themes does
not yield a permanent fix.

Loading...