gnome-terminal never returns after heavy load btrfs operations (defragment, balance, etc.)

Bug #1437742 reported by Karl-Philipp Richter
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gnome-terminal (Ubuntu)
New
Undecided
Unassigned

Bug Description

Running `btrfs` commands which cause heavy system load (e.g. `btrfs filesystem defragment`, `btrfs balance`, etc.) in `gnome-terminal` causes the terminal never to return and use one CPU core at 100 % forever. There's no connection to the system load because interrupting that command (e.g. `btrfs filesystem defragment` with `SIGSTOP`) don't make `gnome-terminal` return, but keep hanging forever.

ProblemType: Bug
DistroRelease: Ubuntu 14.10
Package: gnome-terminal 3.6.2-0ubuntu1
Uname: Linux 3.19.2-031902-generic x86_64
ApportVersion: 2.14.7-0ubuntu8.2
Architecture: amd64
CurrentDesktop: Unity
Date: Sat Mar 28 23:00:56 2015
EcryptfsInUse: Yes
InstallationDate: Installed on 2015-01-26 (60 days ago)
InstallationMedia: Ubuntu 14.10 "Utopic Unicorn" - Release amd64 (20141022.1)
ProcEnviron:
 TERM=xterm
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=de_DE.UTF-8
 SHELL=/bin/bash
SourcePackage: gnome-terminal
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Karl-Philipp Richter (krichter722) wrote :
Revision history for this message
Egmont Koblinger (egmont-gmail) wrote :

Could this be another manifestation of https://bugzilla.gnome.org/show_bug.cgi?id=735101 ? It's another case of gnome-terminal using 100% CPU, and unfortunately we're stuck and ran out of ideas.

The next time it happens, could you connect to gnome-terminal with strace (e.g. from an xterm) and see if it's stuck in a loop, like in that bugreport?

How often can you reproduce this problem? (The main reason we can't debug the upstream bug is that it happens once in every couple of months, we can't force reproduce it.)

Revision history for this message
Karl-Philipp Richter (krichter722) wrote :

Thanks for you feedback. I guess, I could get it up to once a week (using an overful btrfs root system on which the btrfs command cause a very high load) ;) . I'll figure out `strace` and try to share results.

Revision history for this message
Egmont Koblinger (egmont-gmail) wrote :

This bug was located and fixed in Gtk+ (follow the link I posted above), and the fix (https://git.gnome.org/browse/gtk+/commit/?id=561ff51a) made it to Vivid. Ubuntu folks should backport it to Trusty too.

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.