After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 622180 - Frozen parts of filesystem freezes gnome-terminal
Frozen parts of filesystem freezes gnome-terminal
Status: RESOLVED DUPLICATE of bug 675987
Product: gnome-terminal
Classification: Core
Component: general
unspecified
Other Linux
: Normal major
: ---
Assigned To: GNOME Terminal Maintainers
GNOME Terminal Maintainers
Depends on:
Blocks:
 
 
Reported: 2010-06-20 11:54 UTC by Vitaly "_Vi" Shukela
Modified: 2012-06-04 22:10 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Vitaly "_Vi" Shukela 2010-06-20 11:54:19 UTC
Steps to reproduce:
1. Open gnome-terminal
2. mkdir tmp
3. fusexmp_fh tmp
4. cd tmp
5. killall -STOP lt-fusexmp_fh # make "tmp" directory frozen
6. Attempt to open a new tab.

What happens:
gnome-terminal freezes all tabs and all windows, including menu.

What should happen:
gnome-terminal opens new tab, may be with frozen bash, but other tabs and windows works as before, e.g. one flawed tab should not freeze the whole gnome-terminal.

Use "killall -CONT lt-fusexmp_fh" or abort this FUSE filesystem to unfreeze.
Comment 1 Christian Persch 2010-06-20 12:02:55 UTC
Which version of vte and gnome-terminal?

Please attach a backtrace of the hanging process.
Comment 2 Christian Persch 2011-05-04 11:56:25 UTC
No response; closing. If you can provide the necessary information, please re-open the bug.
Comment 3 Behdad Esfahbod 2011-05-04 17:22:16 UTC
It's not one frozen tab problem here I guess.  vte relies on /tmp working.  I don't think we have to support such broken systems.
Comment 4 Behdad Esfahbod 2011-05-04 17:23:01 UTC
Oh, sorry.  My bad.  It's not /tmp!

I think the problem is that the new tab is opened in the same directory.  Probably bash not loading, not our problem.
Comment 5 Vitaly "_Vi" Shukela 2011-05-04 17:35:46 UTC
bash not loading, but _all tabs_ are frozen (not just the newly created one). One tab hangs the whole gnome-terminal.
Comment 6 Christian Persch 2011-05-04 17:45:05 UTC
Which version of vte and gnome-terminal?

Please attach a backtrace (all threads) of the hanging process.
Comment 7 Behdad Esfahbod 2011-05-04 17:57:58 UTC
Probably hang in "cd".
Comment 8 Christian Persch 2011-05-29 20:20:58 UTC
Hmm right. terminal-screen.c:cwd_of_pid() calls readlink, or, if that fails, chdir.
Comment 9 Behdad Esfahbod 2011-05-30 13:25:25 UTC
We're not supposed to get to that hack on Linux though, right?

Vitaly, can you attach to the process and see where it's getting stuck?
Comment 10 Christian Persch 2011-10-28 13:11:41 UTC
@Vitaly: Ping?
Comment 11 Vitaly "_Vi" Shukela 2011-10-31 14:19:47 UTC


  • #0 chdir
    from /root/lib/libc.so.6
  • #1 do_exec
    at /build/buildd-glib2.0_2.28.6-1-i386-A3fp41/glib2.0-2.28.6/./glib/gspawn.c line 1021
  • #2 fork_exec_with_pipes
    at /build/buildd-glib2.0_2.28.6-1-i386-A3fp41/glib2.0-2.28.6/./glib/gspawn.c line 1289
  • #3 g_spawn_async_with_pipes
    at /build/buildd-glib2.0_2.28.6-1-i386-A3fp41/glib2.0-2.28.6/./glib/gspawn.c line 637
  • #4 ??
    from /usr/lib/libvte.so.9
  • #5 _vte_pty_open
    from /usr/lib/libvte.so.9
  • #6 ??
    from /usr/lib/libvte.so.9
  • #7 ??
  • #8 g_idle_dispatch
    at /build/buildd-glib2.0_2.28.6-1-i386-A3fp41/glib2.0-2.28.6/./glib/gmain.c line 4545
  • #9 g_main_dispatch
    at /build/buildd-glib2.0_2.28.6-1-i386-A3fp41/glib2.0-2.28.6/./glib/gmain.c line 2440
  • #10 g_main_context_dispatch
    at /build/buildd-glib2.0_2.28.6-1-i386-A3fp41/glib2.0-2.28.6/./glib/gmain.c line 3013
  • #11 g_main_context_iterate
    at /build/buildd-glib2.0_2.28.6-1-i386-A3fp41/glib2.0-2.28.6/./glib/gmain.c line 3091
  • #12 g_main_loop_run
    at /build/buildd-glib2.0_2.28.6-1-i386-A3fp41/glib2.0-2.28.6/./glib/gmain.c line 3299
  • #13 gtk_main
    from /usr/lib/libgtk-x11-2.0.so.0
  • #14 ??
  • #15 __libc_start_main
    from /root/lib/libc.so.6
  • #16 ??


Check something more?
Comment 12 Christian Persch 2012-06-04 22:10:26 UTC
This will be fixed by the vte & g-t changes in bug 675987.

*** This bug has been marked as a duplicate of bug 675987 ***