Public bug reported: Binary package hint: mc
On Karmic amd64 box I have my shell set to tcsh (over LDAP due to network policy here so not easy to change). running mc causes a long pause (9 seconds) before the panes appear on the screen. If I run a bash shell inside my tcsh then I get this behaviour: if I do 'mkdir test' mc disappears and I am left back at a prompt, without test having been created. If I run mc from the plain tcsh then the startup delay is the same but now commands don't cause mc to exit, but no output from them is produced until I hit control C. so mkdir test, jed filename, ls, dpkg -l all hang (having removed the blue panels) until I hit ctrl C at which point I see the output, or enter the editor or whatever - ie the command is actually run/allowed to run at that point. So clearly mc and tcsh don't really get on. If IT have made this your default shell (and mc is your normal file manager) that's rather serious. Attached is an strace. The long pause happens in this code (lines658-659) read(5, "set echo_style=both;alias precmd"..., 100) = 94 select(8, [5 7], NULL, NULL, {9, 976915}) = 1 (in [5], left {9, 789551}) read(5, "wooke...@e102475-lin:~$ set echo"..., 100) = 100 select(8, [5 7], NULL, NULL, {9, 789551}) = 1 (in [5], left {9, 789547}) read(5, "1;kill -STOP $$'\r\nbash: alias: p"..., 100) = 100 select(8, [5 7], NULL, NULL, {9, 789547}) = 1 (in [5], left {9, 789543}) read(5, "e.8201;kill -STOP $$: not found\r"..., 100) = 57 select(8, [5 7], NULL, NULL, {9, 789543}) = 0 (Timeout) Happy to do some more testing if it helps. ProblemType: Bug Architecture: amd64 Date: Fri Jul 9 18:19:41 2010 DistroRelease: Ubuntu 9.10 NonfreeKernelModules: nvidia Package: mc 2:4.6.2-2ubuntu1 ProcEnviron: PATH=(custom, user) LANG=en_GB.UTF-8 SHELL=/bin/tcsh ProcVersionSignature: Ubuntu 2.6.31-22.60-generic SourcePackage: mc Uname: Linux 2.6.31-22-generic x86_64 ** Affects: mc (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-bug -- mc crashes when running commands if shell is tcsh https://bugs.launchpad.net/bugs/603695 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs